From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26604 invoked by alias); 18 Mar 2002 21:26:02 -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 26563 invoked by uid 71); 18 Mar 2002 21:26:01 -0000 Resent-Date: 18 Mar 2002 21:26:01 -0000 Resent-Message-ID: <20020318212601.26562.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, janis187@us.ibm.com Received:(qmail 10801 invoked by uid 61); 18 Mar 2002 21:18:10 -0000 Message-Id:<20020318211810.10800.qmail@sources.redhat.com> Date: Mon, 18 Mar 2002 13:26:00 -0000 From: janis187@us.ibm.com Reply-To: janis187@us.ibm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: optimization/5999: ICE for complex*16 divide with -ffast-math on ia64 X-SW-Source: 2002-03/txt/msg00678.txt.bz2 List-Id: >Number: 5999 >Category: optimization >Synopsis: ICE for complex*16 divide with -ffast-math on ia64 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Mar 18 13:26:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Janis Johnson >Release: gcc version 3.1 20020318 (prerelease) >Organization: >Environment: Itanium; Red Hat Linux release 7.1.94 (Roswell) >Description: GCC 3.1 gets a segmentation violation compiling 301.apsi and 168.wupwise from SPEC CPU2000 with "-O2 -ffast-math" on ia64-unknown-linux-gnu. In both cases this occurs for a divide of a complex*16 variable when expand_expr passes a NULL op0 to expand_binop, which in turn passes it to protect_from_queue. This is a regression from GCC 3.0.4, for which these two benchmark programs build and run with no problems using these options. >How-To-Repeat: Compile with attached test case with "g77 -O2 -ffast-math". >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="bug.f" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bug.f" QyBHQ0MgMy4xIDIwMDIwMzE4IChwcmVyZWxlYXNlKSBzZWcgZmF1bHRzIGNvbXBpbGluZyB0aGlz IHRlc3QgY2FzZQpDIHdpdGggLU8yIC1mZmFzdC1tYXRoLiAgVGhpcyBoYXBwZW5zIG9uIGlhNjQg YnV0IG5vdCBvbiBpNjg2LgpDCiAgICAgIHN1YnJvdXRpbmUgYnVnICh4LCB5LCB6KQogICAgICBj b21wbGV4KjE2IHgsIHksIHoKICAgICAgeCA9IHkgLyB6CiAgICAgIHJldHVybgogICAgICBlbmQK