https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98609
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is not really possible, as the compiler assumes for -fno-sanitize-recover=vla that when we call the library routine, it never returns (it is noreturn).