++
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
--
What|Removed |Added
Version|3.3.4 |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21157
--- Additional Comments From leslie dot barnes at amd dot com 2005-04-18
06:38 ---
(In reply to comment #2)
You want:
template
MyTypeSample list;
char *MyTypeSample::name = Hello\n;
The following code seg faults with g++ 3.4.3. If I remove the template ,
it won't compile. On g
--- 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 faults
--- 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 MyTypeSample;
template std::mapchar*,char* MyTypeSample::m_map;
First, the instantiation must come *after