Re: [PATCH] libiberty, gcc: Add memrchr to libiberty and use it [PR119283].

2025-03-27 Thread Richard Biener
On Fri, Mar 21, 2025 at 11:01 AM Iain Sandoe wrote: > > It seems that libiberty already has replacements for most of the > mem* functions, but they are not published via include/libiberty.h. > > Tested on x86_64 Linux, Darwin aarch64 Linux, OK for trunk? OK. Richard. > thanks, > Iain > > --- 8<

[ping] [PATCH] libiberty, gcc: Add memrchr to libiberty and use it [PR119283].

2025-03-27 Thread Iain Sandoe
this (or an alternate implementation) is needed for the cobol FE to build on darwin, > On 21 Mar 2025, at 10:00, Iain Sandoe wrote: > > It seems that libiberty already has replacements for most of the > mem* functions, but they are not published via include/libiberty.h. > > Tested on x86_64 Li

[PATCH] libiberty, gcc: Add memrchr to libiberty and use it [PR119283].

2025-03-21 Thread Iain Sandoe
It seems that libiberty already has replacements for most of the mem* functions, but they are not published via include/libiberty.h. Tested on x86_64 Linux, Darwin aarch64 Linux, OK for trunk? thanks, Iain --- 8< --- This adds an implementation of memrchr to libiberty and arranges to configure g