http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52248

             Bug #: 52248
           Summary: [4.7 Regression] timevar ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ja...@gcc.gnu.org
                CC: cr...@gcc.gnu.org


// { dg-do compile }
// { dg-options "-ftime-report" }

void
foo ()
{
  __asm goto ("" : : : : lab);
}

ICEs with:
rh790221-4.C: In function ‘void foo()’:
rh790221-4.C:7:26: error: label ‘lab’ used but not defined
rh790221-4.C:8:1: internal compiler error: in timevar_start, at timevar.c:344
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Caused by the http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173277 commit.

Reply via email to