OSDN Git Service

* config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jan 2004 22:58:46 +0000 (22:58 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Jan 2004 22:58:46 +0000 (22:58 +0000)
instead of gen_rtx_CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77054 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7cc4f9f..201cd8b 100644 (file)
@@ -1,5 +1,10 @@
 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
        instead of gen_rtx_CONST_INT.
 
index 932c54e..91cc04f 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.  */