Revert the previous "Fix flags for edges from/to entry/exit basic blocks"
authorDmitry Vyukov <dvyukov@gcc.gnu.org>
Wed, 14 Dec 2011 09:28:05 +0000 (01:28 -0800)
committerDmitry Vyukov <dvyukov@gcc.gnu.org>
Wed, 14 Dec 2011 09:28:05 +0000 (01:28 -0800)
patch that caused regressions.

From-SVN: r182326

gcc/ChangeLog
gcc/cgraphunit.c

index bf8184e16aaf42bcc3f6e6bdf82f990649b3bb8d..1cb18074648a05c21ae80e61ce98ffd3c438b854 100644 (file)
        * tree-sra.c (build_ref_for_model): Replicate a chain of COMPONENT_REFs
        in the expression of MODEL instead of just the last one.
 
-2011-12-12  Dmitry Vyukov  <dvyukov@google.com>
-
-       * cgraphunit.c (init_lowered_empty_function): Fix flags for new edges.
-
 2011-12-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/51510
index 086effb8fb8b17baf45658257a296a0d0e34ecac..886a2def0e56b408548d1f97a0d3e8693207b2a5 100644 (file)
@@ -1459,8 +1459,8 @@ init_lowered_empty_function (tree decl)
 
   /* Create BB for body of the function and connect it properly.  */
   bb = create_basic_block (NULL, (void *) 0, ENTRY_BLOCK_PTR);
-  make_edge (ENTRY_BLOCK_PTR, bb, EDGE_FALLTHRU);
-  make_edge (bb, EXIT_BLOCK_PTR, EDGE_FALLTHRU);
+  make_edge (ENTRY_BLOCK_PTR, bb, 0);
+  make_edge (bb, EXIT_BLOCK_PTR, 0);
 
   return bb;
 }