This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25299] New: Another ABI incompatibility with Apple's gcc
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2005 19:57:45 -0000
- Subject: [Bug target/25299] New: Another ABI incompatibility with Apple's gcc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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