June 04, 2023 [Issue 23963] New: Illegal instruction / segfalult with -preview=dip1021 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23963 Issue ID: 23963 Summary: Illegal instruction / segfalult with -preview=dip1021 Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: witold.baryluk+d@gmail.com Created attachment 1879 --> https://issues.dlang.org/attachment.cgi?id=1879&action=edit Minimized with dustmite dmd v2.104.0, Linux 64-bit ulong richards() { struct task { } int qpktcount = 0; int holdcount ; task* findtcb(int id) { task* t ; import std.stdio ; writefln!"\nBad task id %d"(id); return t; } return qpktcount ; } $ dmd -c -preview=dip1021 richards.reduced/richards.d Illegal instruction (core dumped) $ -- |
Copyright © 1999-2021 by the D Language Foundation