[Bug c++/48829] g++ no warning initializing a variable using itself

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 21 10:11:00 GMT 2018


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Well, that one already does. So I'd expect std::string("str") + s and f(i) to
do so as well.


More information about the Gcc-bugs mailing list