Commit b5106d10 by Eric Botcazou

re PR rtl-optimization/54088 (ICE at dwarf2out.c:20632 with -O1 -g)

	PR rtl-optimization/54088
	* jump.c (delete_related_insns): Robustify latest change.

From-SVN: r190674
parent 277f43d2
2012-08-26 Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
2012-08-25 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.
2012-08-25 Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
* doc/extend.texi (__atomic Builtins): Remove space before comma.
......
......@@ -1257,9 +1257,9 @@ delete_related_insns (rtx insn)
&& GET_CODE (PATTERN (insn)) == SEQUENCE
&& CALL_P (XVECEXP (PATTERN (insn), 0, 0))))
{
rtx p = insn;
rtx p;
for (p = NEXT_INSN (p);
for (p = next && INSN_DELETED_P (next) ? NEXT_INSN (next) : next;
p && NOTE_P (p);
p = NEXT_INSN (p))
if (NOTE_KIND (p) == NOTE_INSN_CALL_ARG_LOCATION)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment