Commit f857b8ef by Richard Sandiford Committed by Richard Sandiford

Fix missing brackets in arc.c

The old code still built thanks to the brackets in the definition
of XVECEXP.

gcc/
	* config/arc/arc.c (arc_loop_hazard): Add missing brackets.

From-SVN: r242473
parent 4786fabe
2016-11-16 Richard Sandiford <richard.sandiford@arm.com>
* config/arc/arc.c (arc_loop_hazard): Add missing brackets.
2016-11-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/78364
......@@ -7812,7 +7812,7 @@ arc_loop_hazard (rtx_insn *pred, rtx_insn *succ)
jump = pred;
else if (GET_CODE (PATTERN (pred)) == SEQUENCE
&& JUMP_P (XVECEXP (PATTERN (pred), 0, 0)))
jump = as_a <rtx_insn *> XVECEXP (PATTERN (pred), 0, 0);
jump = as_a <rtx_insn *> (XVECEXP (PATTERN (pred), 0, 0));
else
return false;
......
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