]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fold-const.c
re PR middle-end/19988 (pessimizes fp multiply-add/subtract combo)
authorRichard Guenther <rguenther@suse.de>
Thu, 21 Jan 2010 12:15:40 +0000 (12:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Jan 2010 12:15:40 +0000 (12:15 +0000)
commit4e62a0175be3a34d66a8b395589897f0d2f53f46
tree758eccb5e66ab481705e497e8b218d2fa1fb2f1b
parentebfe4897fc27440325d1a23908b5a49c99ddb4ca
re PR middle-end/19988 (pessimizes fp multiply-add/subtract combo)

2010-01-21  Richard Guenther  <rguenther@suse.de>

PR middle-end/19988
* fold-const.c (negate_expr_p): Pretend only negative
real constants are easily negatable.

* gcc.dg/pr19988.c: New testcase.

From-SVN: r156152
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr19988.c [new file with mode: 0644]