On 10/12/2016 10:34 AM, Richard Biener wrote: > On Tue, Oct 11, 2016 at 11:38 AM, Martin Liška wrote: >> Third iteration of tests, where I added both GENERIC and GIMPLE folding >> tests. > > They should work already with -O1? Yes, they work. Sending new version where I also added few situations that trigger an undefined behavior (and should not be folded). Martin > > Otherwise ok. > > Richard. > >> Martin