public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: phil_e@wanadoo.fr To: gcc-gnats@gcc.gnu.org Subject: optimization/10764: ICE when using log(), -fast-math and optimization Date: Tue, 13 May 2003 03:56:00 -0000 [thread overview] Message-ID: <20030513035036.25532.qmail@sources.redhat.com> (raw) >Number: 10764 >Category: optimization >Synopsis: ICE when using log(), -fast-math and optimization >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Tue May 13 03:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: phil_e@wanadoo.fr >Release: gcc version 3.4 20030513 (experimental) >Organization: >Environment: GNU/linux x86 >Description: double log(double); double ndtri(double y0) { double x; x = log(y0); x = log(x); return x; } $ gcc -O1 -ffast-math gcc-3.4-error.c gcc-3.4-error.c: In function `ndtri': gcc-3.4-error.c:11: internal compiler error: in subst_stack_regs_pat, at reg-stack.c:1764 regno = get_hard_regnum (&temp_stack, *src2); if (regno < 0) abort (); >How-To-Repeat: >Fix: replace prototype double log(double); by #include <math.h> or remove -O1 or remove --fast-math >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2003-05-13 3:56 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-13 3:56 phil_e [this message] 2003-05-13 5:26 Dara Hazeghi 2003-05-14 6:26 Dara Hazeghi 2003-05-14 8:12 toon
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=20030513035036.25532.qmail@sources.redhat.com \ --to=phil_e@wanadoo.fr \ --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).