aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1999-09-06 23:49:18 -0600
committerJeff Law <law@gcc.gnu.org>1999-09-06 23:49:18 -0600
commitc5c7673583c6310e7f8e45704fdc4aadff33e393 (patch)
treef1a67b6ea75a7f0da3f06e0a1c60b213f4403168 /gcc/profile.c
parentad85216ece38be37dacbbb3fa7bb7db69aa33a4b (diff)
downloadgcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.zip
gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.tar.gz
gcc-c5c7673583c6310e7f8e45704fdc4aadff33e393.tar.bz2
Merge in gcc2-ss-010999
From-SVN: r29150
Diffstat (limited to 'gcc/profile.c')
-rw-r--r--gcc/profile.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 6a473db..e2b54fb 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -1554,10 +1554,8 @@ output_arc_profiler (arcno, insert_after)
rtx insert_after;
{
rtx profiler_target_addr
- = (arcno
- ? gen_rtx_CONST (Pmode,
- gen_rtx_PLUS (Pmode, profiler_label,
- GEN_INT (LONG_TYPE_SIZE / BITS_PER_UNIT * arcno)))
+ = (arcno ? plus_constant (profiler_label,
+ LONG_TYPE_SIZE / BITS_PER_UNIT * arcno)
: profiler_label);
enum machine_mode mode = mode_for_size (LONG_TYPE_SIZE, MODE_INT, 0);
rtx profiler_reg = gen_reg_rtx (mode);