diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-18 12:55:04 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-18 12:55:04 +0000 |
commit | face0cb7d0c9e2ca00257926372f57690f0750dd (patch) | |
tree | 648c5a079b6d873effc48807fb0fab2d455cdd19 /libjava/testsuite/libjava.jni | |
parent | 8de4bdf4dafa5b50901ec2f6404fde8751c5e315 (diff) | |
download | gcc-face0cb7d0c9e2ca00257926372f57690f0750dd.tar.gz |
cp:
PR c++/11957
* cp-tree.h (finish_stmt_expr): Add bool parameter.
* init.c (finish_init_stmts): Pass true to finish_stmt_expr. Don't
adjust the stmt_expr here.
(build_vec_init): Use finish_stmt_expr_expr, convert result to
array type.
* parser.c (cp_parser_primar_expression): Adjust finish_stmt_expr
call.
* pt.c (tsubst_copy): Likewise.
* semantics.c (finish_stmt_expr): Add parameter.
testsuite:
PR c++/11957
* g++.dg/warn/noeffect1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70541 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.jni')
0 files changed, 0 insertions, 0 deletions