This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38613] extern template suppresses VFT but should not
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2008 01:04:43 -0000
- Subject: [Bug c++/38613] extern template suppresses VFT but should not
- References: <bug-38613-17113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2008-12-24 01:04 -------
>If you mean the lack of a diagnostic for a violation of a diagnosable rule in
> the following self-contained source, then yes.
No I mean in the standard C++98 mode which had the same mention about explicit
instantiation definition (rather than declaration which is what extern template
is). From the sound of it we need to always emit the vtable which means we
will cause more code bloat ....
CCing Jason to get his thoughts about this.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38613