[Bug c++/20763] [4.0 regression] Incompatible struct alignment change
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 12:59:00 GMT 2005
------- Additional Comments From jakub at gcc dot gnu dot org 2005-04-05 12:59 -------
typedef void *voidp;
struct S
{
char a;
voidp __attribute__ ((aligned (16))) b;
};
struct T
{
char a;
void *__attribute__ ((aligned (16))) b;
};
int f[sizeof (struct S) != sizeof (struct T) ? -1 : 1];
also fails, on all arches I tried (16 byte alignment so that it fails also
on 64-bit arches).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20763
More information about the Gcc-bugs
mailing list