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

            Bug ID: 91238
           Summary: [9 Regression] internal compiler error: in add_expr,
                    at tree.c:7794
           Product: gcc
           Version: 9.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gdcproject dot org
  Target Milestone: ---

Something has changed between initial 9.1.0 release and the current
gcc-9-branch, going to bisect.

Mechanically reduced test:

class Package
{
    string name()
    {
        return "";
    }
}
class ProjectGenerator
{
    struct TargetInfo { }

    void configurePackages(Package rootPackage, TargetInfo[string] targets)
    {
        void collectDependencies(ref TargetInfo)
        {
        }
        collectDependencies(targets[rootPackage.name]);
    }
}

Reply via email to