diff options
author | Roger Sayle <roger@eyesopen.com> | 2002-05-06 22:59:38 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2002-05-06 22:59:38 +0000 |
commit | 1f77b5da981dae69e8e8d7ea3dc60ba95150c267 (patch) | |
tree | 42a44a69dbd2f8b714055533a4e34ddf161eabd9 /gcc/java/java-tree.h | |
parent | a5a49440f74e957e418360804bf270a8ebc9ad8e (diff) | |
download | gcc-1f77b5da981dae69e8e8d7ea3dc60ba95150c267.zip gcc-1f77b5da981dae69e8e8d7ea3dc60ba95150c267.tar.gz gcc-1f77b5da981dae69e8e8d7ea3dc60ba95150c267.tar.bz2 |
re PR rtl-optimization/3995 (i386 optimisation: joining tests)
PR opt/3995
* fold-const.c (sign_bit_p): New function.
(fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
(A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
Reapply fold when converting (A & C) == C into (A & C) != 0.
(fold_binary_op_with_conditional_arg): Fix typo in comment.
testsuite/
* gcc.c-torture/execute/20020506-1.c: New test case.
From-SVN: r53241
Diffstat (limited to 'gcc/java/java-tree.h')
0 files changed, 0 insertions, 0 deletions