Re: [PATCH] Fix PR rtl-optimization/67736 in combine.c

2015-10-22 Thread Steve Ellcey
On Thu, 2015-10-22 at 13:46 -0500, Segher Boessenkool wrote: > One nit and maybe a problem: > > > --- a/gcc/testsuite/gcc.dg/combine-subregs.c > > +++ b/gcc/testsuite/gcc.dg/combine-subregs.c > > @@ -0,0 +1,36 @@ > > +/* { dg-do run } */ > > +/* { dg-options "-O2 -fexpensive-optimizations" } */ >

Re: [PATCH] Fix PR rtl-optimization/67736 in combine.c

2015-10-22 Thread Segher Boessenkool
On Thu, Oct 22, 2015 at 09:47:23AM -0700, Steve Ellcey wrote: > OK to checkin? > 2015-10-21 Steve Ellcey > Andrew Pinski > > PR rtl-optimization/67736 > * combine.c (simplify_comparison): Use gen_lowpart_or_truncate instead > of gen_lowpart when we had a truncati

[PATCH] Fix PR rtl-optimization/67736 in combine.c

2015-10-22 Thread Steve Ellcey
This is a new patch to fix PR rtl-optimization/67736. My original patch was MIPS specific and that was rejected and Andrew Pinski pointed me to a patch he had sent out several years ago but that was never checked in. I updated the patch and tested it with no regressions and would like to check it