Commit c0e2141a by Nick Clifton Committed by Nick Clifton

* config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro.

From-SVN: r190440
parent 1f85d2fb
2012-08-16 Nick Clifton <nickc@redhat.com>
* config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro.
* config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER).
* config/avr/avr.c (avr_legitimize_reload_address): Add casts
for reload_type enums.
......
......@@ -3478,7 +3478,7 @@ hwloop_optimize (hwloop_info loop)
/* If we have to insert the LSETUP before a jump, count that jump in the
length. */
if (VEC_length (edge, loop->incoming) > 1
|| !(VEC_last (edge, loop->incoming).flags & EDGE_FALLTHRU))
|| !(VEC_last (edge, loop->incoming)->flags & EDGE_FALLTHRU))
{
gcc_assert (JUMP_P (insn));
insn = PREV_INSN (insn);
......@@ -3747,7 +3747,7 @@ hwloop_optimize (hwloop_info loop)
{
rtx prev = BB_END (loop->incoming_src);
if (VEC_length (edge, loop->incoming) > 1
|| !(VEC_last (edge, loop->incoming).flags & EDGE_FALLTHRU))
|| !(VEC_last (edge, loop->incoming)->flags & EDGE_FALLTHRU))
{
gcc_assert (JUMP_P (prev));
prev = PREV_INSN (prev);
......
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