From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2903 invoked by alias); 5 Apr 2002 23:36:01 -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 2882 invoked by uid 71); 5 Apr 2002 23:36:00 -0000 Resent-Date: 5 Apr 2002 23:36:00 -0000 Resent-Message-ID: <20020405233600.2881.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, x_clerc@yahoo.com Received:(qmail 2368 invoked by uid 61); 5 Apr 2002 23:31:01 -0000 Message-Id:<20020405233101.2367.qmail@sources.redhat.com> Date: Fri, 05 Apr 2002 15:36:00 -0000 From: x_clerc@yahoo.com Reply-To: x_clerc@yahoo.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/6196: internal error when the wrong number of [ ] in a goto instruction X-SW-Source: 2002-04/txt/msg00394.txt.bz2 List-Id: >Number: 6196 >Category: other >Synopsis: internal error when the wrong number of [ ] in a goto instruction >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Fri Apr 05 15:36:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Xavier Clerc >Release: gcc version 2.95.3-5 (cygwin special) >Organization: >Environment: cygwin under win98 >Description: Internal error on the following instructions : goto *lbls[0][0][0]; goto *lbls[0]; after declaration of lbls as : static const void* lbls[2][2] = {{&&lbl0, &&lbl0}, {&&lbl0, &&lbl0}}; >How-To-Repeat: #include int main(void) { static const void* lbls[2][2] = {{&&lbl0, &&lbl0}, {&&lbl0, &&lbl0}}; goto *lbls[0][0][0]; // or : goto *lbls[0]; lbl0: cout << "end of main" << endl; } >Fix: >Release-Note: >Audit-Trail: >Unformatted: