Commit f1ced6f5 by Jan Hubicka Committed by Jan Hubicka

* ipa.c (process_references): Fix conditoinal on flag_optimize

From-SVN: r218730
parent 59b5b466
2014-12-14 Jan Hubicka <hubicka@ucw.cz> 2014-12-14 Jan Hubicka <hubicka@ucw.cz>
* ipa.c (process_references): Fix conditoinal on flag_optimize
2014-12-14 Jan Hubicka <hubicka@ucw.cz>
PR ipa/61558 PR ipa/61558
* symtab.c (symbol_table::insert_to_assembler_name_hash * symtab.c (symbol_table::insert_to_assembler_name_hash
symbol_table::unlink_from_assembler_name_hash): Do not ICE when symbol_table::unlink_from_assembler_name_hash): Do not ICE when
...@@ -128,8 +128,10 @@ process_references (symtab_node *snode, ...@@ -128,8 +128,10 @@ process_references (symtab_node *snode,
if (node->definition && !node->in_other_partition if (node->definition && !node->in_other_partition
&& ((!DECL_EXTERNAL (node->decl) || node->alias) && ((!DECL_EXTERNAL (node->decl) || node->alias)
|| (((before_inlining_p || (((before_inlining_p
&& (TREE_CODE (node->decl) != FUNCTION_DECL && ((TREE_CODE (node->decl) != FUNCTION_DECL
|| opt_for_fn (body->decl, optimize) && optimize)
|| (TREE_CODE (node->decl) == FUNCTION_DECL
&& opt_for_fn (body->decl, optimize))
|| (symtab->state < IPA_SSA || (symtab->state < IPA_SSA
&& lookup_attribute && lookup_attribute
("always_inline", ("always_inline",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment