October 01
https://issues.dlang.org/show_bug.cgi?id=24787

          Issue ID: 24787
           Summary: Error signed integer overflow
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: cr@tagion.org

Created attachment 1918
  --> https://issues.dlang.org/attachment.cgi?id=1918&action=edit
Test program

The value long.min written as decimal results in an overflow error, both for ldc2 and dmd.


long z=-9223372036854775808L;

Error: signed integer overflow

Compiler used
dmd --version
DMD64 D Compiler v2.109.0-rc.1
Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved
written by Walter Bright

ldc2 --version
LDC - the LLVM D compiler (1.39.0):
  based on DMD v2.109.1 and LLVM 18.1.6
  built with LDC - the LLVM D compiler (1.39.0)

--