aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2011-12-12 10:03:36 -0800
committerDmitry Vyukov <dvyukov@gcc.gnu.org>2011-12-12 10:03:36 -0800
commitf7c8a2da7791fefb361db7f4e1a25cecb0a2b7e8 (patch)
tree17a51ca1704bb2ad6e261afceda3abcb3bff4f4c /gcc/cgraphunit.c
parent60f3dad78ddb531ee3d2f6ef522ea8c0763aed47 (diff)
downloadgcc-f7c8a2da7791fefb361db7f4e1a25cecb0a2b7e8.zip
gcc-f7c8a2da7791fefb361db7f4e1a25cecb0a2b7e8.tar.gz
gcc-f7c8a2da7791fefb361db7f4e1a25cecb0a2b7e8.tar.bz2
Fix flags for edges from/to entry/exit basic blocks.
* cgraphunit.c (init_lowered_empty_function): Fix flags for new edges. From-SVN: r182251
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 886a2de..086effb 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, 0);
- make_edge (bb, EXIT_BLOCK_PTR, 0);
+ make_edge (ENTRY_BLOCK_PTR, bb, EDGE_FALLTHRU);
+ make_edge (bb, EXIT_BLOCK_PTR, EDGE_FALLTHRU);
return bb;
}