------- Comment #3 from reichelt at gcc dot gnu dot org 2009-11-29 22:23 ------- Reduced testcase:
============================================ template<void (*)()> struct A {}; template<typename> void foo(); template<typename T> A<foo<T> > bar(); void baz() { bar<int>(); } ============================================ Versions before GCC 4.4.0 just crash on the code snippet. Since GCC 4.4.0 the compiler issues a sorry: bug.cc:5:33: sorry, unimplemented: mangling template_id_expr Is this an ABI defect, or can we make mangling work in this case? -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|WAITING |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code, rejects- | |valid Last reconfirmed|0000-00-00 00:00:00 |2009-11-29 22:23:42 date| | Summary|Internal compiler error |Trouble mangling |(ICE) Segmentation fault |template_id_expr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38600