File zgc-alignment.patch of Package java-15-openjdk

--- jdk15/src/hotspot/share/utilities/globalDefinitions_gcc.hpp	2020-06-11 18:24:51.000000000 +0200
+++ jdk15/src/hotspot/share/utilities/globalDefinitions_gcc.hpp	2020-09-23 10:31:32.259975543 +0200
@@ -162,6 +162,6 @@
 
 // Alignment
 //
-#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x)))
+#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x+0)))
 
 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
openSUSE Build Service is sponsored by