Sourced from: * gcc-mirror/gcc@53a9065 darwin-aarch64-config (for gcc-6.5.0 .. gcc-10.3.0) * gcc-mirror/gcc@834c874 darwin-aarch64-self-host-driver (for gcc-6.5.0 .. gcc-10.3.0) * gcc-mirror/gcc@590febb darwin-align-pch_address_space-to-16k (for gcc-6.5.0 .. gcc-9.2.0)
this is a critical wrong-codegen bug in gcc 9 and 10 that can have security impact, and oddly the fix still does not seem to have been backported, so just disable builtin memcmp expansion entirely until there's a known-good fix.
0017-pr93402.diff was dropped, as it was merged upstream.