tree-cfg.c (verify_expr): COND_EXPRs can have any integral typed condition.
authorRichard Guenther <rguenther@suse.de>
Fri, 20 Jul 2007 18:10:57 +0000 (18:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 Jul 2007 18:10:57 +0000 (18:10 +0000)
commitd40055abb19399588b3dbeeefc76daaf227045fd
tree556ceba04b72aa441d18c7f074ee5a57244e0fec
parent4d40a94f24868bb8b78586826ede11be038539d3
tree-cfg.c (verify_expr): COND_EXPRs can have any integral typed condition.

2007-07-20  Richard Guenther  <rguenther@suse.de>

* tree-cfg.c (verify_expr): COND_EXPRs can have any
integral typed condition.
* tree-ssa.c (useless_type_conversion_p): Do not preserve
booleanness.  Only preserve conversions from a non-base
type to a base type, not in general between types with
different TYPE_MIN_VALUE or TYPE_MAX_VALUE.
* tree.def (COND_EXPR): Document that the condition
can be of any integral type.

From-SVN: r126804
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-ssa.c
gcc/tree.def