diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-16 13:09:38 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-16 13:09:38 +0000 |
commit | 22642efda7e6534076c91bd0d9ee4a244ea44c4a (patch) | |
tree | f379042d103278bfa7fe040ddace8f7ca34aa4cd /gcc/df-problems.c | |
parent | 5be59a5529f8877a7933cf0131353a0d54383b96 (diff) | |
download | gcc-22642efda7e6534076c91bd0d9ee4a244ea44c4a.tar.gz |
2009-06-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r148523
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@148527 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r-- | gcc/df-problems.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c index f48da9bc8dc..1d1dc9c9621 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -3912,19 +3912,21 @@ df_simulate_one_insn_forwards (basic_block bb, rtx insn, bitmap live) for (link = REG_NOTES (insn); link; link = XEXP (link, 1)) { switch (REG_NOTE_KIND (link)) + { case REG_DEAD: case REG_UNUSED: - { - rtx reg = XEXP (link, 0); - int regno = REGNO (reg); - if (regno < FIRST_PSEUDO_REGISTER) - { - int n = hard_regno_nregs[regno][GET_MODE (reg)]; - while (--n >= 0) - bitmap_clear_bit (live, regno + n); - } - else - bitmap_clear_bit (live, regno); + { + rtx reg = XEXP (link, 0); + int regno = REGNO (reg); + if (regno < FIRST_PSEUDO_REGISTER) + { + int n = hard_regno_nregs[regno][GET_MODE (reg)]; + while (--n >= 0) + bitmap_clear_bit (live, regno + n); + } + else + bitmap_clear_bit (live, regno); + } break; default: break; |