This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/36908] bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution"
- From: "sebpop at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2008 21:08:43 -0000
- Subject: [Bug bootstrap/36908] bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution"
- References: <bug-36908-14002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from sebpop at gmail dot com 2008-10-22 21:08 -------
Subject: Re: bootstrap forever with BOOT_CFLAGS="-O2 -ftree-loop-distribution"
> 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
------- Comment #6 from sebpop at gmail dot com 2008-10-22 21:08 -------
Created an attachment (id=16529)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16529&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36908