summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/zip/ZipException.java
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-01 00:36:53 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-01 00:36:53 +0000
commit8c5cac787cdc66bd8a9ada6ed38c8093500e9106 (patch)
treea842e3f3e11953156cef321cf6510aeed77635b1 /libjava/java/util/zip/ZipException.java
parentc787204033c5fce87bbf38dd45561974f8cfab9c (diff)
downloadppe42-gcc-8c5cac787cdc66bd8a9ada6ed38c8093500e9106.tar.gz
ppe42-gcc-8c5cac787cdc66bd8a9ada6ed38c8093500e9106.zip
* fold-const.c (fold <MULT_EXPR>): Optimize both x*pow(x,c) and
pow(x,c)*x as pow(x,c+1) for constant values c. Optimize x*x as pow(x,2.0) when the latter will be expanded back into x*x. (fold <RDIV_EXPR>): Optimize pow(x,c)/x as pow(x,c-1). * builtins.c (expand_builtin_pow): Ignore flag_errno_math as pow can never set errno when used with an integer exponent. Always use expand_powi when exponent is -1, 0, 1 or 2. (fold_builtin): Don't rewrite pow(x,2.0) as x*x nor pow(x,-2.0) as 1.0/(x*x). This avoids unbounded recursion as we now prefer the pow forms of these expressions. * gcc.dg/builtins-27.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70030 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/zip/ZipException.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud