summaryrefslogtreecommitdiffstats
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-11 12:18:17 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-11 12:18:17 +0000
commita861fe5280a07e76c59e2898a13d954fad7399f5 (patch)
tree49ba9f2d2dd225ffee2443da3491e4fa57aa17a0 /gcc/c-common.h
parent7959b13b7590495f84233973eacd1aa3cb29bd43 (diff)
downloadppe42-gcc-a861fe5280a07e76c59e2898a13d954fad7399f5.tar.gz
ppe42-gcc-a861fe5280a07e76c59e2898a13d954fad7399f5.zip
* semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.
* decl2.c (start_objects): ctors and dtors are no longer public. (cp_write_global_declarations): Do not call c_build_cdtor_fns. * cgraphunit.c: Include gt-cgraphunit.h (static_ctors, static_dtors): New static vars. (record_cdtor_fn, build_cdtor, cgraph_build_cdtor_fns): New functions, based on implementation in c-common.c (cgraph_finalize_function): Call record_cdtor_fn. (cgraph_optimize): Call cgraph_build_cdtor_fns. * decl.c (finish_function): Do not call c_record_cdtor_fn. (c_write_global_declarations): Do not call c_build_cdtor_fns. * c-common.c (static_ctors, static_dtors, c_record_cdtor_fn, build_cdtor, c_build_cdtor_fns): Remove. * c-common.h (static_ctors, static_dtors, c_record_cdtor_fn, c_build_cdtor_fns): Remove prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124618 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 5e97211cb17..7cbc6d5d9a0 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -1005,11 +1005,4 @@ extern tree c_omp_remap_decl (tree, bool);
#define GCC_DIAG_STYLE __gcc_cdiag__
#endif
-/* Functions called automatically at the beginning and end of execution. */
-extern GTY (()) tree static_ctors;
-extern GTY (()) tree static_dtors;
-
-extern void c_record_cdtor_fn (tree);
-extern void c_build_cdtor_fns (void);
-
#endif /* ! GCC_C_COMMON_H */
OpenPOWER on IntegriCloud