2013-09-03 Richard Biener <rguenther@suse.de>
commit13e6d07c9f2d84544a51c0659ee3652e143ac3d2
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2013 10:00:06 +0000 (3 10:00 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Sep 2013 10:00:06 +0000 (3 10:00 +0000)
tree7dcb70b0e0b265ed2adce63bdc4c85c0764dfd8c
parenteaab24b9fb75db543c1d7d81d0b7deec9d9e0cf4
2013-09-03  Richard Biener  <rguenther@suse.de>

PR middle-end/57656
* fold-const.c (negate_expr_p): Fix division case.
(negate_expr): Likewise.

* gcc.dg/torture/pr57656.c: New testcase.

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