(unroll_loop): Always reject loops with unbalanced blocks.

From-SVN: r12999
This commit is contained in:
Jim Wilson 1996-10-22 15:31:18 -07:00
parent c9f99b6a23
commit d1b9c52c2f
1 changed files with 5 additions and 1 deletions

View File

@ -268,8 +268,12 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
of block_beg and block_end notes, because that would unbalance the block
structure of the function. This can happen as a result of the
"if (foo) bar; else break;" optimization in jump.c. */
/* ??? Gcc has a general policy that -g is never supposed to change the code
that the compiler emits, so we must disable this optimization always,
even if debug info is not being output. This is rare, so this should
not be a significant performance problem. */
if (write_symbols != NO_DEBUG)
if (1 /* write_symbols != NO_DEBUG */)
{
int block_begins = 0;
int block_ends = 0;