This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r133857 - in /trunk/gcc: ChangeLog expr.c expr....
- From: hp at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 03 Apr 2008 02:09:20 -0000
- Subject: r133857 - in /trunk/gcc: ChangeLog expr.c expr....
Author: hp
Date: Thu Apr 3 02:09:20 2008
New Revision: 133857
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133857
Log:
PR middle-end/35800
* expr.h (try_casesi): Adjust prototype.
* expr.c (try_casesi): Take fallback label as extra parameter.
Use that for gen_casesi if default_label is NULL.
* stmt.c (expand_case): Pass fallback label to try_casesi,
make sure to fill gaps with a fallback label if default_label
is not present.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expr.c
trunk/gcc/expr.h
trunk/gcc/stmt.c