[Bug c++/70972] [6 Regression] Inheriting constructors taking parameters by value should move them, not copy
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 2 11:31:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70972
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Jun 2 11:30:44 2016
New Revision: 237032
URL: https://gcc.gnu.org/viewcvs?rev=237032&root=gcc&view=rev
Log:
/cp
2016-06-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/70972
* method.c (forward_parm): Use cp_build_reference_type.
/testsuite
2016-06-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/70972
* g++.dg/cpp0x/inh-ctor20.C: New.
* g++.dg/cpp0x/inh-ctor21.C: Likewise.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor20.C
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor21.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/method.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list