Hi Ian, In the following 2 messages I have posted a gimple level duplicate block cleanup pass.
Implementation: http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01602.html Test cases : http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01603.html The pass reduces x864_64-stage3-cc1 text size with 1.7%, and Richard G. is now reasonably happy with the state of the patch. Would you be willing to do a 2nd review? Thanks, - Tom