This is the mail archive of the
mailing list for the GCC project.
Re: some integer undefined behaviors in gcc
* Vincent Lefevre:
> On 2010-08-07 13:38:05 +0200, Florian Weimer wrote:
>> * John Regehr:
>> > Let me know if more detail is needed or if it would be better for me to
>> > file all 71 bug reports.
>> I wonder if we should give up and make -fwrapv the default.
> Do you really mean that all these integer overflows should behave
> like -fwrapv and none of them can hide a real bug?
There quite a few instances of the x & -x pattern, which would be fine