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]
Other format: [Raw text]

[Bug c++/29773] name mangling for nested functions is wrong



------- Comment #1 from geoffk at gcc dot gnu dot org  2006-11-09 21:49 -------
There is a contradiction here in the ABI.  The formal syntax in the ABI says
that a <local-name> cannot appear inside a <nested-name>, but the example I
mentioned is trying to show that it does.  However, the formal syntax in the
ABI also says that a <local-name> does not end with a type specification, and
if that was true, you couldn't use it for a nested function, because you need
to include their argument types to allow overloading.  Possibly this is just
bug(s) in the ABI, and GCC is doing the right thing.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29773


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