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

ag0ae...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0ae...@gmail.com

--- Comment #4 from ag0ae...@gmail.com ---
(In reply to uplink.coder from comment #2)
> with -O -inline it crashes in the dwarf-emission.

For that crash the code can be reduced to this:

----
void t()
{
  auto a = A(false ? B().p : null);
}

struct A
{
  void* p;
}

struct B
{
  void* p;
  ~this() {}
}
----

`dmd -c -O test.d` crashes with "Internal error: ddmd/backend/dwarfeh.c 205".

--

Reply via email to