re PR tree-optimization/37305 (ice in set_value_range, at tree-vrp.c:397)
authorRichard Guenther <rguenther@suse.de>
Mon, 1 Sep 2008 13:39:42 +0000 (13:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 1 Sep 2008 13:39:42 +0000 (13:39 +0000)
commitff8b183bbbf3de4d4447b5ff5825717c5b92cc87
treeb6def91a807329a8ca74f2bc4a22570463460d0a
parent68ad446f149f501726ac386f64add454ac37e342
re PR tree-optimization/37305 (ice in set_value_range, at tree-vrp.c:397)

2008-09-01  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/37305
* tree-ssa-ccp.c (ccp_fold): Do not set TREE_OVERFLOW on
the result of constant conversions.
(fold_gimple_assign): Likewise.

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

From-SVN: r139864
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr37305.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c