[Issue 23120] New: dmd illegal instruction throw expression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 17 20:49:34 UTC 2022


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

          Issue ID: 23120
           Summary: dmd illegal instruction throw expression
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kdevel at vogtner.de

throwexpr.d
-----------
void main ()
{
   auto q = throw new Exception ("test");
}

$ dmd throwexpr
Illegal instruction (core dumped)

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

Reprocible with the compiler used for the dlang.org website examples.

[1]
<http://forum.dlang.org/thread/vfkwhtigkvkmhtzalwaf@forum.dlang.org#post-vlgpkziypsnuqimyciqm:40forum.dlang.org>

--


More information about the Digitalmars-d-bugs mailing list