[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
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Thu Feb 5 17:23:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list