[Bug c++/29000] [4.2/4.3 regression] ICE on invalid use of template in statement-expr

2007-08-28 Thread jason at gcc dot gnu dot org


--- 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



[Bug c++/29000] [4.2/4.3 regression] ICE on invalid use of template in statement-expr

2007-07-19 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.2.1   |4.2.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29000



[Bug c++/29000] [4.2/4.3 regression] ICE on invalid use of template in statement-expr

2007-05-14 Thread mmitchel at gcc dot gnu dot org


--- Comment #3 from mmitchel at gcc dot gnu dot org  2007-05-14 22:26 
---
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|4.2.0   |4.2.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29000



[Bug c++/29000] [4.2/4.3 regression] ICE on invalid use of template in statement-expr

2007-04-25 Thread janis at gcc dot gnu dot org


--- Comment #2 from janis at gcc dot gnu dot org  2007-04-25 21:50 ---
A regression hunt on powerpc-linux for the changeover from error message to ICE
identified the following patch:

http://gcc.gnu.org/viewcvs?view=rev&rev=116311

r116311 | jason | 2006-08-21 20:54:57 + (Mon, 21 Aug 2006)


-- 

janis at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jason at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29000