Re: RFA (tree-inline): PATCH for C++ inheriting constructors overhaul

2016-11-01 Thread Jakub Jelinek
On Tue, Nov 01, 2016 at 05:33:17PM -0400, Jason Merrill wrote: > Like so? LGTM, thanks. > diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c > index de5e575..6899d2a 100644 > --- a/gcc/tree-inline.c > +++ b/gcc/tree-inline.c > @@ -1045,6 +1045,7 @@ copy_tree_body_r (tree *tp, int *walk_subtrees,

Re: RFA (tree-inline): PATCH for C++ inheriting constructors overhaul

2016-11-01 Thread Jason Merrill
On Tue, Nov 1, 2016 at 4:20 PM, Jakub Jelinek wrote: > On Mon, Oct 31, 2016 at 11:45:08AM -0400, Jason Merrill wrote: >> Is the tree-inline.c patch OK for trunk? > >> --- a/gcc/tree-inline.c >> +++ b/gcc/tree-inline.c >> @@ -1241,6 +1241,28 @@ copy_tree_body_r (tree *tp, int *walk_subtrees, void

Re: RFA (tree-inline): PATCH for C++ inheriting constructors overhaul

2016-11-01 Thread Jakub Jelinek
On Mon, Oct 31, 2016 at 11:45:08AM -0400, Jason Merrill wrote: > Is the tree-inline.c patch OK for trunk? > --- a/gcc/tree-inline.c > +++ b/gcc/tree-inline.c > @@ -1241,6 +1241,28 @@ copy_tree_body_r (tree *tp, int *walk_subtrees, void > *data) > *walk_subtrees = 0; > return NULL;

RFA (tree-inline): PATCH for C++ inheriting constructors overhaul

2016-10-31 Thread Jason Merrill
wg21.link/p0136 significantly changes the specification of C++11 inheriting constructors so that they become an implementation detail rather than a language-level construct; instead, overload resolution and such are done on the constructor from the base, and the artificial constructor in the derive