summaryrefslogtreecommitdiffstats
path: root/libjava/java/sql/Driver.java
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-14 20:53:26 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-14 20:53:26 +0000
commita12ecaaad932850913429daf0f59addb4ddd2d2b (patch)
tree9a1c805b0d9f0abdd6f5f935e7f53f0fb1091c08 /libjava/java/sql/Driver.java
parent080e0ef544623575bf3f2c7d209d5170bbe4573c (diff)
downloadppe42-gcc-a12ecaaad932850913429daf0f59addb4ddd2d2b.tar.gz
ppe42-gcc-a12ecaaad932850913429daf0f59addb4ddd2d2b.zip
* fold-const.c (negate_expr_p): MULT_EXPRs and RDIV_EXPRs are easy
to negate if either operand is easy to negate, if we don't care about sign-dependent rounding. (negate_expr): Make the logic to negate a REAL_CST explicit. Attempt to negate a MULT_EXPR or RDIV_EXPR by negating an operand that's easy to negate, if we don't honor sign-dependent rounding. (fold <MULT_EXPR>): Optimize -A * B as A * -B if B is easy to negate, and the symmetric A * -B as -A * B if A is easy to negate. (fold <RDIV_EXPR>): Likewise, optimize -A/B and C/-D as A/-B and -C/D if B and C are cheap to negate. Add an explicit rule to optimize X/-1.0 as -X when we don't care about signaling NaNs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/sql/Driver.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud