[Bug c++/48021] New: [trans-mem] call to an undefined clone
patrick.marlier at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 7 15:03:00 GMT 2011
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: unassigned@gcc.gnu.org
ReportedBy: patrick.marlier@gmail.com
CC: rth@gcc.gnu.org, aldyh@gcc.gnu.org
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.
More information about the Gcc-bugs
mailing list