Issue 20095 - core.internal.convert.toUbyte doesn't work with -betterC
Summary: core.internal.convert.toUbyte doesn't work with -betterC
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 All
: P3 normal
Assignee: No Owner
URL:
Keywords: betterC
Depends on:
Blocks:
 
Reported: 2019-08-01 21:17 UTC by Les De Ridder
Modified: 2024-12-07 13:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Les De Ridder 2019-08-01 21:17:56 UTC
`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 dlangBugzillaToGithub 2024-12-07 13:39:28 UTC
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