From 143015c4f89bbd7eb31a36947587096caf1fd83a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 4 Jun 2012 13:13:09 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/m68k/m68k.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e1821e83e8..9ab51e8f4e4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-06-04 Andreas Schwab + + PR target/53461 + * config/m68k/m68k.md ("tablejump"): Fix check for + CASE_VECTOR_PC_RELATIVE. + 2012-06-04 Steven Bosscher * output.h (merge_weak, assemble_alias, diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 0225b7ef2ed..00a69c78d88 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -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