[Issue 23934] Literal integer multiplication overflow is allowed in CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 25 01:18:00 UTC 2023


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ljmf00 created dlang/dmd pull request #15266 "constfold: multiplication should
check for overflow" fixing this issue:

- constfold: multiplication should check for overflow

  Fixes issue 23934.

  Signed-off-by: Luís Ferreira <contact at lsferreira.net>

https://github.com/dlang/dmd/pull/15266

--


More information about the Digitalmars-d-bugs mailing list