re PR middle-end/22524 (fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree...
authorRoger Sayle <roger@eyesopen.com>
Tue, 28 Mar 2006 05:01:27 +0000 (05:01 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Tue, 28 Mar 2006 05:01:27 +0000 (05:01 +0000)
commit7f166b0a8e4cf02f0e297429471ab95078820a48
treefaf38ab8b2080959462409d0851aaa78fa99f809
parentebf78a479a937efd39bc19511cb20a8b0796c922
re PR middle-end/22524 (fold (or the front-ends) produces UNARY (BIT_NOT_EXPR) tree with mismatch types)

PR middle-end/22524
* fold-const.c (fold_binary) <MINUS_EXPR>: Call fold_convert to
cast BIT_NOT_EXPR operand to the correct type.

From-SVN: r112438
gcc/ChangeLog
gcc/fold-const.c