Re: Use wi:: in canon_condition

2015-04-29 Thread Richard Sandiford
Jeff Law writes: > 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/ >> * l

Re: Use wi:: in canon_condition

2015-04-28 Thread Jeff Law
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 al

Use wi:: in canon_condition

2015-04-28 Thread Richard Sandiford
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. Index: gcc/lo