------- Comment #6 from rakdver at kam dot mff dot cuni dot cz 2007-11-20 13:56 ------- Subject: Re: [4.3 Regression] ICE in is_hidden_global_store, at tree-ssa-sink.c:207
> > > ------- Comment #5 from pinskia at gcc dot gnu dot org 2007-11-20 09:13 > ------- > Well I don't think ifcvt is fully to be blamed here: > > if (D.1542_49 != 0) > goto <bb 13>; > else > goto <bb 12>; > > <bb 12>: > # prephitmp.14_44 = PHI <1(13), 0(11)> > # rc_45 = PHI <rc_47(13), rc_47(11)> > > Why do we have that last PHI anyways? Unswitch creates it. I think more important question is why we do not optimize it out (many other optimizations, e.g. copy propagation, may create such phi nodes). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34140