http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> 2012-04-13 12:04:38 UTC --- On Fri, 13 Apr 2012, vincenzo.innocente at cern dot ch wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969 > > --- Comment #6 from vincenzo Innocente <vincenzo.innocente at cern dot ch> > 2012-04-13 11:59:59 UTC --- > patch applied to latest trunk. > success on both cases. > thanks. > v. > > p.s. optimizing the if-conversion to produce a single comparison will be > appreciated as well It looks like RTL optimization is able to get rid of the redundant one for the testcase. Do you have a testcase where this obviously not happens? I do have a patch that should address this. Richard.