mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Newer JDKs have a workaround: b42f146edb/make/hotspot/lib/JvmOverrideFiles.gmk (L40)
Closes: https://bugs.gentoo.org/960257
Signed-off-by: Sam James <sam@gentoo.org>
13 lines
502 B
Diff
13 lines
502 B
Diff
https://bugs.gentoo.org/960257
|
|
https://gcc.gnu.org/PR77472
|
|
--- a/src/hotspot/share/utilities/globalDefinitions_gcc.hpp
|
|
+++ b/src/hotspot/share/utilities/globalDefinitions_gcc.hpp
|
|
@@ -170,7 +170,7 @@ inline int wcslen(const jchar* x) { return wcslen((const wchar_t*)x); }
|
|
// Inlining support
|
|
#define NOINLINE __attribute__ ((noinline))
|
|
#define ALWAYSINLINE inline __attribute__ ((always_inline))
|
|
-#define ATTRIBUTE_FLATTEN __attribute__ ((flatten))
|
|
+#define ATTRIBUTE_FLATTEN
|
|
|
|
// Alignment
|
|
//
|