[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2012-03-08 Thread bircoph at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056 --- Comment #12 from Andrew Savchenko 2012-03-08 23:27:15 UTC --- Hello, (In reply to comment #10) > No, they aren't just like normal functions. > > Maybe you should read > http://www.parashift.com/c++-faq-lite/templates.html#faq-35.12 Thank y

[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2012-03-08 Thread bircoph at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056 --- Comment #9 from Andrew Savchenko 2012-03-08 20:44:24 UTC --- (In reply to comment #8) > Looking at the preprocessed source I see that the member function template > TStreamerInfo::ReadBuffer is declared in TStreamerInfo.h but only defined in

[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2012-03-08 Thread bircoph at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056 --- Comment #7 from Andrew Savchenko 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 failu

[Bug c++/40056] implicit instantiation of function templates fails with -O2, works with -O and -g...

2012-03-08 Thread bircoph at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056 Andrew Savchenko changed: What|Removed |Added CC||bircoph at gmail dot com --- Comment