diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-06 22:59:38 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-06 22:59:38 +0000 |
| commit | 203a24c48cbfcda34d7d513914e2bad55c062925 (patch) | |
| tree | 42a44a69dbd2f8b714055533a4e34ddf161eabd9 /libjava/java/sql/DataTruncation.java | |
| parent | 318fdd81915678cdc4e744ad9aa51cbfef2b9fc1 (diff) | |
| download | ppe42-gcc-203a24c48cbfcda34d7d513914e2bad55c062925.tar.gz ppe42-gcc-203a24c48cbfcda34d7d513914e2bad55c062925.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/sql/DataTruncation.java')
0 files changed, 0 insertions, 0 deletions

