------- Comment #26 from geoffk at gcc dot gnu dot org 2006-11-01 05:28 ------- Subject: Bug 23067
Author: geoffk Date: Wed Nov 1 05:28:41 2006 New Revision: 118365 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118365 Log: In gcc/: PR 23067 * c-decl.c (start_struct): Don't create self-containing structures. * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align): New. * config/rs6000/rs6000-protos.h (darwin_rs6000_special_round_type_align): New. * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Rewrite. (ROUND_TYPE_ALIGN): Use darwin_rs6000_special_round_type_align. In gcc/testsuite/: PR 23067 * gcc.target/powerpc/darwin-abi-3.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-6.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-7.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-8.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-9.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-10.c: Remove XFAIL. * gcc.target/powerpc/darwin-abi-11.c: Remove XFAIL. In libobjc/: * encoding.c (darwin_rs6000_special_round_type_align): New. In libffi/: * src/powerpc/ffi_darwin.c (darwin_adjust_aggregate_sizes): New. (ffi_prep_cif_machdep): Call darwin_adjust_aggregate_sizes for Darwin. * testsuite/libffi.call/nested_struct4.c: Remove Darwin XFAIL. * testsuite/libffi.call/nested_struct6.c: Remove Darwin XFAIL. Modified: trunk/gcc/ChangeLog trunk/gcc/config/rs6000/darwin.h trunk/gcc/config/rs6000/rs6000-protos.h trunk/gcc/config/rs6000/rs6000.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-10.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-11.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-3.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-6.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-7.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-8.c trunk/gcc/testsuite/gcc.target/powerpc/darwin-abi-9.c trunk/libffi/ChangeLog trunk/libffi/src/powerpc/ffi_darwin.c trunk/libffi/testsuite/libffi.call/nested_struct4.c trunk/libffi/testsuite/libffi.call/nested_struct6.c trunk/libobjc/ChangeLog trunk/libobjc/encoding.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067