https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62005
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #4) > Compiling without RTL checking but with -fkeep-inline-functions > probably warns as well then. Uh, for some reason -fkeep-inline-functions does not preserve static functions, but it does preserve static inline functions (so it warns if I add "inline" on the definition of get_ivts_expr). I couldn't find a -fkeep-static-functions.