diff options
author | Jan Hubicka <jh@suse.cz> | 2010-04-21 23:58:50 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-04-21 21:58:50 +0000 |
commit | bc58d7e1bd3aebc1fa0ad81c9ee6b2eddfd89c79 (patch) | |
tree | 1322de7c8a1c5d0b32a7b386725bce3c024e3502 /gcc/lto | |
parent | 2b65cd83e9a09a18d44984ca261b40b84d2eaeab (diff) | |
download | gcc-bc58d7e1bd3aebc1fa0ad81c9ee6b2eddfd89c79.zip gcc-bc58d7e1bd3aebc1fa0ad81c9ee6b2eddfd89c79.tar.gz gcc-bc58d7e1bd3aebc1fa0ad81c9ee6b2eddfd89c79.tar.bz2 |
timevar.def (TV_WHOPR_WPA_FIXUP): Remove.
* timevar.def (TV_WHOPR_WPA_FIXUP): Remove.
* lto-section-in.c (lto_section_name): Remove wpa_fixup.
* lto-wpa-fixup.c: Remove.
* Makefile.in (lto-wpa-fixup.o): Remove.
* passes.c (init_optimization_passes): Remove pass_ipa_lto_wpa_fixup.
(execute_all_ipa_transforms): Set cgraph_state to CGRAPH_STATE_IPA_SSA.
* lto-streamer.c (lto_get_section_name): Remove wpa_fixup section.
* lto.c (lto_fixup_tree): Do not call wpa fixup.
(materialize_cgraph): Likewise.
From-SVN: r158622
Diffstat (limited to 'gcc/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto/lto.c | 24 |
2 files changed, 5 insertions, 24 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 74e0650..2ce58d7 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,5 +1,10 @@ 2010-04-21 Jan Hubicka <jh@suse.cz> + * lto.c (lto_fixup_tree): Do not call wpa fixup. + (materialize_cgraph): Likewise. + +2010-04-21 Jan Hubicka <jh@suse.cz> + * lto.c (lto_wpa_write_files): Update. (read_cgraph_and_symbols): Be more verbose. (materialize_cgraph): Likewise. diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 12475f1..115d1cc 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -1561,28 +1561,6 @@ lto_fixup_tree (tree *tp, int *walk_subtrees, void *data) if (t != prevailing) { - if (TREE_CODE (t) == FUNCTION_DECL - && TREE_NOTHROW (prevailing) != TREE_NOTHROW (t)) - { - /* If the prevailing definition does not throw but the - declaration (T) was considered throwing, then we - simply add PREVAILING to the list of throwing - functions. However, if the opposite is true, then - the call to PREVAILING was generated assuming that - the function didn't throw, which means that CFG - cleanup may have removed surrounding try/catch - regions. - - Note that we currently accept these cases even when - they occur within a single file. It's certainly a - user error, but we silently allow the compiler to - remove surrounding try/catch regions. Perhaps we - could emit a warning here, instead of silently - accepting the conflicting declaration. */ - if (TREE_NOTHROW (prevailing)) - lto_mark_nothrow_fndecl (prevailing); - } - /* Also replace t with prevailing defintion. We don't want to insert the other defintion in the seen set as we want to replace all instances of it. */ @@ -1974,8 +1952,6 @@ materialize_cgraph (void) for (i = 0; VEC_iterate (tree, lto_global_var_decls, i, decl); i++) rest_of_decl_compilation (decl, 1, 0); - /* Fix up any calls to DECLs that have become not exception throwing. */ - lto_fixup_nothrow_decls (); if (!quiet_flag) fprintf (stderr, "\n"); |