Please review this change that updates the minimum supported version of gcc to be used for building OpenJDK from 6.0 to 10.0.
This permits enabling C++17 (JDK-8314488), though gcc 9.0 might suffice for that. A minimum of gcc 10 also obtains the primitives needed to support a work-alick for std::is_constant_evaluated (added in C++20). There are a bunch of improvements that would be enabled by that. Having it would also allow the elimination of a bit of a mess in the HotSpot assert macros that was needed to work around the lack of that feature (JDK-8303805). Either current or proposed minimum versions of other supported compilers also provide the needed primitives. Testing: mach5 tier1 (uses gcc13.2 on gcc-based platforms) Locally (linux-x64) built and ran tier1 with gcc10.3. ------------- Commit messages: - minimum gcc10 Changes: https://git.openjdk.org/jdk/pull/17899/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17899&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8325881 Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/17899.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17899/head:pull/17899 PR: https://git.openjdk.org/jdk/pull/17899