[Bug c++/53210] warning for data member initialized with itself should be in -Wall

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 13 12:06:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53210

--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-09-13 12:05:49 UTC ---
(In reply to comment #3)
> Thus, Manuel, I suppose you still consider your patchlet pretty obvious? I
> would be willing to test and tweak the testsuite and submit and resolve this.

Either that or change the warning to use OPT_Winit_self. But that makes less
sense to me because Winit-selft has a very specific purpose, to override that
work-around used by GCC to silence Wuninitialized warnings, which does not
apply in this case. Thanks for taking care of this.



More information about the Gcc-bugs mailing list