public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chrbr at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/58475] New: SH4 insn swapb does not satisfy its constraints:
Date: Thu, 19 Sep 2013 13:26:00 -0000	[thread overview]
Message-ID: <bug-58475-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 58475
           Summary: SH4 insn swapb does not satisfy its constraints:
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chrbr at gcc dot gnu.org

Created attachment 30863
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30863&action=edit
test case

cc1 -Os -m4 swapb_ice.c -o 2.s -quiet
swapb_ice.c: In function 'kerninfo':
swapb_ice.c:15:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 35 8 10 2 (set (reg:SI 150 fpul)
        (ior:SI (and:SI (reg:SI 4 r4 [170])
                (const_int 4294901760 [0xffff0000]))
            (ior:SI (and:SI (ashift:SI (reg:SI 4 r4 [170])
                        (const_int 8 [0x8]))
                    (const_int 65280 [0xff00]))
                (and:SI (ashiftrt:SI (reg:SI 4 r4 [170])
                        (const_int 8 [0x8]))
                    (const_int 255 [0xff]))))) swapb_ice.c:14 209 {swapbsi2}
     (nil))
swapb_ice.c:15:1: internal compiler error: in copyprop_hardreg_forward_1, at
regcprop.c:774

Only fails for -m4 (-m2, ... are OK)


             reply	other threads:[~2013-09-19 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-19 13:26 chrbr at gcc dot gnu.org [this message]
2013-09-19 13:38 ` [Bug target/58475] " chrbr at gcc dot gnu.org
2013-09-20 13:50 ` olegendo at gcc dot gnu.org
2013-09-23  8:30 ` chrbr at gcc dot gnu.org
2013-09-23  8:55 ` chrbr at gcc dot gnu.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=bug-58475-4@http.gcc.gnu.org/bugzilla/ \
    --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).