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

          Issue ID: 17719
           Summary: compiler generates code for CTFE-only templates
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: c...@dawg.eu

Quite a few template functions that are only used as CTFE helpers end up in
final binaries, unnecessarily slowing down compilation and blowing up object
sizes.
Would be great if we could dismiss any instantions that are not used during
runtime.

--

Reply via email to