From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27120 invoked by alias); 28 Sep 2002 21:56: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 27101 invoked by uid 71); 28 Sep 2002 21:56:00 -0000 Resent-Date: 28 Sep 2002 21:56:00 -0000 Resent-Message-ID: <20020928215600.27100.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, bkorb@gnu.org Received: (qmail 27080 invoked from network); 28 Sep 2002 21:55:57 -0000 Received: from unknown (HELO dhcppc2) (143.127.3.10) by sources.redhat.com with SMTP; 28 Sep 2002 21:55:57 -0000 Received: from bach.korb (localhost [127.0.0.1]) by dhcppc2 (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g8SM0WYe020622 for ; Sat, 28 Sep 2002 15:00:32 -0700 Received: (from bkorb@localhost) by bach.korb (8.12.2/8.12.2/Submit) id g8SM0WBu020621; Sat, 28 Sep 2002 15:00:32 -0700 Message-Id: <200209282200.g8SM0WBu020621@bach.korb> Date: Sat, 28 Sep 2002 14:56:00 -0000 From: bkorb@pacbell.net Reply-To: bkorb@gnu.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: c/8083: GCC 3.2 Optimization bug X-SW-Source: 2002-09/txt/msg00802.txt.bz2 List-Id: >Number: 8083 >Category: c >Synopsis: GCC 3.2 Optimization bug >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Sat Sep 28 14:56:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bruce Korb >Release: 3.2 2002-07-26 (prerelease) >Organization: GNU >Environment: System: Linux bach 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown Architecture: i686 Stock SuSE 8.0 + cvs gcc-3_1-branch, configured as below. host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../configure --enable-language=c --prefix=/home/gcc >Description: When compiled with -O2, autogen produces invalid results. When compiled without a -O, the results are correct. Therefore, the program behavior is different. I do not believe I am using improperly aliased pointers. >How-To-Repeat: Download autogen-5.4.3, fix some #define redefinition issues that were not bugs before gcc3.x and do a "make distcheck". (CVS version has this fixed.) I will add to this as I narrow the issue. >Fix: None known, other than eliminating optimization. >Release-Note: >Audit-Trail: >Unformatted: