(emit_stack_save): Cast enum array index to int.
authorRichard Stallman <rms@gnu.org>
Mon, 11 Oct 1993 01:12:06 +0000 (01:12 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 11 Oct 1993 01:12:06 +0000 (01:12 +0000)
From-SVN: r5717

gcc/explow.c

index 86726c9dc90d2a2139780924aa2be9d8b0282b51..71338155a38f4c5d0fed36085a6cdccba835b0bc 100644 (file)
@@ -732,7 +732,7 @@ emit_stack_save (save_level, psave, after)
       if (HAVE_save_stack_nonlocal)
        {
          fcn = gen_save_stack_nonlocal;
-         mode = insn_operand_mode[CODE_FOR_save_stack_nonlocal][0];
+         mode = insn_operand_mode[(int) CODE_FOR_save_stack_nonlocal][0];
        }
       break;
 #endif