[Issue 23816] New: Typing invalid mnemonic in asm{} block segfaults

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 30 11:05:28 UTC 2023


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

          Issue ID: 23816
           Summary: Typing invalid mnemonic in asm{} block segfaults
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: naydef at abv.bg

According to run.dlang.io, issue introduced in DMD 2.102.1

Code:
---------------------------------------
void main()
{
    asm
    {
        NOP;
    }
}
---------------------------------------

Result (DUB with DMD 2.102.2 Linux):
Error /home/ndf/dlang/dmd-2.102.2/linux/bin64/dmd failed with exit code -11.

--


More information about the Digitalmars-d-bugs mailing list