aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-07-11 12:22:24 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-07-11 12:22:24 +0000
commitdf27207be3e77fd39750bb3570f17bece517a9d7 (patch)
tree54bc2a49a79c253febc797dfd9fa919caf42666f /gcc/dwarf2out.c
parent6a28a7531b6a8f759c081bbb1b851e293e410d56 (diff)
downloadgcc-df27207be3e77fd39750bb3570f17bece517a9d7.zip
gcc-df27207be3e77fd39750bb3570f17bece517a9d7.tar.gz
gcc-df27207be3e77fd39750bb3570f17bece517a9d7.tar.bz2
* dwarf2out.c (gen_member_die): Remove useless check for anon ctors.
From-SVN: r250127
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index c277d27..5a57b93 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)