Bug 17719 – compiler generates code for CTFE-only templates

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-08-03T20:59:08Z
Last change time
2024-12-13T18:53:50Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#19296 →

Comments

Comment #0 by code — 2017-08-03T20:59:08Z
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.
Comment #1 by robert.schadek — 2024-12-13T18:53:50Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19296 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB