Skip to content

Commit

Permalink
8295435: Build failure with GCC7 after JDK-8294314 due to strict-over…
Browse files Browse the repository at this point in the history
…flow warnings

Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, ihse
  • Loading branch information
DamonFool and shipilev committed Oct 19, 2022
1 parent 3f4964f commit f502ab8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/hotspot/lib/CompileJvm.gmk
Expand Up @@ -94,6 +94,8 @@ DISABLED_WARNINGS_clang := ignored-qualifiers sometimes-uninitialized \
ifneq ($(DEBUG_LEVEL), release)
# Assert macro gives warning
DISABLED_WARNINGS_clang += tautological-constant-out-of-range-compare
# Some reasonable asserts produce warnings on GCC <= 7
DISABLED_WARNINGS_gcc += strict-overflow
endif

DISABLED_WARNINGS_xlc := tautological-compare shift-negative-value
Expand Down

0 comments on commit f502ab8

Please sign in to comment.