aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-omp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-omp.c')
-rw-r--r--gcc/c-omp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-omp.c b/gcc/c-omp.c
index f170fbe..cdca2bc 100644
--- a/gcc/c-omp.c
+++ b/gcc/c-omp.c
@@ -171,8 +171,7 @@ check_omp_for_incr_expr (tree exp, tree decl)
switch (TREE_CODE (exp))
{
- case NOP_EXPR:
- case CONVERT_EXPR:
+ CASE_CONVERT:
t = check_omp_for_incr_expr (TREE_OPERAND (exp, 0), decl);
if (t != error_mark_node)
return fold_convert (TREE_TYPE (exp), t);