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 7122413fc0e6355405ba6849a23f3215c628781e..34598e15b18d9526e03e28a70d5d1dc00f07a9f7 100644 (file)
@@ -1,3 +1,8 @@
+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 
index 7e2e3007197ce2573cee4320ce0b70d8a944a0d7..7e68a87607644ad1a4c71e053c631cf4e75a4b02 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)