This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10750] [3.4 regression] error with using template template expression in static const initializer
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2003 18:45:31 -0000
- Subject: [Bug c++/10750] [3.4 regression] error with using template template expression in static const initializer
- References: <20030512140600.10750.gawrilow@math.tu-berlin.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10750
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-06-30 18:45 -------
Subject: Bug 10750
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: bangerth@gcc.gnu.org 2003-06-30 18:45:26
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
PR c++/10750
* parser.c (cp_parser_primary_expression): A VAR_DECL with a
(value- or type-) dependent expression as DECL_INITIAL is a
valid constant-expression (at parser time).
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3469&r2=1.3470
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.67&r2=1.68