Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ghoort1 at gmail dot com
Target Milestone: ---
I tried to compile debug version of code with many templates class.
There are
_usr_lib_gcc_x86_64-linux-gnu_4.9_cc1plus.1000.crash
cct1Lgt3.out
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010
--- Comment #1 from ghoort1 at gmail dot com ---
At GCC-5.1.1
/home/ghoort/projects/nfg/NFserver/StructDecoder.h:67:2: internal compiler
error: in tree_to_shwi, at tree.h:3856
}
^
0x806864 tree_to_shwi(tree_node const*)
../../src/gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010
--- Comment #3 from Andrey Chistyakov ---
Created attachment 36538
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36538&action=edit
crash file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68010
--- Comment #6 from Andrey Chistyakov ---
I simplified the Marcus' code:
Ghoort@blade /cygdrive/c/Projects/bug
$ cat c2.cpp
namespace boost {}
template
struct C {
};
template class StructDecoder : C {
public:
StructDecoder() {
namespa