# HG changeset patch # User ihse # Date 1520288454 -3600 # Node ID b61bf4510be21fea0369ae2b692cd67f720c4e94 # Parent a8006af088a6e2021dda1945ab366eecac100ca4 Now I really confirm this compiles without warnings on gcc 7.2.0, 6.3.0, 5.4.1, 4.9.2, 4.8.5. diff -r a8006af088a6 -r b61bf4510be2 make/hotspot/lib/CompileGtest.gmk --- a/make/hotspot/lib/CompileGtest.gmk Mon Mar 05 23:15:38 2018 +0100 +++ b/make/hotspot/lib/CompileGtest.gmk Mon Mar 05 23:20:54 2018 +0100 @@ -87,7 +87,9 @@ delete-non-virtual-dtor ignored-qualifiers parentheses reorder \ unused-local-typedefs unused-variable address \ missing-field-initializers unused-but-set-variable char-subscripts \ - array-bounds narrowing empty-body unused-but-set-parameter undef, \ + array-bounds narrowing empty-body unused-but-set-parameter undef \ + maybe-uninitialized logical-op \ + implicit-fallthrough expansion-to-defined, \ DISABLED_WARNINGS_clang := undef switch format-nonliteral \ tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \ DISABLED_WARNINGS_solstudio := $(BUILD_LIBJVM_DISABLED_WARNINGS_solstudio), \