PR bootstrap/66448
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 2015 20:46:46 +0000 (20:46 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Jun 2015 20:46:46 +0000 (20:46 +0000)
commitb5c0cb0c69a8866b6177e097e6cc5e75586fa532
tree3a5e490a971396b663772a52cf29442e66138599
parentff30c40f75966e0948909d1d7cc6cce42273d16d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224393 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c