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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 47793
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47793&action=edit
Fix

This patch fixes the pre-P1825 bug, but breaks the PR58051 test which is not
actually allowed by DR 1579 (but is by P1825), and some of your
-Wredundant-move tests for the same reason.  I think let's wait to see what the
committee thinks before deciding how to resolve this.

Reply via email to