summaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-11 12:48:53 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-11 12:48:53 +0000
commitec30db32980cc4cb8fca9c96304eeb428f93611c (patch)
tree767df63c6acd529c10c6d6c64b416ac9a6eb7808 /gcc/ggc-common.c
parent5737913a9a605694b55935563fc11e1e440b0351 (diff)
downloadgcc-ec30db32980cc4cb8fca9c96304eeb428f93611c.tar.gz
* ggc-common.c (loc_array): Make static.
* dce.c (rest_of_handle_ud_dce): Free worklist. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140286 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-common.c')
-rw-r--r--gcc/ggc-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-common.c b/gcc/ggc-common.c
index 8c0e459fe38..747ec4cbdfc 100644
--- a/gcc/ggc-common.c
+++ b/gcc/ggc-common.c
@@ -947,7 +947,7 @@ cmp_statistic (const void *loc1, const void *loc2)
}
/* Collect array of the descriptors from hashtable. */
-struct loc_descriptor **loc_array;
+static struct loc_descriptor **loc_array;
static int
add_statistics (void **slot, void *b)
{