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
This commit is contained in:
Jakub Jelinek 2006-02-15 21:38:59 +01:00 committed by Jakub Jelinek
parent f4daf7e44e
commit fb57dc0bf0
2 changed files with 6 additions and 1 deletions

View 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

View 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];
};