digitalmars.D.bugs - [Issue 24526] New: Upstream ldc optStrategy to disable optimizations
- d-bugmail puremagic.com (20/21) Apr 27 https://issues.dlang.org/show_bug.cgi?id=24526
https://issues.dlang.org/show_bug.cgi?id=24526 Issue ID: 24526 Summary: Upstream ldc optStrategy to disable optimizations in a function Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: alphaglosined gmail.com 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. --
Apr 27