diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-05 15:59:31 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-09-05 15:59:31 +0000 |
commit | 85a56c9d3633b49b06e2b8b01a7dae59f3480a75 (patch) | |
tree | e475c6fabc15570d2c4c92a201ccf7c95ee23b46 /gcc/java/buffer.h | |
parent | 3b4fb454b1755ba6bafee42255ba907ebe86bd80 (diff) | |
download | gcc-85a56c9d3633b49b06e2b8b01a7dae59f3480a75.zip gcc-85a56c9d3633b49b06e2b8b01a7dae59f3480a75.tar.gz gcc-85a56c9d3633b49b06e2b8b01a7dae59f3480a75.tar.bz2 |
re PR c++/21440 (ICE with statement-as-expression)
PR c++/21440
* semantics.c (finish_stmt_expr_expr): Add an explicit
initialization to the last statement in the statement-expression.
* (finish_stmt_expr): Adjust accordingly.
PR c++/21440
* g++.dg/ext/stmtexpr5.C: New test.
* g++.dg/ext/stmtexpr6.C: Likewise.
From-SVN: r103911
Diffstat (limited to 'gcc/java/buffer.h')
0 files changed, 0 insertions, 0 deletions