2017-12-08 Richard Biener <rguenther@suse.de>
commitdd554eab241aed40196e5b48f774392e8382a6c6
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Dec 2017 14:45:30 +0000 (8 14:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Dec 2017 14:45:30 +0000 (8 14:45 +0000)
treecab7b6a3f4bab57135917c736bfa2bee10fc9c26
parente12e201d8c035312ad3a3edaff84e7f911d5b24f
2017-12-08  Richard Biener  <rguenther@suse.de>

PR middle-end/81782
* tree-ssa-uninit.c (warn_uninitialized_vars): Properly
handle accesses outside of zero-sized vars.

* gcc.dg/uninit-pr81782.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255512 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/uninit-pr81782.c [new file with mode: 0644]
gcc/tree-ssa-uninit.c