public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sje at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54619] GCC aborts during compilation with '-O2 -mips16'
Date: Tue, 18 Sep 2012 18:34:00 -0000	[thread overview]
Message-ID: <bug-54619-4-9ICT81SsH4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54619-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from Steve Ellcey <sje at gcc dot gnu.org> 2012-09-18 18:34:21 UTC ---
It looks like this is coming from mips16_unextended_reference_p,
if mode is VOIDmode then GET_MODE_SIZE (mode) is zero and we wind
up doing 'offset % 0'.   I think we should be checking for
'GET_MODE_SIZE == 0' instead of mode != 'BLKmode'. before doing
the modulo instruction.


  reply	other threads:[~2012-09-18 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 17:08 [Bug target/54619] New: " sje at gcc dot gnu.org
2012-09-18 18:34 ` sje at gcc dot gnu.org [this message]
2012-11-14 11:20 ` [Bug tree-optimization/54619] " vries at gcc dot gnu.org
2012-11-15 16:50 ` vries at gcc dot gnu.org
2012-11-15 16:55 ` vries 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-54619-4-9ICT81SsH4@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).