On Tue, Mar 15, 2016 at 09:50:44AM -0500, Segher Boessenkool wrote:
> On Tue, Mar 15, 2016 at 02:18:33PM +0100, Jakub Jelinek wrote:
> > So do you prefer this instead?
> >
> > 2016-03-15 Jakub Jelinek <[email protected]>
> >
> > PR rtl-optimization/70222
> > * combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
> > optimization if mode is different from result_mode, queue up masking
> > of the result in outer_op. Formatting fix.
> >
> > * gcc.c-torture/execute/pr70222-1.c: New test.
> > * gcc.c-torture/execute/pr70222-2.c: New test.
>
> This one looks fine, too (if it works ;-) )
Passed bootstrap/regtest on x86_64-linux and i686-linux, and triggers solely
on the new testcases, nothing else. Committed now.
Jakub