public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Bryce McKinlay <bryce@waitaki.otago.ac.nz> To: bryce@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: java/247 Date: Sun, 01 Apr 2001 00:00:00 -0000 [thread overview] Message-ID: <20010303030600.17650.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR java/247; it has been noted by GNATS. From: Bryce McKinlay <bryce@waitaki.otago.ac.nz> To: bryce@gcc.gnu.org, gcc-gnats@gcc.gnu.org, warnes@queenbee.fhcrc.org, apbianco@redhat.com, Jeff Sturm <jeff.sturm@appnet.com> Cc: Subject: Re: java/247 Date: Sat, 03 Mar 2001 16:07:10 +1300 > FWIW this might be the same ICE I'm seeing. It only occurs in certain methods > that handle double values, and only with -O and above on x86, but with the > current compiler. > > Here's a minimal test case: > > public class DTest { > static double strtod(String s) { > double result = 0; > > try { > result = Double.valueOf(s).doubleValue(); > } catch (NumberFormatException e) { > } > if (result == Double.NaN) { > return 0; > } > return result; > } > } > Thanks for the test case, Jeff. I can reproduce this bug with the current 3.0 branch compiler, so I'm going to update the PR name and reopen it. regards [ bryce ] http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=247&database=gcc
next reply other threads:[~2001-04-01 0:00 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-01 0:00 Bryce McKinlay [this message] 2001-04-01 0:00 java/247 Jeff Sturm 2001-06-05 21:44 java/247 apbianco
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=20010303030600.17650.qmail@sourceware.cygnus.com \ --to=bryce@waitaki.otago.ac.nz \ --cc=bryce@gcc.gnu.org \ --cc=gcc-prs@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).