diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-08-04 23:42:48 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-08-04 23:42:48 +0000 |
commit | f2593a6649384b002184762c58b083eb5f8e939f (patch) | |
tree | 9617a20782252283684d9c8639c9ad8e7fbf7873 /libjava/java/util/Set.java | |
parent | 29019803327d246f686bcc22d9d95b0e3cdc244d (diff) | |
download | gcc-f2593a6649384b002184762c58b083eb5f8e939f.zip gcc-f2593a6649384b002184762c58b083eb5f8e939f.tar.gz gcc-f2593a6649384b002184762c58b083eb5f8e939f.tar.bz2 |
fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
* fold-const.c (fold <PLUS_EXPR>): Transform x+x into x*2.0.
Optimize x*c+x and x+x*c into x*(c+1) and x*c1+x*c2 into x*(c1+c2)
for floating point expressions with -ffast-math.
(fold <MULT_EXPR>): Don't transform x*2.0 into x+x.
* expmed.c (expand_mult): Wrap long line. Expand x*2.0 as x+x.
* gcc.dg/20030804-1.c: New test case.
From-SVN: r70158
Diffstat (limited to 'libjava/java/util/Set.java')
0 files changed, 0 insertions, 0 deletions