diff options
author | Doug Evans <dje@gnu.org> | 1996-03-05 18:39:19 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-03-05 18:39:19 +0000 |
commit | 0b35ec04bf6738260f0c970775c5a0fbf48da38e (patch) | |
tree | 1a7e729056d5b4fd87ab470115e99c297c9979fc /gcc/loop.c | |
parent | 8c5b059c2d82ad7637d0bbd5fb43dc499117f2fa (diff) | |
download | gcc-0b35ec04bf6738260f0c970775c5a0fbf48da38e.zip gcc-0b35ec04bf6738260f0c970775c5a0fbf48da38e.tar.gz gcc-0b35ec04bf6738260f0c970775c5a0fbf48da38e.tar.bz2 |
loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depending on...
* loop.c (init_loop): Use pseudo reg in add_cost computation
so cost doesn't vary depending on whether reg 0 happens to be
fixed or not.
From-SVN: r11458
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -302,7 +302,7 @@ void init_loop () { char *free_point = (char *) oballoc (1); - rtx reg = gen_rtx (REG, word_mode, 0); + rtx reg = gen_rtx (REG, word_mode, LAST_VIRTUAL_REGISTER + 1); add_cost = rtx_cost (gen_rtx (PLUS, word_mode, reg, reg), SET); |