Commit 1d628b15 by Richard Sandiford Committed by Richard Sandiford

re PR middle-end/66685 (conftest.c:16:1: internal compiler error: in as_a, at is-a.h:192)

gcc/
	PR bootstrap/66685
	* rtl.c (classify_insn): Handle returns in PARALLELs.

From-SVN: r225230
parent eb71ab9f
2015-07-01 Richard Sandiford <richard.sandiford@arm.com>
PR bootstrap/66685
* rtl.c (classify_insn): Handle returns in PARALLELs.
2015-07-01 Eric Botcazou <ebotcazou@adacore.com>
PR middle-end/66633
......
......@@ -686,6 +686,8 @@ classify_insn (rtx x)
for (j = XVECLEN (x, 0) - 1; j >= 0; j--)
if (GET_CODE (XVECEXP (x, 0, j)) == CALL)
return CALL_INSN;
else if (ANY_RETURN_P (XVECEXP (x, 0, j)))
return JUMP_INSN;
else if (GET_CODE (XVECEXP (x, 0, j)) == SET
&& GET_CODE (SET_DEST (XVECEXP (x, 0, j))) == PC)
return JUMP_INSN;
......
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