gcc/gcc/lto
Jan Hubicka 17e0fc9202 re PR ipa/61324 (ICE: SIGSEGV at ipa-comdats.c:321 with -fno-use-cxa-atexit -fkeep-inline-functions)
PR ipa/61324
	* testsuite/g++.dg/pr61324.C: New testcase by Trevor Saunders.
	* testsuite/g++.dg/tm/pr51411-2.C: Update se the extern function is
	not eliminated early.
	* testsuite/gcc.target/i386/pr57756.c: Turn extern inline into static
	inline.

	* passes.c (execute_todo): Update call of remove_unreachable_nodes.
	* ipa-chkp.c (chkp_produce_thunks): Use TODO_remove_functions.
	* cgraphunit.c (symbol_table::process_new_functions): Add
	IPA_SSA_AFTER_INLINING.
	(ipa_passes): Update call of remove_unreachable_nodes.
	(symbol_table::compile): Remove call of remove_unreachable_nodes.
	* ipa-inline.c (inline_small_functions): Do not ICE with
	-flto-partition=none
	(ipa_inline): Update symtab->state; fix formatting
	update call of remove_unreachable_nodes.
	* cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
	* cgraph.h (enum symtab_state): Add IPA_SSA_AFTER_INLINING.
	(remove_unreachable_nodes): Update.
	* ipa.c (process_references): Keep external references only
	when optimizing.
	(walk_polymorphic_call_targets): Keep possible polymorphic call
	target only when devirtualizing.
	(symbol_table::remove_unreachable_nodes): Remove BEFORE_INLINING_P
	parameter.
	(ipa_single_use): Update comment.
	* ipa-pure-const.c (cdtor_p): New function.
	(propagate_pure_const): Track if some cdtor was turned pure/const.
	(execute): Return TODO_remove_functions if needed.
	* ipa-comdats.c (ipa_comdats): Update comment.
	
	* lto.c (read_cgraph_and_symbols): Update call of
	remove_unreachable_nodes.
	(do_whole_program_analysis): Remove call of
	symtab->remove_unreachable_nodes

From-SVN: r218640
2014-12-11 21:48:48 +00:00
..
ChangeLog re PR ipa/61324 (ICE: SIGSEGV at ipa-comdats.c:321 with -fno-use-cxa-atexit -fkeep-inline-functions) 2014-12-11 21:48:48 +00:00
Make-lang.in
common.c
common.h
config-lang.in
lang-specs.h
lang.opt
lto-lang.c decl.c, [...]: Remove redundant enum from machine_mode. 2014-10-29 12:02:45 +00:00
lto-object.c [PATCH 2/7] OpenMP 4.0 offloading infrastructure: LTO streaming. 2014-11-13 13:37:38 +00:00
lto-partition.c lto-partition.c (privatize_symbol_name): Correctly privatize instrumentation clones. 2014-12-09 08:00:52 +00:00
lto-partition.h add a hash_set based on hash_table 2014-08-02 11:23:49 +00:00
lto-symtab.c lto-cgraph.c (input_cgraph_1): Don't break existing instrumentation clone references. 2014-12-09 07:56:26 +00:00
lto-tree.h use templates instead of gengtype for typed allocation functions 2014-05-17 23:07:23 +00:00
lto.c re PR ipa/61324 (ICE: SIGSEGV at ipa-comdats.c:321 with -fno-use-cxa-atexit -fkeep-inline-functions) 2014-12-11 21:48:48 +00:00
lto.h