https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > return std::tie(a,b); That returns a reference to the two local variables. Both have now gone out of scope.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 14 Jan 2023 09:59:03 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > return std::tie(a,b); That returns a reference to the two local variables. Both have now gone out of scope.