[Bug c++/63181] GCC should warn about "obvious" bugs in binding a reference to temporary

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 21 11:46:00 GMT 2019


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #4)
> This one should be moved to its own separate option per bug 7651

Indeed it should, and if we add -Wdangling-field then that would be the ideal
option to move it to.


More information about the Gcc-bugs mailing list