https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66448
--- Comment #23 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Author: aldyh Date: Thu Jun 11 20:46:46 2015 New Revision: 224393 URL: https://gcc.gnu.org/viewcvs?rev=224393&root=gcc&view=rev Log: PR bootstrap/66448 * dwarf2out.c (check_die): Check for common duplicate attributes. (add_location_or_const_value_attribute): Do not add duplicate attributes. (gen_formal_parameter_die): Do not add DW_AT_artificial the second time around. (gen_struct_or_union_type_die): Bail early if TREE_ASM_WRITTEN. (gen_type_die_with_usage): Call check_die. (dwarf2out_decl): Only call check_die() when ENABLE_CHECKING. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c