projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f070d5
)
(store_expr): memset/bzero gets ptr_mode, not Pmode.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 29 Sep 1996 22:42:12 +0000
(18:42 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 29 Sep 1996 22:42:12 +0000
(18:42 -0400)
From-SVN: r12861
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 926a61c00ff743b8e93c5446e7c9a301e61033b5..cc47e1e0c7ed4d2fc451a78780cb6d54d92c3512 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-3275,7
+3275,7
@@
store_expr (exp, target, want_value)
{
#ifdef TARGET_MEM_FUNCTIONS
emit_library_call (memset_libfunc, 0, VOIDmode, 3,
- addr,
P
mode,
+ addr,
ptr_
mode,
const0_rtx, TYPE_MODE (integer_type_node),
convert_to_mode (TYPE_MODE (sizetype),
size,
@@
-3283,7
+3283,7
@@
store_expr (exp, target, want_value)
TYPE_MODE (sizetype));
#else
emit_library_call (bzero_libfunc, 0, VOIDmode, 2,
- addr,
P
mode,
+ addr,
ptr_
mode,
convert_to_mode (TYPE_MODE (integer_type_node),
size,
TREE_UNSIGNED (integer_type_node)),