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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
On Solaris, when compiling this

#include <string.h>

__attribute__ ((weak))
int
f (int a)
{
   return memchr ("aE", a, 2) != NULL;
}

as C++ source, std::memchr is used and GCC doesn't treat std::memchr as
BUILT_IN_MEMCHR.

Reply via email to