]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/dwarf2out.c
tree.h (TREE_CHECK2, [...]): New macros.
[gcc.git] / gcc / dwarf2out.c
index 88a06e2b566aad715e071e192838b5789711316b..485dc2678d6e3126d10ed40b6f5e0c64a2b5e6bd 100644 (file)
@@ -10860,7 +10860,7 @@ gen_enumeration_type_die (tree type, dw_die_ref context_die)
       if (type_die->die_parent == NULL)
        add_child_die (scope_die_for (type, context_die), type_die);
 
-      for (link = TYPE_FIELDS (type);
+      for (link = TYPE_VALUES (type);
           link != NULL; link = TREE_CHAIN (link))
        {
          dw_die_ref enum_die = new_die (DW_TAG_enumerator, type_die, link);
This page took 0.029926 seconds and 5 git commands to generate.