[Bug middle-end/51516] New: [trans-mem] problem with TM clone aliases
patrick.marlier at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 12 19:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51516
Bug #: 51516
Summary: [trans-mem] problem with TM clone aliases
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: patrick.marlier@gmail.com
CC: aldyh@gcc.gnu.org, rth@gcc.gnu.org
Created attachment 26060
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26060
patch for trans-mem.c
PR51347 shows up a problem due to the TM IPA rework.
Indeed, an alias can get called but tm cg data are in the parent of the alias.
So it ends up to calls _ITM_getTMCloneOrIrrevocable for the alias which is
wrong.
Patch attached with testcase.
Bootstrapped and regtested.
http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00225.html
Patrick Marlier.
More information about the Gcc-bugs
mailing list