diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-09-07 20:53:15 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-09-07 20:53:15 +0000 |
commit | 13c1e12feb5cf845dad0354fcc41c6ab4587e2bd (patch) | |
tree | a9dbdbe3faff4c55cb35ed7b6f13a9b4d905a8c7 /gcc/cp/ChangeLog | |
parent | 4b25c8d3207cc87ceca63d94245e21173317d7e9 (diff) |
re PR c++/12181 (Wrong code with comma operator and c++)
PR c++/12181
* typeck.c (build_modify_expr): Don't always stabilize the lhs and
rhs. Do stabilize the lhs of a MODIFY_EXPR used on the lhs.
PR c++/12181
* g++.dg/expr/comma1.C: New test.
From-SVN: r71181
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 727cf3f8c21..3250e290384 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2003-09-07 Jason Merrill <jason@redhat.com> + + PR c++/12181 + * typeck.c (build_modify_expr): Don't always stabilize the lhs and + rhs. Do stabilize the lhs of a MODIFY_EXPR used on the lhs. + 2003-09-06 Mark Mitchell <mark@codesourcery.com> PR c++/11867 |