aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
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/cfgexpand.c
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/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 71662f2..3b5f2fe 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -3165,7 +3165,7 @@ expand_asm_stmt (gasm *stmt)
rtx body = gen_rtx_ASM_OPERANDS ((noutputs == 0 ? VOIDmode
: GET_MODE (output_rvec[0])),
ggc_strdup (gimple_asm_string (stmt)),
- empty_string, 0, argvec, constraintvec,
+ "", 0, argvec, constraintvec,
labelvec, locus);
MEM_VOLATILE_P (body) = gimple_asm_volatile_p (stmt);