Revert the previous "Fix flags for edges from/to entry/exit basic blocks"

patch that caused regressions.

From-SVN: r182326
This commit is contained in:
Dmitry Vyukov 2011-12-14 01:28:05 -08:00
parent 56f05abd0f
commit 4f9c574a92
2 changed files with 2 additions and 6 deletions

View File

@ -172,10 +172,6 @@
* 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

View 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;
}