(do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 14 Jan 1993 19:16:40 +0000 (11:16 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 14 Jan 1993 19:16:40 +0000 (11:16 -0800)
From-SVN: r3233

gcc/expr.c

index ff5e90c0170c6dc8190fc3deb612bf122fe81ad7..3fd68250a7df64614d3ab4fbd6f614a03fb3e6c6 100644 (file)
@@ -7415,7 +7415,7 @@ do_tablejump (index, mode, range, table_label, default_label)
      or equal to the minimum value of the range and less than or equal to
      the maximum value of the range.  */
 
-  emit_cmp_insn (range, index, LTU, NULL_RTX, mode, 0, 0);
+  emit_cmp_insn (range, index, LTU, NULL_RTX, mode, 1, 0);
   emit_jump_insn (gen_bltu (default_label));
 
   /* If index is in range, it must fit in Pmode.