public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
Date: Thu, 29 Jun 2006 19:28:00 -0000	[thread overview]
Message-ID: <20060629192750.24488.qmail@sourceware.org> (raw)
In-Reply-To: <bug-28150-7667@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from pluto at agmk dot net  2006-06-29 19:27 -------
reduced testcase:

void foo( void* dst, void* src, int x )
{
        long double nativeFloat;
        void *ptr;
        if (x)
        {
                nativeFloat = (long double)(*((float*)src));
                ptr = (void *)&nativeFloat;
        }
        else
                ptr = (void *)0;
        memcpy( dst, ptr, 1 );
}


tmp.i:13: error: insn does not satisfy its constraints:
(insn 54 26 27 1 (set (mem/c/i:TF (pre_inc:SI (reg/v/f:SI 9 9 [orig:119 ptr ]
[119])) [4 nativeFloat+0 S16 A64])
        (reg:TF 45 13)) 242 {*movtf_internal} (nil)
    (expr_list:REG_INC (reg/v/f:SI 9 9 [orig:119 ptr ] [119])
        (nil)))
tmp.i:13: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:394


-- 


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


  parent reply	other threads:[~2006-06-29 19:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-24  9:23 [Bug target/28150] New: " pluto at agmk dot net
2006-06-24 10:28 ` [Bug target/28150] " pluto at agmk dot net
2006-06-24 18:10 ` pinskia at gcc dot gnu dot org
2006-06-25  9:26 ` pluto at agmk dot net
2006-06-29  9:58 ` pluto at agmk dot net
2006-06-29 19:28 ` pluto at agmk dot net [this message]
2006-06-30 12:15 ` pinskia at gcc dot gnu dot org
2006-07-05 20:03 ` dje at gcc dot gnu dot org
2006-07-06 19:00 ` dje at gcc dot gnu dot org
2006-07-26 20:23 ` dje at gcc dot gnu dot org
2006-07-26 20:27 ` dje 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=20060629192750.24488.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).