OSDN Git Service

* cgraph.c (cgraph_varpool_finalize_decl): Sanity check duplicated
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 00:31:39 +0000 (00:31 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2003 00:31:39 +0000 (00:31 +0000)
commitc08871a973d0992202ff84413f538b8faa91a2eb
tree623ba3114b93c04e4e5929e3ff36073432517a82
parentc3088ae8bb7c71c35d993da9e5b922c983fb5e82
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71221 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraphunit.c