Commit 862b3da6 by Jan Hubicka Committed by Jan Hubicka

ipa-visibility.c (function_and_variable_visibility): Disable virtual table…

ipa-visibility.c (function_and_variable_visibility): Disable virtual table rewriting temporarily on targets not supporting ONE_ONLY.


	* ipa-visibility.c (function_and_variable_visibility): Disable
	virtual table rewriting temporarily on targets not supporting
	ONE_ONLY.

From-SVN: r211437
parent 96a3f4df
2014-06-11 Jan Hubicka <hubicka@ucw.cz>
* ipa-visibility.c (function_and_variable_visibility): Disable
virtual table rewriting temporarily on targets not supporting
ONE_ONLY.
2014-06-11 Richard Biener <rguenther@suse.de>
PR middle-end/61437
......
......@@ -666,9 +666,12 @@ function_and_variable_visibility (bool whole_program)
}
update_visibility_by_resolution_info (vnode);
/* Update virutal tables to point to local aliases where possible. */
/* Update virtual tables to point to local aliases where possible. */
if (DECL_VIRTUAL_P (vnode->decl)
&& !DECL_EXTERNAL (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)
{
int i;
struct ipa_ref *ref;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment