diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 16:57:00 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-05 16:57:00 +0000 |
commit | 35160457ce6f7b3b5db618aa236481679587bfec (patch) | |
tree | 422bceaaca4fa0cce8013a1f70c23aad97e4fd15 /gcc/c-omp.c | |
parent | 5f98e2aafbf103c9b6b5a4d3ece7de648d7a97c6 (diff) | |
download | ppe42-gcc-35160457ce6f7b3b5db618aa236481679587bfec.tar.gz ppe42-gcc-35160457ce6f7b3b5db618aa236481679587bfec.zip |
gcc/
* c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131340 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-omp.c')
-rw-r--r-- | gcc/c-omp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-omp.c b/gcc/c-omp.c index 526b1f8424b..f170fbe73e6 100644 --- a/gcc/c-omp.c +++ b/gcc/c-omp.c @@ -172,6 +172,7 @@ check_omp_for_incr_expr (tree exp, tree decl) switch (TREE_CODE (exp)) { case NOP_EXPR: + case CONVERT_EXPR: t = check_omp_for_incr_expr (TREE_OPERAND (exp, 0), decl); if (t != error_mark_node) return fold_convert (TREE_TYPE (exp), t); |