From ed7789d6a08bcf5e49907389c6c36a09e88e852a Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Tue, 14 Sep 2021 11:29:16 +0000 Subject: [PATCH] 8256977: Bump minimum GCC from 5.x to 6 for JDK Reviewed-by: erikj, shade --- make/autoconf/toolchain.m4 | 2 +- test/hotspot/gtest/unittest.hpp | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/make/autoconf/toolchain.m4 b/make/autoconf/toolchain.m4 index 69540e1608e..9666d9a6d9d 100644 --- a/make/autoconf/toolchain.m4 +++ b/make/autoconf/toolchain.m4 @@ -51,7 +51,7 @@ TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++" # Minimum supported versions, empty means unspecified TOOLCHAIN_MINIMUM_VERSION_clang="3.5" -TOOLCHAIN_MINIMUM_VERSION_gcc="5.0" +TOOLCHAIN_MINIMUM_VERSION_gcc="6.0" TOOLCHAIN_MINIMUM_VERSION_microsoft="19.10.0.0" # VS2017 TOOLCHAIN_MINIMUM_VERSION_xlc="" diff --git a/test/hotspot/gtest/unittest.hpp b/test/hotspot/gtest/unittest.hpp index 16ee6220beb..b414b2fbdd9 100644 --- a/test/hotspot/gtest/unittest.hpp +++ b/test/hotspot/gtest/unittest.hpp @@ -48,10 +48,6 @@ #undef F1 #undef F2 -// A work around for GCC math header bug leaving isfinite() undefined, -// see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608 -#include "utilities/globalDefinitions.hpp" - #include "gmock/gmock.h" #include "gtest/gtest.h"