https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81360
--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Hmm, this is different issue introduced by Richard's change to reorder can inline and want inline. 2018-01-14 Richard Sandiford <richard.sandif...@linaro.org> * ipa-inline.c (want_inline_small_function_p): Return false if inlining has already failed with CIF_FINAL_ERROR. (update_caller_keys): Call want_inline_small_function_p before can_inline_edge_p. (update_callee_keys): Likewise. We want the very basic tests to come first i guess.... Honza