http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46654
Summary: [trans-mem] "volatile" objects must not be allowed in a safe statement Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: patrick.marl...@gmail.com CC: r...@gcc.gnu.org, al...@gcc.gnu.org In the Draft transactional construct for C++, "volatile" object are not allowed in a safe statement (section 3.2). In the current implementation, there is no warning or error raised by the compiler. gcc -Wall -c -fgnu-tm volatile.c -o volatile -> No error Attached the testcase. Patrick Marlier.