This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] m32r.c: Use GEN_INT instead of gen_rtx_CONST_INT.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 31 Jan 2004 17:58:55 -0500 (EST)
- Subject: [patch] m32r.c: Use GEN_INT instead of gen_rtx_CONST_INT.
Hi,
Built m32r-elf. Committed as obvious.
Kazu Hirata
2004-01-31 Kazu Hirata <kazu@cs.umass.edu>
* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
instead of gen_rtx_CONST_INT.
Index: m32r.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m32r/m32r.c,v
retrieving revision 1.81
diff -u -r1.81 m32r.c
--- m32r.c 29 Jan 2004 02:06:02 -0000 1.81
+++ m32r.c 31 Jan 2004 22:46:46 -0000
@@ -1917,7 +1917,7 @@
{
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. */