http://d.puremagic.com/issues/show_bug.cgi?id=4655

           Summary: goto to a try block ICEs
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: baseball....@gmail.com


--- Comment #0 from Michael P <baseball....@gmail.com> 2010-08-16 12:43:27 PDT 
---
This is most likely related to something done for Issue 4339.

void main()
{   
    goto L1;
    try 
    { 
        L1:
            int a;
    }
    catch { }
}

produces:

Internal error: ../ztc/cgcod.c 989

This is a regression, as the error "test.d(6): Error: cannot goto forward into
different try block level" is raised in 1.062.

Note that moving the "goto L1;" line below the try/catch/finally produces the
error "test.d(9): Error: cannot goto into try block" on both dmd 1.062 and
1.063.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to