equal
deleted
inserted
replaced
267 // (known to fail with 4.6.0, fixed in 4.9.0). This bug affects systems such as |
267 // (known to fail with 4.6.0, fixed in 4.9.0). This bug affects systems such as |
268 // RedHat/Oracle Linux 7.5, which ships with GCC 4.8.5. For more details, see |
268 // RedHat/Oracle Linux 7.5, which ships with GCC 4.8.5. For more details, see |
269 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382 and |
269 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382 and |
270 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53017 |
270 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53017 |
271 // |
271 // |
272 #define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x+0))) |
272 // GCC versions older than 4.6.4 would fail even with "+0", and needs additional |
|
273 // cast to typeof(x) to work around the similar bug. |
|
274 // |
|
275 #define ATTRIBUTE_ALIGNED(x) __attribute__((aligned((typeof(x))x+0))) |
273 |
276 |
274 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP |
277 #endif // SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP |