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

From-SVN: r218730
This commit is contained in:
Jan Hubicka 2014-12-15 04:47:18 +01:00 committed by Jan Hubicka
parent 59b5b46686
commit f1ced6f5e7
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -128,8 +128,10 @@ process_references (symtab_node *snode,
if (node->definition && !node->in_other_partition
&& ((!DECL_EXTERNAL (node->decl) || node->alias)
|| (((before_inlining_p
&& (TREE_CODE (node->decl) != FUNCTION_DECL
|| opt_for_fn (body->decl, optimize)
&& ((TREE_CODE (node->decl) != FUNCTION_DECL
&& optimize)
|| (TREE_CODE (node->decl) == FUNCTION_DECL
&& opt_for_fn (body->decl, optimize))
|| (symtab->state < IPA_SSA
&& lookup_attribute
("always_inline",