gimplify.c (gimple_boolify): Re-boolify expression arguments even if expression type...
authorKai Tietz <ktietz@redhat.com>
Thu, 12 May 2011 18:19:07 +0000 (20:19 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Thu, 12 May 2011 18:19:07 +0000 (20:19 +0200)
commit1d15f620aa4e68f6298491d52ca8cc8d496457a6
treeadcc70e35c9e266924a73609b2a5e907b5c51dd0
parentc2b5fc8de6a06b34a60f90bb37c46e27dc67d347
gimplify.c (gimple_boolify): Re-boolify expression arguments even if expression type is of kind BOOLEAN_TYPE.

2011-05-12  Kai Tietz  <ktietz@redhat.com>

* gimplify.c (gimple_boolify): Re-boolify expression
arguments even if expression type is of kind BOOLEAN_TYPE.
(gimplify_boolean_expr): Removed.
(gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF,
and XOR. Additional take care that we keep expression's type.
* tree-cfg.c (verify_gimple_assign_binary): Adjust check for type
of TRUTH_AND|OR|XOR_EXPR.

From-SVN: r173711
gcc/ChangeLog
gcc/gimplify.c
gcc/tree-cfg.c