2008-12-30 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Dec 2008 10:28:01 +0000 (10:28 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Dec 2008 10:28:01 +0000 (10:28 +0000)
commitbd23343072e6e7e6f52c23c6b2e164c2c81e838a
tree9d001283408b27bd22fd3e7978b27d4df23a90a6
parentb58007d73c6b2bad244f92e027a02d442e20e258
2008-12-30  Richard Guenther  <rguenther@suse.de>

PR middle-end/38564
* fold-const.c (fold_comparison): Use the correct result type.

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

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