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
* [Bug target/25299] Another ABI incompatibility with Apple's gcc 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 ` pinskia at gcc dot gnu dot org 2005-12-08 13:05 ` amodra at bigpond dot net dot au ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-07 20:26 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-07 20:26 ------- >From the sound of it, AIX has the same issue. I have the simple fix but I cannot test it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25299 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/25299] Another ABI incompatibility with Apple's gcc 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 ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: amodra at bigpond dot net dot au @ 2005-12-08 13:05 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from amodra at bigpond dot net dot au 2005-12-08 13:05 ------- Your testcase fails on powerpc64-linux with -malign-power -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25299 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/25299] Another ABI incompatibility with Apple's gcc 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 4 siblings, 0 replies; 6+ messages in thread From: amodra at gcc dot gnu dot org @ 2005-12-12 1:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from amodra at gcc dot gnu dot org 2005-12-12 01:28 ------- Subject: Bug 25299 Author: amodra Date: Mon Dec 12 01:28:50 2005 New Revision: 108393 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108393 Log: PR target/25299 * config/rs6000/rs6000.c (rs6000_special_round_type_align): Increase alignment to doubleword if the first field is a double array. * config/rs6000/linux64.h (TARGET_ALIGN_NATURAL): Define. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/linux64.h trunk/gcc/config/rs6000/rs6000.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25299 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/25299] Another ABI incompatibility with Apple's gcc 2005-12-07 19:57 [Bug target/25299] New: Another ABI incompatibility with Apple's gcc pinskia at gcc dot gnu dot org ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 19:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from pinskia at gcc dot gnu dot org 2005-12-12 19:28 ------- Fixed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25299 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/25299] Another ABI incompatibility with Apple's gcc 2005-12-07 19:57 [Bug target/25299] New: Another ABI incompatibility with Apple's gcc pinskia at gcc dot gnu dot org ` (3 preceding siblings ...) 2005-12-12 19:28 ` pinskia at gcc dot gnu dot org @ 2005-12-12 20:17 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 20:17 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.2.0 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).