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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Guenther <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:991b91497fd50f6e70e5f2c0cfa96e1b74157bdc

commit r10-6087-g991b91497fd50f6e70e5f2c0cfa96e1b74157bdc
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jan 20 10:36:09 2020 +0100

    debug/92763 keep DIEs that might be used in DW_TAG_inlined_subroutine

    We were pruning type-local subroutine DIEs if their context is unused
    despite us later needing those DIEs as abstract origins for inlines.
    The patch makes code already present for -fvar-tracking-assignments
    unconditional.

    2020-01-20  Richard Biener  <rguent...@suse.de>

        PR debug/92763
        * dwarf2out.c (prune_unused_types): Unconditionally mark
        called function DIEs.

        * g++.dg/debug/pr92763.C: New testcase.

Reply via email to