Bug 24526 – Upstream ldc optStrategy to disable optimizations in a function

Status
NEW
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-04-28T01:04:25Z
Last change time
2024-12-13T19:34:54Z
Keywords
industry
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole
Moved to GitHub: dmd#20446 →

Comments

Comment #0 by alphaglosined — 2024-04-28T01:04:25Z
Being able to disable optimizations guarantees that the backend will not subvert something that you explicitly wanted. ``@optStrategy("none")`` From core.attributes. This is useful for constant time equality for crypto libraries. A request from Adam Wilson.
Comment #1 by robert.schadek — 2024-12-13T19:34:54Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20446 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB