This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/53831] [4.7/4.8 Regression] Virtuals missing in LTO symtab
- From: "tetra2005 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jul 2012 15:34:02 +0000
- Subject: [Bug lto/53831] [4.7/4.8 Regression] Virtuals missing in LTO symtab
- Auto-submitted: auto-generated
- References: <bug-53831-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53831
--- Comment #23 from Yuri Gribov <tetra2005 at gmail dot com> 2012-07-10 15:34:02 UTC ---
The C++ Standard says that "an inline function shall be defined in every
translation unit in which it is used" (n1905, 7.1.2). The test in question
violates this rule: definition for C::f() is present only in impl.cpp.
Should we consider the test invalid?