2008-09-01 Richard Guenther <rguenther@suse.de>
commitf1fb2997dc59523723f0cb73ea02cecf4e913021
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Sep 2008 13:39:42 +0000 (1 13:39 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Sep 2008 13:39:42 +0000 (1 13:39 +0000)
treeb6def91a807329a8ca74f2bc4a22570463460d0a
parentdde7ed1e5ade68db9b583bc1ff1b6842671b91e6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139864 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr37305.c [new file with mode: 0644]
gcc/tree-ssa-ccp.c