[Bug c++/101631] gcc permits object reference to object outside of its lifetime during constant evaluation
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 26 20:45:10 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
Last reconfirmed| |2021-07-26
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to fsb4000 from comment #0)
> (Obligatory godbolt: https://godbolt.org/z/6qG7v9eYx)
Godbolt links are not obligatory, but a testcase is. See
https://gcc.gnu.org/bugs
More information about the Gcc-bugs
mailing list