This testcase fails on these two targets because the alignment of doubles in a struct depend on where the field is. Since the double is second in one struct but first in the other, the alignment will be different.
-- Summary: g++.dg/ext/alignof2.C fails on powerpc-darwin (and powerpc-aix) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: powerpc-darwin, powerpc-aix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27221