re PR c++/2972 (-Wuninitialized could warn about uninitialized member variable usage...
authorRichard Biener <rguenther@suse.de>
Mon, 24 Apr 2017 07:34:51 +0000 (07:34 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Apr 2017 07:34:51 +0000 (07:34 +0000)
commitd21a8e3bc6325a94da178050181a4bcb7e017dfa
tree12b9e6a87f27dca7b5f2a5244498407cbf486b95
parent3c5b0ca4c5d8aa8a0f13a4e57b4f9cf4a9de48cb
re PR c++/2972 (-Wuninitialized could warn about uninitialized member variable usage in constructors)

2017-04-24  Richard Biener  <rguenther@suse.de>

PR c++/2972
* tree-ssa-uninit.c (warn_uninitialized_vars): Handle some
pointer-based references.

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

From-SVN: r247090
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wuninitialized-10.C [new file with mode: 0644]
gcc/tree-ssa-uninit.c