On Tue, 2006-05-09 at 22:16, Richard Kenner wrote: > Can there be two consecutive insns that use cc0 after cc0 is set? > > No.
Yes. But only very very late in the compilation, once all normal re-ordering and optimization has been completed. I think it's probably final that folds out set cc0 (compare (x y)) condjump1 set cc0 (compare (x y)) condjump2 and converts it to set cc0 (compare (x y)) condjump1 condjump2 But it only does this if the backend has support for describing which insns set cc0 implicitly. R.