summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-19 17:52:03 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-19 17:52:03 +0000
commit9ed5b1f51fab0a96dfa17dfec099a73f4fdeb730 (patch)
treebb5a4b60b2fba01c8f07af7dea9726c29ea518ca /gcc/toplev.c
parent941f2388c6654af085ec92de505bc6b53d90b5fa (diff)
downloadgcc-9ed5b1f51fab0a96dfa17dfec099a73f4fdeb730.tar.gz
* toplev.c (compile_file): Move call to coverage_finish ...
* cgraphunit.c (ipa_passes): ... here. Call cgraph_process_new_functions. * ipa-utils.c (get_base_var): Handle CONSTRUCTOR. * Makefile.in (cgraphunit.o): Add dependency on COVERAGE_H. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 4c6efbcb59b..95b5ba3d70d 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -993,11 +993,6 @@ compile_file (void)
varpool_assemble_pending_decls ();
finish_aliases_2 ();
- /* This must occur after the loop to output deferred functions.
- Else the coverage initializer would not be emitted if all the
- functions in this compilation unit were deferred. */
- coverage_finish ();
-
/* Likewise for mudflap static object registrations. */
if (flag_mudflap)
mudflap_finish_file ();