+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
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",