]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/43661 (ice in fold_comparison, at fold-const.c:9579)
authorRichard Guenther <rguenther@suse.de>
Tue, 6 Apr 2010 10:36:57 +0000 (10:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 6 Apr 2010 10:36:57 +0000 (10:36 +0000)
commiteb12d0ae3e7b97cf3e8edbe72c5dd46513ea8dfd
tree96cc7ac4d17db40c43940ec6cf151a6e463c1c0a
parentb172360dd4e299da76a3de622207ef339f13539b
re PR c/43661 (ice in fold_comparison, at fold-const.c:9579)

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.

From-SVN: r157984
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr43661.c [new file with mode: 0644]