Initialize empty_string in ggc-simple.

From-SVN: r29856
This commit is contained in:
Bernd Schmidt 1999-10-07 18:28:15 +00:00 committed by Bernd Schmidt
parent c219b87877
commit ed23b2a950
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* ggc-simple.c (init_ggc): Set empty_string.
Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
* configure.in: Detect mmap. Add --with-gc=foo to select

View File

@ -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);
}