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

            Bug ID: 108765
           Summary: ICE with non-local goto
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: muecker at gwdg dot de
  Target Milestone: ---

ICE. This is from simplifying PR107840, but seems to be a separate issue and a
new regression.

https://godbolt.org/z/xbT7rrqdW


int main()
{
    void foo(void)
    { 
            __label__ trgt; 

            void jmp(void)
        {
                goto trgt;   
        }
        trgt:   ;
        }

        foo();
}

Reply via email to