https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103297
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > (In reply to cqwrteur from comment #0) > > out_of_bounds_detector(buffer,buffer+7);//should give a hard error > > This looks like PR 70151 Or its dependent, PR 82876 > (In reply to cqwrteur from comment #1) > > std::string_view vw{lifetime_detector("abcde12124")}; > > return test2(vw); > > This might be PR 70331 Or PR 89757 or PR 98675 or PR 96630 *** This bug has been marked as a duplicate of bug 70151 ***