This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51910] [4.7 Regression] -frepo linking failure
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jan 2012 03:47:05 +0000
- Subject: [Bug c++/51910] [4.7 Regression] -frepo linking failure
- Auto-submitted: auto-generated
- References: <bug-51910-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51910
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-20 03:47:05 UTC ---
> From your comment, I take it there is some way to enable something like COMDAT
folding to remove the duplicated function instantiations?
That is the point of COMDAT so that duplicated function instantiations are not
done.
> Removing -frepo seems to bloat my executable.
Have you tried using -Wl,--gc-sections ?