[Issue 14758] TypeInfo causes excessive binary bloat
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 21 06:03:05 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14758
--- Comment #13 from Mike <slavo5150 at yahoo.com> ---
(In reply to Martin Nowak from comment #10)
> I don't think you can properly use D on a small SoC with TypeInfo or
> ModuleInfo.
Yes, it is seldom needed, but the current toolchain implementation is too
tightly coupled to it, so it's not so easily removed. See
http://forum.dlang.org/post/nfqgmfvixhgjsvtvmnsk@forum.dlang.org for a relevant
discussion.
> Please try the -betterC switch, it's supposed to avoid all runtime
> dependencies.
If you look at the example posted in the initial comment of this issue, you
will see that the -betterC switch was used, yet the dead code remains.
--
More information about the Digitalmars-d-bugs
mailing list