From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14224 invoked by alias); 8 Apr 2002 09:16:05 -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 14161 invoked by uid 71); 8 Apr 2002 09:16:02 -0000 Resent-Date: 8 Apr 2002 09:16:02 -0000 Resent-Message-ID: <20020408091602.14160.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, kosower@spht.saclay.cea.fr Received:(qmail 500 invoked by uid 61); 8 Apr 2002 09:12:15 -0000 Message-Id:<20020408091215.499.qmail@sources.redhat.com> Date: Mon, 08 Apr 2002 02:16:00 -0000 From: kosower@spht.saclay.cea.fr Reply-To: kosower@spht.saclay.cea.fr To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6226: G++ ICE instead of reporting semantic error X-SW-Source: 2002-04/txt/msg00471.txt.bz2 List-Id: >Number: 6226 >Category: c++ >Synopsis: G++ ICE instead of reporting semantic error >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Mon Apr 08 02:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David A. Kosower >Release: gcc version 2.95.2 19991024 (release) >Organization: >Environment: Reading specs from /opt/gcc/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs >Description: bug01.cc: In method `int X::S(int, int)': bug01.cc:4: Internal compiler error in `find_function_data', at function.c:542 Please submit a full bug report. See for instructions. >How-To-Repeat: int l = 2; class X{int s[l][l]; int t(char b){} public: int S(int i, int j) {return s[i][j];} }; >Fix: Fix the subscript declaration. Is this the shortest (in # tokens) bug report in say, 3 years? >Release-Note: >Audit-Trail: >Unformatted: