April 28 [Issue 24526] New: Upstream ldc optStrategy to disable optimizations in a function | ||||
---|---|---|---|---|
| ||||
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. -- |
Copyright © 1999-2021 by the D Language Foundation