OSDN Git Service

2010-04-06 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 10:36:57 +0000 (10:36 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 10:36:57 +0000 (10:36 +0000)
commit30806cf18c1416546da47e9e4fdb23692b37a73c
tree96cc7ac4d17db40c43940ec6cf151a6e463c1c0a
parenta1b9762a00210b64f90bc9e4599d336fea68b574
2010-04-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/43661
* fold-const.c (fold_comparison): Handle X * 0 CMP 0.

* gcc.c-torture/compile/pr43661.c: New testcase.

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