tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather than TREE_CODE as index...
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Feb 2006 20:38:59 +0000 (21:38 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 Feb 2006 20:38:59 +0000 (21:38 +0100)
* tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather
than TREE_CODE as index into omp_clause_num_ops array.

From-SVN: r111115

gcc/ChangeLog
gcc/tree.h

index 5d8c43cebbfeebeb7122bb0ba28f0311897ce088..3be2c3f5a8f6d68b810f26a83678e69d251656d2 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather
+       than TREE_CODE as index into omp_clause_num_ops array.
+
 2006-02-15  Uttam Pawar  <uttamp@us.ibm.com>
 
        PR rtl-optimization/26184
index 7d17dafe865470f926d602efed98f5f28f53837b..e89389dea56d0a2e0c94ba1fa1612476c4cf6f3b 100644 (file)
@@ -1786,7 +1786,7 @@ struct tree_omp_clause GTY(())
     enum omp_clause_schedule_kind schedule_kind;
     enum tree_code                reduction_code;
   } GTY ((skip)) subcode;
-  tree GTY ((length ("omp_clause_num_ops[TREE_CODE ((tree)&%h)]"))) ops[1];
+  tree GTY ((length ("omp_clause_num_ops[OMP_CLAUSE_CODE ((tree)&%h)]"))) ops[1];
 };
 \f