aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-05-13 00:32:16 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-05-12 22:32:16 +0000
commita930a4efe71a7e8d3fa0279efb3952f482f61927 (patch)
tree316bfa9275d9c94833734dca42a7387ce4a3d203 /gcc/function.c
parent0995a441f572b99071e2ab2b256c027e4a19e217 (diff)
downloadgcc-a930a4efe71a7e8d3fa0279efb3952f482f61927.zip
gcc-a930a4efe71a7e8d3fa0279efb3952f482f61927.tar.gz
gcc-a930a4efe71a7e8d3fa0279efb3952f482f61927.tar.bz2
basic-block.h (FOR_ALL_BB_FN): New macro.
* basic-block.h (FOR_ALL_BB_FN): New macro. (init_flow): Initialize cfg structure. * function.c (allocate_struct_function): Do not initialize cfg structure. * tree-cfg.c (init_empty_tree_cfg): Break out from ... (build_tree_cfg): ... here. * tree-flow.h (init_empty_tree_cfg): Declare. From-SVN: r99633
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 6bc3344..059886f 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3741,9 +3741,6 @@ allocate_struct_function (tree fndecl)
tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE;
cfun = ggc_alloc_cleared (sizeof (struct function));
- cfun->cfg = ggc_alloc_cleared (sizeof (struct control_flow_graph));
-
- n_edges = 0;
cfun->stack_alignment_needed = STACK_BOUNDARY;
cfun->preferred_stack_boundary = STACK_BOUNDARY;