[Bug 161] GDC prevents backend from removing dead functions

via D.gnu d.gnu at puremagic.com
Wed Apr 8 14:08:20 PDT 2015


http://bugzilla.gdcproject.org/show_bug.cgi?id=161

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Isn't this what LTO/strip is used for?

Actually, it's mark_needed in d-objfile.cc that forces it's write to objfile. 
It's needed for sure, otherwise phantom linker errors crop up in larger / heavy
templated projects.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150408/b9c8e1c0/attachment.html>


More information about the D.gnu mailing list