From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25967 invoked by alias); 1 May 2003 13:56: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 25933 invoked by uid 71); 1 May 2003 13:56:00 -0000 Resent-Date: 1 May 2003 13:56:00 -0000 Resent-Message-ID: <20030501135600.25932.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, "Robertson, Evin C" Resent-Reply-To: gcc-gnats@gcc.gnu.org, 189702@bugs.debian.org Received: (qmail 18415 invoked from network); 1 May 2003 13:46:02 -0000 Received: from unknown (HELO hirsch.in-berlin.de) (192.109.42.6) by sources.redhat.com with SMTP; 1 May 2003 13:46:02 -0000 Received: from tango.net.local (mail@dsl-213-023-156-070.arcor-ip.net [213.23.156.70]) (authenticated bits=0) by hirsch.in-berlin.de (8.12.9/8.12.9/Debian-1) with ESMTP id h41Dk1FL027970 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Thu, 1 May 2003 15:46:01 +0200 Received: from doko by tango.net.local with local (Exim 4.12 #1 (Debian) [+araqnid]) id 19BENs-00085Q-00; Thu, 01 May 2003 15:46:00 +0200 Message-Id: Date: Thu, 01 May 2003 13:56:00 -0000 From: Matthias Klose Reply-To: 189702@bugs.debian.org To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: "Robertson, Evin C" Subject: target/10580: [3.3] [powerpc] ICE with -O -Wunreachable-code X-SW-Source: 2003-05/txt/msg00026.txt.bz2 List-Id: >Number: 10580 >Category: target >Synopsis: [3.3] [powerpc] ICE with -O -Wunreachable-code >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu May 01 13:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: "Robertson, Evin C" >Release: >Organization: The Debian Project >Environment: >Description: [ Reported to the Debian BTS as report #189702. Please CC 189702@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/189702 ] behaviour seen with 3.3 CVS 20030427, not with 3.4 CVS 20030302 gcc segfaults sometimes on PPC when run with -O -Wunreachable-code Attached code sample is from bison output. Does not seem to happen with the same version on x86. $ gcc -c -O -Wunreachable-code test.c test.c: In function `yystpcpy': test.c:14: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. char * yystpcpy(char *yydest, const char *yysrc) { char *yyd = yydest; const char *yys = yysrc; while ((*yyd++ = *yys++) != '\0') ; return yyd - 1; } >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: