public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60111] [SH] ICE compiling Newlib
Date: Sat, 01 Mar 2014 14:56:00 -0000	[thread overview]
Message-ID: <bug-60111-4-nuYlp7yCbx@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-60111-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> ---
In gen_ashift the assert
    gcc_assert (satisfies_constraint_P27 (n_rtx));

fires, which means that the requested shift amount is not 1, 2, 8 or 16.

In gen_shifty_hi_op the function gen_ashift is invoked with the shift amount
values taken from the ext_ashl_lshr_seq table, which contains the allowed shift
amounts only.
I don't see a problem in sh.c.  Maybe it's a indeed a problem of the host
compiler.


  parent reply	other threads:[~2014-03-01 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-07 21:25 [Bug target/60111] New: [SH] ICE compiling Newlib (4.8.2) lsebald1 at umbc dot edu
2014-02-08 20:07 ` [Bug target/60111] [SH] ICE compiling Newlib olegendo at gcc dot gnu.org
2014-03-01 14:56 ` olegendo at gcc dot gnu.org [this message]
2014-11-20 16:03 ` segher at gcc dot gnu.org
2014-11-22  4:46 ` olegendo at gcc dot gnu.org
2014-11-22  4:53 ` olegendo at gcc dot gnu.org
2014-11-22  4:55 ` olegendo 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-60111-4-nuYlp7yCbx@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).