flow.c (calculate_global_regs_live): Clear aux fields of ENTRY and EXIT.
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 22 Mar 2002 19:54:34 +0000 (19:54 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 22 Mar 2002 19:54:34 +0000 (19:54 +0000)
* flow.c (calculate_global_regs_live): Clear aux fields of
ENTRY and EXIT.

From-SVN: r51183

gcc/ChangeLog
gcc/flow.c

index ce9c9b3cbd80747ae4ec430a0baa603c181a97f9..f4e057ac16ba97b523d03cbcf7ca369e9bb01f65 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-22  Alexandre Oliva  <aoliva@redhat.com>
+
+       * flow.c (calculate_global_regs_live): Clear aux fields of
+       ENTRY and EXIT.
+
 2002-03-22  Jakub Jelinek  <jakub@redhat.com>
 
        * config/v850/v850.c (v850_reorg): Only call alter_subreg on
index 71ed939da63ee13152d7838cebec713299fd3af8..61008e630e01642f1e6a27597dcc08eb8f238142 100644 (file)
@@ -1113,6 +1113,11 @@ calculate_global_regs_live (blocks_in, blocks_out, flags)
        }
     }
 
+  /* We clean aux when we remove the initially-enqueued bbs, but we
+     don't enqueue ENTRY and EXIT initially, so clean them upfront and
+     unconditionally.  */
+  ENTRY_BLOCK_PTR->aux = EXIT_BLOCK_PTR->aux = NULL;
+
   if (blocks_out)
     sbitmap_zero (blocks_out);