This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r114403 - in /branches/apple-local-200502-branc...
- From: stuart at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 05 Jun 2006 19:14:12 -0000
- Subject: r114403 - in /branches/apple-local-200502-branc...
Author: stuart
Date: Mon Jun 5 19:14:11 2006
New Revision: 114403
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114403
Log:
Radar 4561329
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/apple-local-200502-branch/gcc/testsuite/gcc.c-torture/compile/switch-1.c
Modified:
branches/apple-local-200502-branch/gcc/ChangeLog.apple-ppc
branches/apple-local-200502-branch/gcc/stmt.c
branches/apple-local-200502-branch/gcc/testsuite/ChangeLog.apple-ppc