https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119283
Bug ID: 119283
Summary: cobol FE uses memrchr unconditionally.
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: cobol
Assignee: unassigned at gcc dot gnu.org
Reporter: iains at gcc dot gnu.org
Target Milestone: ---
lexio.cc and scan-ante.h make unconditional use of memrchr which is not
available on all host platforms and currently not available via libiberty.
Since libiberty has coverage of other mem* functions it seems to me that a
reasonable solution would be to extend that support to cover memrchr.