------- Comment #1 from d dot g dot gorbachev at gmail dot com  2010-01-30 
03:08 -------
Created an attachment (id=19758)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19758&action=view)
Testcase

g++ -O -Wuninitialized -S 1.cc

Older g++s issue a warning:

pr42905.cc: In function ‘void f()’:
pr42905.cc:5: warning: ‘s.S::i’ is used uninitialized in this function
pr42905.cc:11: note: ‘s.S::i’ was declared here


-- 


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

Reply via email to