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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:defafb78cbcb7e2d5abd40379afdecee8b1a0d06

commit r11-7579-gdefafb78cbcb7e2d5abd40379afdecee8b1a0d06
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Tue Mar 9 16:12:22 2021 +0100

    Fix internal error on lambda function

    This boils down to the RTL expander trying to take the address of a DECL
    whose RTX is a register.

    gcc/
            PR c++/90448
            * calls.c (initialize_argument_information): When the argument
            is passed by reference, do not make a copy in a thunk only if
            the argument is already in memory.  Remove redundant test for
            the case of callee copy.

Reply via email to