This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]