"bearophile" <bearophileh...@lycos.com> wrote in message news:thmrfdsenkmtasilh...@forum.dlang.org... > > Another weapon to attack the problem is introducing in the DMD back-end an > optimization (already present in LLVM, but I think not used on default), > merging of functions with the same body (leaving just a jump as the body > of the removed function, to keep their function pointers distinct).
This should be in the linker, not the backend. Keeping function pointers distinct is probably not that important, using shared libraries/dlls can (supposably) already break them.