[RFA] Silence some warnings [was Re: "introduce no new bootstrap..."]
Jeffrey A Law
law@redhat.com
Mon Jan 15 21:27:00 GMT 2001
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
More information about the Gcc
mailing list