This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/87150, wrong ctor with maybe-rvalue semantics
- From: Marek Polacek <polacek at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 7 Sep 2018 10:41:08 -0400
- Subject: Re: C++ PATCH for c++/87150, wrong ctor with maybe-rvalue semantics
- References: <20180907033020.GS12638@redhat.com> <CADzB+2kW8touRxth+6ou=hkekA9FvoR4HB1K2BhPeY4YhL8=-g@mail.gmail.com>
On Fri, Sep 07, 2018 at 12:04:47PM +0100, Jason Merrill wrote:
> I finally found the recent discussion I mentioned earlier:
>
> http://lists.isocpp.org/core/2018/06/4562.php
>
> which hasn't made it into the issues list yet.
>
> This discussion seems to suggest that the standard is likely to change
> to allow this example and 87109, so fixing G++ to reject them may not
> be what we want to do right now.
Thanks for the pointer. Agreed -- I've SUSPENDED the PR.
Marek