This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree-ssa-ccp.c: Make const_val static.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 May 2005 11:23:14 -0400 (EDT)
- Subject: [patch] tree-ssa-ccp.c: Make const_val static.
Hi,
Tested on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-05-30 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-ccp.c (const_val): Make it static.
Index: tree-ssa-ccp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-ccp.c,v
retrieving revision 2.75
diff -u -d -p -r2.75 tree-ssa-ccp.c
--- tree-ssa-ccp.c 29 May 2005 18:28:44 -0000 2.75
+++ tree-ssa-ccp.c 29 May 2005 19:50:26 -0000
@@ -228,7 +228,7 @@ typedef enum
(i.e., a V_MAY_DEF or V_MUST_DEF), CONST_VAL[I].MEM_REF will
contain the actual memory reference used to store (i.e., the LHS of
the assignment doing the store). */
-prop_value_t *const_val;
+static prop_value_t *const_val;
/* True if we are also propagating constants in stores and loads. */
static bool do_store_ccp;