[Issue 23520] pragma(inline, false) not applied to nested function declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 2 23:17:43 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23520

--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8642 "std.math.hardware: Fix broken IEEE FP flags
tests" was merged into master:

- 36b2f9c6aa3d705c9b2c019ebf4480b5980502ad by Iain Buclaw:
  std.math.hardware: Fix broken IEEE FP flags tests

  1. The `pragma(inline, false)` doesn't do what the author thinks it does
     (Issue 23520).
  2. Change that introduced `blockopt` seems to have a slight
     misunderstanding about what constant propagation is (`a /= 0.0L` can
     always be constant propagated regardless of what surrounds it).
  3. Undocument tests that depend on the need for forcing operations to
     disarm the optimizer, and replace with simple tests behind StdDdoc.

https://github.com/dlang/phobos/pull/8642

--


More information about the Digitalmars-d-bugs mailing list