This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH to layout_decl for 11446


On Tue, 21 Oct 2003 10:27:56 +0100, Andrew Haley <aph@redhat.com> wrote:

> Jason Merrill writes:
>  > THIS PATCH FIXES AN ABI COMPATIBILITY BUG BETWEEN THE TRUNK AND PREVIOUS
>  > RELEASES.
>  > 
>  > PR 11446 is a conflict between packed and aligned attributes.  In earlier
>  > releases, declaring a struct as packed overrides aligned attributes on the
>  > types of fields, but does not override aligned attributes directly on the
>  > fields.  My reworking of the field layout code changed that rule; this
>  > patch restores it.
>  > 
>  > Test in gcc.dg/pack-test-5.c.  Tested x86_64-pc-linux-gnu, applied to trunk.
>
> Did you test this with a libgcj and testsuite build?  This is critical
> for Java.

There were no libgcj testsuite regressions.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]