[Bug c/39121] strange behavior in chained operations

frankhb1989 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 10 03:38:00 GMT 2015


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

frankhb1989 at gmail dot com changed:

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

--- Comment #9 from frankhb1989 at gmail dot com ---
This should work since C++11 because the rules of builtin assignment were
modified (CWG 222; see also CWG 637). However, it is still undefined in C11,
even if the new "sequenced before" wording has been copied from C++11
(WG21/N1944).
Not sure if any diagnostics should be changed.



More information about the Gcc-bugs mailing list