diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2010-09-09 13:51:25 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2010-09-09 13:51:25 +0000 |
commit | b100151b6d20180b9e11b259943fd8e63fdec865 (patch) | |
tree | df613838380e559b92b2c5f6d0dd1513b0b58ad9 /gcc/ira.c | |
parent | f08b23714ff4412ef37672bc120499801f9561b8 (diff) | |
download | gcc-b100151b6d20180b9e11b259943fd8e63fdec865.zip gcc-b100151b6d20180b9e11b259943fd8e63fdec865.tar.gz gcc-b100151b6d20180b9e11b259943fd8e63fdec865.tar.bz2 |
re PR middle-end/40386 (wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots)
2010-09-09 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/40386
* ira.c (pseudo_for_reload_consideration_p): Don't use
flag_ira_share_spill_slots.
2010-09-09 Vladimir Makarov <vmakarov@redhat.com>
PR middle-end/40386
* gcc.c-torture/execute/{pr40386.c,pr40386.x}: New testcase.
From-SVN: r164100
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2742,8 +2742,7 @@ pseudo_for_reload_consideration_p (int regno) { /* Consider spilled pseudos too for IRA because they still have a chance to get hard-registers in the reload when IRA is used. */ - return (reg_renumber[regno] >= 0 - || (ira_conflicts_p && flag_ira_share_spill_slots)); + return (reg_renumber[regno] >= 0 || ira_conflicts_p); } /* Init LIVE_SUBREGS[ALLOCNUM] and LIVE_SUBREGS_USED[ALLOCNUM] using |