This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26557] [4.0 Regression] ICE in simplify_subreg
- From: "sayle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2006 01:21:02 -0000
- Subject: [Bug middle-end/26557] [4.0 Regression] ICE in simplify_subreg
- References: <bug-26557-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from sayle at gcc dot gnu dot org 2006-03-16 01:21 -------
Subject: Bug 26557
Author: sayle
Date: Thu Mar 16 01:20:57 2006
New Revision: 112111
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112111
Log:
PR middle-end/26557
* stmt.c (emit_case_nodes): Handle the case where the index is a
CONST_INT, where the comparison mode is specified by the index type.
* gcc.c-torture/compile/switch-1.c: New test case.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/compile/switch-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/stmt.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26557