problem with builtin functions

Jason Merrill jasonATcygnus.com
Wed Sep 15 11:40:00 GMT 1999


>>>>> Mark Mitchell <mark@codesourcery.com> writes:

 > Cute.  The problem is that this code should be flagged as erroneous.

I disagree; a user is allowed to use a name from the standard library for a
static definition.  Probably duplicate_decls should just throw away the
builtin if the new decl is static.

Jason


More information about the Gcc-bugs mailing list