summaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-08 20:13:01 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-08 20:13:01 +0000
commitc670165ec7f1b0529c72ab63b59d0cad1c9fe3ae (patch)
tree7dd86c577f09446994d7f77a242ad10042ffeab1 /gcc/ipa-split.c
parent07f3273080a77f007b3634a4a46cbea0a18947bd (diff)
downloadgcc-c670165ec7f1b0529c72ab63b59d0cad1c9fe3ae.tar.gz
PR ipa/63566
* ipa-split.c (execute_split_functions): Split if function has aliases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 7e2e3007197..7e68a876076 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)