This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libitm/53008] New: abort in _ITM_getTMCloneSafe
- From: "daveboutcher at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Apr 2012 15:08:02 +0000
- Subject: [Bug libitm/53008] New: abort in _ITM_getTMCloneSafe
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53008
Bug #: 53008
Summary: abort in _ITM_getTMCloneSafe
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libitm
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: daveboutcher@gmail.com
Created attachment 27169
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27169
testcase for abort in _ITM_getTMCloneSafe
Abort in _ITM_getTMCloneSafe() within atomic transaction calling a function via
a function pointer. The abort only appears to happen if the function pointer
is defined as __attribute__((transaction_safe)). Only happens at -O2 and
above.
Fairly minimal testcase attached.