This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13768] C++ fails to diagnose invalid code(calling a non exitsing function in a template class) in non unit-at-a-time mode
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2004 17:23:11 -0000
- Subject: [Bug c++/13768] C++ fails to diagnose invalid code(calling a non exitsing function in a template class) in non unit-at-a-time mode
- References: <20040120110040.13768.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-02-05 17:23 -------
No, sorry, the code is not invalid per-se. It's just unspecified, so both the
unit-at-a-time and the function-at-a-time behaviours are correct. Mark is
asking if the vtable is emitted or not. If it's not emitted, then it's correct
that the function is not instantiated, and the bug is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |giovannibajo at libero dot
| |it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13768