This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48021] New: [trans-mem] call to an undefined clone
- From: "patrick.marlier at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 15:03:05 +0000
- Subject: [Bug c++/48021] New: [trans-mem] call to an undefined clone
- Auto-submitted: auto-generated
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.