diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-30 11:58:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-30 11:58:01 +0000 |
commit | 523c1122434af355049edacf489e8da82ee7709d (patch) | |
tree | 4ee7560469c1e50ca7f51f6e50bca995ec5871a0 /gcc/omp-low.c | |
parent | 311a2fe08784f5d009281ab401fe4f143d4c2825 (diff) | |
download | gcc-523c1122434af355049edacf489e8da82ee7709d.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120282 138bc75d-0d04-0410-961f-82ee72b054a4
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 f3f4113b98c..e863568d5c4 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) |