https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86907
--- Comment #6 from Jürgen Reuter <juergen.reuter at desy dot de> --- Indeed, with --enable-checking=release on MACOSX and default option (which is --enable-checking=yes) if I understand it correctly, the warning seems not to be present. I didn't test --enable-checking=yes on MACOSX but I believe this could be closed as WORKSFORME.