[Bug c++/21157] internal compiler error: in lookup_member, at cp/search.c:1287

2005-04-21 Thread leslie dot barnes at amd dot com
-- What|Removed |Added Version|3.3.4 |3.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21157

[Bug c++/21157] New: internal compiler error: in lookup_member, at cp/search.c:1287

2005-04-21 Thread leslie dot barnes at amd dot com
Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: leslie dot barnes at amd dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21157

[Bug c++/17445] too few template-parameter-lists

2005-04-18 Thread leslie dot barnes at amd dot com
--- Additional Comments From leslie dot barnes at amd dot com 2005-04-19 00:02 --- (In reply to comment #6) > This code has at least two bugs: > > template class MyType; > template <> std::map MyType::m_map; > > First, the instantiation must come *afte

[Bug c++/17445] too few template-parameter-lists

2005-04-18 Thread leslie dot barnes at amd dot com
--- Additional Comments From leslie dot barnes at amd dot com 2005-04-18 13:37 --- (In reply to comment #4) > A segfault in GCC is always a bug, even if the code is wrong. Would you > please > open a new bugreport about it? Sorry, I wasn't clear. The binary seg f

[Bug c++/17445] too few template-parameter-lists

2005-04-17 Thread leslie dot barnes at amd dot com
--- Additional Comments From leslie dot barnes at amd dot com 2005-04-18 06:38 --- (In reply to comment #2) > You want: > template<> > MyType list; > char *MyType::name = "Hello\n"; The following code seg faults with g++ 3.4.3. If I remove the "temp