This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Silence some warnings [was Re: "introduce no new bootstrap..."]
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: [RFA] Silence some warnings [was Re: "introduce no new bootstrap..."]
- From: Jeffrey A Law <law at redhat dot com>
- Date: Mon, 15 Jan 2001 22:23:17 -0700
- cc: Zack Weinberg <zackw at Stanford dot EDU>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <20010115201118.E31194@daikokuya.demon.co.uk>you write:
> I'll post a testcase soon. Bootstrapping i586 Linux. OK to commit
> this in the slush period?
>
> Neil.
>
> * c-lex.c (lex_number): Only warn traditionally for U suffix
> outside system macros.
> * cppexp.c (parse_number): Similarly.
> * cpplib.h (NODE_SYSHDR, cpp_sys_objmacro_p): New.
> * cppmacro.c (struct cpp_macro): New member node.
> (parse_args): Only warn about missing rest args if not
> a system macro.
> (funlike_invocation_p): Similarly for uninvoked funlike macros.
> (cpp_sys_objmacro_p): New.
> (_cpp_create_definition): Store the node with the macro defn.
> Remember if the macro is defined in a system header.
I think Mark should have the final call here. If it were me, I'd say hold
off on this for now.
jeff