[PATCH] Handle noipa attribute in IPA visibility (PR ipa/83594).

Jeff Law law@redhat.com
Tue Jan 2 23:50:00 GMT 2018


On 12/27/2017 07:14 AM, Martin Liška wrote:
> Hi.
> 
> As we introduced noipa attribute, I believe proper fix to not to crash
> is to ignore all functions with the attribute in iteration of IPA visibility
> pass.
> 
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
> 
> Ready to be installed?
> Martin
> 
> gcc/ChangeLog:
> 
> 2017-12-27  Martin Liska  <mliska@suse.cz>
> 
> 	PR ipa/83594
> 	* ipa-visibility.c (function_and_variable_visibility): Skip
> 	functions with noipa attribure.
> 
> gcc/testsuite/ChangeLog:
> 
> 2017-12-27  Martin Liska  <mliska@suse.cz>
> 
> 	PR ipa/83594
> 	* gcc.dg/ipa/pr83594.c: New test.
OK.
jeff



More information about the Gcc-patches mailing list