https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70353
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- I haven't had time to debug it beyond observing in the debugger that remap_decls() defined in tree-inline.c calls add_local_decl() with the first argument of null. The argument is cfun (function*). Both __func__ and __FUNCTION__ also trigger the same ICE.