From: Nathan Sidwell Date: Tue, 11 Jul 2017 12:22:24 +0000 (+0000) Subject: * dwarf2out.c (gen_member_die): Remove useless check for anon ctors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df27207be3e77fd39750bb3570f17bece517a9d7;p=gcc.git * dwarf2out.c (gen_member_die): Remove useless check for anon ctors. From-SVN: r250127 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4d0e58ca62..97555974f34 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-07-11 Nathan Sidwell + + * dwarf2out.c (gen_member_die): Remove useless check for anon ctors. + 2017-07-11 Georg-Johann Lay * doc/extend.texi (AVR Function Attributes): Remove weblink to diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index c277d27e8e8..5a57b93a73a 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -24207,10 +24207,6 @@ gen_member_die (tree type, dw_die_ref context_die) /* Don't include clones in the member list. */ if (DECL_ABSTRACT_ORIGIN (member)) continue; - /* Nor constructors for anonymous classes. */ - if (DECL_ARTIFICIAL (member) - && dwarf2_name (member, 0) == NULL) - continue; child = lookup_decl_die (member); if (child)