]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/28814 (in compare_values, at tree-vrp.c:415)
authorRichard Guenther <rguenther@suse.de>
Fri, 25 Aug 2006 22:01:28 +0000 (22:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 25 Aug 2006 22:01:28 +0000 (22:01 +0000)
commit459881189a60e313cbd9e35e415b7cc794289149
tree37f57e67d4c17934235b30eed8252327fa14a814
parenta942cc86f86a85fea1342c20091076126c917c34
re PR middle-end/28814 (in compare_values, at tree-vrp.c:415)

2006-08-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/28814
* fold-const.c (fold_binary): Fold temporary to correct
type before constructing new comparison.

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

From-SVN: r116439
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr28814.c [new file with mode: 0644]