diff options
author | vmakarov <> | 2010-09-09 13:51:25 +0000 |
---|---|---|
committer | vmakarov <> | 2010-09-09 13:51:25 +0000 |
commit | 5d0190b6b8048c8cb07a40afc105c24850858ec9 (patch) | |
tree | df613838380e559b92b2c5f6d0dd1513b0b58ad9 /gcc/ira.c | |
parent | 9f0fff178d71a8692390bf100ae70da83322eda0 (diff) |
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.
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ira.c b/gcc/ira.c index 71841d9cbd6..a38808ce59d 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -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 |