https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103297
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to cqwrteur from comment #0) > out_of_bounds_detector(buffer,buffer+7);//should give a hard error This looks like PR 70151 (In reply to cqwrteur from comment #1) > std::string_view vw{lifetime_detector("abcde12124")}; > return test2(vw); This might be PR 70331