https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116130
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The FE part is now implemented (and handling it in the middle end if there are no pointer/reference arguments too), but improving handling of functions with those attributes with pointer/reference arguments in the middle-end is still not done.