[Bug c++/51270] missed warning about returning reference to temporary

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 11 16:42:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51270

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's a pity you need at least -O2 for the warnings, but I agree we can close it
as fixed.


More information about the Gcc-bugs mailing list