diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ipa.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 253db82..431b2a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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 * symtab.c (symbol_table::insert_to_assembler_name_hash symbol_table::unlink_from_assembler_name_hash): Do not ICE when @@ -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", |