[Bug c++/14616] [3.4/3.5 regression] disjoint_set_test.cpp from boost does not compile (sizeof)

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Mar 21 17:48:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-21 17:48 -------
Subject: Bug 14616

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2004-03-21 17:48:39

Modified files:
	gcc/cp         : ChangeLog decl.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/init: array13.C 

Log message:
	PR c++/14616
	* decl.c (cp_finish_decl): Compute the size of arrays declared in
	templates, if their type is non-dependent.
	
	PR c++/14616
	* g++.dg/init/array13.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4006&r2=1.4007
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1197&r2=1.1198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3623&r2=1.3624
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/array13.C.diff?cvsroot=gcc&r1=1.1&r2=1.2



-- 


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



More information about the Gcc-bugs mailing list