diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2006-08-04 14:15:37 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2006-08-04 14:15:37 +0000 |
commit | 824a4527c15e4ae4664a56366030bc4f6e8243b0 (patch) | |
tree | 5409dbf0f47dca9a57cdfb0b9da22af3175d67e5 /libjava/java/io/ObjectInputStream.java | |
parent | 8443c250af760dbb4489b3ff9e75bc334feba4df (diff) | |
download | gcc-824a4527c15e4ae4664a56366030bc4f6e8243b0.zip gcc-824a4527c15e4ae4664a56366030bc4f6e8243b0.tar.gz gcc-824a4527c15e4ae4664a56366030bc4f6e8243b0.tar.bz2 |
re PR rtl-optimization/26244 (FAIL: gcc.c-torture/execute/builtin-bitops-1.c execution, -O3 -fomit-frame-pointer -funroll-loops)
PR rtl-optimization/26244
* cse.c (fold_rtx): Correctly associate shifts when const_arg1 and/or
inner_const are negative or greater than or equal to the bitsize of
MODE. If SHIFT_COUNT_TRUNCATED is false, the values aren't associated.
Otherwise, the values are masked using GET_MODE_BITSIZE (mode) - 1.
Simplify complicated if statement. For ASHIFT and LSHIFTRT, return
CONST0_RTX (mode) when the new shift count is greater than or equal to
to the bitsize of the object being shifted and XEXP (y, 0) has no side
effects.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r115924
Diffstat (limited to 'libjava/java/io/ObjectInputStream.java')
0 files changed, 0 insertions, 0 deletions