March 04, 2017
https://bugzilla.gdcproject.org/show_bug.cgi?id=255

            Bug ID: 255
           Summary: ICE on valid code
           Product: GDC
           Version: 6.x
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw@gdcproject.org
          Reporter: sebastien.alaiwan@gmail.com

The following program makes GDC crash:

class C3
{
  void f1()
  {
    class C0
    {
      void f2()
      {
        void f0()
        {
          class C0
          {
            void f0()
            {
              f1;
            }
          }
        }
      }
    }
  }
}

$ gdc test.d
test.d: In function ‘f0’:
test.d:15:15: internal compiler error: in get_decl_tree, at d/d-codegen.cc:501
               f1;
               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

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