diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2009-07-03 22:36:31 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2009-07-03 22:36:31 +0000 |
commit | 54a0ac2da2f328d3256ddef85415fc9c9184965b (patch) | |
tree | 664adfa38f8c1c6ec923a8a92e38b7350700cb20 /gcc/ira.c | |
parent | fae1034ef48b598981195dc0192e882b9ce98894 (diff) | |
download | gcc-54a0ac2da2f328d3256ddef85415fc9c9184965b.zip gcc-54a0ac2da2f328d3256ddef85415fc9c9184965b.tar.gz gcc-54a0ac2da2f328d3256ddef85415fc9c9184965b.tar.bz2 |
re PR target/40587 (Revision 139590 caused ICE in emit_swap_insn at reg-stack.c:827)
2009-07-03 Vladimir Makarov <vmakarov@redhat.com>
PR target/40587
* ira.c (build_insn_chain): Use DF_LR_OUT instead of
df_get_live_out.
* testsuite/gfortran.dg/pr40587.f: New test.
From-SVN: r149212
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2797,14 +2797,14 @@ build_insn_chain (void) CLEAR_REG_SET (live_relevant_regs); memset (live_subregs_used, 0, max_regno * sizeof (int)); - EXECUTE_IF_SET_IN_BITMAP (df_get_live_out (bb), 0, i, bi) + EXECUTE_IF_SET_IN_BITMAP (DF_LR_OUT (bb), 0, i, bi) { if (i >= FIRST_PSEUDO_REGISTER) break; bitmap_set_bit (live_relevant_regs, i); } - EXECUTE_IF_SET_IN_BITMAP (df_get_live_out (bb), + EXECUTE_IF_SET_IN_BITMAP (DF_LR_OUT (bb), FIRST_PSEUDO_REGISTER, i, bi) { if (pseudo_for_reload_consideration_p (i)) |