re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpec...
authorJan Hubicka <hubicka@ucw.cz>
Sun, 8 Feb 2015 20:13:01 +0000 (21:13 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Feb 2015 20:13:01 +0000 (20:13 +0000)
PR ipa/63566
* ipa-split.c (execute_split_functions): Split if function has aliases.

From-SVN: r220519

gcc/ChangeLog
gcc/ipa-split.c

index 7122413..34598e1 100644 (file)
@@ -1,6 +1,11 @@
 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/63566 
+       * ipa-split.c (execute_split_functions): Split if function has aliases.
+
+2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/63566 
        * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
        aliases before trying to expand it.
        (cgraph_node::expand_thunk): Fix formating.
index 7e2e300..7e68a87 100644 (file)
@@ -1736,6 +1736,7 @@ execute_split_functions (void)
        /* Local functions called once will be completely inlined most of time.  */
        || (!node->callers->next_caller && node->local.local))
       && !node->address_taken
+      && !node->has_aliases_p ()
       && (!flag_lto || !node->externally_visible))
     {
       if (dump_file)