(collect_iterators): Cast tree code to int for indexing.
authorRichard Stallman <rms@gnu.org>
Mon, 29 Mar 1993 18:57:45 +0000 (18:57 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 29 Mar 1993 18:57:45 +0000 (18:57 +0000)
From-SVN: r3913

gcc/c-iterate.c

index 91d9c3598f7afdcf6c8890816d298db009de3888..0325026fdc51820ed64f68ae77458fc9d86dfbf6 100644 (file)
@@ -223,7 +223,7 @@ collect_iterators (exp, list)
        case 'e':
        case 'r':
          {
-           int num_args = tree_code_length[TREE_CODE (exp)];
+           int num_args = tree_code_length[(int) TREE_CODE (exp)];
            int i;
 
            /* Some tree codes have RTL, not trees, as operands.  */