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

--- Comment #24 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #23)
> Thanks, missed that.  Looks like Jason wants us to fix it retroactively,
> too.  I suppose we should just revert my r264172.

Better to disable the section in build_over_call that implemented the check
removed by this paper:

           /* The implicit move specified in 15.8.3/3 fails "...if the type of
              the first parameter of the selected constructor is not an rvalue
              reference to the object’s type (possibly cv-qualified)...." */

I wouldn't remove it entirely until we have a better idea of what gets broken
by this change.

Reply via email to