summaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-13 22:51:01 +0000
committerzadeck <zadeck@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-13 22:51:01 +0000
commitacc70efa1df443f9b6ad2c686787a379f3829a4e (patch)
tree69297f66b1458959fbc86188df989df620a72c6f /gcc/cgraph.c
parent84860738349c884bfa028c398576d9081bebe0b9 (diff)
downloadgcc-acc70efa1df443f9b6ad2c686787a379f3829a4e.tar.gz
New code to analyze file level static variables and to determine if
they escape and also code to use this information to prune clobber lists. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 6c93ac5f173..f8f0b7cd52a 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -474,6 +474,12 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
if (node->local.local)
fprintf (f, " local");
+ if (node->local.external)
+ fprintf (f, " external");
+ if (node->local.calls_read_all)
+ fprintf (f, " calls_read_all");
+ if (node->local.calls_write_all)
+ fprintf (f, " calls_write_all");
if (node->local.disregard_inline_limits)
fprintf (f, " always_inline");
else if (node->local.inlinable)