https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104141
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like clang does not always do access checking for static functions calls inside requires. I know GCC has a bug there for dealing with caching in the wrong context (I don't have the bug #).