[PATCH][combine] PR rtl-optimization/68381: Only restrict pure simplification in mult-extend subst case, allow other substitutions

Segher Boessenkool segher@kernel.crashing.org
Thu Nov 26 13:32:00 GMT 2015


On Thu, Nov 19, 2015 at 10:26:25AM +0000, Kyrill Tkachov wrote:
> Ok for trunk?
> 
> Thanks,
> Kyrill
> 
> 2015-11-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> 
>     PR rtl-optimization/68381
>     * combine.c (subst): Do not return clobber of zero in widening mult
>     case.  Just return x unchanged if it is a no-op substitution.
> 
> 2015-11-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> 
>     PR rtl-optimization/68381
>     * gcc.c-torture/execute/pr68381.c: New test.

This is fine for trunk.  Thanks.


Segher



More information about the Gcc-patches mailing list