aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-10-07 18:28:15 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-10-07 18:28:15 +0000
commited23b2a950ef04d0370a713f740021be1f03bb0d (patch)
treea98d01addac3c9e670fbc2eb2f9bb6110ac2517c /gcc/ggc-simple.c
parentc219b878772bda4a2235e52ec715e295a8c204ad (diff)
downloadgcc-ed23b2a950ef04d0370a713f740021be1f03bb0d.zip
gcc-ed23b2a950ef04d0370a713f740021be1f03bb0d.tar.gz
gcc-ed23b2a950ef04d0370a713f740021be1f03bb0d.tar.bz2
Initialize empty_string in ggc-simple.
From-SVN: r29856
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r--gcc/ggc-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index 841f50b..74a4d5a 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);
}