RE: Fix asymmetric volatile handling in optimize_bit_field_compare

2013-10-19 Thread Bernd Edlinger
Hi, OnĀ  Fri, 18 Oct 2013 14:06:57, Richard Biener wrote: > > On Fri, Oct 18, 2013 at 1:56 PM, Bernd Edlinger > wrote: >> Hello Richard, >> >> I see it the same way. >> >> The existing code in optimize_bit_field_compare looks wrong. It is very >> asymmetric, >> and handles lvolatilep and rvolatil

Re: Fix asymmetric volatile handling in optimize_bit_field_compare

2013-10-18 Thread Richard Biener
On Fri, Oct 18, 2013 at 1:56 PM, Bernd Edlinger wrote: > Hello Richard, > > I see it the same way. > > The existing code in optimize_bit_field_compare looks wrong. It is very > asymmetric, > and handles lvolatilep and rvolatilep differently. And the original handling > of > flag_strict_volatile_