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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
>From quick look, the problem is that we attempt to generate DIE for a
RECORD_TYPE __lambda5 in partition 2.  That RECORD_TYPE has TYPE_CONTEXT the
main FUNCTION_DECL, which is apparently emitted in partition 1 and so
lookup_decl_die for it returns NULL (there is not even a stub DW_TAG_subprogram
emitted in the other partition).
Wonder why do we partition a single CU input at all, and why we decide to put a
lambda function into a different partition from the one containing it.

Reply via email to