re PR tree-optimization/61743 (Complete unroll is not happened for loops with short...
authorRichard Biener <rguenther@suse.de>
Thu, 15 Jan 2015 15:02:11 +0000 (15:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 15 Jan 2015 15:02:11 +0000 (15:02 +0000)
commit42c6b3cadd77829763b2a1484c5cfa50a9524b1f
tree52b26abff657f8b34fcdc7839ec71998826959cc
parentcd3246ea5820971a463d8d46d94ddd7128ab0282
re PR tree-optimization/61743 (Complete unroll is not happened for loops with short upper bound)

2015-01-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/61743
* tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
information on PHIs for some simple cases.

* gcc.dg/tree-ssa/pr61743-1.c: New testcase.
* gcc.dg/tree-ssa/pr61743-2.c: Likewise.

From-SVN: r219662
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr61743-2.c [new file with mode: 0644]
gcc/tree-ssa-pre.c