Hello all, I have read that g++ supports the Borland model for removing duplicate template instantiation (elf_i368, ld version 2.20 >= 2.8). However, when I compile with the -frepro option, my executable gets smaller? What is the reason of that? Another thing is that when I compile with -fno-implicit-templates -DNO_IMPLICIT_TEMPLATES, my object file gets very large, because I do every possible template instantiation, but I do not care. What I do care is that the linker ld does not throw away unused template instantiation when generating the executable. Can I tell ld to do so? Thanks for any help. -- View this message in context: http://old.nabble.com/template-instantiation-tp29948224p29948224.html Sent from the gcc - Help mailing list archive at Nabble.com.