Bug 20095 – core.internal.convert.toUbyte doesn't work with -betterC

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2019-08-01T21:17:56Z
Last change time
2024-12-07T13:39:28Z
Keywords
betterC
Assigned to
No Owner
Creator
Les De Ridder
Moved to GitHub: dmd#17180 →

Comments

Comment #0 by dlang — 2019-08-01T21:17:56Z
`core.internal.convert.toUbyte`, and by extension `core.internal.hash.hashOf`, doesn't work in -betterC because of the CTFE path using dynamic allocation. See discussion at https://github.com/dlang/druntime/pull/2710
Comment #1 by robert.schadek — 2024-12-07T13:39:28Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17180 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB