[Bug c++/54893] unable to access volatile variable within relaxed transaction

2012-10-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54893 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/54893] unable to access volatile variable within relaxed transaction

2012-10-11 Thread torvald at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54893 --- Comment #3 from torvald at gcc dot gnu.org 2012-10-11 19:54:11 UTC --- I agree with Michael. Accesses to volative vars are disallowed in safe code, but relaxed transactions can run unsafe code (after going irrevocable). The test case i

[Bug c++/54893] unable to access volatile variable within relaxed transaction

2012-10-11 Thread spear at cse dot lehigh.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54893 --- Comment #2 from Mike Spear 2012-10-11 13:21:19 UTC --- There is a key difference here. The transaction in my example is /relaxed/. According to the specification, there are no restrictions on what a relaxed transaction can do. Relax

[Bug c++/54893] unable to access volatile variable within relaxed transaction

2012-10-11 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54893 Aldy Hernandez changed: What|Removed |Added CC||pmarlier at gcc dot gnu.org --