From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19743 invoked by alias); 22 Aug 2002 20:26: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 19725 invoked by uid 71); 22 Aug 2002 20:26:00 -0000 Resent-Date: 22 Aug 2002 20:26:00 -0000 Resent-Message-ID: <20020822202600.19724.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, j.vanbemmel@home.nl Received: (qmail 15945 invoked by uid 61); 22 Aug 2002 20:19:58 -0000 Message-Id: <20020822201958.15944.qmail@sources.redhat.com> Date: Thu, 22 Aug 2002 13:36:00 -0000 From: j.vanbemmel@home.nl Reply-To: j.vanbemmel@home.nl To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/7687: Internal compiler error in use_thunk, at cp/method.c:412 X-SW-Source: 2002-08/txt/msg00466.txt.bz2 List-Id: >Number: 7687 >Category: optimization >Synopsis: Internal compiler error in use_thunk, at cp/method.c:412 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Aug 22 13:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: me >Release: gcc 3.1 & gcc 3.2 (at least) >Organization: >Environment: Linux Redhat 7.2 (i686-pc-linux-gnu) >Description: Compiler generates internal error when compiling the attached .cpp file with flags -c -fPIC -mregparm=3 For gcc 3.2, the generated error is slightly different: Internal compiler error in x86_output_mi_thunk, at config/i386/i386.c:12615 >How-To-Repeat: Compile the attached .cpp file using gcc 3.1 or 3.2 and flags -c -fPIC -mregparm=3 >Fix: Check sourcecode in cp/method.c:412 where thunk is generated ( config/i386/i386.c:12615 for gcc 3.2) When compiling with -mregparm=2 everything goes ok >Release-Note: >Audit-Trail: >Unformatted: