re PR target/53461 (Incorrect handling of CASE_VECTOR_PC_RELATIVE in config/m68k.md)

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

From-SVN: r188179
This commit is contained in:
Andreas Schwab 2012-06-04 13:13:09 +00:00 committed by Andreas Schwab
parent a4b7d13c17
commit 143015c4f8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-06-04 Andreas Schwab <schwab@linux-m68k.org>
PR target/53461
* config/m68k/m68k.md ("tablejump"): Fix check for
CASE_VECTOR_PC_RELATIVE.
2012-06-04 Steven Bosscher <steven@gcc.gnu.org>
* output.h (merge_weak, assemble_alias,

View File

@ -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