[Bug c/42724] Trivial uninitialized variable not spotted

2010-01-13 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-01-13 16:33 --- CCP removing the uninitialized value. *** This bug has been marked as a duplicate of 18501 *** -- manu at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/42724] Trivial uninitialized variable not spotted

2010-01-13 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-13 13:39 --- The uninitialized use is optimized away before we would warn about it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/42724] Trivial uninitialized variable not spotted

2010-01-13 Thread roche+gccbugs at exalead dot com
--- Comment #1 from roche+gccbugs at exalead dot com 2010-01-13 13:14 --- Created an attachment (id=19570) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19570&action=view) Test case that should produce a warning with -O -Wuninitialized -- http://gcc.gnu.org/bugzilla/show_bug.