Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-04-12 Thread Jason Merrill
On 04/12/2016 07:20 AM, Alan Modra wrote: On Tue, Apr 12, 2016 at 06:53:55AM -0400, Patrick Palka wrote: I would appreciate it if someone could backport it for me since I won't have time today. I'm happy to handle backporting and commit for you after approval. OK. Jason

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-04-12 Thread Alan Modra
On Tue, Apr 12, 2016 at 06:53:55AM -0400, Patrick Palka wrote: > I would appreciate it if someone could backport it for me since I > won't have time today. I'm happy to handle backporting and commit for you after approval. -- Alan Modra Australia Development Lab, IBM

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-04-12 Thread Patrick Palka
On Tue, Apr 12, 2016 at 6:38 AM, Alan Modra wrote: > On Mon, Mar 21, 2016 at 06:35:26PM -0400, Patrick Palka wrote: > https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01221.html >> gcc/cp/ChangeLog: >> >> PR c++/70096 >> * pt.c (tsubst_decl): Clear the DECL_MODE of the new decl. >> >> gcc

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-04-12 Thread Alan Modra
On Mon, Mar 21, 2016 at 06:35:26PM -0400, Patrick Palka wrote: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01221.html > gcc/cp/ChangeLog: > > PR c++/70096 > * pt.c (tsubst_decl): Clear the DECL_MODE of the new decl. > > gcc/testsuite/ChangeLog: > > PR c++/70096 > * g++.

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-03-31 Thread Rainer Orth
Jason Merrill writes: > OK. The testcase FAILs on Solaris with the native ld: FAIL: g++.dg/template/ptrmem30.C -std=c++11 (test for excess errors) FAIL: g++.dg/template/ptrmem30.C -std=c++14 (test for excess errors) FAIL: g++.dg/template/ptrmem30.C -std=c++98 (test for excess errors) Excess

Re: [PATCH] Fix PR c++/70096 (wrong code for pointer-to-member-function copy)

2016-03-21 Thread Jason Merrill
OK. Jason