This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14390] New: ICE in tsubst with instantiation of overloaded template
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2004 19:51:07 -0000
- Subject: [Bug c++/14390] New: ICE in tsubst with instantiation of overloaded template
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
>From the last example in PR 14389:
----------------------
struct S {
template< typename _A > void foo();
template< int _i > void foo();
};
template< typename _A > void S::foo() {}
template void S::foo< 0 >();
----------------------
This ICEs all my compilers like so:
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -c x.cc
x.cc:6: internal compiler error: in tsubst, at cp/pt.c:6737
Please submit a full bug report,
W.
--
Summary: ICE in tsubst with instantiation of overloaded template
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bangerth at dealii dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14390