This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51752] trans-mem: publication safety violated
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jan 2012 14:30:15 +0000
- Subject: [Bug middle-end/51752] trans-mem: publication safety violated
- Auto-submitted: auto-generated
- References: <bug-51752-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51752
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-01-05 14:30:15 UTC ---
Ok, I'm a complete neophyte on this, but that seems very restrictive. Does
that mean that basically we can't hoist any loads inside a transaction...ever?
__transaction_atomic
{
for (i = 0; i < 10; i++)
if (x[i])
x[i] += data;
}