Patchwork [m68k] Fix check for CASE_VECTOR_PC_RELATIVE

login
register
mail settings
Submitter Andreas Schwab
Date June 4, 2012, 1:13 p.m.
Message ID <m24nqrxlrg.fsf@igel.home>
Download mbox | patch
Permalink /patch/162797/
State New
Headers show

Comments

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

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