www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23120] New: dmd illegal instruction throw expression


          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 puremagic.com
          Reporter: kdevel vogtner.de

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.

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

May 17 2022