www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC LTO inlining problems (was [Bug 61])

On 12 July 2014 14:30, Artur Skawina via D.gnu <d.gnu puremagic.com> wrote:
 On 07/12/14 11:42,  via D.gnu wrote:
  Iain Buclaw <mailto:ibuclaw gdcproject.org>  changed bug 61
<http://bugzilla.gdcproject.org/show_bug.cgi?id=61>
 Going to say fixed... provisionally :)

 https://github.com/D-Programming-GDC/GDC/commit/28d98308d02942984ead0cba03ff043eed26a8ad
Tried it - ICEs are gone and it seems to work. Thanks for investigating and fixing that. Cross-language (tested C+D) inlining now works again. Unfortunately the D inlining problems described in http://forum.dlang.org/post/mailman.75.1396605155.19942.d.gnu puremagic.com are still present. Any chance of a fix (or workaround)?
Is there a bug report for this? I would say proceed with caution on the LTO front for the moment. I'd like to have some result testing on small to medium sized projects first with -flto before pushing this. Regards Iain.
Jul 12 2014