changeset 55451:c2238a12f259

Merge
author bobv
date Tue, 19 Mar 2019 14:31:52 -0400
parents d5da034032e9 021448dc442c
children 4b6a629d0615
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/utilities/globalDefinitions_gcc.hpp	Tue Mar 19 12:29:40 2019 -0400
+++ b/src/hotspot/share/utilities/globalDefinitions_gcc.hpp	Tue Mar 19 14:31:52 2019 -0400
@@ -270,8 +270,8 @@
 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53017
 //
 // GCC versions older than 4.6.4 would fail even with "+0", and needs additional
-// cast to typeof(x) to work around the similar bug.
+// cast to __typeof__(x) to work around the similar bug.
 //
-#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned((typeof(x))x+0)))
+#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned((__typeof__(x))x+0)))
 
 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP