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

          Issue ID: 16547
           Summary: -betterC switch no longer removes druntime symbols
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Example program:

    import core.stdc.stdio;

    extern(C) void main()
    {
        printf("Hello World!\n");
    }

When building an executable and using the -betterC flag using DMD v2.070.0 the
symbols emitted from the above program are thus:

0000000000000000 T _main
                 U _printf

Starting from DMD v2.071.0 the druntime information is not omitted from the
executable and there are over two thousand symbols inside.

Reference thread:
http://forum.dlang.org/thread/[email protected]

--

Reply via email to