]> gcc.gnu.org Git - gcc.git/commit
Fix internal error on lambda function
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 9 Mar 2021 15:12:22 +0000 (16:12 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 9 Mar 2021 15:23:49 +0000 (16:23 +0100)
commit6051af8e3db9e6cea79d0e86da0e0dad286f7e4e
treecc014ad720f8c86708a9deae8de2b55808dd5660
parent9ff83e4e54f3a7135b17cc7ef4f12cdf709eec1a
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.
gcc/calls.c
This page took 0.063253 seconds and 6 git commands to generate.