OSDN Git Service

* expr.c (do_tablejump): Fix typo in my previous commit.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2002 20:09:32 +0000 (20:09 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2002 20:09:32 +0000 (20:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58179 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 4628c5c..dcb9d74 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 c736ebc..a676b38 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.