fold-const.c (fold_comparison): New subroutine of fold_binary containing…
fold-const.c (fold_comparison): New subroutine of fold_binary containing transformations common to both the... * fold-const.c (fold_comparison): New subroutine of fold_binary containing transformations common to both the equality and ordering relational operators, factored out of fold_binary. (fold_binary): Separate out the equality operators (EQ_EXPR and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR, LE_EXPR and GE_EXPR), calling fold_comparison to perform the transformations common to both. (fold_div_compare): Fix latent bugs in the previously unreachable LT_EXPR and GE_EXPR cases. From-SVN: r111423
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment