aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mcore
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-02 02:32:23 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-02 02:32:23 +0000
commit67245ad3f1592c28916332c9ce03d49c0c3f0acd (patch)
tree5899ff15c328b4a3f13d0dc9dbd2e492432bae79 /gcc/config/mcore
parent1e567c4397b9f8f147c6d647458c6b3fc0ccdee9 (diff)
downloadgcc-67245ad3f1592c28916332c9ce03d49c0c3f0acd.zip
gcc-67245ad3f1592c28916332c9ce03d49c0c3f0acd.tar.gz
gcc-67245ad3f1592c28916332c9ce03d49c0c3f0acd.tar.bz2
mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT.
* config/mcore/mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT. From-SVN: r77094
Diffstat (limited to 'gcc/config/mcore')
-rw-r--r--gcc/config/mcore/mcore.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index ba7ad40..ee91d5e 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -1876,8 +1876,7 @@ block_move_sequence (rtx dest, rtx dst_mem, rtx src, rtx src_mem,
#else
mode[next],
#endif
- gen_rtx_PLUS (Pmode, src,
- gen_rtx_CONST_INT (SImode, offset_ld)));
+ gen_rtx_PLUS (Pmode, src, GEN_INT (offset_ld)));
RTX_UNCHANGING_P (srcp) = RTX_UNCHANGING_P (src_mem);
MEM_VOLATILE_P (srcp) = MEM_VOLATILE_P (src_mem);
@@ -1897,8 +1896,7 @@ block_move_sequence (rtx dest, rtx dst_mem, rtx src, rtx src_mem,
#else
mode[phase],
#endif
- gen_rtx_PLUS (Pmode, dest,
- gen_rtx_CONST_INT (SImode, offset_st)));
+ gen_rtx_PLUS (Pmode, dest, GEN_INT (offset_st)));
RTX_UNCHANGING_P (dstp) = RTX_UNCHANGING_P (dst_mem);
MEM_VOLATILE_P (dstp) = MEM_VOLATILE_P (dst_mem);