On Wed, Jun 24, 2009 at 1:49 AM, Dave Korn<dave.korn.cyg...@googlemail.com> wrote: > Steven Bosscher wrote: > >> The comment doesn't explain *why* we don't want delete_insn to be >> called, or why we want to do our own change group management. > > dead_or_predicable is called from find_if_case_[12] which is called from > find_if_header which is called from if_convert within a FOR_EACH_BB loop; is > this perhaps another example of "don't mess with something while you're > iterating over it or your iterator might break"?
I don't think so. I know the rest of ifcvt.c pretty well. The code expects blocks to be merged, moved, etc. when it has identified an if-block. Ciao! Steven