Commit 3951ad49 by Mike Stump Committed by Mike Stump

* unroll.c (unroll_loop): Add EH support.

From-SVN: r31334
parent b5fba37d
Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
* unroll.c (unroll_loop): Add EH support.
2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* pa-protos.h: New file. * pa-protos.h: New file.
......
...@@ -290,6 +290,19 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, ...@@ -290,6 +290,19 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
block_begins++; block_begins++;
else if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END) else if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_BLOCK_END)
block_ends++; block_ends++;
if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_EH_REGION_BEG
|| NOTE_LINE_NUMBER (insn) == NOTE_INSN_EH_REGION_END)
{
/* Note, would be nice to add code to unroll EH
regions, but until that time, we punt (don't
unroll). For the proper way of doing it, see
expand_inline_function. */
if (loop_dump_stream)
fprintf (loop_dump_stream,
"Unrolling failure: cannot unroll EH regions.\n");
return;
}
} }
} }
......
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