diff options
author | dvyukov <dvyukov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-14 09:28:05 +0000 |
---|---|---|
committer | dvyukov <dvyukov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-14 09:28:05 +0000 |
commit | 167ef6d905b91ff0a741efe63df3f959797ca713 (patch) | |
tree | c38e2a45d76bef0c13e3b7907ac6b8a26263d293 /gcc | |
parent | 437d571c30e88f368b4f84e4ee80b070164ee690 (diff) |
Revert the previous "Fix flags for edges from/to entry/exit basic blocks"
patch that caused regressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182326 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cgraphunit.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf8184e16aa..1cb18074648 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 086effb8fb8..886a2def0e5 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -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; } |