[Bug debug/78835] [7 regression] ICE with -fdebug-types-section and member function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 26 21:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78835
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 26 21:44:49 2017
New Revision: 244954
URL: https://gcc.gnu.org/viewcvs?rev=244954&root=gcc&view=rev
Log:
PR debug/78835
* dwarf2out.c (prune_unused_types): Mark all functions with DIEs
which have direct callers with -fvar-tracking-assignments enabled
in the current TU.
(resolve_addr): Avoid adding skeleton DIEs for DW_AT_call_origin
inside of type units.
* g++.dg/debug/dwarf2/pr78835.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr78835.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list