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

kdevel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from kdevel <[email protected]> ---
(In reply to mhh from comment #2)
> More detail, seems to require -O to go boom

z1.d
----
void foo (int i)
{
   int j = i == 1
      ? 7
      : assert (0);
}

$ dmd z1
Illegal instruction
$  dmd --version
DMD64 D Compiler v2.100.0
Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved
written by Walter Bright

--

Reply via email to