[Bug c++/23426] [4.0/4.1 Regression] partial fix too large array problem

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 23 00:10:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-23 00:08 -------
Subject: Bug 23426

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	wilson@gcc.gnu.org	2005-08-23 00:07:48

Modified files:
	gcc/cp         : ChangeLog decl.c 

Log message:
	Partial fix for too large array problem.
	PR tree-optimization/23426
	* decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE for
	array size check.
	Backport from mainline
	2005-06-14  Roger Sayle  <roger@eyesopen.com>
	* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.79&r2=1.4648.2.80
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1371.2.18&r2=1.1371.2.19



-- 


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



More information about the Gcc-bugs mailing list