From: Bernd Schmidt Date: Thu, 7 Oct 1999 18:28:15 +0000 (+0000) Subject: Initialize empty_string in ggc-simple. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed23b2a950ef04d0370a713f740021be1f03bb0d;p=gcc.git Initialize empty_string in ggc-simple. From-SVN: r29856 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edbe1a90231..cc4abc1bb2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 7 20:14:16 1999 Bernd Schmidt + + * ggc-simple.c (init_ggc): Set empty_string. + Thu Oct 7 01:13:15 1999 Richard Henderson * configure.in: Detect mmap. Add --with-gc=foo to select diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 841f50bf561..74a4d5ad5f2 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -148,7 +148,7 @@ init_ggc PROTO ((void)) setlinebuf (dump); #endif - ggc_alloc_string ("", 0); + empty_string = ggc_alloc_string ("", 0); ggc_add_string_root (&empty_string, 1); }