aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorKenneth Zadeck <Kenneth.Zadeck@NaturalBridge.com>2004-09-13 22:51:01 +0000
committerKenneth Zadeck <zadeck@gcc.gnu.org>2004-09-13 22:51:01 +0000
commit6674a6ce49dc1cba7ca46cdd9cf4a62ede556568 (patch)
tree69297f66b1458959fbc86188df989df620a72c6f /gcc/cgraph.c
parentc56e3d82fc9090d1580ca8dc02a6add848629d0c (diff)
downloadgcc-6674a6ce49dc1cba7ca46cdd9cf4a62ede556568.zip
gcc-6674a6ce49dc1cba7ca46cdd9cf4a62ede556568.tar.gz
gcc-6674a6ce49dc1cba7ca46cdd9cf4a62ede556568.tar.bz2
New code to analyze file level static variables and to determine if...
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. From-SVN: r87455
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 6c93ac5..f8f0b7c 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)