Compiling on RHEL, with:
* Toolchain: gcc (GNU Compiler Collection)
* C Compiler: Version 4.8.5 (at /usr/bin/gcc)
* C++ Compiler: Version 4.8.5 (at /usr/bin/g++)
...breaks after JDK-8233530:
/home/shade/jdk-jdk/src/hotspot/share/memory/operator_new.cpp:95:24: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas]
PRAGMA_DISABLE_GCC_WARNING("-Wc++14-compat")
^
cc1plus: error: unrecognized command line option "-Wno-cast-function-type" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-misleading-indentation" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-implicit-fallthrough" [-Werror]
cc1plus: error: unrecognized command line option "-Wno-int-in-bool-context" [-Werror]
cc1plus: all warnings being treated as errors
gmake[3]: *** [/home/shade/jdk-jdk/build/linux-x86_64-server-fastdebug/hotspot/variant-server/libjvm/objs/operator_new.o] Error 1