OSDN Git Service

2010-01-21 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2010 12:15:40 +0000 (12:15 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2010 12:15:40 +0000 (12:15 +0000)
commit53293165a9fdd4b820d14463b2c2f892d3fd56b6
tree758eccb5e66ab481705e497e8b218d2fa1fb2f1b
parent37d3b41cb3d9ca19d195c4afd7a0cb9d3fa896f2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156152 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr19988.c [new file with mode: 0644]