Bug 20996 – -preview=dip1021 ICE given one liner throw program
Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Other
Creation time
2020-06-30T15:22:44Z
Last change time
2020-07-01T06:11:26Z
Keywords
ice
Assigned to
No Owner
Creator
Bruce Carneal
Comments
Comment #0 by bcarneal11 — 2020-06-30T15:22:44Z
void main() { import std.exception; throw new Exception(""); }
With -preview=dip1021 on the command line, the above elicits an ICE (seg fault).
If this is fixed 20994 will likely be fixed as well.
Comment #1 by moonlightsentinel — 2020-06-30T19:16:26Z
*** This issue has been marked as a duplicate of issue 20995 ***
Comment #2 by bcarneal11 — 2020-06-30T19:41:27Z
*** Issue 20994 has been marked as a duplicate of this issue. ***