diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 04:01:04 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-02 04:01:04 +0000 |
commit | c5006c1577e0445d8c5e2a4b851c8a5762a8c747 (patch) | |
tree | 83e8259b2f427a2665260ab4fcce585f810516ef /gcc | |
parent | 97fb1aa2bae2029155194563a122d4a3bba143f4 (diff) | |
download | gcc-c5006c1577e0445d8c5e2a4b851c8a5762a8c747.tar.gz |
* config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
identifier "bzero" to "memset". Pass extra NULL_TREE argument to
builtin_function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sh/sh.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7cd464157c3..4a6723d888c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-07-01 Roger Sayle <roger@eyesopen.com> + + * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned + identifier "bzero" to "memset". Pass extra NULL_TREE argument to + builtin_function. + 2002-07-02 Alan Modra <amodra@bigpond.net.au> * README.Portability: Fix typos. diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 429eda6d1e0..6ab45d289ca 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -7192,7 +7192,7 @@ sh_media_init_builtins () tree shared[SH_BLTIN_NUM_SHARED_SIGNATURES]; const struct builtin_description *d; - bzero (shared, sizeof shared); + memset (shared, 0, sizeof shared); for (d = bdesc; d - bdesc < sizeof bdesc / sizeof bdesc[0]; d++) { tree type, arg_type; @@ -7235,7 +7235,8 @@ sh_media_init_builtins () if (signature < SH_BLTIN_NUM_SHARED_SIGNATURES) shared[signature] = type; } - builtin_function (d->name, type, d - bdesc, BUILT_IN_MD, NULL); + builtin_function (d->name, type, d - bdesc, BUILT_IN_MD, + NULL, NULL_TREE); } } |