summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-12 00:55:21 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-12 00:55:21 +0000
commit9063fcc8299de90965de2c5efe4ece3cb2e3dc03 (patch)
treedd3601054db5ff9894c96d546a8dfeb88d5fab2c /gcc/print-tree.c
parent0fe3478a12170032b09c0515077c132834406465 (diff)
downloadgcc-9063fcc8299de90965de2c5efe4ece3cb2e3dc03.tar.gz
* print-tree.c (print_node): Print the restrict qualifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index bb03d81f2a8..ccfa19bbd76 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -508,6 +508,9 @@ print_node (file, prefix, node, indent)
if (TYPE_PACKED (node))
fputs (" packed", file);
+ if (TYPE_RESTRICT (node))
+ fputs (" restrict", file);
+
if (TYPE_LANG_FLAG_0 (node))
fputs (" type_0", file);
if (TYPE_LANG_FLAG_1 (node))