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] #pragma pack vs. STRUCTURE_SIZE_BOUNDARY


Hi Paul,

On Mon, 23 Oct 2006, Paul Brook wrote:
> I don't have MSVC, but I'd be amazed if it doesn't pass the test. i386
> {-linux,-mingw32} gcc already pass the test both before and after my patch.
>
> This change only makes a difference on targets where the ABI pads small
> structures by default (ie have STRUCTURE_SIZE_BOUNDARY > 8). i386 does not
> define STRUCTURE_SIZE_BOUNDARY.

Ah.  Thanks for the clarification.  In that case this patch is OK for
mainline, if you haven't applied it already.

Roger
--


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