* dwarf2out.c (gen_member_die): Remove useless check for anon ctors.
authorNathan Sidwell <nathan@acm.org>
Tue, 11 Jul 2017 12:22:24 +0000 (12:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 11 Jul 2017 12:22:24 +0000 (12:22 +0000)
From-SVN: r250127

gcc/ChangeLog
gcc/dwarf2out.c

index c4d0e58ca62d06ed82d5283bd8bcb7b9c6607fad..97555974f34f792f4d5adb733bb98fa5c8490ddf 100644 (file)
@@ -1,3 +1,7 @@
+2017-07-11  Nathan Sidwell  <nathan@acm.org>
+
+       * dwarf2out.c (gen_member_die): Remove useless check for anon ctors.
+
 2017-07-11  Georg-Johann Lay  <avr@gjlay.de>
 
        * doc/extend.texi (AVR Function Attributes): Remove weblink to
index c277d27e8e81d4dd1ff86a31df55a1c604d5fde6..5a57b93a73a783d83e6882ab1e0d01fa9e859d1b 100644 (file)
@@ -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)