PR c++/78495 - wrong code inherited ctor and invisi-ref parm
authorNathan Sidwell <nathan@acm.org>
Fri, 20 Jan 2017 17:53:44 +0000 (17:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 20 Jan 2017 17:53:44 +0000 (17:53 +0000)
commit4b9f2115114eb2c3acee32ed1898201a761fd215
tree7262c5cac6c88e5b1835b9d970045eb9e0c66ce7
parentf14d2c52d4c815b89513abec58acc16f6e7dfb78
PR c++/78495 - wrong code inherited ctor and invisi-ref parm

PR c++/78495 - wrong code inherited ctor and invisi-ref parm
* cp-gimplify.c (cp_generize_r): Don't skip thunks.

PR c++/79495
* g++.dg/cpp1z/inh-ctor38.C: New.

From-SVN: r244728
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/inh-ctor38.C [new file with mode: 0644]