public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/39824] [4.5 Regression] ice in fold-const.c Date: Tue, 21 Apr 2009 10:18:00 -0000 [thread overview] Message-ID: <20090421101827.29238.qmail@sourceware.org> (raw) In-Reply-To: <bug-39824-9596@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-21 10:18 ------- Confirmed. static const double internalEndianMagic = 7.949928895127363e-275; static const unsigned char ieee_754_mantissa_mask[] = { 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; static inline int trio_isnan (double number) { int has_mantissa = 0; unsigned int i; unsigned char current; for (i = 0; i < (unsigned int)sizeof(double); i++) { current = ((unsigned char *)&number)[(((unsigned char *)&internalEndianMagic)[7-(i)])]; has_mantissa |= (current & ieee_754_mantissa_mask[i]); } return has_mantissa; } void xmlXPathEqualNodeSetFloat(int nodeNr, double v) { int i; for (i=0; i<nodeNr; i++) if (!trio_isnan(v)) break; } -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to work| |4.4.0 Last reconfirmed|0000-00-00 00:00:00 |2009-04-21 10:18:27 date| | Summary|ice in fold-const.c |[4.5 Regression] ice in | |fold-const.c Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39824
next prev parent reply other threads:[~2009-04-21 10:18 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-20 20:18 [Bug c/39824] New: " dcb314 at hotmail dot com 2009-04-20 20:20 ` [Bug c/39824] " dcb314 at hotmail dot com 2009-04-21 9:53 ` [Bug middle-end/39824] " rguenth at gcc dot gnu dot org 2009-04-21 10:18 ` rguenth at gcc dot gnu dot org [this message] 2009-04-22 13:47 ` [Bug middle-end/39824] [4.5 Regression] " rguenth at gcc dot gnu dot org 2009-04-22 13:52 ` rguenth at gcc dot gnu dot org 2009-04-22 14:12 ` rguenth at gcc dot gnu dot org 2009-04-22 15:42 ` rguenth at gcc dot gnu dot org 2009-04-22 19:55 ` rguenth at gcc dot gnu dot org 2009-04-22 19:55 ` rguenth at gcc dot gnu dot org 2009-04-26 17:05 ` rguenth at gcc dot gnu dot org
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=20090421101827.29238.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).