public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: p.van-hoof@qub.ac.uk To: gcc-gnats@gcc.gnu.org Cc: p.van-hoof@qub.ac.uk Subject: target/10072: internal compiler error: in trunc_int_for_mode, at explow.c:54 Date: Fri, 14 Mar 2003 04:26:00 -0000 [thread overview] Message-ID: <200303140420.h2E4KNdP021279@scooby.star.fleet> (raw) >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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:
reply other threads:[~2003-03-14 4:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200303140420.h2E4KNdP021279@scooby.star.fleet \ --to=p.van-hoof@qub.ac.uk \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).