[Bug c++/19813] [4.0 Regression] wrong code with -finline-limit

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 18 16:16:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-18 06:58 -------
Subject: Bug 19813

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-02-18 06:58:40

Modified files:
	gcc            : ChangeLog emit-rtl.c 
	gcc/cp         : ChangeLog 

Log message:
	PR c++/19813
	* emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
	that ref to be marked MEM_READONLY_P doesn't have base that needs
	constructing.
	
	* decl.c (start_decl_1): Clear TREE_READONLY flag if
	its type has TYPE_NEEDS_CONSTRUCTING.
	(complete_vars): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7520&r2=2.7521
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/emit-rtl.c.diff?cvsroot=gcc&r1=1.433&r2=1.434
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4633&r2=1.4634



-- 


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



More information about the Gcc-bugs mailing list