P0145R2: Refining Expression Order for C++ (complex LHS of =).
authorJason Merrill <jason@redhat.com>
Fri, 24 Jun 2016 21:57:13 +0000 (17:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 24 Jun 2016 21:57:13 +0000 (17:57 -0400)
commita25bd9e6a2e5875b330e3303f392a2a7aa9b5251
tree674e7e2461f1f0572e54a14ff71ae09257303531
parent53605f35cddd3c353ae9f7db1aaf9565a08826ea
P0145R2: Refining Expression Order for C++ (complex LHS of =).

gcc/c-common/
* c-common.c (verify_tree) [COMPOUND_EXPR]: Fix handling on LHS of
MODIFY_EXPR.
gcc/cp/
* typeck.c (cp_build_modify_expr): Leave COMPOUND_EXPR on LHS.

From-SVN: r237775
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/cp/ChangeLog
gcc/cp/typeck.c