http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53574
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-06-19 Ever Confirmed|0 |1 --- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-06-19 08:20:04 UTC --- This also crashes debug_tree on the decl from within the debugger. It seems that lang_decl_name can do a fair amount of processing if v >= 2. Additionally passing TFF_NO_FUNCTION_ARGUMENTS from there fixes the crash (and would be sufficient for -fstack-usage), but this breaks __PRETTY_FUNCTION__ for example. A possible solution would be to set TFF_NO_FUNCTION_ARGUMENTS if v == 2 and use level 3 internally (in error.c and in pt.c for __PRETTY_FUNCTION__). FWIW the Ada front-end doesn't print the arguments if v == 2.