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

--- Comment #6 from kinke <[email protected]> ---
(In reply to kinke from comment #5)
> Making `pragma(inline, true)` mean linkonce_odr emission into each 
> referencing 
> CU (and absolutely having to do nothing with actual inlining into callers)

That's wrong on my part; emitting the function into each referencing CU does
enable 'normal' inlining (excl. DMD with its AST-based inlining) in non-owning
CUs. It's basically a way to selectively enable potential cross-module/CU
inlining for a function, without extra inlining hints.

--

Reply via email to