2015-07-06 Richard Biener <rguenther@suse.de>
commite7966fe9160bb22110f35c47c2c143745604787b
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jul 2015 10:37:33 +0000 (6 10:37 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Jul 2015 10:37:33 +0000 (6 10:37 +0000)
tree1ccfded254a5f9af8fd07a43503b26afb4038da1
parent7832d94be769e42c34451b6f93f21868d74a6a8d
2015-07-06  Richard Biener  <rguenther@suse.de>

PR middle-end/66759
* match.pd: Add missing constraint of y to REAL_CST in
REAL_CST - x CMP y to y - CST CMP x simplification.

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

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