summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
committerYamaArashi <shadow962@live.com>2016-02-13 02:16:07 -0800
commit87926b4bcc3046ac85fabda09178e9bf50dd8381 (patch)
tree5b5ed9076e0200c36f979e0f8baaa23f4406cfd8 /gcc/fold-const.c
parent56d3f75d136e839223544f0495cceb098afa1d55 (diff)
remove use of strings.h
Diffstat (limited to 'gcc/fold-const.c')
-rwxr-xr-xgcc/fold-const.c10
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;