This is the mail archive of the
mailing list for the GCC project.
r111423 - in /trunk/gcc: ChangeLog fold-const.c
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 24 Feb 2006 18:56:31 -0000
- Subject: r111423 - in /trunk/gcc: ChangeLog fold-const.c
Date: Fri Feb 24 18:56:31 2006
New Revision: 111423
* 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.