http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52248
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-16 20:21:07 UTC --- Another simple testcase: // { dg-do compile } // { dg-options "-ftime-report" } int f() { goto cleanup // { dg-error "cleanup" } }