]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/28162 (ICE in set_value_range, at tree-vrp.c:157)
authorRichard Guenther <rguenther@suse.de>
Wed, 5 Jul 2006 15:49:12 +0000 (15:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Jul 2006 15:49:12 +0000 (15:49 +0000)
commit30a843c33c55162e331f4ce1f0283abb34dc01a7
tree0eda7a946181d1977412bfff3605f5b764f4ef03
parente5d7f6f7358faa1ff7cf96d45b17bf07aa9fad6c
re PR tree-optimization/28162 (ICE in set_value_range, at tree-vrp.c:157)

2006-07-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/28162
* fold-const.c (fold_binary): For (-A) * (-B) -> A * B
make sure to convert the operands to the correct type.

* gcc.dg/pr28162.c: New testcase.

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