Re: dead code removal

2014-12-01 Thread Daniel Murphy via D.gnu
"Johannes Pfau" wrote in message news:m5enbm$2t0e$1...@digitalmars.com... The linker scripts also know about some details of the C/C++ codegen. For example attribute(constructor) needs support from linker scripts. (KEEP, SORT_NONE, PROVIDE_HIDDEN or similar) Without this support constructor cal

Re: dead code removal

2014-11-30 Thread Iain Buclaw via D.gnu
On 30 Nov 2014 09:20, "Johannes Pfau via D.gnu" wrote: > > Am Sun, 30 Nov 2014 01:52:57 + > schrieb "Mike" : > > > This has been brought up before: > > [1] > > http://forum.dlang.org/post/cqzazaqxpwezignix...@forum.dlang.org > > [2] > > http://forum.dlang.org/post/zapxhodqmotriapue...@forum.dl

Re: dead code removal

2014-11-30 Thread Johannes Pfau via D.gnu
Am Sun, 30 Nov 2014 01:52:57 + schrieb "Mike" : > This has been brought up before: > [1] > http://forum.dlang.org/post/cqzazaqxpwezignix...@forum.dlang.org > [2] > http://forum.dlang.org/post/zapxhodqmotriapue...@forum.dlang.org > > But I'd like to know what GDC's long term plans are to ena

dead code removal

2014-11-29 Thread Mike via D.gnu
This has been brought up before: [1] http://forum.dlang.org/post/cqzazaqxpwezignix...@forum.dlang.org [2] http://forum.dlang.org/post/zapxhodqmotriapue...@forum.dlang.org But I'd like to know what GDC's long term plans are to enable removing dead code from executables. (1) Adding a D-specif