From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23018 invoked by alias); 27 Oct 2008 11:02:27 -0000 Received: (qmail 22774 invoked by uid 48); 27 Oct 2008 11:01:06 -0000 Date: Mon, 27 Oct 2008 11:02:00 -0000 Message-ID: <20081027110106.22773.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/37924] [4.2/4.3/4.4 Regression] ice in smallest_mode_for_size, at stor-layout.c:219 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01727.txt.bz2 ------- 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") ) [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