From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3267 invoked by alias); 14 May 2003 14:46:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 3246 invoked by uid 71); 14 May 2003 14:46:00 -0000 Date: Wed, 14 May 2003 14:46:00 -0000 Message-ID: <20030514144600.3244.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Pete Gonzalez Subject: Re: c++/10776: [3.3 regression] Large aggregate initializers cause GCC to fail Reply-To: Pete Gonzalez X-SW-Source: 2003-05/txt/msg01648.txt.bz2 List-Id: The following reply was made to PR c++/10776; it has been noted by GNATS. From: Pete Gonzalez To: gcc-prs@gcc.gnu.org,gcc-bugs@gcc.gnu.org,gcc-gnats@gcc.gnu.org, Dara Hazeghi Cc: Subject: Re: c++/10776: [3.3 regression] Large aggregate initializers cause GCC to fail Date: Wed, 14 May 2003 10:40:59 -0400 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10776 The problem seems to be the "&data::tex::tackytexture" expression inside the array, i.e. if I replace all instances with "0", the code compiles successfully: >static const TOutdoorMapData::TTriangleItem data_triangleItems[2382] = { > { > 0, // &data::tex::tackytexture, > 0, > { { 87, 104, 0, -778 }, > { 95, 106, 21, -799 }, > { 89, 109, 0, -799 } } > }, However, this crashes: >const TBitmap *nullBmp = 0; > >static const TOutdoorMapData::TTriangleItem data_triangleItems[2382] = { > { > nullBmp, > 0, > { { 87, 104, 0, -778 }, > { 95, 106, 21, -799 }, > { 89, 109, 0, -799 } } > }, I'll let you know if I find anything else. Thanks for the quick response. -Pete