summaryrefslogtreecommitdiff
path: root/dev-java/openjdk/files/openjdk-17.0.16_p8-lto-memory.patch
blob: 0b025383981083576aa274a4205ec8de90a0125a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
 //