This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...
- From: "Fons.Rademakers at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Mar 2012 21:16:57 +0000
- Subject: [Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...
- Auto-submitted: auto-generated
- References: <bug-40056-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056
--- Comment #11 from Fons Rademakers <Fons.Rademakers at cern dot ch> 2012-03-08 21:16:57 UTC ---
Hi Andrew,
the source code now (r43307) uses explicit instantiation and should work on
Gentoo with all compiler versions and optimization levels.
If you want older versions to work remove the conditionals at the bottom of
io/io/Module.mk.
Issue can be closed.
Cheers, Fons.