cp:
commit1cc57cf8fb921c68995c837ff99aaed68dbfb31e
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2003 09:16:09 +0000 (1 09:16 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Aug 2003 09:16:09 +0000 (1 09:16 +0000)
tree456f8e4d840ad08e52a2de88fef46b631c51a1dc
parent3d6fb44808e13a4adc17b213009ea80ad29d89e3
cp:
* typeck.c (build_compound_expr): If RHS is a TARGET_EXPR, put the
compound expr inside the target's initializer.
testsuite:
* g++.dg/opt/tmp1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70042 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/tmp1.C [new file with mode: 0644]