Aliasing 'this' in a C++ constructor
authorMarc Glisse <marc.glisse@inria.fr>
Fri, 18 May 2018 22:21:20 +0000 (00:21 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Fri, 18 May 2018 22:21:20 +0000 (22:21 +0000)
commitdc2ebc998a679294a672ecb4f585d66c9f10f56e
treeac4cbbf954c3597164ef4be19650cadd4f582b04
parent8b0cd47a1caedcd752884b1a785b7fc975530d18
Aliasing 'this' in a C++ constructor

2018-05-18  Marc Glisse  <marc.glisse@inria.fr>

PR c++/82899
gcc/
* tree-ssa-structalias.c (create_variable_info_for_1): Extra argument.
(intra_create_variable_infos): Handle C++ constructors.

gcc/testsuite/
* g++.dg/pr82899.C: New testcase.

From-SVN: r260383
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr82899.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c