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: "bircoph at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Mar 2012 15:11:04 +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 #7 from Andrew Savchenko <bircoph at gmail dot com> 2012-03-08 15:11:04 UTC ---
Ok, thanks for clarification. The problem is that I'm not a developer of this
program, I just maintain its package for Gentoo. To make things worse I can't
reproduce the build failure myself on any of my hosts. But users continue to
complain one after another, so this issue needs to be cleared out.
However, I can tell that -fno-implicit-templates was never used during
compilation and I can't find any extern template declarations in that code;
though code is rather sophisticated, I may missed something tricky.