> Hi!
> 
> The following testcase is miscompiled starting with 4.6.
> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> trunk?
> 
> For 4.9/4.8, I'd prefer to use a one-liner instead:
> -          for (ie = node->indirect_calls; ie; ie = ie->next_callee)
> +          for (ie = w->indirect_calls; ie; ie = ie->next_callee)

OK for branches.
> 
> 2014-11-12  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR ipa/63838
>       * ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
>       chain instead of node->indirect_calls.  Put !can_throw into
>       conditions of all the loops.
> 
>       * g++.dg/ipa/pr63838.C: New test.

OK for mainline,
thanks!
Honza

Reply via email to