From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28760 invoked by alias); 28 Oct 2005 14:57:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 28724 invoked by alias); 28 Oct 2005 14:57:36 -0000 Date: Fri, 28 Oct 2005 14:57:00 -0000 Message-ID: <20051028145736.28723.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/23426] [4.0/4.1 Regression] Too large array problem gives two error message In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg03638.txt.bz2 List-Id: ------- Comment #17 from pinskia at gcc dot gnu dot org 2005-10-28 14:57 ------- Subject: Bug 23426 Author: pinskia Date: Fri Oct 28 14:57:30 2005 New Revision: 105936 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105936 Log: 2005-10-28 Andrew Pinski PR C++/23426 * decl.c (start_decl): Check that the decl is an error_mark_node before getting the type. Remove the check for the decl's type being an error_mark_node. 2005-10-28 Andrew Pinski PR C++/23426 * g++.dg/other/large-size-array.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/large-size-array.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23426