https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63887
Bug ID: 63887
Summary: abi_tag confuses demangler
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
CC: jason at gcc dot gnu.org
struct __attribute((abi_tag("cxx11"))) time_get
{
~time_get();
};
int main()
{
time_get t;
}
/tmp/ccvqinyx.o: In function `main':
/tmp/t.cc:8: undefined reference to `time_get[abi:cxx11]::~cxx11()'
collect2: error: ld returned 1 exit status
Note that the destructor name is ~cxx11 not ~time_get