From ec30db32980cc4cb8fca9c96304eeb428f93611c Mon Sep 17 00:00:00 2001 From: hubicka Date: Thu, 11 Sep 2008 12:48:53 +0000 Subject: * 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 --- gcc/ggc-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ggc-common.c') 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) { -- cgit v1.2.1