www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14748] New: Removing std.stdio import causes 2x increase in

https://issues.dlang.org/show_bug.cgi?id=14748

          Issue ID: 14748
           Summary: Removing std.stdio import causes 2x increase in
                    "Hello, world" program binary filesize
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

https://github.com/D-Programming-Language/phobos/pull/3443#issuecomment-116250557

This looks like a Phobos regression caused by a compiler bug.

To reproduce, you can use Digger:

digger build e2dc1a631d1b0bd3eb751c6b7f6d70cfdc5b40c1 # old, small executable
digger build f1bf3d208546728d433de7b3d53631497846b117 # new, big executable

--
Jun 29 2015