diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-29 04:24:55 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-29 04:24:55 +0000 |
commit | 6327cf58be8d11722aa03bb5bf3ab86aca185beb (patch) | |
tree | edbd5c3beb19348da9f863e19262f0023e78bd21 /gcc/dwarf2out.c | |
parent | 257be66f2b31338d9ebde42cc42c0129b107d2a2 (diff) | |
download | gcc-6327cf58be8d11722aa03bb5bf3ab86aca185beb.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68659 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 6890e5a2797..4ae09b14f14 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -4703,7 +4703,7 @@ add_AT_string (die, attr_kind, str) if (*slot == NULL) *slot = ggc_alloc_cleared (sizeof (struct indirect_string_node)); node = (struct indirect_string_node *) *slot; - node->str = ggc_alloc_string (str, -1); + node->str = ggc_strdup (str); node->refcount++; attr->dw_attr_next = NULL; |