From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Nick Clifton Cc: egcs-patches@cygnus.com Subject: Re: Date: Tue, 06 Oct 1998 19:52:00 -0000 Message-id: <11418.907728703@hurl.cygnus.com> References: <199810061650.JAA08909@elmo.cygnus.com> X-SW-Source: 1998-10/msg00222.html 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()' > which was introduced by the HANDLE_PRAGMA_PACK_PUSH_POP patch. The > bug was that insert_pack_attributes() was being called when #pragma > pack() was used, when the funciton is only intended to work with > #pragma pack(push,). > > Cheers > Nick > > > > Tue Oct 6 09:44:53 1998 Nick Clifton > > * c-pragma.c (insert_pack_attributes): Do not insert > attributes unless #pragma pack(push,) is in effect. Fine by me. jeff