diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-06-29 04:24:55 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-06-29 04:24:55 +0000 |
commit | 485bad26cebcab75022e2abdfe8af0339330f25c (patch) | |
tree | edbd5c3beb19348da9f863e19262f0023e78bd21 /gcc/stmt.c | |
parent | b01258dd1219ba584fd80dafa14566aa32bd4ccd (diff) | |
download | gcc-485bad26cebcab75022e2abdfe8af0339330f25c.tar.gz |
dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X, -1) with ggc_strdup.
* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
-1) with ggc_strdup.
* stmt.c (expand_asm_operands): Likewise.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.
From-SVN: r68659
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index 39e41ff6dc5..b592a33d867 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -1830,7 +1830,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) sprintf (buffer, "%d", j); ASM_OPERANDS_INPUT_CONSTRAINT_EXP (body, ninputs - ninout + i) - = gen_rtx_ASM_INPUT (inout_mode[i], ggc_alloc_string (buffer, -1)); + = gen_rtx_ASM_INPUT (inout_mode[i], ggc_strdup (buffer)); } generating_concat_p = old_generating_concat_p; |