From 87926b4bcc3046ac85fabda09178e9bf50dd8381 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 13 Feb 2016 02:16:07 -0800 Subject: remove use of strings.h --- gcc/fold-const.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/fold-const.c') 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; -- cgit v1.2.3