From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10573 invoked by alias); 12 Jun 2002 14:46:13 -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 10480 invoked by uid 71); 12 Jun 2002 14:46:06 -0000 Date: Wed, 12 Jun 2002 07:46:00 -0000 Message-ID: <20020612144606.10479.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c/6964: Internal compiler error using -O2 but ok using -O0 Reply-To: Reichelt X-SW-Source: 2002-06/txt/msg00275.txt.bz2 List-Id: The following reply was made to PR c/6964; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, jari@thep.lu.se, nobody@gcc.gnu.org, gcc-bugs@gcc.gnu.org Cc: Subject: Re: c/6964: Internal compiler error using -O2 but ok using -O0 Date: Wed, 12 Jun 2002 17:14:48 +0200 Hi, the testcase can be reduced to the following code snippet (which even fails with "gcc -O -c"): ------------------------------snip here-------------------------- float foo (void) { float x[2]; return x[1]; } ------------------------------snip here-------------------------- The bug is a regression from 3.0.x and is present in 3.1 and the main trunk (gcc 3.2 20020609) - checked on a i686-pc-linux-gnu. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6964