From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30330 invoked by alias); 21 Feb 2003 01:26: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 30312 invoked by uid 71); 21 Feb 2003 01:26:00 -0000 Resent-Date: 21 Feb 2003 01:26:00 -0000 Resent-Message-ID: <20030221012600.30305.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, nick@ilm.com Received: (qmail 30286 invoked by uid 48); 21 Feb 2003 01:25:42 -0000 Message-Id: <20030221012542.30285.qmail@sources.redhat.com> Date: Fri, 21 Feb 2003 01:26:00 -0000 From: nick@ilm.com Reply-To: nick@ilm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/9786: g++ ice on x86 with -fnon-call-exceptions and -O2 X-SW-Source: 2003-02/txt/msg01049.txt.bz2 List-Id: >Number: 9786 >Category: c++ >Synopsis: g++ ice on x86 with -fnon-call-exceptions and -O2 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Feb 21 01:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: nick@ilm.com >Release: gcc-3.2.2, gcc version 3.3 20030220 (prerelease) >Organization: >Environment: x86 redhat-7.2 with current updates >Description: the same ICE occurs with both gcc-3.2.2 and the head of the gcc-3_3-branch: > /dept/rnd/vendor/gcc-3.3cvs/bin/g++ -v -fnon-call-exceptions -Wall -O2 -c foo.C -o foo.o Reading specs from /dept/rnd/vendor/gcc-3.3cvs/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs Configured with: ../gcc/configure --prefix=/dept/rnd/vendor/gcc-3.3cvs --enable-threads --enable-languages=c,c++ Thread model: posix gcc version 3.3 20030220 (prerelease) /dept/rnd/vendor/gcc-3.3cvs/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE foo .C -D__GNUG__=3 -quiet -dumpbase foo.C -auxbase-strip foo.o -O2 -Wall -version -fnon-call-exceptions -o /usr/tmp/ccNboRkg.s GNU C++ version 3.3 20030220 (prerelease) (i686-pc-linux-gnu) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.1 2.96-98). ignoring nonexistent directory "/dept/rnd/vendor/gcc-3.3cvs/i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /dept/rnd/vendor/gcc-3.3cvs/include/c++/3.3 /dept/rnd/vendor/gcc-3.3cvs/include/c++/3.3/i686-pc-linux-gnu /dept/rnd/vendor/gcc-3.3cvs/include/c++/3.3/backward /usr/local/include /dept/rnd/vendor/gcc-3.3cvs/include /dept/rnd/vendor/gcc-3.3cvs/lib/gcc-lib/i686-pc-linux-gnu/3.3/include /usr/include End of search list. foo.C: In constructor `B::B(const D2&)': foo.C:20: internal compiler error: in fixup_abnormal_edges, at reload1.c:9498 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. A small test case demonstrating this is attached. This bug may be related to the previously reported fixup_abnormal_edges optimization bugs triggered with gcj compiles - 6581 and 4571. >How-To-Repeat: g++ -fnon-call-exceptions -Wall -O2 -c foo.C -o foo.o >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="foo.C" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="foo.C" c3RydWN0IEQxIHsKICAgIGZsb2F0IGw7CiAgICBEMSBHUygpIGNvbnN0IHtEMSBkO2Zsb2F0IGY9 LjI5OSpsO2QubD1mO3JldHVybiBkO30KICAgIHN0YXRpYyBEMSBHKCkge3JldHVybiBEMSgpO30K fTsKc3RydWN0IEQyIHsKICAgIEQxIGc7CiAgICBEMihjb25zdCBEMSYgZ2kpIDogZyhnaSkge30K ICAgIEQyIEdTKCkgY29uc3Qge3JldHVybiBEMihnLkdTKCkpO30KfTsKY2xhc3MgQSB7CiAgcHVi bGljOgogICAgdmlydHVhbCB+QSgpIHt9Cn07CmNsYXNzIEIgOiBwdWJsaWMgQSB7CiAgcHVibGlj OgogICAgQihjb25zdCBEMiYgbWkpOwogICAgRDIgZm07Cn07CkI6OkIoY29uc3QgRDIgJm1pKSA6 IGZtKG1pLkdTKCkpIHt9Cg==