> The ICE here is because of a multi-versioned function called from > global namespace and has no caller. This ICEs in target hook > ix86_can_inline_p as caller is 0x0. The following simple patch > attached fixes this problem. > > * cp/call.c (build_over_call): Check if current_function_decl is > NULL. > * testsuite/g++.dg/ext/pr57548.C: New test.
ChangeLogs for cp/ must go into cp/ChangeLog without the cp/ prefix. -- Eric Botcazou