[m68k] Fix check for CASE_VECTOR_PC_RELATIVE

Submitted by Andreas Schwab on June 4, 2012, 1:13 p.m.

Details

Message ID m24nqrxlrg.fsf@igel.home
State New
Headers show

Commit Message

Andreas Schwab June 4, 2012, 1:13 p.m.
When the default for CASE_VECTOR_PC_RELATIVE was added to defaults.h
back in 2004 the check in m68k.md wasn't updated.

Andreas.

	PR target/53461
	* config/m68k/m68k.md ("tablejump"): Fix check for
	CASE_VECTOR_PC_RELATIVE.

Patch hide | download patch | download mbox

Index: config/m68k/m68k.md
===================================================================
--- config/m68k/m68k.md	(revision 188178)
+++ config/m68k/m68k.md	(working copy)
@@ -6899,7 +6899,7 @@ 
 	      (use (label_ref (match_operand 1 "" "")))])]
   ""
 {
-#ifdef CASE_VECTOR_PC_RELATIVE
+#if CASE_VECTOR_PC_RELATIVE
     operands[0] = gen_rtx_PLUS (SImode, pc_rtx,
 				gen_rtx_SIGN_EXTEND (SImode, operands[0]));
 #endif