diff options
author | Jan Hubicka <jh@suse.cz> | 2006-12-30 12:58:01 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-12-30 11:58:01 +0000 |
commit | f45e0ad1c79faefabb17a699052140687ee3bca2 (patch) | |
tree | 4ee7560469c1e50ca7f51f6e50bca995ec5871a0 /gcc/omp-low.c | |
parent | e288c21aea32c7a9424cc4b89fc4a7c75b9e5fb2 (diff) | |
download | gcc-f45e0ad1c79faefabb17a699052140687ee3bca2.zip gcc-f45e0ad1c79faefabb17a699052140687ee3bca2.tar.gz gcc-f45e0ad1c79faefabb17a699052140687ee3bca2.tar.bz2 |
cgraph.c (cgraph_exapnd_queue): Rename to...
* cgraph.c (cgraph_exapnd_queue): Rename to...
(cgraph_new_nodes): ... this one.
(cgraph_state): New global variable.
(cgraph_add_new_function): Work in more cases.
* cgraph.h (cgraph_expand_queue): Rename to ...
(cgraph_new_nodes): ... this one.
(cgraph_state): New enum and static variable.
(cgraph_add_new_function): Update prototype.
(cgraph_process_new_functions): New.
* omp-low.c (expand_omp_parallel): Update.
* cgraphunit.c (initialize_inline_failed): Declare early.
(cgraph_process_new_functions): New function.
(cgraph_assemble_pending_functions): Use it.
(cgraph_expand_all_functions): Use it.
(cgraph_optimize): Use it; set cgraph_state.
* passes.c (execute_one_pass, execute_ipa_pass_list): Process new
functions
From-SVN: r120282
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r-- | gcc/omp-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c index f3f4113..e863568 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -2533,7 +2533,7 @@ expand_omp_parallel (struct omp_region *region) single_succ_edge (new_bb)->flags = EDGE_FALLTHRU; DECL_STRUCT_FUNCTION (child_fn)->curr_properties = cfun->curr_properties; - cgraph_add_new_function (child_fn); + cgraph_add_new_function (child_fn, true); /* Convert OMP_RETURN into a RETURN_EXPR. */ if (exit_bb) |