From c670165ec7f1b0529c72ab63b59d0cad1c9fe3ae Mon Sep 17 00:00:00 2001 From: hubicka Date: Sun, 8 Feb 2015 20:13:01 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/ipa-split.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7122413fc0e..34598e15b18 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,11 @@ 2015-02-08 Jan Hubicka PR ipa/63566 + * ipa-split.c (execute_split_functions): Split if function has aliases. + +2015-02-08 Jan Hubicka + + 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 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) -- 2.11.4.GIT