public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/25299]  New: Another ABI incompatibility with Apple's gcc
@ 2005-12-07 19:57 pinskia at gcc dot gnu dot org
  2005-12-07 20:26 ` [Bug target/25299] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-07 19:57 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-12 20:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 19:57 [Bug target/25299] New: Another ABI incompatibility with Apple's gcc pinskia at gcc dot gnu dot org
2005-12-07 20:26 ` [Bug target/25299] " pinskia at gcc dot gnu dot org
2005-12-08 13:05 ` amodra at bigpond dot net dot au
2005-12-12  1:28 ` amodra at gcc dot gnu dot org
2005-12-12 19:28 ` pinskia at gcc dot gnu dot org
2005-12-12 20:17 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).