This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: INSERT_ATTRIBUTES and PRAGMA_INSERT_ATTRIBUTES
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: INSERT_ATTRIBUTES and PRAGMA_INSERT_ATTRIBUTES
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Fri, 29 Jun 2001 22:43:00 -0500 (CDT)
- cc: gcc at gcc dot gnu dot org, amylaar at redhat dot com, aoliva at redhat dot com, nickc at redhat dot com, scox at redhat dot com
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