This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51910] [4.7 Regression] -frepo linking failure


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]