------- 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 via email to