[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

2004-11-12 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-13 00:33 --- A reduced testcase is the following: template void foo(); template > struct A { template A(T); }; A<> a(0); The bug

[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

2004-11-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-11 23:30 --- Note the code has some invalid C++ in that if you compile with 3.4.0 you will get some errors. Also I could reproduce this on a 3.3 based compiler from Apple. Also I don't get the ICE on the mainline comp

[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

2004-11-11 Thread mark at easterbrook dot org dot uk
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11 22:21 --- (From update of attachment 7521) The error occured when the template at line 32849 was added: template class... If this is removed the error does not occur (obviously the code won't then compile becaus

[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

2004-11-11 Thread mark at easterbrook dot org dot uk
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11 22:17 --- Created an attachment (id=7521) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7521&action=view) Intermediate file (.ii) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18435

[Bug c++/18435] internal compiler error: in tsubst, at cp/pt.c:6646

2004-11-11 Thread mark at easterbrook dot org dot uk
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11 22:15 --- Created an attachment (id=7520) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7520&action=view) Output from gcc -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18435