http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48483
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-04-06 19:20:02 UTC --- > No warnings and deep stillness. $ g++ -O -Wuninitialized pr48483.cc pr48483.cc: In function 'int main()': pr48483.cc:13:30: warning: 'a.A::b' is used uninitialized in this function From <http://gcc.gnu.org/onlinedocs/gcc-4.5.2/gcc/Warning-Options.html#index-Wuninitialized-309>: Because these warnings depend on optimization, the exact variables or elements for which there are warnings will depend on the precise optimization options and version of GCC used.