------- Comment #5 from dodji at gcc dot gnu dot org 2008-08-13 12:57 -------
A simpler reproducer is:
1 template<typename T>
2 struct a
3 {
4 template <template <typename> class C, typename X, C<X>* =0>
5 struct b
6 {
7 };
8 };
9
10 void
11 foo ()
12 {
13 a<int> v;
14 }
gcc spits the following error:
void foo()
test.cc: At global scope:
test.cc: In instantiation of 'a<int>':
test.cc:13: instantiated from here
test.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
--
dodji at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35405