http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48021
Summary: [trans-mem] call to an undefined clone
Product: gcc
Version: trans-mem
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created attachment 23569
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23569
testcase showing that.
In this testcase, the std namespace is not transactionalized and a class, Unit
is using implicit destructor std::string for its member.
In this class Unit, the destructor is cloned but the implicit destructor for
std::string is transformed to a transactional one _ZGTtNSsD2Ev. Unfortunately,
_ZGTtNSsD2Ev is not defined and I think the correct behaviour should be
switching to irrevocable mode and then call the unsafe _ZNSsD2Ev.
Aldy: this happens in the Glob2, one undefined reference that we got.
Patrick Marlier.