diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cc4f9f16023..201cd8b45824 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 932c54eef781..91cc04f1e6c7 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. */