From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30176 invoked by alias); 11 Mar 2003 19: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 30136 invoked by uid 71); 11 Mar 2003 19:56:00 -0000 Resent-Date: 11 Mar 2003 19:56:00 -0000 Resent-Message-ID: <20030311195600.30135.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, dan.naumov@ofw.fi Received: (qmail 24351 invoked by uid 48); 11 Mar 2003 19:50:33 -0000 Message-Id: <20030311195033.24350.qmail@sources.redhat.com> Date: Tue, 11 Mar 2003 19:56:00 -0000 From: dan.naumov@ofw.fi Reply-To: dan.naumov@ofw.fi To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/10030: gcc 3.2(.1) produces broken code with -O2, but not -O X-SW-Source: 2003-03/txt/msg00590.txt.bz2 List-Id: >Number: 10030 >Category: optimization >Synopsis: gcc 3.2(.1) produces broken code with -O2, but not -O >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Tue Mar 11 19:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Dan Naumov >Release: gcc version 3.2.1 [FreeBSD] 20021119 (release) >Organization: >Environment: FreeBSD 5.0-p4 >Description: When compiling AbiWord (http://www.abisource.com/) using CPUTYPE=athlon-tbird and CFLAGS= -O2 -pipe, the program compiles fine, but will always segfault upon exiting. Using -O instead solves the problem. >How-To-Repeat: 1) obtain AbiWord 1.0.4 2) compile with -O2 and CPUTYPE=athlon-tbird 3) run and exit AbiWord >Fix: >Release-Note: >Audit-Trail: >Unformatted: