[Bug c++/20073] [4.0 regression] ICE initializing const array

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 23 14:11:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-23 06:55 -------
Subject: Bug 20073

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2005-02-23 06:55:11

Modified files:
	gcc/cp         : ChangeLog 

Log message:
	PR c++/20073
	* decl.c (start_decl_1): Don't clear TREE_READONLY.
	(cp_finish_decl): Likewise.
	(complete_vars): Call cp_apply_type_quals_to_decl.
	* typeck.c (cp_apply_type_quals): Avoid setting TREE_READONLY in
	cases where that's not valid.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4642&r2=1.4643



-- 


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



More information about the Gcc-bugs mailing list