I ran into a template-y ICE building a real app with gcc-4.0.1:
my-callback-specializations.h: At global scope: my-callback-specializations.h: In instantiation of '_MemberResultCallback_0_1<true, void, MyFlow, MyScheduler::Status>': my-flow.cc:894: instantiated from here my-callback-specializations.h:2064: internal compiler error: in write_template_arg_literal, at cp/mangle.c:2203 I'm trying to find a reduced testcase, but it might take a while. I'm posting this in case it rings a bell for anybody; maybe the ICE message is enough by itself for them to see what's wrong...?