m32r.c (m32r_load_pic_register): Use GEN_INT instead of gen_rtx_CONST_INT.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 31 Jan 2004 22:58:46 +0000 (22:58 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 31 Jan 2004 22:58:46 +0000 (22:58 +0000)
* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
instead of gen_rtx_CONST_INT.

From-SVN: r77054

gcc/ChangeLog
gcc/config/m32r/m32r.c

index 7cc4f9f16023b22e12e2ab0942cc2e51d3262816..201cd8b45824cb44917cd2c53b2811c5bdc4a344 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT
index 932c54eef781708f886db63ec498d2bfdce15177..91cc04f1e6c792ca470cdff6e3d8dd53d82f43ac 100644 (file)
@@ -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.  */