https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81696

            Bug ID: 81696
           Summary: ICF ICE on non-local goto
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

int
main ()
{
  __label__ lab4, lab5, lab6;
  void foo (void) { goto lab4; }
  void bar (void) { goto lab5; }
  void baz (void) { goto lab6; }
  foo ();
 lab4:;
  bar ();
 lab5:;
  baz ();
 lab6:;
  return 0;
}

ICEs at -O2 somewhere in ICF.

Reply via email to