re PR tree-optimization/49218 (Incorrect optimization of a 'for' loop creates an...
authorRichard Guenther <rguenther@suse.de>
Mon, 30 May 2011 11:15:20 +0000 (11:15 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 30 May 2011 11:15:20 +0000 (11:15 +0000)
commitf33211587118865c4f26f3806355441c4dfdb8b8
tree461b8951a8882fd9c13e1232291f8e317d76f105
parentd12d8efea8fcb3122b78b3eafb7e35fe7ec2f4bd
re PR tree-optimization/49218 (Incorrect optimization of a 'for' loop creates an infinite loop)

2011-05-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49218
* tree-vrp.c (adjust_range_with_scev): Properly check whether
overflow occured.

* gcc.c-torture/execute/pr49218.c: New testcase.

From-SVN: r174429
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49218.c [new file with mode: 0644]
gcc/tree-vrp.c