diff options
author | YamaArashi <shadow962@live.com> | 2016-02-13 02:16:07 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-13 02:16:07 -0800 |
commit | 87926b4bcc3046ac85fabda09178e9bf50dd8381 (patch) | |
tree | 5b5ed9076e0200c36f979e0f8baaa23f4406cfd8 /gcc/stmt.c | |
parent | 56d3f75d136e839223544f0495cceb098afa1d55 (diff) |
remove use of strings.h
Diffstat (limited to 'gcc/stmt.c')
-rwxr-xr-x | gcc/stmt.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1283,7 +1283,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) if (p != constraint) { j = *p; - bcopy (constraint, constraint+1, p-constraint); + copy_memory (constraint, constraint+1, p-constraint); *constraint = j; warning ("output constraint `%c' for operand %d is not at the beginning", j, i); @@ -4784,7 +4784,7 @@ check_for_full_enumeration_handling (type) { long i; tree v = TYPE_VALUES (type); - bzero (cases_seen, bytes_needed); + zero_memory (cases_seen, bytes_needed); /* The time complexity of this code is normally O(N), where N being the number of members in the enumerated type. @@ -5205,7 +5205,7 @@ expand_end_case (orig_index) ncases = TREE_INT_CST_LOW (range) + 1; labelvec = (rtx *) alloca (ncases * sizeof (rtx)); - bzero ((char *) labelvec, ncases * sizeof (rtx)); + zero_memory ((char *) labelvec, ncases * sizeof (rtx)); for (n = thiscase->data.case_stmt.case_list; n; n = n->right) { @@ -5349,7 +5349,7 @@ estimate_case_costs (node) if (cost_table == NULL) { cost_table = ((short *) xmalloc (129 * sizeof (short))) + 1; - bzero ((char *) (cost_table - 1), 129 * sizeof (short)); + zero_memory ((char *) (cost_table - 1), 129 * sizeof (short)); for (i = 0; i < 128; i++) { |