8295435: Build failure with GCC7 after JDK-8294314 due to strict-overflow warnings
Co-authored-by: Aleksey Shipilev <shade@openjdk.org> Reviewed-by: shade, ihse
This commit is contained in:
parent
3f4964f83d
commit
f502ab85c9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user