Re: [PATCH] Fix PR3713

2013-03-18 Thread Richard Biener
On Wed, Jan 16, 2013 at 4:57 PM, Richard Biener wrote: > > This fixes PR3713 by properly propagating ->has_constants in SCCVN. > With that we are able to simplify (unsigned) Bar & 1 properly. > Only copyprop later turns the call into a direct one though, > so I'm testing the important fact - that

[PATCH] Fix PR3713

2013-01-16 Thread Richard Biener
This fixes PR3713 by properly propagating ->has_constants in SCCVN. With that we are able to simplify (unsigned) Bar & 1 properly. Only copyprop later turns the call into a direct one though, so I'm testing the important fact - that Bar is inlined and eliminated by IPA inlining. Bootstrapped on x