This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49406] Inlining in inheritance seems broken
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 18:37:33 +0000
- Subject: [Bug c++/49406] Inlining in inheritance seems broken
- Auto-submitted: auto-generated
- References: <bug-49406-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49406
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-14 18:37:28 UTC ---
your program is invalid
if a function is declared inline in one translation unit (such as Base.c++)
then it must be declared inline in all translation units that refer to it