diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/expr.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4628c5c..dcb9d74 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 15 22:08:35 CEST 2002 Jan Hubicka <jh@suse.cz> + + * expr.c (do_tablejump): Fix typo in my previous commit. + 2002-10-15 Richard Sandiford <rsandifo@redhat.com> * config/mips/vr.h (DRIVER_SELF_SPECS): Change %<mgp32 to %{<mgp32}. @@ -10942,8 +10942,8 @@ do_tablejump (index, mode, range, table_label, default_label) { rtx temp, vector; - if (range > cfun->max_jumptable_ents) - cfun->max_jumptable_ents = range; + if (INTVAL (range) > cfun->max_jumptable_ents) + cfun->max_jumptable_ents = INTVAL (range); /* Do an unsigned comparison (in the proper mode) between the index expression and the value which represents the length of the range. |
