From aeba8f806ef08df3bdf554ad9403108d874f5ff1 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 31 Jan 2004 22:58:46 +0000 Subject: [PATCH] m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT. * config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT. From-SVN: r77054 --- gcc/ChangeLog | 5 +++++ gcc/config/m32r/m32r.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cc4f9f1602..201cd8b4582 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-31 Kazu Hirata + + * config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT + instead of gen_rtx_CONST_INT. + 2004-01-31 Kazu Hirata * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index 932c54eef78..91cc04f1e6c 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -1917,7 +1917,7 @@ m32r_load_pic_register (void) { global_offset_table = gen_rtx_SYMBOL_REF (Pmode, "_GLOBAL_OFFSET_TABLE_"); emit_insn (gen_get_pc (pic_offset_table_rtx, global_offset_table, - gen_rtx_CONST_INT(SImode, TARGET_MODEL_SMALL))); + GEN_INT (TARGET_MODEL_SMALL))); /* Need to emit this whether or not we obey regdecls, since setjmp/longjmp can cause life info to screw up. */