From: Yvan Roux Date: Wed, 25 Sep 2013 18:35:02 +0000 (+0000) Subject: lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20f114a35a535d215d4df50480547de0790e392d;p=gcc.git lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. 2013-09-25 Yvan Roux * lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. From-SVN: r202915 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 360a8f12e8c..5adbaebfca2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-09-25 Yvan Roux + + * lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes. + 2013-09-25 Yvan Roux Vladimir Makarov diff --git a/gcc/lra.c b/gcc/lra.c index f5aab173927..532d3de3e09 100644 --- a/gcc/lra.c +++ b/gcc/lra.c @@ -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);