re PR c++/64667 (-Winit-self ignored for reference fields)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 29 Apr 2015 14:06:27 +0000 (14:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 29 Apr 2015 14:06:27 +0000 (14:06 +0000)
commit0aa359c18fe4b3373bae59b3c7e414dbe027c19b
tree1df0facf2041e7f8034b926afd941b9a94a8b633
parent72d33bd3d2045888b6fc2c6e651d54a8fe2a598a
re PR c++/64667 (-Winit-self ignored for reference fields)

/cp
2015-04-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/64667
* init.c (perform_member_init): Handle references for -Winit-self.

/testsuite
2015-04-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/64667
* g++.dg/warn/Winit-self-3.C: New.

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