Use wi:: in canon_condition

Jeff Law law@redhat.com
Tue Apr 28 17:05:00 GMT 2015


On 04/28/2015 07:49 AM, Richard Sandiford wrote:
> Fix a simple case where we can generalise the CONST_INT handling to all
> integer constants (CONST_DOUBLE or CONST_WIDE_INT).
>
> Tested on x86_64-linux-gnu.  OK to install?
>
> Thanks,
> Richard
>
>
> gcc/
> 	* loop-iv.c (canon_condition): Generalize to all types of integer
> 	constant.
OK.

If you have some test/code where this generalization helps, then it'd be 
greatly appreciated if you could add it as a test to the test suite.

jeff



More information about the Gcc-patches mailing list