diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-26 15:36:52 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-26 15:36:52 +0000 |
| commit | 1d8ff0d259a49c3a172fb5ef215cb01dcec2605e (patch) | |
| tree | 54fbe907a418470a9df428739064819f26fcfdfd /libjava/classpath/test/java.io | |
| parent | 17e07532908dfd39ea8eb0815aaae951946505bf (diff) | |
| download | ppe42-gcc-1d8ff0d259a49c3a172fb5ef215cb01dcec2605e.tar.gz ppe42-gcc-1d8ff0d259a49c3a172fb5ef215cb01dcec2605e.zip | |
2006-02-26 Roger Sayle <roger@eyesopen.com>
James A. Morrison <phython@gcc.gnu.org>
PR middle-end/21137
* fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0,
when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the
new constant C2<<C1, or as (X<0) or (X,false) depending upon the
signedness of the shift operation.
* gcc.dg/fold-eqandshift-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/test/java.io')
0 files changed, 0 insertions, 0 deletions

