This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug tree-optimization/26806] 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.




Attachment: PPP
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]