Commit 1a8a3a5e by Richard Sandiford Committed by Richard Sandiford

c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.

gcc/
	* c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.

From-SVN: r131340
parent 2a4430a6
2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
* c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk>
* config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
2008-01-05 Jakub Jelinek <jakub@redhat.com>
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment