Seems we have warnings (potentially as error) for unused functions when using gcc and clang configured in the autoconf files. But for clang those warnings are disabled for hotspot. It would be better to have them enabled for hotspot with gcc AND clang, so that developers working mostly on macOS cannot introduce those unused functions and destroy the Linux/gcc builds.
------------- Commit messages: - JDK-8377880 Changes: https://git.openjdk.org/jdk/pull/29878/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29878&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8377880 Stats: 4 lines in 2 files changed: 1 ins; 1 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/29878.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29878/head:pull/29878 PR: https://git.openjdk.org/jdk/pull/29878
