[Bug c++/10750] [3.4 regression] error with using template template expression in static const initializer
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 30 18:45:00 GMT 2003
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
More information about the Gcc-bugs
mailing list