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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Why not?  You specified -Winline.  And I don't see what -g has got to do with
it.

clang doesn't warn because the warning has no effect there:
https://releases.llvm.org/13.0.0/tools/clang/docs/DiagnosticsReference.html#winline

-Winline

This diagnostic flag exists for GCC compatibility, and has no effect in Clang.

Reply via email to