[Bug debug/92763] [8 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.c:22659, or in force_type_die, at dwarf2out.c:26224
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 17 13:27:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92763
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Richard Guenther
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:0727fae83508fe21bd510ae380d6a361ac632680
commit r8-10031-g0727fae83508fe21bd510ae380d6a361ac632680
Author: Richard Biener <rguenther@suse.de>
Date: Fri Feb 14 09:17:57 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-02-14 Richard Biener <rguenther@suse.de>
Backport from mainline
2020-01-20 Richard Biener <rguenther@suse.de>
PR debug/92763
* dwarf2out.c (prune_unused_types): Unconditionally mark
called function DIEs.
* g++.dg/debug/pr92763.C: New testcase.
More information about the Gcc-bugs
mailing list