Re: Inlining problems again

2014-04-04 Thread Iain Buclaw
On 4 April 2014 14:42, Artur Skawina wrote: > On 04/04/14 15:14, Johannes Pfau wrote: >> Am Fri, 04 Apr 2014 11:52:13 +0200 >> schrieb Artur Skawina : >> >>> Built latest gcc4-8-based gdc (fdf0c614) today; immediately ran into >>> this: >>> >>> Which is much more reasonable, and shouldn't require

Re: Inlining problems again

2014-04-04 Thread Iain Buclaw
On 4 April 2014 14:42, Artur Skawina wrote: > On 04/04/14 15:14, Johannes Pfau wrote: >> Am Fri, 04 Apr 2014 11:52:13 +0200 >> schrieb Artur Skawina : >> >>> Built latest gcc4-8-based gdc (fdf0c614) today; immediately ran into >>> this: >>> >>> Which is much more reasonable, and shouldn't require

Re: Inlining problems again

2014-04-04 Thread Artur Skawina
On 04/04/14 15:42, Artur Skawina wrote: > On 04/04/14 15:14, Johannes Pfau wrote: >> Am Fri, 04 Apr 2014 11:52:13 +0200 >> schrieb Artur Skawina : >> >>> Built latest gcc4-8-based gdc (fdf0c614) today; immediately ran into >>> this: >>> >>> Which is much more reasonable, and shouldn't require such

Re: Inlining problems again

2014-04-04 Thread Artur Skawina
On 04/04/14 15:14, Johannes Pfau wrote: > Am Fri, 04 Apr 2014 11:52:13 +0200 > schrieb Artur Skawina : > >> 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/ fu

Re: Inlining problems again

2014-04-04 Thread Johannes Pfau
Am Fri, 04 Apr 2014 11:52:13 +0200 schrieb Artur Skawina : > 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

Inlining problems again

2014-04-04 Thread Artur Skawina
Built latest gcc4-8-based gdc (fdf0c614) today; immediately ran into this: This program: import std.array, std.algorithm; int main(string[] argv) { auto r = argv.filter!"a.length"().count(); return r&255; } compiles to: 004052e0 : 4052e0: 48 85 ff