summaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-15 18:11:18 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-15 18:11:18 +0000
commit9736d0ec9e0384939f72ba048c7411e1e547f729 (patch)
treef176dbfa7e81bc2f568c7d2822577f2305141fc7 /gcc/config/pa
parent8ee59e4e45f5f44634eb79b5ca771e429bd78c28 (diff)
downloadgcc-9736d0ec9e0384939f72ba048c7411e1e547f729.tar.gz
PR target/49723
* config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index 7b22a013ce7..6b86c897947 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -6913,7 +6913,7 @@
{
rtx index = gen_reg_rtx (SImode);
- operands[1] = GEN_INT (-INTVAL (operands[1]));
+ operands[1] = gen_int_mode (-INTVAL (operands[1]), SImode);
if (!INT_14_BITS (operands[1]))
operands[1] = force_reg (SImode, operands[1]);
emit_insn (gen_addsi3 (index, operands[0], operands[1]));