This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31517] [4.1/4.2/4.3 Regression] ICE on invalid initialization of static member of a template class
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Apr 2007 19:41:25 -0000
- Subject: [Bug c++/31517] [4.1/4.2/4.3 Regression] ICE on invalid initialization of static member of a template class
- References: <bug-31517-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from simartin at gcc dot gnu dot org 2007-04-17 20:41 -------
Subject: Bug 31517
Author: simartin
Date: Tue Apr 17 20:41:12 2007
New Revision: 123925
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123925
Log:
2007-04-17 Simon Martin <simartin@users.sourceforge.net>
PR c++/31517
* pt.c (value_dependent_expression_p): Handle MODOP_EXPRs.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/init7.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/pt.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31517