stmt.c (expand_case): Use build_int_cst.
authorRichard Guenther <rguenth@gcc.gnu.org>
Wed, 1 Jun 2005 18:51:12 +0000 (18:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 1 Jun 2005 18:51:12 +0000 (18:51 +0000)
commit3bedcc89670bc73c0fb92eeaab266173b8babb73
tree24f4bde2341e587a951bda16272b126c8743ed39
parent095ecc24ec1340eb0f3d1f06f5bf627001b51d32
stmt.c (expand_case): Use build_int_cst.

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

* stmt.c (expand_case): Use build_int_cst.
(node_has_low_bound): Likewise, and correct type mismatch.
(node_has_high_bound): Likewise.
* fold-const.c (fold_binary): Ensure we build trees
with the correct types - undo what STRIP_NOPS possibly did.

From-SVN: r100459
gcc/ChangeLog
gcc/fold-const.c
gcc/stmt.c