This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: X /[ex] 4 < Y /[ex] 4


On Mon, Apr 24, 2017 at 9:04 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Mon, 24 Apr 2017, Jakub Jelinek wrote:
>
>>> +/* X / 4 < Y / 4 iif X < Y when the division is known to be exact.  */
>>
>>
>> s/iif/iff/ ?
>
>
> Indeed, thanks, I've fixed it locally.

Ok.

As of strict-overflow warnings I'd like to kill -f[no-]strict-overflow
by aliasing
it to -f[no-]wrapv and thus removing the !TYPE_OVERFLOW_WRAPS
&& !TYPE_OVERFLOW_UNDEFINED && !TYPE_OVERFLOW_TRAPS case.

This means effectively killing -Wstrict-overflow which is IMHO reasonable
as it's quite broken plus we now have ubsan which does a better job.

Thanks,
Richard.

> --
> Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]