[Bug c++/9256] [DR 337] Pointers to arrays of abstract objects must be disallowed

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 10 01:18:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-10 01:18 -------
Subject: Bug 9256

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	giovannibajo@gcc.gnu.org	2004-01-10 01:18:08

Modified files:
	gcc/cp         : ChangeLog pt.c decl.c 

Log message:
	DR 337
	PR c++/9256
	* pt.c (tsubst): Substitution must fail if we are attempting to
	create an array with element type that is an abstract class type.
	* decl.c (cp_finish_decl): Strip pointers and array types recursively
	before calling abstract_virtuals_error.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3863&r2=1.3864
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.809&r2=1.810
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1170&r2=1.1171



-- 


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



More information about the Gcc-bugs mailing list