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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |11.0
             Status|UNCONFIRMED                 |NEW
            Summary|“#pragma GCC diagnostic     |[11 Regression] “#pragma
                   |ignored” ineffective in     |GCC diagnostic ignored”
                   |conjunction with alias      |ineffective in conjunction
                   |attribute                   |with alias attribute
   Last reconfirmed|                            |2021-01-05
     Ever confirmed|0                           |1
      Known to work|                            |10.2.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning looks for the location into which the memchr caller was inlined (to
see if the caller is defined in a system header but itself called from user
code).  Without the alias it doesn't find one (because the caller isn't called
from anywhere) but with the alias it finds the memchr caller, __rawmemchr_ppc.

Reply via email to