[Bug 161] GDC prevents backend from removing dead functions

via D.gnu d.gnu at puremagic.com
Sun May 3 05:45:31 PDT 2015


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #2)
> 
> When compiling the module, 'private bailOut' is would be seen as unused, and
> so considered as a candidate for removal.  However, external modules that
> instantiate 'public enforce' would indirectly need bailOut to exist.
> 

Even if 'private bailOut' is not removed.  It still requires that TREE_PUBLIC
be set on the symbol so that it is accessible at link-time.

-- 
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/20150503/13f8473c/attachment.html>


More information about the D.gnu mailing list