------- Comment #4 from jason at gcc dot gnu dot org 2007-08-28 16:59 ------- Subject: Bug 29000
Author: jason Date: Tue Aug 28 16:58:59 2007 New Revision: 127868 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127868 Log: PR c++/29000 * pt.c (build_non_dependent_expr, type_dependent_expression_p): Look inside STMT_EXPR. * semantics.c (stmt_expr_value_expr): New fn. * cp-tree.h: Declare it. * g++.dg/ext/stmtexpr12.C: New test. Added: trunk/gcc/testsuite/g++.dg/ext/stmtexpr12.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29000