c-typeck.c (c_finish_if_stmt): Use void_type_node as type for COND_EXPR.
authorRichard Guenther <rguenth@gcc.gnu.org>
Tue, 7 Jun 2005 10:10:22 +0000 (10:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 7 Jun 2005 10:10:22 +0000 (10:10 +0000)
commit2214de30422cc30ce6a88feefc97bc8329dd6c2c
tree6ebbf32b5f064f2beb8dedf553879d6e4cb9f803
parente0004427824f78e9ab1ec2a1eb241ff49fb4f8a1
c-typeck.c (c_finish_if_stmt): Use void_type_node as type for COND_EXPR.

2005-06-07  Richard Guenther  <rguenth@gcc.gnu.org>

* c-typeck.c (c_finish_if_stmt): Use void_type_node as type
for COND_EXPR.
* gimplify.c (gimplify_cond_expr): No need to fix up the
type of COND_EXPRs.

From-SVN: r100705
gcc/ChangeLog
gcc/c-typeck.c
gcc/gimplify.c