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]

Re:



  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


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