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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> Or if it is correct to implement it like that (should just adjust comment),
> then
>               finish_return_stmt (retval);
> should be changed to
>               finish_return_stmt (convert_from_reference (retval));

Though, at least also the changing of SPACESHIP_EXPR TREE_TYPE looks broken for
non-std::*_ordering types.

Reply via email to