[Bug bootstrap/36908] bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution"

Sebastian Pop sebpop@gmail.com
Wed Oct 22 22:48:00 GMT 2008


> Sebastian, can you please look at this?

Sorry for having missed this bug.  The problem here is that we end
with two identical loops, as we copy almost all the statements in both
loops.  The attached patch solves the problem by counting the number
of memory read and write operations per partition and compares it to
the total number of memory operations in the Reduced Dependence Graph.
Loop distribution is stopped when one of the partitions contains all
the memory ops.

Okay for trunk once it finishes regstrap?

Thanks,
Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1263_ldist_pr36908.diff
Type: text/x-patch
Size: 3955 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081022/b38a650e/attachment.bin>


More information about the Gcc-patches mailing list