--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-30 10:37 ---
It's optimized away before giving us a chance to warn about it. Such is life.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-30
03:13 ---
(In reply to comment #1)
Sorry, it should be pr42905.cc, not 1.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42905
--
d dot g dot gorbachev at gmail dot com changed:
What|Removed |Added
Severity|normal |enhancement
Keywords||d
--- 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