From 20f114a35a535d215d4df50480547de0790e392d Mon Sep 17 00:00:00 2001 From: Yvan Roux Date: Wed, 25 Sep 2013 18:35:02 +0000 Subject: 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 --- gcc/lra.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/lra.c') diff --git a/gcc/lra.c b/gcc/lra.c index f5aab17..532d3de 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); -- cgit v1.1