* expr.c (do_tablejump): Fix typo in my previous commit.
authorJan Hubicka <jh@suse.cz>
Tue, 15 Oct 2002 20:09:32 +0000 (22:09 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 15 Oct 2002 20:09:32 +0000 (20:09 +0000)
From-SVN: r58179

gcc/ChangeLog
gcc/expr.c

index 4628c5c31e7b4d4ffcf4d356c36fb3dc3a36c03c..dcb9d7470ae8a016a277334e80b86267a9e194eb 100644 (file)
@@ -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}.
index c736ebc73e7ff1cb95f731c97053c35dc3759884..a676b38269922a2082c0a6ebca3f448de6fb6ddf 100644 (file)
@@ -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.