gentoo-ebuilds/dev-java/openjdk/files/openjdk-17.0.16_p8-lto-memory.patch
2025-09-05 22:46:35 +01:00

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
//