[Bug c++/20142] [3.3/3.4/4.0/4.1 regression] implicit assignment operator with multi-dimensional array is broken

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 9 07:40:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-09 07:39 -------
Subject: Bug 20142

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	mmitchel@gcc.gnu.org	2005-03-09 07:39:35

Modified files:
	gcc/cp         : init.c ChangeLog 
	gcc/testsuite  : ChangeLog 

Log message:
	PR c++/20142
	* init.c (build_vec_init): When determining whether or not the
	element type has an asignment operator, look through all array
	dimensions.
	
	PR c++/20142
	* g++.dg/init/array18.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.356.2.16&r2=1.356.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.204&r2=1.3892.2.205
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.369&r2=1.3389.2.370



-- 


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



More information about the Gcc-bugs mailing list