Undefined behaviour in hotspot

Florian Weimer fweimer at redhat.com
Tue Apr 22 12:48:27 UTC 2014

On 04/22/2014 02:20 PM, David Chase wrote:
> I'm pretty sure that -Wstrict-overflow is the one that we want,
> and that to do this study we (we?) would compile with
> -Wstrict-overflow=5 -Wno-error
> but not -fwrapv and not -fno-strict-overflow.
> -Wno-error is so you'll get to see all of them.

Note that these options do not cover overflows/wraparounds in pointer 

Florian Weimer / Red Hat Product Security Team

More information about the hotspot-dev mailing list