]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/38851 (Compiler warns about uninitialized variable that is an object...
authorRichard Guenther <rguenther@suse.de>
Mon, 26 Jan 2009 09:52:48 +0000 (09:52 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 26 Jan 2009 09:52:48 +0000 (09:52 +0000)
commitdc874b53e5529e2a76d610500345e1f469366346
tree54ab4727fc6dda034e3318ddcd386ab97f5de48c
parent20d4bdcbb1d88647bb05f54d1fdce955e49c25d7
re PR middle-end/38851 (Compiler warns about uninitialized variable that is an object with a constructor)

2009-01-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/38851
* Makefile.in (tree-ssa-dse.o): Add langhooks.h.
* tree-ssa-dse.c: Include langhooks.h
(execute_simple_dse): Remove stores with zero size.

* g++.dg/warn/Wuninitialized-1.C: New testcase.

From-SVN: r143672
gcc/ChangeLog
gcc/Makefile.in
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wuninitialized-1.C [new file with mode: 0644]
gcc/tree-ssa-dse.c