[Issue 23433] New: [REG 2.081][ICE] Segmentation fault in dmd.blockexit.checkThrow at at src/dmd/blockexit.d:557

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 23 19:07:19 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23433

          Issue ID: 23433
           Summary: [REG 2.081][ICE] Segmentation fault in
                    dmd.blockexit.checkThrow at at src/dmd/blockexit.d:557
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

Reduced test case.

---
module object;

class Throwable { }
class Exception : Throwable { this(immutable(char)[]) { } }

void test4()
{
    try
        throw new Exception("ice");
    finally
    {
    }
}

--


More information about the Digitalmars-d-bugs mailing list