re PR bootstrap/66448 (Bootstrap fails on darwin after r224161)
commit270224592539fed425abfefd50114e6856345476
authorAldy Hernandez <aldyh@redhat.com>
Thu, 11 Jun 2015 20:46:46 +0000 (11 20:46 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Thu, 11 Jun 2015 20:46:46 +0000 (11 20:46 +0000)
tree3a5e490a971396b663772a52cf29442e66138599
parent1eb231ed3ffab639276f638d0687f5299281117a
re PR bootstrap/66448 (Bootstrap fails on darwin after r224161)

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.

From-SVN: r224393
gcc/ChangeLog
gcc/dwarf2out.c