re PR tree-optimization/27603 (wrong code, apparently due to bad VRP (-O2))
authorRichard Guenther <rguenther@suse.de>
Mon, 15 May 2006 17:35:48 +0000 (17:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 May 2006 17:35:48 +0000 (17:35 +0000)
commit7136db7ac5b31e9b7ade5a740bb7201bbf0faebd
tree346efb9b7010a61806bedde644eb95404dec240d
parentb6398823e7ff715272f35ceae58da3d3219523cc
re PR tree-optimization/27603 (wrong code, apparently due to bad VRP (-O2))

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

PR tree-optimization/27603
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
Do computations in original type.

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

From-SVN: r113797
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr27603.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c