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: Plane down the CPP builtins table a bit


On Tue, May 21, 2002 at 07:09:50AM +0100, Neil Booth wrote:
> Zack Weinberg wrote:-
> 
> > Sure... well, almost.  __OBJC__ would be mandated by the relevant
> > standard if there was one, so I left it in cppinit, and c-common
> > doesn't have enough information to know when to define __ASSEMBLER__
> > (as far as I can tell).  But apart from that, here's the patch.  I'll
> > wait for your reactions before applying it.
> 
> There is a macro preprocessing_asm_p() I created a couple of days back
> for the target-dependent code.
...
> Would you move the assembler macro to c-common.c using this, and
> put the flag_iso check on an "else" branch after it so there is
> no way of getting __STRICT_ANSI__ defined when doing asm?

Y'know, is there really any reason why __ASSEMBLER__ belongs in
c-common not cppinit?  I don't see one at the moment.  And it seems
natural to have the library define the macros that specify which
language is being preprocessed (C, C++, ObjC, assembly)...

zw


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