typeck.c (build_compound_expr): If RHS is a TARGET_EXPR, put the compound expr inside...
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 1 Aug 2003 09:16:09 +0000 (09:16 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 1 Aug 2003 09:16:09 +0000 (09:16 +0000)
commitd340e53fc39cdfc88b89ec4a420719dc31aadca8
tree456f8e4d840ad08e52a2de88fef46b631c51a1dc
parentf21e6028bf127c16c109bbfe9135334077522ee5
typeck.c (build_compound_expr): If RHS is a TARGET_EXPR, put the compound expr inside the target's initializer.

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.

From-SVN: r70042
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/tmp1.C [new file with mode: 0644]