[Bug c++/38613] New: extern template suppresses VFT but should not

2008-12-23 Thread hstong at ca dot ibm dot com
;)': a.cpp:(.text._ZN1AIiEC2ERKS0_[A::A(A const&)]+0x1a): undefined reference to `vtable for A' a.o:a.cpp:(.text._ZN1AIiEC2ERKS0_[A::A(A const&)]+0x1e): more undefined references to `vtable for A' follow collect2: ld returned 1 exit status -- Summary: extern

[Bug c++/38613] extern template suppresses VFT but should not

2008-12-23 Thread hstong at ca dot ibm dot com
--- Comment #1 from hstong at ca dot ibm dot com 2008-12-23 21:34 --- Created an attachment (id=16975) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16975&action=view) Original test case Original test case entered in description. -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/38613] extern template suppresses VFT but should not

2008-12-23 Thread hstong at ca dot ibm dot com
--- Comment #4 from hstong at ca dot ibm dot com 2008-12-23 22:57 --- The proposed wording (N1987) for 14.7.2 paragraph 7 says: An explicit instantiation declaration that names a class template specialization has no effect on the class template specialization itself (except for perhaps

[Bug c++/38613] extern template suppresses VFT but should not

2008-12-23 Thread hstong at ca dot ibm dot com
--- Comment #6 from hstong at ca dot ibm dot com 2008-12-24 00:04 --- (In reply to comment #5) If you mean the lack of a diagnostic for a violation of a diagnosable rule in the following self-contained source, then yes. (Comeau produces a diagnostic for this violation of N2800 14.7.2

[Bug c++/39786] New: Qualified name lookup through different numbers of using directives

2009-04-16 Thread hstong at ca dot ibm dot com
ssigned at gcc dot gnu dot org ReportedBy: hstong at ca dot ibm dot com GCC build triplet: powerpc64-suse-linux GCC host triplet: powerpc64-suse-linux GCC target triplet: powerpc64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39786

[Bug c++/44996] New: decltype produces rvalue reference type for parenthesized id-expression

2010-07-19 Thread hstong at ca dot ibm dot com
roduct: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hstong at ca dot ibm dot com GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44996

[Bug c++/45401] New: [C++0x] reference collapsing and reference qualifiers

2010-08-24 Thread hstong at ca dot ibm dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hstong at ca dot ibm dot com GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45401