This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re:
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re:
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 06 Oct 1998 20:51:43 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199810061650.JAA08909@elmo.cygnus.com>you write:
> Hi,
>
> I would like to submit the following patch to the pragma handling
> code in c-pragma.c. It fixes a bug in the handling of '#pragma pack(<n>)'
> which was introduced by the HANDLE_PRAGMA_PACK_PUSH_POP patch. The
> bug was that insert_pack_attributes() was being called when #pragma
> pack(<n>) was used, when the funciton is only intended to work with
> #pragma pack(push,<n>).
>
> Cheers
> Nick
>
>
>
> Tue Oct 6 09:44:53 1998 Nick Clifton <nickc@cygnus.com>
>
> * c-pragma.c (insert_pack_attributes): Do not insert
> attributes unless #pragma pack(push,<n>) is in effect.
Fine by me.
jeff