[Bug tree-optimization/98512] [11 Regression] “#pragma GCC diagnostic ignored” ineffective in conjunction with alias attribute

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 19:02:43 GMT 2021


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-January/563862.html

A workaround until the patch is approved, is to move the warning suppression
pragmas above the the function declaration.


More information about the Gcc-bugs mailing list