From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17981 invoked by alias); 14 Mar 2003 04:26: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 17956 invoked by uid 71); 14 Mar 2003 04:26:00 -0000 Resent-Date: 14 Mar 2003 04:26:00 -0000 Resent-Message-ID: <20030314042600.17955.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, p.van-hoof@qub.ac.uk Received: (qmail 24308 invoked from network); 14 Mar 2003 04:20:34 -0000 Received: from unknown (HELO mta05-svc.ntlworld.com) (62.253.162.45) by sources.redhat.com with SMTP; 14 Mar 2003 04:20:34 -0000 Received: from scooby.star.fleet ([80.6.77.177]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP id <20030314042033.HPJO310.mta05-svc.ntlworld.com@scooby.star.fleet>; Fri, 14 Mar 2003 04:20:33 +0000 Received: (from pvh@localhost) by scooby.star.fleet (8.12.2+Sun/8.12.2/Submit) id h2E4KNdP021279; Fri, 14 Mar 2003 04:20:23 GMT Message-Id: <200303140420.h2E4KNdP021279@scooby.star.fleet> Date: Fri, 14 Mar 2003 04:26:00 -0000 From: p.van-hoof@qub.ac.uk To: gcc-gnats@gcc.gnu.org Cc: p.van-hoof@qub.ac.uk X-Send-Pr-Version: 3.113 Subject: target/10072: internal compiler error: in trunc_int_for_mode, at explow.c:54 X-SW-Source: 2003-03/txt/msg00822.txt.bz2 List-Id: >Number: 10072 >Category: target >Synopsis: internal compiler error: in trunc_int_for_mode, at explow.c:54 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Fri Mar 14 04:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Peter van Hoof >Release: 3.3 20030310 (prerelease) >Organization: Queen's University of Belfast >Environment: System: SunOS scooby 5.9 Generic_112233-04 sun4u sparc SUNW,Sun-Blade-100 Architecture: sun4 host: sparc-sun-solaris2.9 build: sparc-sun-solaris2.9 target: sparc-sun-solaris2.9 configured with: /scratch/temp/ss/gcc-20030310/configure --prefix=/opt/local/gcc330 >Description: The compiler generates an internal compiler error when optimizing for an ultrasparc in fast-math mode. This program compiles OK with gcc 3.2.2 using the same command line options >How-To-Repeat: scooby> gcc -v -c -O1 -mcpu=ultrasparc -ffast-math phymir.c Reading specs from /opt/local/gcc330/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs Configured with: /scratch/temp/ss/gcc-20030310/configure --prefix=/opt/local/gcc330 Thread model: posix gcc version 3.3 20030310 (prerelease) /opt/local/gcc330/lib/gcc-lib/sparc-sun-solaris2.9/3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 -Dsparc -D__sparc__ -D__sparc -D__sparcv8 -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc phymir.c -quiet -dumpbase phymir.c -mcpu=ultrasparc -auxbase phymir -O1 -version -ffast-math -o /var/tmp//ccoMpVGP.s GNU C version 3.3 20030310 (prerelease) (sparc-sun-solaris2.9) compiled by GNU C version 3.3 20030310 (prerelease). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/opt/local/gcc330/sparc-sun-solaris2.9/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /opt/local/gcc330/include /opt/local/gcc330/lib/gcc-lib/sparc-sun-solaris2.9/3.3/include /usr/include End of search list. phymir.c: In function `p': phymir.c:6: internal compiler error: in trunc_int_for_mode, at explow.c:54 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. The input follows: scooby> more phymir.c void p() { long int i,j; float a,b,c,x[1]; x[i] = (a/(((b)>(c)) ? (b) : (c)) - (((i) == (j)) ? 1.f : 0.f)); } >Fix: Omitting any one of the command line options works around the problem. >Release-Note: >Audit-Trail: >Unformatted: