[Bug 274] New: ice-on-valid: member of recursively templated

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Mon Oct 16 19:09:51 UTC 2017


https://bugzilla.gdcproject.org/show_bug.cgi?id=274

            Bug ID: 274
           Summary: ice-on-valid: member of recursively templated
           Product: GDC
           Version: development
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw at gdcproject.org
          Reporter: sebastien.alaiwan at gmail.com

void f()
{
  static class MyClass
  {
    MySmartPointer!MyClass m_member;
  }
}

struct MySmartPointer (T)
{
  T owner;
}

$ gdc crash.d
cc1d: ../../src/gcc/d/dfrontend/optimize.c:628: virtual void
Expression_optimize(Expression*, int, bool)::OptimizeVisitor::visit(CastExp*):
Assertion `cdfrom->sizeok == SIZEOKdone' failed.
cc1d: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the D.gnu mailing list