[Issue 24873] New: dmd v2.109.1: static foreach over tuple: segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 23 00:38:27 UTC 2024


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

          Issue ID: 24873
           Summary: dmd v2.109.1: static foreach over tuple: segfault
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kdevel at vogtner.de

crash.d:
```
import std;

void main ()
{
   auto tup = tuple!(string, string, string);
   static foreach (j, t; tup)
   {
   }
}
```
$ dmd crash.d 
Segmentation fault
$ dmd --version
DMD64 D Compiler v2.109.1
Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved
written by Walter Bright

--


More information about the Digitalmars-d-bugs mailing list