This is the mail archive of the gcc@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: INSERT_ATTRIBUTES and PRAGMA_INSERT_ATTRIBUTES


On Fri, 29 Jun 2001, Joseph S. Myers wrote:

> I asked this in another thread, but perhaps it should be asked on its own:
> 
> What are INSERT_ATTRIBUTES and PRAGMA_INSERT_ATTRIBUTES for, and what is
> the difference between them?  INSERT_ATTRIBUTES is documented as a target
> macro, but the only port to use either is the SH port, which uses
> PRAGMA_INSERT_ATTRIBUTES.  It seems that PRAGMA_INSERT_ATTRIBUTES used to
> be defined by c-pragma.h but this was deleted by
> 
> Tue Oct 19 11:41:12 1999  Mumit Khan  <khan@xraylith.wisc.edu>
> 
>         * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
>         (insert_pack_attributes): Delete prototype.

Joseph,

Please see if http://gcc.gnu.org/ml/gcc-patches/1999-06n/msg00709.html
answers your questions. If not, I'll hopefully dig out the info on what
made the changes necessary.

There is another thread that started this after Nick's changes to handling
of pragma pack, but I can't seem to find it right now.

Regards,
Mumit



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