2018-07-09 Richard Biener <rguenther@suse.de>
PR debug/86413
* dwarf2out.c (gen_block_die): For an early generated DIE
always output high/low PC attributes.
From-SVN: r262511
+2018-07-09 Richard Biener <rguenther@suse.de>
+
+ PR debug/86413
+ * dwarf2out.c (gen_block_die): For an early generated DIE
+ always output high/low PC attributes.
+
2018-07-09 Tom de Vries <tdevries@suse.de>
* cfgexpand.c (expand_debug_source_expr): Handle VAR_DECL.
/* The outer scopes for inlinings *must* always be represented. We
generate DW_TAG_inlined_subroutine DIEs for them. (See below.) */
must_output_die = 1;
+ else if (BLOCK_DIE (stmt))
+ /* If we already have a DIE then it was filled early. Meanwhile
+ we might have pruned all BLOCK_VARS as optimized out but we
+ still want to generate high/low PC attributes so output it. */
+ must_output_die = 1;
else
{
/* Determine if this block directly contains any "significant"