[Issue 37] Inlining fails for functions with const parameters

2013-02-19 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=37 --- Comment #3 from Iain Buclaw 2013-02-19 12:59:31 UTC --- That's lovely. always_inline attribute has been removed from the set of available pragmas. Actually I might remove all gcc-related pragmas in the near future and replace with @attribut

[Issue 37] Inlining fails for functions with const parameters

2013-02-19 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=37 --- Comment #2 from Johannes Pfau 2013-02-19 11:43:55 UTC --- No, that error message was also reported by jerro and he added some pragma(always_inline) implementation to his copy of gdc. The error is reported either from ipa-inline.c or from ipa

Re: D.2.062 merge

2013-02-19 Thread Iain Buclaw
On 18 February 2013 08:16, Iain Buclaw wrote: > I do believe I saw a new release mentioned in announcements. So this will > be a priority to get done first and finished as soon as possible. > > Regards > Iain. > Once again, this is proving to be an [expletive] pain. I know Walter has been tying

[Issue 37] Inlining fails for functions with const parameters

2013-02-19 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=37 --- Comment #1 from Iain Buclaw 2013-02-19 09:24:42 UTC --- When you say force inlining, I take it you mean you are doing some trickery in the debugger. :-) -- Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email ---

Re: Inexplicable LDC vs GDC speed difference

2013-02-19 Thread Johannes Pfau
Am Thu, 14 Feb 2013 01:18:21 +0100 schrieb "jerro" : > On Wednesday, 13 February 2013 at 15:07:04 UTC, Joseph Rushton > Wakeling wrote: > > Here's reduced code that gives the same error when always_inline > is added to bar: > > int bar()(int x) > { > if (x) > return 0; >

[Issue 37] New: Inlining fails for functions with const parameters

2013-02-19 Thread gdc-bugzilla
http://gdcproject.org/bugzilla/show_bug.cgi?id=37 Bug #: 37 Summary: Inlining fails for functions with const parameters Classification: Unclassified Product: GDC Version: development Platform: x86_64 OS/Version: Linux