]> gcc.gnu.org Git - gcc.git/commitdiff
(unroll_loop): Always reject loops with unbalanced blocks.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 22 Oct 1996 22:31:18 +0000 (15:31 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 22 Oct 1996 22:31:18 +0000 (15:31 -0700)
From-SVN: r12999

gcc/unroll.c

index b720074b6046fa81d0a6d11053d4b24b28c5bc47..f5e3675f747d6f4409f4299c8ea636056af9074f 100644 (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;
This page took 0.073434 seconds and 5 git commands to generate.