diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2013-09-25 18:35:02 +0000 |
---|---|---|
committer | Yvan Roux <yroux@gcc.gnu.org> | 2013-09-25 18:35:02 +0000 |
commit | 20f114a35a535d215d4df50480547de0790e392d (patch) | |
tree | e854b65dce3bab1f2d0575ebbd1f5e16849aa6a9 /gcc/lra.c | |
parent | 3936bafc7ec961feba2d7db8ac0f65eef344bf7d (diff) | |
download | gcc-20f114a35a535d215d4df50480547de0790e392d.zip gcc-20f114a35a535d215d4df50480547de0790e392d.tar.gz gcc-20f114a35a535d215d4df50480547de0790e392d.tar.bz2 |
lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes.
2013-09-25 Yvan Roux <yvan.roux@linaro.org>
* lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes.
From-SVN: r202915
Diffstat (limited to 'gcc/lra.c')
-rw-r--r-- | gcc/lra.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2163,7 +2163,9 @@ update_inc_notes (void) pnote = ®_NOTES (insn); while (*pnote != 0) { - if (REG_NOTE_KIND (*pnote) == REG_INC) + if (REG_NOTE_KIND (*pnote) == REG_DEAD + || REG_NOTE_KIND (*pnote) == REG_UNUSED + || REG_NOTE_KIND (*pnote) == REG_INC) *pnote = XEXP (*pnote, 1); else pnote = &XEXP (*pnote, 1); |