* stmt.c (expand_start_null_loop): Set continue_label.
authorRichard Henderson <rth@redhat.com>
Wed, 1 Nov 2000 17:28:02 +0000 (09:28 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Nov 2000 17:28:02 +0000 (09:28 -0800)
From-SVN: r37192

gcc/ChangeLog
gcc/stmt.c

index 13a6999054f057dbf2cd90bfa2a80ca7d7cb7e86..f4630512f64f300fcaae36f69bcc691cbb76ecf8 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-01  Richard Henderson  <rth@redhat.com>
+
+       * stmt.c (expand_start_null_loop): Set continue_label.
+
 2000-11-01  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
index fd0647aef18cc667a278b6a3923c01e8d139411e..b433dd96c8309caf99b64dd49835bbb13d4d1c0b 100644 (file)
@@ -2310,7 +2310,7 @@ expand_start_null_loop ()
   thisloop->data.loop.start_label = emit_note (NULL, NOTE_INSN_DELETED);
   thisloop->data.loop.end_label = gen_label_rtx ();
   thisloop->data.loop.alt_end_label = NULL_RTX;
-  thisloop->data.loop.continue_label = NULL_RTX;
+  thisloop->data.loop.continue_label = thisloop->data.loop.end_label;
   thisloop->exit_label = thisloop->data.loop.end_label;
   loop_stack = thisloop;
   nesting_stack = thisloop;