OSDN Git Service

* configure.ac (gcc_cv_nm): Don't use an in-tree nm if
[pf3gnuchains/gcc-fork.git] / gcc / print-tree.c
index dad7e59..eed02f2 100644 (file)
@@ -458,6 +458,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
          print_node (file, "offset", DECL_FIELD_OFFSET (node), indent + 4);
          print_node (file, "bit offset", DECL_FIELD_BIT_OFFSET (node),
                      indent + 4);
+         if (DECL_BIT_FIELD_TYPE (node))
+           print_node (file, "bit_field_type", DECL_BIT_FIELD_TYPE (node),
+                       indent + 4);
        }
 
       print_node_brief (file, "context", DECL_CONTEXT (node), indent + 4);
@@ -510,6 +513,15 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
          && DECL_HAS_VALUE_EXPR_P (node))
        print_node (file, "value-expr", DECL_VALUE_EXPR (node), indent + 4);
 
+      if (TREE_CODE (node) == STRUCT_FIELD_TAG)
+       {
+         fprintf (file, " sft size " HOST_WIDE_INT_PRINT_DEC, 
+                  SFT_SIZE (node));
+         fprintf (file, " sft offset " HOST_WIDE_INT_PRINT_DEC,
+                  SFT_OFFSET (node));
+         print_node_brief (file, "parent var", SFT_PARENT_VAR (node), 
+                           indent + 4);
+       }
       /* Print the decl chain only if decl is at second level.  */
       if (indent == 4)
        print_node (file, "chain", TREE_CHAIN (node), indent + 4);