public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46654] New: [trans-mem] "volatile" objects must not be allowed in a safe statement
@ 2010-11-25  9:03 patrick.marlier at gmail dot com
  2010-11-25  9:04 ` [Bug c++/46654] " patrick.marlier at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: patrick.marlier at gmail dot com @ 2010-11-25  9:03 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: patrick.marlier@gmail.com
                CC: rth@gcc.gnu.org, aldyh@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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-20 18:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25  9:03 [Bug c++/46654] New: [trans-mem] "volatile" objects must not be allowed in a safe statement patrick.marlier at gmail dot com
2010-11-25  9:04 ` [Bug c++/46654] " patrick.marlier at gmail dot com
2010-11-25  9:39 ` patrick.marlier at gmail dot com
2010-12-13 11:13 ` aldyh at gcc dot gnu.org
2010-12-14 16:41 ` aldyh at gcc dot gnu.org
2010-12-20 18:22 ` aldyh at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).