https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56727
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Yuri Gribov from comment #12) > Inlining inline functions is fine due to ODR rule. ODR doesn't apply just to inline functions. So all semantic interposition, except for the case when both functions do the very same thing, is ODR violation. But many programs and libraries rely on it heavily.