[Issue 14748] Removing std.stdio import causes 2x increase in "Hello, world" program binary filesize
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 21 04:51:14 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14748
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |code at dawg.eu
--- Comment #9 from Martin Nowak <code at dawg.eu> ---
Can you guys please provide exact instructions to reproduce a bug.
I don't get any file size differences for the following program compiled with
2.067.1 vs. 2.068.0-b1 on a linux x64
cat > bug.d << CODE
import std.stdio;
void main()
{
writeln("Hello");
}
CODE
dmd bug && size bug
----
2.067.1
text data bss dec hex filename
413016 26440 2320 441776 6bdb0 bug
----
2.068.0-b1
text data bss dec hex filename
407761 25344 2416 435521 6a541 bug
Same for ld.bfd version 2.24 and ld.gold 1.11
--
More information about the Digitalmars-d-bugs
mailing list