Bug 20415 – ice in dwarfeh and when optimizations are enabled
Status
RESOLVED
Resolution
WORKSFORME
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-11-24T10:14:15Z
Last change time
2021-03-18T09:30:08Z
Keywords
EH, ice
Assigned to
No Owner
Creator
Basile-z
Comments
Comment #0 by b2.temp — 2019-11-24T10:14:15Z
---
#!dmd -O
void t()
{
auto a = A(false ? B().p : null);
}
struct A
{
void* p;
}
struct B
{
void* p;
~this() {}
}
---
Comment #1 by dlang-bot — 2019-11-29T18:46:24Z
@RazvanN7 created dlang/dmd pull request #10630 "Fix Issue 20415 - ice in dwarfeh and when optimizations are enabled" fixing this issue:
- Fix Issue 20415 - ice in dwarfeh and when optimizations are enabled
https://github.com/dlang/dmd/pull/10630
Comment #2 by razvan.nitu1305 — 2019-11-29T18:49:59Z
This is a regression from 2.069.2
Comment #3 by b2.temp — 2021-03-18T07:47:38Z
fixed at some point
Comment #4 by dlang-bot — 2021-03-18T09:30:08Z
dlang/dmd pull request #12285 "issue 20415 - add test case" was merged into master:
- a569c2b3297b7058865f4c0dc47ca09b7d1dcd70 by Basile Burg:
issue 20415 - add test case
Issue closed as WORKSFORME because it was fixed at some point.
Add the original test case in case of.
https://github.com/dlang/dmd/pull/12285