This is the mail archive of the gcc-bugs@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]

Re: problem with builtin functions


>>>>> 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


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