diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-02-24 18:56:31 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-02-24 18:56:31 +0000 |
commit | e26ec0bb0662b03b4b5b96c035abe26f1351a433 (patch) | |
tree | ccf3fc8283c40f79587b2af4234aee4b98221395 /gcc/combine.c | |
parent | 6bb9adda5c3a5544f2038a8c452c8151bbcb44b4 (diff) | |
download | gcc-e26ec0bb0662b03b4b5b96c035abe26f1351a433.zip gcc-e26ec0bb0662b03b4b5b96c035abe26f1351a433.tar.gz gcc-e26ec0bb0662b03b4b5b96c035abe26f1351a433.tar.bz2 |
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
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions