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  <mli...@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  <mli...@suse.cz>
> 
>       PR ipa/83594
>       * gcc.dg/ipa/pr83594.c: New test.
OK.
jeff

Reply via email to