[Issue 15878] Discarding return value prevents inlining
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 24 11:22:32 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=15878
Stanislav Blinov <stanislav.blinov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stanislav.blinov at gmail.com
--- Comment #3 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
Did you add the -inline argument? I'm getting a different output:
Up to 2.063 : Failure with output: onlineapp.d(4): Error: pragma inline
unrecognized pragma(inline)
2.064 to 2.067.1: Failure with output: onlineapp.d(1): Error: pragma inline
unrecognized pragma(inline)
2.068.2 to 2.070.2: Success and no output
2.071.2 to 2.074.1: Failure with output: onlineapp.d(2): Error: function
onlineapp.foo cannot inline function
Since 2.075.1: Success and no output
Seeing the dance between 2.068 and 2.075, this probably needs to be made into a
compiler test.
--
More information about the Digitalmars-d-bugs
mailing list