aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2017-06-30 17:00:46 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-06-30 17:00:46 +0000
commit618400bc14b5c52a450e91d59632d5b08ae1a325 (patch)
treead3b95702069a60d64947311946c8789498fb972 /gcc/ggc.h
parent84682fd249b3f86e88e79b47527b168c873dc5f0 (diff)
downloadgcc-618400bc14b5c52a450e91d59632d5b08ae1a325.zip
gcc-618400bc14b5c52a450e91d59632d5b08ae1a325.tar.gz
gcc-618400bc14b5c52a450e91d59632d5b08ae1a325.tar.bz2
ggc.h (empty_string): Delete.
* ggc.h (empty_string): Delete. * cfgexpand.c (expand_asm_stmt): Use plain "". * optabs.c (expand_asm_memory_barrier): Likewise. * stringpool.c (empty_string): Delete. (digit_vector, digit_string): Delete. (ggc_alloc_string): Use plain "", don't optimize single digit strings. Use ggc_alloc_atomic. From-SVN: r249851
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h
index 2f4fa0f..9b5eb45 100644
--- a/gcc/ggc.h
+++ b/gcc/ggc.h
@@ -24,9 +24,6 @@ along with GCC; see the file COPYING3. If not see
/* Symbols are marked with `ggc' for `gcc gc' so as not to interfere with
an external gc library that might be linked in. */
-/* Constants for general use. */
-extern const char empty_string[]; /* empty string */
-
/* Internal functions and data structures used by the GTY
machinery, including the generated gt*.[hc] files. */