https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 38145 [details]
> patch
>
> Attached patch seems to work OK on Linux and removes all string.h includes
> from chkp-str* tests. I believe this should resolve all related issues
> on Darwing and other targets.
>
> Could you please test it on Darwin?
The patch fixes the issues on darwin:
[Book15] build_w/gcc% make -k check-gcc RUNTESTFLAGS="i386.exp=chkp*
--target_board=unix'{-m32,-m64}'"
...
=== gcc Summary for unix/-m64 ===
# of expected passes 63
# of unsupported tests 6
=== gcc Summary ===
# of expected passes 126
# of unsupported tests 12
/opt/gcc/build_w/gcc/xgcc version 6.0.0 20160330 (experimental) [trunk
revision 234577p26] (GCC)
make[1]: Leaving directory '/opt/gcc/build_w/gcc'