OSDN Git Service

* flow.c (find_basic_blocks_1): Remove any spare bb_note
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2000 17:42:17 +0000 (17:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2000 17:42:17 +0000 (17:42 +0000)
        after completion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33826 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/flow.c

index 11b21c8..c6d1951 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-10  Richard Henderson  <rth@cygnus.com>
+
+       * flow.c (find_basic_blocks_1): Remove any spare bb_note
+       after completion.
+
 2000-05-10  Bruce Korb  <bkorb@gnu.org>
 
        * fixinc/gnu-regex.c:  reg_syntax_t re_syntax_options must be static
index 239c70f..e20e4b2 100644 (file)
@@ -739,6 +739,8 @@ find_basic_blocks_1 (f)
 
   if (head != NULL_RTX)
     create_basic_block (i++, head, end, bb_note);
+  else if (bb_note)
+    flow_delete_insn (bb_note);
 
   if (i != n_basic_blocks)
     abort ();