match.pd: Implement more binary patterns exercised by fold_stmt.
2014-11-14 Richard Biener <rguenther@suse.de> * match.pd: Implement more binary patterns exercised by fold_stmt. * fold-const.c (sing_bit_p): Export. (exact_inverse): Likewise. (fold_binary_loc): Remove patterns here. (tree_unary_nonnegative_warnv_p): Use CASE_CONVERT. * fold-const.h (sing_bit_p): Declare. (exact_inverse): Likewise. * gcc.c-torture/execute/shiftopt-1.c: XFAIL invalid parts. From-SVN: r217545
Showing
- gcc/ChangeLog 11 additions, 0 deletionsgcc/ChangeLog
- gcc/fold-const.c 3 additions, 207 deletionsgcc/fold-const.c
- gcc/fold-const.h 2 additions, 0 deletionsgcc/fold-const.h
- gcc/match.pd 218 additions, 9 deletionsgcc/match.pd
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.c-torture/execute/shiftopt-1.c 5 additions, 0 deletionsgcc/testsuite/gcc.c-torture/execute/shiftopt-1.c
Loading
Please register or sign in to comment