aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-02-08 21:13:01 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-02-08 20:13:01 +0000
commit42685f72ca64d15f0d4ae46efa1297cefdbbc846 (patch)
tree7dd86c577f09446994d7f77a242ad10042ffeab1
parent9641fab348e41e7f9d05553fe9c778ce91c86332 (diff)
downloadgcc-42685f72ca64d15f0d4ae46efa1297cefdbbc846.zip
gcc-42685f72ca64d15f0d4ae46efa1297cefdbbc846.tar.gz
gcc-42685f72ca64d15f0d4ae46efa1297cefdbbc846.tar.bz2
re PR ipa/63566 (i686 bootstrap fails: ICE RTL flag check: INSN_UID used with unexpected rtx code 'set' in INSN_UID, at rtl.h:1326)
PR ipa/63566 * ipa-split.c (execute_split_functions): Split if function has aliases. From-SVN: r220519
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-split.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7122413..34598e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 7e2e300..7e68a87 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -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)