------- Additional Comments From dberlin at gcc dot gnu dot org 2005-04-12 13:26 ------- Subject: Re: [4.0/4.1 Regression] ICE tree check: expected value_handle, have addr_expr in value_exists_in_set_bitmap, at tree-ssa-pre.c:437
On Tue, 2005-04-12 at 09:56 +0000, steven at gcc dot gnu dot org wrote: > ------- Additional Comments From steven at gcc dot gnu dot org 2005-04-12 > 09:56 ------- > In addition to ICEing, PRE is also being stupid about moving out a > loop invariant expression: > > Found partial redundancy for expression (char *) &0B->type > Skipping insertion of phi for partial redundancy: Looks like an induction > variable > This means nothing. If it's really loop invariant, it will still be eliminated anyway (and show up on the eliminated list) because the outside the loop expression it *does* insert will have the right value to replace the inside-the-loop version. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20963