diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-02 10:56:44 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-02 10:56:44 +0000 |
commit | ab03e5be31a840bcbf46367952763562fb5a1733 (patch) | |
tree | 5676dae6cf475acf6e2003dcf03aa46e72242e21 /gcc/print-tree.c | |
parent | 78ccc5b4d6b58cfe1056c9ba6d5a567b008108e7 (diff) | |
download | gcc-ab03e5be31a840bcbf46367952763562fb5a1733.tar.gz |
* print-tree.c (print_node): Don't print "regdecl" when bit doesn't
mean that; use proper names instead.
Print DECL_NO_STATIC_CHAIN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 54a598eea4e..c1f492d8585 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -325,7 +325,9 @@ print_node (file, prefix, node, indent) fputs (" common", file); if (DECL_EXTERNAL (node)) fputs (" external", file); - if (DECL_REGISTER (node)) + if (DECL_REGISTER (node) && TREE_CODE (node) != FIELD_DECL + && TREE_CODE (node) != FUNCTION_DECL + && TREE_CODE (node) != LABEL_DECL) fputs (" regdecl", file); if (DECL_NONLOCAL (node)) fputs (" nonlocal", file); @@ -339,6 +341,8 @@ print_node (file, prefix, node, indent) fputs (" built-in", file); if (TREE_CODE (node) == FUNCTION_DECL && DECL_BUILT_IN_NONANSI (node)) fputs (" built-in-nonansi", file); + if (TREE_CODE (node) == FUNCTION_DECL && DECL_NO_STATIC_CHAIN (node)) + fputs (" no-static-chain", file); if (TREE_CODE (node) == FIELD_DECL && DECL_PACKED (node)) fputs (" packed", file); @@ -349,6 +353,8 @@ print_node (file, prefix, node, indent) if (TREE_CODE (node) == LABEL_DECL && DECL_TOO_LATE (node)) fputs (" too-late", file); + if (TREE_CODE (node) == LABEL_DECL && DECL_ERROR_ISSUED (node)) + fputs (" error-issued", file); if (TREE_CODE (node) == VAR_DECL && DECL_IN_TEXT_SECTION (node)) fputs (" in-text-section", file); |