public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/37924] [4.2/4.3/4.4 Regression] ice in smallest_mode_for_size, at stor-layout.c:219
Date: Mon, 27 Oct 2008 11:02:00 -0000	[thread overview]
Message-ID: <20081027110106.22773.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37924-12544@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-10-27 11:01 -------
(gdb) up
#1  0x08491138 in smallest_mode_for_size (size=4294967295, class=MODE_INT)
    at /home/richard/src/gcc-4_3-branch/gcc/stor-layout.c:219
219       gcc_unreachable ();

#3  0x0898cb61 in make_compound_operation (x=0xb7caf300, in_code=COMPARE)
    at /home/richard/src/gcc-4_3-branch/gcc/combine.c:7030
7030              new = make_extraction (mode, new,
(gdb) l
7025              && GET_CODE (lhs) == ASHIFT
7026              && GET_CODE (XEXP (lhs, 1)) == CONST_INT
7027              && INTVAL (rhs) >= INTVAL (XEXP (lhs, 1)))
7028            {
7029              new = make_compound_operation (XEXP (lhs, 0), next_code);
7030              new = make_extraction (mode, new,
7031                                     INTVAL (rhs) - INTVAL (XEXP (lhs, 1)),
7032                                     NULL_RTX, mode_width - INTVAL (rhs),
7033                                     code == LSHIFTRT, 0, in_code ==
COMPARE);
7034              break;
(gdb) call debug_rtx (rhs)
(const_int 33 [0x21])
(gdb) call debug_rtx (lhs)
(ashift:SI (subreg:SI (mem/c/i:QI (symbol_ref:SI ("g_95") <var_decl 0xb7c3c1b8
g_95>) [0 g_95+0 S1 A8]) 0)
    (const_int 24 [0x18]))


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.2.4 4.3.2 4.4.0
      Known to work|                            |4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-27 11:01:06
               date|                            |
            Summary|ice in                      |[4.2/4.3/4.4 Regression] ice
                   |smallest_mode_for_size, at  |in smallest_mode_for_size,
                   |stor-layout.c:219           |at stor-layout.c:219
   Target Milestone|---                         |4.2.5


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


  reply	other threads:[~2008-10-27 11:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27  3:28 [Bug c/37924] New: " regehr at cs dot utah dot edu
2008-10-27 11:02 ` rguenth at gcc dot gnu dot org [this message]
2008-10-27 12:40 ` [Bug c/37924] [4.2/4.3/4.4 Regression] " jakub at gcc dot gnu dot org
2008-10-27 13:54 ` jakub at gcc dot gnu dot org
2008-10-27 18:55 ` pinskia at gcc dot gnu dot org
2008-10-28 19:05 ` jakub at gcc dot gnu dot org
2008-10-28 19:07 ` [Bug c/37924] [4.2/4.3 " jakub at gcc dot gnu dot org
2008-11-03 11:28 ` jakub at gcc dot gnu dot org
2008-11-05 20:45 ` jakub at gcc dot gnu dot org
2008-11-05 20:48 ` jakub at gcc dot gnu dot org
2009-03-31 15:50 ` [Bug c/37924] [4.2 " jsm28 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=20081027110106.22773.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).