March 11, 2023 [Issue 23774] New: [REG 2.103-beta] cannot inline function `core.bitop.Split64.this` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23774 Issue ID: 23774 Summary: [REG 2.103-beta] cannot inline function `core.bitop.Split64.this` Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: r.sagitario@gmx.de Compiling ``` import core.bitop; int foo(ulong x) { return bsr(x); } ``` with `dmd -c -m32 -inline -wi" produces: /dlang/dmd-beta/linux/bin64/../../src/druntime/import/core/bitop.d(45): Warning: cannot inline function `core.bitop.Split64.this` The assembly shows that the ctor is indeed not inlined. -- |
Copyright © 1999-2021 by the D Language Foundation