diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-11-09 23:04:01 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-11-09 23:04:01 +0000 |
commit | 4192f0d20d07cee7e68a5a6c7398f1044849855e (patch) | |
tree | dd025359a0252b395296620e265210b326009496 /gcc/config | |
parent | a4311dfe6d5ee5539793adb7bf12400b070ba9b1 (diff) | |
download | gcc-4192f0d20d07cee7e68a5a6c7398f1044849855e.zip gcc-4192f0d20d07cee7e68a5a6c7398f1044849855e.tar.gz gcc-4192f0d20d07cee7e68a5a6c7398f1044849855e.tar.bz2 |
stormy16.c (xstormy16_expand_casesi): Don't change INDEX.
* config/stormy16/stormy16.c (xstormy16_expand_casesi):
Don't change INDEX.
In testsuite/:
* gcc.c-torture/execute/20011109-1.c: New test.
From-SVN: r46899
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/stormy16/stormy16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 7883154..653ecaf 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -1621,7 +1621,7 @@ xstormy16_expand_casesi (index, lower_bound, range, table, default_label) sorry ("switch statement of size %lu entries too large", (unsigned long) range_i); - index = expand_binop (SImode, sub_optab, index, lower_bound, index, 0, + index = expand_binop (SImode, sub_optab, index, lower_bound, NULL_RTX, 0, OPTAB_LIB_WIDEN); emit_cmp_and_jump_insns (index, range, GTU, NULL_RTX, SImode, 1, 0, default_label); |