https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127914
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Steve Kargl from comment #17) > (In reply to Jakub Jelinek from comment #14) > > > Or it could use > > extern void *(memrchr)(const void *, int, size_t); > > This appears to fix (or hide?) the issue. At least, my > bootstrap has made it through stage1. It's a valid fix, because the function-like macro defined in libc will not match the name memrchr when it's enclosed in parentheses. A funding like macro is only expanded by the preprocessor when following by an opening parenthesis, i.e. memrchr(
