r251448 - in /trunk/gcc: ChangeLog dwarf2out.c ...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Wed Aug 30 09:29:00 GMT 2017


Author: rguenth
Date: Wed Aug 30 09:29:05 2017
New Revision: 251448

URL: https://gcc.gnu.org/viewcvs?rev=251448&root=gcc&view=rev
Log:
2017-08-30  Richard Biener  <rguenther@suse.de>

	* dwarf2out.c (add_dwarf_attr): Check we don't add duplicate
	attributes.
	(gen_subprogram_die): Add DW_AT_object_pointer only early.
	(dwarf2out_early_global_decl): Only generate a DIE for the
	abstract origin if it doesn't already exist or is a declaration DIE.
	(resolve_addr): Do not add the linkage name twice when
	generating a stub DIE for the DW_TAG_GNU_call_site target.

	* g++.dg/pr78112-2.C: Do not expect duplicate DW_AT_object_pointer.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/pr78112-2.C



More information about the Gcc-cvs mailing list