]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cgraphunit.c
cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated finalization.
authorJan Hubicka <jh@suse.cz>
Tue, 9 Sep 2003 00:31:39 +0000 (02:31 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 9 Sep 2003 00:31:39 +0000 (00:31 +0000)
commitd853a20e6cf622329c8f005cc97be8813f935323
tree623ba3114b93c04e4e5929e3ff36073432517a82
parentc05e3efaa4bf6c6ad3ebad148a44d84b4054c799
cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated finalization.

* cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
finalization.
* cgraphunit.c (decide_is_fnction_needed): Avoid special case of nested
functions, check for COMDAT.
(cgraph_assemble_pending_functions): Break out from...
(cgraph_finalize_function): ... here; allow redefinig of extern inline
functions.
(record_call_1): Record function references only in non-unit-at-a-time
mode.
(cgraph_analyze_function): Reset current_function_decl.
(cgraph_finalize_compilation_unit):  Assemble pending functions.

From-SVN: r71221
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraphunit.c