https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
--- Comment #28 from yan12125 <49tbwddbqeazdawz at chyen dot cc> --- Thanks, so that commit changes ABI - objects built by patched GCC will not link to unpatched libstdc++. I will stick to -Wno-restrict for now.