Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Richard Biener
On Thu, May 17, 2018 at 3:25 PM Andreas Schwab wrote: > On Mai 17 2018, Jason Merrill wrote: > > On Thu, May 17, 2018 at 4:14 AM, Andreas Schwab wrote: > >> On Mai 16 2018, Andreas Schwab wrote: > >>> On Mai 15 2018, Jason

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Andreas Schwab
On Mai 17 2018, Jason Merrill wrote: > On Thu, May 17, 2018 at 4:14 AM, Andreas Schwab wrote: >> On Mai 16 2018, Andreas Schwab wrote: >>> On Mai 15 2018, Jason Merrill wrote: >>> commit

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Jason Merrill
On Thu, May 17, 2018 at 4:14 AM, Andreas Schwab wrote: > On Mai 16 2018, Andreas Schwab wrote: >> On Mai 15 2018, Jason Merrill wrote: >> >>> commit 648ffd02e23ac2695de04ab266b4f8862df6c2ed >>> Author: Jason Merrill >>> Date:

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-17 Thread Andreas Schwab
On Mai 16 2018, Andreas Schwab wrote: > On Mai 15 2018, Jason Merrill wrote: > >> commit 648ffd02e23ac2695de04ab266b4f8862df6c2ed >> Author: Jason Merrill >> Date: Tue May 15 20:46:54 2018 -0400 >> >> * cp-tree.h (cp_expr):

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Martin Jambor
Hi, On Wed, May 16 2018, Jason Merrill wrote: > On Wed, May 16, 2018 at 6:35 AM, Martin Jambor wrote: >> On Tue, May 15 2018, Jason Merrill wrote: >>> In C++11 and up, the implicitly-declared copy constructor and >>> assignment operator are deprecated if one of them, or the

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Jason Merrill
On Wed, May 16, 2018 at 6:35 AM, Martin Jambor wrote: > On Tue, May 15 2018, Jason Merrill wrote: >> In C++11 and up, the implicitly-declared copy constructor and >> assignment operator are deprecated if one of them, or the destructor, >> is user-provided. Implementing that in

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Martin Jambor
Hi, On Tue, May 15 2018, Jason Merrill wrote: > In C++11 and up, the implicitly-declared copy constructor and > assignment operator are deprecated if one of them, or the destructor, > is user-provided. Implementing that in G++ turned up a few dodgy uses > in the compiler. > > In general it's

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Andreas Schwab
On Mai 15 2018, Jason Merrill wrote: > commit 648ffd02e23ac2695de04ab266b4f8862df6c2ed > Author: Jason Merrill > Date: Tue May 15 20:46:54 2018 -0400 > > * cp-tree.h (cp_expr): Remove copy constructor. > > * mangle.c (struct

Re: RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-16 Thread Richard Biener
On Wed, May 16, 2018 at 2:58 AM Jason Merrill wrote: > In C++11 and up, the implicitly-declared copy constructor and > assignment operator are deprecated if one of them, or the destructor, > is user-provided. Implementing that in G++ turned up a few dodgy uses > in the

RFA (ipa-prop): PATCHes to avoid use of deprecated copy ctor and op=

2018-05-15 Thread Jason Merrill
In C++11 and up, the implicitly-declared copy constructor and assignment operator are deprecated if one of them, or the destructor, is user-provided. Implementing that in G++ turned up a few dodgy uses in the compiler. In general it's unsafe to copy an ipa_edge_args, because if one of the