Re: [PATCH] Document ftrapv/fwrapv interaction

2015-07-23 Thread Richard Biener
On Thu, Jul 23, 2015 at 12:19 PM, Richard Biener wrote: > On Wed, Jul 22, 2015 at 5:11 PM, Tom de Vries wrote: >> [ Re: [RFC, PR66873] Use graphite for parloops ] >> On 22/07/15 13:01, Richard Biener wrote: >>> >>> why only scalar floats? Please use FLOAT_TYPE_P. >>> >>> + if (INTEGRAL_TYPE_P (

Re: [PATCH] Document ftrapv/fwrapv interaction

2015-07-23 Thread Richard Biener
On Wed, Jul 22, 2015 at 5:11 PM, Tom de Vries wrote: > [ Re: [RFC, PR66873] Use graphite for parloops ] > On 22/07/15 13:01, Richard Biener wrote: >> >> why only scalar floats? Please use FLOAT_TYPE_P. >> >> + if (INTEGRAL_TYPE_P (type)) >> +return (!TYPE_OVERFLOW_TRAPS (type) >> +

[PATCH] Document ftrapv/fwrapv interaction

2015-07-22 Thread Tom de Vries
[ Re: [RFC, PR66873] Use graphite for parloops ] On 22/07/15 13:01, Richard Biener wrote: why only scalar floats? Please use FLOAT_TYPE_P. + if (INTEGRAL_TYPE_P (type)) +return (!TYPE_OVERFLOW_TRAPS (type) + && TYPE_OVERFLOW_WRAPS (type)); it cannot both wrap and trap thus TYPE_