aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-15 20:38:59 +0000
committerJakub Jelinek <jakub@redhat.com>2006-02-15 20:38:59 +0000
commit62a90c120eb216c8594edb8591250b78e2f4adec (patch)
treecd16013032b3793b8fe41cbe9ef95619c851a9d9
parent3d592b72317b691fd51d4826384b2d2fb61d641c (diff)
* tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather
than TREE_CODE as index into omp_clause_num_ops array. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@111115 138bc75d-0d04-0410-961f-82ee72b054a4
-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];
};