From: Jakub Jelinek Date: Wed, 15 Feb 2006 20:38:59 +0000 (+0100) Subject: tree.h (struct tree_omp_clause): Use OMP_CLAUSE_CODE rather than TREE_CODE as index... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb57dc0bf0b060e936dbb376ceca3eca35c15787;p=gcc.git 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 --- 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 + + * 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 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]; };