public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/22585] [4.0/4.1 regression] ICE with long doubles in expand_simple_unop
Date: Fri, 22 Jul 2005 09:42:00 -0000	[thread overview]
Message-ID: <20050722094157.10888.qmail@sourceware.org> (raw)
In-Reply-To: <20050721120124.22585.debian-gcc@lists.debian.org>


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-22 09:41 -------
Uros' patch for PR22576 indeed fixes the ICEs in redirect_branch
and extract_insn on the 4.0 branch and mainline.

But I can now confirm the bug in expand_simple_unop, I just had to
add -march=i486 to the command line. So here's a reduced testcase
(compile with "gcc -O -ffast-math -march=i486"):

====================================
int foo(long double d, int i)
{
  if (d == (long double)i)
    return 1;
}
====================================

Happens on the 4.0 branch and mainline.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.0 4.0.1 4.1.0
      Known to work|4.1.0                       |3.4.4
            Summary|[4.0 only] ICE in           |[4.0/4.1 regression] ICE
                   |redirect_branch_edge        |with long doubles in
                   |                            |expand_simple_unop


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22585


  parent reply	other threads:[~2005-07-22  9:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 12:04 [Bug target/22585] New: [4.0/4.1 regression] ICE " debian-gcc at lists dot debian dot org
2005-07-21 17:05 ` [Bug target/22585] [4.0/4.1 regression] ICE in redirect_branch_edge reichelt at gcc dot gnu dot org
2005-07-22  5:50 ` [Bug target/22585] [4.0 only] " uros at kss-loka dot si
2005-07-22  9:42 ` reichelt at gcc dot gnu dot org [this message]
2005-07-22 12:37 ` [Bug target/22585] [4.0/4.1 regression] ICE with long doubles in expand_simple_unop uros at kss-loka dot si
2005-09-21 18:39 ` cvs-commit at gcc dot gnu dot org
2005-09-21 19:20 ` [Bug target/22585] [4.0 " pinskia at gcc dot gnu dot org
2005-09-26 19:20 ` cvs-commit at gcc dot gnu dot org
2005-09-27 16:17 ` mmitchel 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=20050722094157.10888.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: link
Be 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).