------- Comment #12 from law at redhat dot com 2006-03-24 07:49 ------- Subject: Re: New: ICE at gcc/tree-gimple.c:269
On Wed, 2006-03-22 at 16:47 +0000, jb at gcc dot gnu dot org wrote: > The capacita benchmark, part of the polyhedron benchmark suite, fails with the > ICE in the summary. BT: [ ... ] The root cause of this problem is the immediate-use iterators not visiting an immediate use in certain circumstances. Andrew and I have discussed this a little and Andrew thinks he may be able to fix the iterator -- however, that's not likely to happen until he returns from some travel. In the mean time this change works around the immediate-use iterator problem. Basically we re-start the iterator if we have an LHS which we expect to have no uses, but which still has immediate uses after the iterator exits. [ The first version actually split the loop into two phases one to propagate into all uses, the other to fold and simplify statements after propagation. That works. But this is much simpler. ] This fixes pr26806 and pr26833. Bootstrapped and regression tested on i686-pc-linux-gnu. ------- Comment #13 from law at redhat dot com 2006-03-24 07:49 ------- Created an attachment (id=11109) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11109&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26806