https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69947
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Mar 4 07:27:15 2016 New Revision: 233958 URL: https://gcc.gnu.org/viewcvs?rev=233958&root=gcc&view=rev Log: PR debug/69947 * dwarf2out.c (prune_unused_types_walk_loc_descr): Handle all other ops that have dw_val_class_die_ref operands, and DW_OP_GNU_entry_value. * gcc.dg/guality/pr69947.c: New test. Added: trunk/gcc/testsuite/gcc.dg/guality/pr69947.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog