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

            Bug ID: 123046
           Summary: d: ICE in gimplify_expr with const ref noreturn
                    parameters
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: ibuclaw at gcc dot gnu.org
  Target Milestone: ---

```
module object;

alias noreturn = typeof(*null);

ulong pure_hashOf (const ref noreturn key)
{
  return hashOf (key);
}

ulong hashOf (const noreturn val)
{
  return 0;
}
```

Reply via email to