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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
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.