Re: [PATCH] Fix ipa-pure-const can_throw propagation

2014-11-12 Thread Jan Hubicka
> 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

[PATCH] Fix ipa-pure-const can_throw propagation

2014-11-12 Thread Jakub Jelinek
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