--
What|Removed |Added
Version|3.3.4 |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21157
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
--- 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
--- 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
--- 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