This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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