digitalmars.D.bugs - [Issue 19693] New: core.bitop.bitswap fails to compile with -inline
- d-bugmail puremagic.com (24/24) Feb 22 2019 https://issues.dlang.org/show_bug.cgi?id=19693
https://issues.dlang.org/show_bug.cgi?id=19693 Issue ID: 19693 Summary: core.bitop.bitswap fails to compile with -inline Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: r.sagitario gmx.de Compile with "dmd -inline": import core.bitop; void main() { ulong y = 0x12345678; ulong x = bitswap(y); } /dlang/dmd/linux/bin64/../../src/druntime/import/core/bitop.d(817): Error: function `core.bitop.bitswap` cannot inline function Could also be considered a druntime issue as it uses pragma(inline,true). --
Feb 22 2019