aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@gcc.gnu.org>2011-12-14 01:28:05 -0800
committerDmitry Vyukov <dvyukov@gcc.gnu.org>2011-12-14 01:28:05 -0800
commit4f9c574a92e4d1f43c7e9c038a54384cdc07b264 (patch)
treec38e2a45d76bef0c13e3b7907ac6b8a26263d293 /gcc/cgraphunit.c
parent56f05abd0f957e41edf3ad3bfd8850c90d1fd89d (diff)
downloadgcc-4f9c574a92e4d1f43c7e9c038a54384cdc07b264.zip
gcc-4f9c574a92e4d1f43c7e9c038a54384cdc07b264.tar.gz
gcc-4f9c574a92e4d1f43c7e9c038a54384cdc07b264.tar.bz2
Revert the previous "Fix flags for edges from/to entry/exit basic blocks"
patch that caused regressions. From-SVN: r182326
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 086effb..886a2de 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;
}