From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11906 invoked by alias); 20 Mar 2002 01:06:04 -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 11861 invoked by uid 71); 20 Mar 2002 01:06:01 -0000 Resent-Date: 20 Mar 2002 01:06:01 -0000 Resent-Message-ID: <20020320010601.11860.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, andy@alexa.com Received:(qmail 5397 invoked by uid 61); 20 Mar 2002 01:00:01 -0000 Message-Id:<20020320010001.5396.qmail@sources.redhat.com> Date: Tue, 19 Mar 2002 17:06:00 -0000 From: andy@alexa.com Reply-To: andy@alexa.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: middle-end/6008: Internal compiler error in expand_end_loop, at stmt.c:2527 X-SW-Source: 2002-03/txt/msg00736.txt.bz2 List-Id: >Number: 6008 >Category: middle-end >Synopsis: Internal compiler error in expand_end_loop, at stmt.c:2527 >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue Mar 19 17:06:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrew D Jewell >Release: gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1) >Organization: >Environment: vectra2.alexa.com andy 108% g++3 -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib Thread model: posix gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1) vectra2.alexa.com andy 109% uname -a Linux vectra2.alexa.com 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown >Description: I get this Internal compiler error when compiling this code (which compiles correctly in 2.95.3) : vectra2.alexa.com andy 106% g++3 -O -Wall n_inverter.cc n_inverter.cc: In constructor `InverterImp::InverterImp(const char*, unsigned int)': n_inverter.cc:46: Internal compiler error in expand_end_loop, at stmt.c:2527 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: #include #include #include #include typedef int ResultCode; typedef unsigned RecordID; typedef unsigned int uint32; enum { TextField, SiteField, UrlField, TitleField, DateField, LinkField, LSiteField, CoolField, MaxFields }; class Term { public: enum {LEN=11, DLEN=12}; Term() {t[0]=0; t[LEN]=0;} explicit Term(const char * s) {strncpy(t, s, LEN); t[LEN]=0;} private: char t[DLEN]; }; class InverterImp { public: InverterImp(const char * inSrcName, uint32 inSrcSize); private: typedef std::vector VR; typedef std::map TermMap_t; TermMap_t _posts[MaxFields]; }; InverterImp::InverterImp(const char * inSrcName, uint32 inSrcSize) { } >Fix: >Release-Note: >Audit-Trail: >Unformatted: