[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-stdalign.c breaks on i686 on Fedora Rawhide (gcc 4.7)
From: |
Bruno Haible |
Subject: |
Re: test-stdalign.c breaks on i686 on Fedora Rawhide (gcc 4.7) |
Date: |
Fri, 27 Jan 2012 21:24:52 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Hi Paul,
> I expect this is a GCC 4.7 bug
Yes, I confirm: I can reproduce it with gcc 4.7-20120121 built from
source. Since this is not a regression, it will most likely not be fixed
in time for GCC 4.7.0 [1].
[1] http://gcc.gnu.org/ml/gcc/2012-01/msg00337.html
> I pushed the following workaround into Gnulib.
I've updated the documentation accordingly:
2012-01-27 Bruno Haible <address@hidden>
stdalign: Document the last change.
* doc/posix-headers/stdalign.texi: Mention GCC bug 52023.
--- doc/posix-headers/stdalign.texi.orig Fri Jan 27 21:18:52 2012
+++ doc/posix-headers/stdalign.texi Fri Jan 27 21:18:09 2012
@@ -17,6 +17,9 @@
This header file is missing on most circa-2011 platforms.
@item
Clang 3.0's @code{<stdalign.h>} does not define @code{alignof}/@code{_Alignof}.
address@hidden
+The @code{alignof} and @code{_Alignof} macros return too large values for
+the types @code{double} and @code{long long} in GCC 4.7.0.
@end itemize
Portability problems not fixed by Gnulib: