From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28632 invoked by alias); 6 Dec 2002 22:41:07 -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 28613 invoked by uid 61); 6 Dec 2002 22:41:07 -0000 Date: Fri, 06 Dec 2002 14:41:00 -0000 Message-ID: <20021206224107.28612.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, spigel@olvs.miee.ru From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, spigel@olvs.miee.ru, gcc-gnats@gcc.gnu.org Subject: Re: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337 X-SW-Source: 2002-12/txt/msg00409.txt.bz2 List-Id: Old Synopsis: verify_initial_elim_offsets at reload1.c:3337 New Synopsis: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337 State-Changed-From-To: feedback->analyzed State-Changed-By: reichelt State-Changed-When: Fri Dec 6 14:41:07 2002 State-Changed-Why: Confirmed. The testcase can be reduced to the following code snippet ---------------------------snip here------------------------ const int x[1]={ 1 }; void foo(int i, int *p) { asm volatile("" : "+a" (i) : "m" (x[0]), "r" (p)); } ---------------------------snip here------------------------ Compiling this with "gcc -O -fPIC -c" using recent mainline (20021118) I get the following error message: PR7154.c: In function `foo': PR7154.c:6: internal compiler error: in verify_initial_elim_offsets, at reload1.c:3345 Since the code compiles fine with the 3.2-branch, 3.0.x and 2.95.x, this is a regression. Wolfgang, I think gcc 3.2-20020623 is a snopshot of mainline before it got renamed to 3.3, so this never applied to the 3.1/3.2-branch. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7154