http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46528
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-18 10:09:44 UTC --- What you do is look at the gimple before pass_ipa_tree_profile at profile-use and profile-generate time, they should have matching CFGs. If they don't then that's the bug.