diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-08 19:50:17 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-08 19:50:17 +0000 |
commit | aea7e1dc8b9a2748875307788ea200043abd8eb9 (patch) | |
tree | b5d1f5dae24cf0c3994f99d911989c25185e3b7d /gcc/c-lang.c | |
parent | ae0686dd0be55830a946743f0b35b260b5bf0f91 (diff) | |
download | gcc-aea7e1dc8b9a2748875307788ea200043abd8eb9.tar.gz |
* c-decl.c (static_ctors, static_dtors): Make static.
(pop_file_scope): Call c_common_write_pch and
cgraph_finalize_compilation_unit here.
(build_cdtor): Moved here from c-objc-common.c; simplify.
(c_write_global_declarations_1): Clarify comment.
(c_write_global_declarations): Close the external scope before
doing anything else. Call build_cdtor, cgraph_optimize, and
mudflap_finish_file here.
* c-lang.c (finish_file): Don't call c_objc_common_finish_file.
Clarify comment.
* c-objc-common.c: No need to include cgraph.h.
(build_cdtor): Moved to c-decl.c.
(c_objc_common_finish_file): Delete.
* c-tree.h: Update to match.
* objc/objc-act.c (finish_file): Don't call c_objc_common_finish_file.
(generate_static_references): Set TREE_USED before calling finish_decl.
Eliminate unnecessary dummy declaration. Call rest_of_decl_compilation
on the static_instances_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r-- | gcc/c-lang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c index 8166698f7e7..1a3b2500dd2 100644 --- a/gcc/c-lang.c +++ b/gcc/c-lang.c @@ -197,10 +197,11 @@ const char *const tree_code_name[] = { }; #undef DEFTREECODE +/* Final processing of file-scope data. The Objective-C version of + this function still does something. */ void finish_file (void) { - c_objc_common_finish_file (); } int |