aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-visibility.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b94921..1845144 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2014-07-08 Jan Hubicka <hubicka@ucw.cz>
+ * ipa-visibility.c (function_and_variable_visibility): Remove
+ temporary hack disabling local aliases on AIX.
+
+2014-07-08 Jan Hubicka <hubicka@ucw.cz>
+
* ipa-cp.c (devirtualization_time_bonus): Walk through aliases.
* ipa-inline-analysis.c (estimate_edge_devirt_benefit): Likewise.
diff --git a/gcc/ipa-visibility.c b/gcc/ipa-visibility.c
index 10a9ec9..e3ab005 100644
--- a/gcc/ipa-visibility.c
+++ b/gcc/ipa-visibility.c
@@ -567,9 +567,6 @@ function_and_variable_visibility (bool whole_program)
TODO: We can also update virtual tables. */
if (node->callers
- /* FIXME: currently this optimization breaks on AIX. Disable it for targets
- without comdat support for now. */
- && SUPPORTS_ONE_ONLY
&& can_replace_by_local_alias (node))
{
struct cgraph_node *alias = cgraph (symtab_nonoverwritable_alias (node));
@@ -672,10 +669,7 @@ function_and_variable_visibility (bool whole_program)
/* Update virtual tables to point to local aliases where possible. */
if (DECL_VIRTUAL_P (vnode->decl)
- && !DECL_EXTERNAL (vnode->decl)
- /* FIXME: currently this optimization breaks on AIX. Disable it for targets
- without comdat support for now. */
- && SUPPORTS_ONE_ONLY)
+ && !DECL_EXTERNAL (vnode->decl))
{
int i;
struct ipa_ref *ref;