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]
Other format: [Raw text]

Re: [PATCH] Add attribute "artificial"


Devang Patel wrote:

On Aug 5, 2005, at 4:00 PM, Mark Mitchell wrote:


It doesn't mean anything to people who aren't GCC hackers.


This is not for external people. Geoff asked me to put this in docs

"This attribute is suitable for compiler provided intrinsics headers only".

I've gone back and reread the thread; I had only seen part of it before. Sorry for being a bonehead.


The best justification for the name is probably that it's supposed to be like DW_AT_artificial, which does prove the name means something to people outside of GCC; namely people who also understand DWARF. Also, I can't really come up with a better name, so I'll withdraw that objection too.

However, I don't see why we should have that sentence in the documentation. I can't see why users wouldn't necessarily want to use this on other funny bits of magic. Why do we need to restrict it like that?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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