------- Comment #6 from reichelt at gcc dot gnu dot org 2005-11-17 11:08 ------- The following testcase crashes since GCC 2.95.3 except 3.1 and 3.2:
=============================== template<typename T> struct A { A() : T(0) {} }; A<int*> a; =============================== The error message with GCC 3.2 was: bug.cc: In constructor `A<T>::A() [with T = int*]': bug.cc:6: instantiated from here bug.cc:3: type `int*' is not a base type for type `A<int*>' So we have a regression. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Keywords| |monitored Known to fail|3.4.5 4.0.2 4.1.0 3.3.3 |3.4.5 4.0.2 4.1.0 2.95.3 |3.0.4 2.95.3 |3.0.4 3.2.1 3.2.3 3.3.6 Known to work| |3.1 3.2 Summary|ICE while trying to print |[3.4/4.0/4.1 regression] ICE |out error |while trying to print out | |error Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24278