[Bug c/44943] Need documentation on the intended semantics of "volatile" (in C)

db0451 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 20 15:05:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44943

DB <db0451 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |db0451 at gmail dot com

--- Comment #2 from DB <db0451 at gmail dot com> ---
As far as I can tell, according to P0162R0:
http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0612r0.html

which was adopted this month:
https://isocpp.org/blog/2017/03/2017-03-post-kona-mailing-available

the current behaviour of g++ is now Standard behaviour in C++ (if not C)

If so, then I guess the documentation needs updated:
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Volatiles.html

(I don't know yet whether this is intended as a DR to be backported to older
standards.)


More information about the Gcc-bugs mailing list