From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14551 invoked by alias); 12 Jul 2002 20:46:00 -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 14532 invoked by uid 71); 12 Jul 2002 20:45:59 -0000 Resent-Date: 12 Jul 2002 20:45:59 -0000 Resent-Message-ID: <20020712204559.14531.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, rschiele@uni-mannheim.de Received: (qmail 14448 invoked by uid 61); 12 Jul 2002 20:45:35 -0000 Message-Id: <20020712204535.14447.qmail@sources.redhat.com> Date: Fri, 12 Jul 2002 13:46:00 -0000 From: rschiele@uni-mannheim.de Reply-To: rschiele@uni-mannheim.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/7293: ICE on inline functions with type conversions when producing pic code on ix86 X-SW-Source: 2002-07/txt/msg00395.txt.bz2 List-Id: >Number: 7293 >Category: optimization >Synopsis: ICE on inline functions with type conversions when producing pic code on ix86 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Jul 12 13:45:59 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Robert Schiele >Release: 3.1 >Organization: >Environment: System: Linux fyndhorn 2.4.18-4GB #1 Wed May 29 15:47:24 UTC 2002 i686 unknown Architecture: i686 host: i486-suse-linux-gnu build: i486-suse-linux-gnu target: i486-suse-linux-gnu configured with: /home/schiele/gcccvs/gcc-3.1/configure --enable-threads=posix --enable-long-long --prefix=/opt/Pkg/Linux/i686/gcc31 --enable-languages=c,c++,f77,objc,java --disable-nls --enable-shared i486-suse-linux >Description: Compiling the following code with -O and -fpic results in an ICE on ix86. The error occurs on both, 3.1 and the current head revision (3.2 20020711 (experimental)) This is a regression against 2.95.3 and 3.0.4! >How-To-Repeat: g++ -O -fpic -c ice.ii >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/x-csrc; name="ice.ii" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ice.ii" c3RydWN0IGIgewogICAgbG9uZyBsb25nIGQ7CiAgICB+YigpIHsgfQp9OwoKc3RydWN0IGUgewog ICAgYiBhOwogICAgdm9pZCBmKGIgZykgeyBhID0gZzsgfQp9OwoKYiBuOwoKaW5saW5lIHZvaWQg aShlICpqLCBiID0gbikgewogICAgaWYgKGotPmEuZCA+PiAxKQoJai0+ZihuKTsKfQoKdm9pZCBs KGUgKmopIHsKICAgIGkoaik7Cn0K