aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-15 21:38:59 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2006-02-15 21:38:59 +0100
commitfb57dc0bf0b060e936dbb376ceca3eca35c15787 (patch)
treecd16013032b3793b8fe41cbe9ef95619c851a9d9 /gcc/tree.h
parentf4daf7e44e61ed8987d419a692015de25405be70 (diff)
downloadgcc-fb57dc0bf0b060e936dbb376ceca3eca35c15787.zip
gcc-fb57dc0bf0b060e936dbb376ceca3eca35c15787.tar.gz
gcc-fb57dc0bf0b060e936dbb376ceca3eca35c15787.tar.bz2
tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather than TREE_CODE as index into omp_clause_num_ops array.
* 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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 7d17daf..e89389d 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];
};