summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-16 18:10:08 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-16 18:10:08 +0000
commit80f94d490de08005958f372930d7683690e9fc63 (patch)
treedd7896f1a2b9c68948381b4e79fb25400240afa0 /gcc/function.h
parent9db626e9649774cafd62878416aee29648fb8885 (diff)
downloadgcc-80f94d490de08005958f372930d7683690e9fc63.tar.gz
* omp-low.c (expand_omp_parallel): Set function properties.
* function.h (struct function): Add curr_properties and last_verified. * passes.c (register_dump_files): Do not set TODO_set_props for the first pass (init_optimization_passes): Set it here; reorder initialization so the dump files appear in more logical order. (last_verified, curr_properties): Kill. (do_per_function): New function. (execute_function_todo): Break out from ... (execute_todo): ... here; handle per-function flags. (clear_last_verified, verify_curr_properties, update_properties_after_pass): New functions. (execute_one_pass): Handle per-function properties. (execute_ipa_pass_list): Use do_per_function; sanity check that cfun and current_function_decls are cleared out. * ipa-cp.c (constant_val_insert): Clear cfun/current_function_decl after use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index 27e5c02cbba..e8039a711a1 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -373,6 +373,10 @@ struct function GTY(())
Used for detecting stack clobbers. */
tree stack_protect_guard;
+ /* Properties used by the pass manager. */
+ unsigned int curr_properties;
+ unsigned int last_verified;
+
/* Collected bit flags. */
/* Nonzero if function being compiled needs to be given an address