https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150

--- Comment #9 from Stephan Bergmann <sbergman at redhat dot com> ---
(In reply to Marek Polacek from comment #8)
> It appears that the sentiment is that this testcase should actually be
> valid

Do you have a reference for that?  The reason for this not to be valid,
presented at the bottom of
<http://lists.llvm.org/pipermail/cfe-dev/2018-August/059190.html> "Re:
[cfe-dev] return lvalue move instead of copy?" looks rather convincing to me.

Reply via email to