[Bug c++/14379] ICE in tsubst with declaring then defining a member template

2004-10-08 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-08 13:13 --- Well, we accept the following code since gcc 3.0. We rejected it in 2.95.x, but for a wrong reason ;-) template struct A { template void foo(T);

[Bug c++/14379] ICE in tsubst with declaring then defining a member template

2004-10-08 Thread reichelt at gcc dot gnu dot org
--- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-08 13:05 --- I've got good news and bad news. The good news is that the original testcase compiles. This is most probably due to Mark's patch http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00645.html http://gcc.gnu.org/