]> 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:22:55 +0000 (16:22 +0100)
commitdefafb78cbcb7e2d5abd40379afdecee8b1a0d06
tree7327a6bb625ade52873bfdf87b09166b1f11608c
parent9725df0233b6fb6e761875968b3b8e9fd9f522ac
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.058887 seconds and 6 git commands to generate.