------- Comment #2 from rguenth at gcc dot gnu dot org 2010-08-04 13:21 ------- (In reply to comment #1) > Subject: Re: New: CDDCE doesn't eliminate > conditional code in infinite loop > > Hmm, so the problem is that we produce two alternating loops and both with > unknown number of iterations? > We might teach loop discovery to preffer single infinite loop over alternation > I guess.
Yeah, that might help. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-08-04 13:21:34 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45178