diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-11 17:45:03 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-11 17:45:03 +0000 |
| commit | a22fd5558187765decae31fe6fcf761c4a5468ab (patch) | |
| tree | 53c0a411f358defff23d8e0c39b1dc0819424479 /libjava/java/lang/AbstractMethodError.java | |
| parent | 5a1672069edec60b352c1ad89d641d8222d44a2e (diff) | |
| download | ppe42-gcc-a22fd5558187765decae31fe6fcf761c4a5468ab.tar.gz ppe42-gcc-a22fd5558187765decae31fe6fcf761c4a5468ab.zip | |
* fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize
-((int)X>>C) where C is an integer constant one bit less than the
size of X into (unsigned)X>>C. Similarly for unsigned->signed.
(negate_expr) <RSHIFT_EXPR>: Implement the above transformations.
* simplify-rtx.c (simplify_unary_operation): Also implement the
above transformations at the RTL level.
* gcc.c-torture/execute/20040311-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/AbstractMethodError.java')
0 files changed, 0 insertions, 0 deletions

