------- Comment #1 from redi at gcc dot gnu dot org 2009-11-11 11:50 ------- It would certainly be nice to get warnings about members that are not initialized in the constructor, I don't think GCC currently does that anywhere.
If you add -O then you will get a warning for the use of the member. It's unfortunate that this warning is missed without optimisation, but -Wuninitialized no longer warns if you use it without -O -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000