P0145R2: Refining Expression Order for C++ (assignment 2).
authorJason Merrill <jason@redhat.com>
Fri, 8 Jul 2016 20:25:38 +0000 (16:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Jul 2016 20:25:38 +0000 (16:25 -0400)
commit65a550b46e5d9759fae0e5af17a494e1f9f5d821
tree8707e60263a18e96bb37bf0ec77d166f7960e5f9
parentd0cf395a999499cfdc785cdb920bfdf401a628aa
P0145R2: Refining Expression Order for C++ (assignment 2).

* cp-gimplify.c (lvalue_has_side_effects): New.
(cp_gimplify_expr): Implement assignment ordering.

From-SVN: r238177
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/doc/invoke.texi
gcc/testsuite/g++.dg/cpp1z/eval-order3.C