https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97945

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED
          Component|ipa                         |c
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is a user error.
The C99 and later standards mandate this behavior.
Either use static inline, or in one TU you need to use extern inline, or use
the GNU inline semantics.

Reply via email to