RFR: 8308975: Fix signed integer overflow in compiler code, part 2

Dean Long dlong at openjdk.org
Tue May 30 17:30:55 UTC 2023


On Tue, 30 May 2023 12:05:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I wandered into this wondering if -Wconversion would have found these signed integer overflow but it looks like maybe -Wsign-conversion might have found this? We've been enabling these flags and disabling -Werror and searching the result of the build.

The flag that is supposed to catch these is -Wstrict-overflow, but unfortunately it doesn't work and I've heard it may even go away soon.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14188#issuecomment-1568808123


More information about the hotspot-dev mailing list