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.

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
-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to