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/71199] Support overloadable attribute in GNU C front-end


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71199

--- Comment #7 from Yu Xuanchi <yuxuanchiadm at 126 dot com> ---
And there is another option. Because clang documentation say:
"However, when an overloadable function occurs within an extern "C" linkage
specification, it’s name will be mangled in the same way as it would in C."
So should we think nested function as implicit extern "C" and mangled it in C
way like "test.0000", "test.0001"?

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