re PR tree-optimization/40579 (gcc -O2 optimization causes infinite loop and wrong...
authorRichard Guenther <rguenther@suse.de>
Mon, 29 Jun 2009 11:57:15 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 29 Jun 2009 11:57:15 +0000 (11:57 +0000)
commit09a782ebdacc6a5227ed464d47eb3cc27e252c6a
tree50e923e8964fbc46128696b82c92d91fa0a41a33
parent152413f7edcf11d34026246569f5145d414f1653
re PR tree-optimization/40579 (gcc -O2 optimization causes infinite loop and wrong output)

2009-06-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/40579
* tree-vrp.c (vrp_evaluate_conditional): Bail out early if
the IL to simplify has constants that overflowed.

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

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