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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-10-16
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ah, it's more subtle than that. This isn't using the AC_CHECK_FUNCS in
libiberty/configure.ac, the header is being included as part of building
libstdc++ which doesn't explicitly check for memrchr. So HAVE_MEMRCHR is
undefined because no check was done for it by the libstdc++ build.

I think this needs a fix in libstdc++.

Reply via email to