http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50764
--- Comment #1 from vries at gcc dot gnu.org 2011-10-17 21:55:12 UTC --- Created attachment 25535 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25535 sdiff between 091t.crited and 092t.pre I don't seen anything obviously wrong with the transformation by -ftree-tail-merge. Block 6 and block 7 have the same successor (block 4) and are both empty, so equal. Block 7 is removed, the incoming edge of block 7 is redirected to block 6, and a virtual phi is inserted at the start of block 6.