re PR middle-end/23606 (fold does not fold (type)(a == b) into a == b (with type...
authorAndrew Pinski <pinskia@physics.uc.edu>
Tue, 22 Nov 2005 19:22:21 +0000 (19:22 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 22 Nov 2005 19:22:21 +0000 (11:22 -0800)
commitd998dd65ec93baa138c10fe1bd11da1ba19b439e
tree6be3829aae3c9a7f5466fdc27a465d827c850835
parent1c991891912695c2e6f536bb1d453e6fec331504
re PR middle-end/23606 (fold does not fold (type)(a == b) into a == b (with type as the type))

2005-11-22  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/23606
        * fold-const.c (fold_unary) <case NOP_EXPR, CONVERT_EXPR>: For
        COMPARISON_CLASS_P and an integral types create create a new
        expression with the new type and fold that.

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