This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10750] [3.4 regression] error with using template template expression in static const initializer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]