re PR bootstrap/36908 (bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution")
authorSebastian Pop <sebastian.pop@amd.com>
Mon, 3 Nov 2008 16:35:13 +0000 (16:35 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 3 Nov 2008 16:35:13 +0000 (16:35 +0000)
commit2b8aee8e6df674cf70cab38d2a7e182afabb0f2f
tree75cc50bc2dd573fa0fb793f5893a75c402a2f445
parentede7cba0dd81777994a1d22b582ddb785b949224
re PR bootstrap/36908 (bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution")

2008-11-03  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/36908
* testsuite/gcc.dg/tree-ssa/pr36908.c: New.
* tree-loop-distribution.c (number_of_rw_in_rdg): New.
(number_of_rw_in_partition): New.
(partition_contains_all_rw): New.
(ldist_gen): Do not distribute when one of the partitions
contains all the memory operations.

From-SVN: r141550
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr36908.c [new file with mode: 0644]
gcc/tree-loop-distribution.c