[Bug middle-end/51752] trans-mem: publication safety violated

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 5 14:30:00 GMT 2012


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;
    }



More information about the Gcc-bugs mailing list