[Issue 24411] [CODEGEN] bad shl codegen

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 27 11:19:10 UTC 2024


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

--- Comment #2 from Manu <turkeyman at gmail.com> ---
Okay, my bad. It's in the spec!

Surprising; dlang uses prides itself on not having surprise invisible undefined
behaviour littered around your code.
This seems like a safety concern; it's conceivable an exploit could be written
taking advantage of this undefined behaviour.

--


More information about the Digitalmars-d-bugs mailing list