This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C/gomp PATCH] Convert OMP_CLAUSE_IF_EXPR to boolean_type_node
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Mar 2006 07:43:20 -0800
- Subject: Re: [C/gomp PATCH] Convert OMP_CLAUSE_IF_EXPR to boolean_type_node
- References: <Pine.LNX.4.44.0603282251230.15827-100000@www.eyesopen.com>
On Tue, Mar 28, 2006 at 11:18:51PM -0700, Roger Sayle wrote:
> * c-parser.c (c_parser_omp_clause_if): Ensure that the conditional
> OMP_CLAUSE_IF_EXPR of an OMP_CLAUSE_IF has been suitably converted
> to a boolean_type_node.
I see no reason to do this here. We should, however, use gimple_boolify
on OMP_CLAUSE_IF instead of just gimplify_expr in gimplify_scan_omp_clauses.
r~