[Bug c++/81860] [7 Regression] Call to undefined inline function involving inheriting constructors

2018-02-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860

Jonathan Wakely  changed:

   What|Removed |Added

   Target Milestone|7.3 |7.4

--- Comment #10 from Jonathan Wakely  ---
Fixed for 7.4 now.

[Bug c++/81860] [7 Regression] Call to undefined inline function involving inheriting constructors

2018-02-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860

--- Comment #9 from Jonathan Wakely  ---
Author: redi
Date: Mon Feb 19 14:53:36 2018
New Revision: 257806

URL: https://gcc.gnu.org/viewcvs?rev=257806=gcc=rev
Log:
Fix lambdas in template default argument of inherited ctor.

gcc/cp:

Backport from mainline
2017-08-29  Jason Merrill  

Fix lambdas in template default argument of inherited ctor.
* method.c (synthesized_method_base_walk): Replace an inherited
template with its specialization.
(synthesized_method_walk): Make inheriting_ctor a pointer.
(maybe_explain_implicit_delete, explain_implicit_non_constexpr)
(deduce_inheriting_ctor, implicitly_declare_fn): Adjust.

gcc/testsuite:

Backport from mainline
2018-01-02  Marek Polacek  

PR c++/81860
* g++.dg/cpp0x/inh-ctor30.C: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/inh-ctor30.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mangle5.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/method.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug c++/81860] [7 Regression] Call to undefined inline function involving inheriting constructors

2018-01-25 Thread wielkiegie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860

--- Comment #8 from Gustaw Smolarczyk  ---
Hello,

Can I expect the fix to be backported to the gcc 7 branch? gcc 7.3.0 has
apparently shipped with the bug still present.

[Bug c++/81860] [7 Regression] Call to undefined inline function involving inheriting constructors

2018-01-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81860

Marek Polacek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
Summary|[7/8 Regression] Call to|[7 Regression] Call to
   |undefined inline function   |undefined inline function
   |involving inheriting|involving inheriting
   |constructors|constructors

--- Comment #7 from Marek Polacek  ---
Done.