Created attachment 25127 [details] testcase Compile with `g++-4.7.0 -O -fno-implicit-templates 1.cc 2.cc'. GOLD gives warnings: function main: warning: relocation refers to discarded section function vtable for Beth<int>: warning: relocation refers to discarded section BFD LD remains silent. Appeared between rev. 174012 and 176963.
Fixed by r178809. *** This bug has been marked as a duplicate of bug 49533 ***