aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-05-11 14:18:17 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2007-05-11 12:18:17 +0000
commit7be82279042841a50c9a3464fce35c471fa07f1c (patch)
tree49ba9f2d2dd225ffee2443da3491e4fa57aa17a0 /gcc/c-common.h
parent2a5fce6d487573f7f330d721da83fd9881fdb06a (diff)
downloadgcc-7be82279042841a50c9a3464fce35c471fa07f1c.zip
gcc-7be82279042841a50c9a3464fce35c471fa07f1c.tar.gz
gcc-7be82279042841a50c9a3464fce35c471fa07f1c.tar.bz2
semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.
* 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. From-SVN: r124618
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 5e97211..7cbc6d5 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 */