aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5d8c43cebbf..3be2c3f5a8f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree.h b/gcc/tree.h
index 7d17dafe865..e89389dea56 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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];
};