This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] tree-ssa-structalias.c: make call_stmt_vars static
- From: David Malcolm <dmalcolm at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 04 Jun 2013 17:29:23 -0400
- Subject: [PATCH] tree-ssa-structalias.c: make call_stmt_vars static
call_stmt_vars is only used inside of tree-ssa-structalias.c, so it can
be made static.
Successfully bootstrapped on x86_64-unknown-linux-gnu (using
gcc-4.7.2-2.fc17.x86_64).
OK for trunk?
2013-06-04 David Malcolm <dmalcolm@redhat.com>
* tree-ssa-structalias.c (call_stmt_vars): Make static.
Index: gcc/tree-ssa-structalias.c
===================================================================
--- gcc/tree-ssa-structalias.c (revision 199669)
+++ gcc/tree-ssa-structalias.c (working copy)
@@ -382,7 +382,7 @@
/* A map mapping call statements to per-stmt variables for uses
and clobbers specific to the call. */
-struct pointer_map_t *call_stmt_vars;
+static struct pointer_map_t *call_stmt_vars;
/* Lookup or create the variable for the call statement CALL. */