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. ihse-cflags-rewrite-branch
authorihse
Mon, 05 Mar 2018 23:20:54 +0100
branchihse-cflags-rewrite-branch
changeset 56248 b61bf4510be2
parent 56247 a8006af088a6
child 56249 4141c47bb309
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.
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), \