re PR c++/18016 (Warn about member variables initialized with itself)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Mon, 23 May 2011 08:15:16 +0000 (08:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 23 May 2011 08:15:16 +0000 (09:15 +0100)
commitc11e39b0bdfc580582012fe56f0cce1b84f064f4
tree3b87380a633beb61c227f25ea2c76e0edc6884d4
parentbc69f7ffb57a35be61feb20e4a7b4300c8d1de24
re PR c++/18016 (Warn about member variables initialized with itself)

2011-05-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR c++/18016
* init.c (perform_member_init): Check for self-initialization.

From-SVN: r174058
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/pr18016.C [new file with mode: 0644]