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/fold-const.c | |
parent | 56d3f75d136e839223544f0495cceb098afa1d55 (diff) |
remove use of strings.h
Diffstat (limited to 'gcc/fold-const.c')
-rwxr-xr-x | gcc/fold-const.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 378bbfe..45ac066 100755 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -305,7 +305,7 @@ mul_double (l1, h1, l2, h2, lv, hv) encode (arg1, l1, h1); encode (arg2, l2, h2); - bzero ((char *) prod, sizeof prod); + zero_memory ((char *) prod, sizeof prod); for (i = 0; i < 4; i++) { @@ -528,10 +528,10 @@ div_and_round_double (code, uns, goto finish_up; } - bzero ((char *) quo, sizeof quo); + zero_memory ((char *) quo, sizeof quo); - bzero ((char *) num, sizeof num); /* to zero 9th element */ - bzero ((char *) den, sizeof den); + zero_memory ((char *) num, sizeof num); /* to zero 9th element */ + zero_memory ((char *) den, sizeof den); encode (num, lnum, hnum); encode (den, lden, hden); @@ -4317,7 +4317,7 @@ reduce_expression_tree_depth (code, type, arg0, arg1) int n_ops; int i, j, changed; - bzero ((char *)ops, sizeof ops); + zero_memory ((char *)ops, sizeof ops); /* Place our operands into the expression array. */ ops[0] = arg0; |