diff options
author | Richard Guenther <rguenther@suse.de> | 2008-04-03 02:09:20 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2008-04-03 02:09:20 +0000 |
commit | 55187c8a16273a21be18e982bc2389e534e48975 (patch) | |
tree | 27d6aeb3a7b64063a0e152660705ca93e4060509 /gcc/expr.h | |
parent | d2cf5f997fa1a72e92b641dd42177ea7a98ae1a6 (diff) | |
download | gcc-55187c8a16273a21be18e982bc2389e534e48975.zip gcc-55187c8a16273a21be18e982bc2389e534e48975.tar.gz gcc-55187c8a16273a21be18e982bc2389e534e48975.tar.bz2 |
re PR middle-end/35800 (Revision 133835 failed to compile binutils)
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.
From-SVN: r133857
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ extern void do_compare_rtx_and_jump (rtx, rtx, enum rtx_code, int, enum machine_mode, rtx, rtx, rtx); /* Two different ways of generating switch statements. */ -extern int try_casesi (tree, tree, tree, tree, rtx, rtx); +extern int try_casesi (tree, tree, tree, tree, rtx, rtx, rtx); extern int try_tablejump (tree, tree, tree, tree, rtx, rtx); /* Smallest number of adjacent cases before we use a jump table. |