This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23426] [4.0/4.1 Regression] partial fix too large array problem
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 00:08:29 -0000
- Subject: [Bug c++/23426] [4.0/4.1 Regression] partial fix too large array problem
- References: <20050816184352.23426.wilson@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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