[Bug target/25299] New: Another ABI incompatibility with Apple's gcc
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 19:57:00 GMT 2005
The following source should compile on powerpc-darwin with no errors:
struct a { double a[2]; int i; };
struct b { double a; double b; int i; };
int g[sizeof(struct a) == sizeof(struct b)?1:-1];
But currently it does not because we don't take into account that the type of
the array.
--
Summary: Another ABI incompatibility with Apple's gcc
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: wrong-code, rejects-valid, ABI
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25299
More information about the Gcc-bugs
mailing list