Inlining problems again

Johannes Pfau nospam at example.com
Fri Apr 4 06:14:30 PDT 2014


Am Fri, 04 Apr 2014 11:52:13 +0200
schrieb Artur Skawina <art.08.09 at gmail.com>:

> Built latest gcc4-8-based gdc (fdf0c614) today; immediately ran into
> this:
> 
> Which is much more reasonable, and shouldn't require such hacks.
> I thought that inlining /templated/ functions across modules already
> worked; is this a different problem, and, more importantly, is it
> fixable?
> 
> artur
> 

Please try to reduce such examples in the future ;-)

http://goo.gl/SJ0iEq
http://goo.gl/ykumCI

@property bool empty(T)(in T[] a) @safe pure nothrow

it's the 'in' which causes inlining to fail (const also fails).


More information about the D.gnu mailing list