summaryrefslogtreecommitdiffstats
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-17 12:45:51 +0000
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-17 12:45:51 +0000
commit2c5d421bfbe49c7ec0157c716e70f0089515cc48 (patch)
tree278cde0ad17613ffacff0e59525f96e19d129f9f /gcc/builtins.c
parentf6f723c25da8298345f87ddfba0c451a0cfcc6fe (diff)
downloadppe42-gcc-2c5d421bfbe49c7ec0157c716e70f0089515cc48.tar.gz
ppe42-gcc-2c5d421bfbe49c7ec0157c716e70f0089515cc48.zip
Bring back equal forms for libcalls
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 74a1d86a4b7..2983b2bdbcc 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -1388,8 +1388,8 @@ expand_builtin_strlen (exp, target, mode)
/* Check the string is readable and has an end. */
if (current_function_check_memory_usage)
- emit_library_call (chkr_check_str_libfunc, 1, VOIDmode, 2,
- src_reg, Pmode,
+ emit_library_call (chkr_check_str_libfunc, LCT_CONST_MAKE_BLOCK,
+ VOIDmode, 2, src_reg, Pmode,
GEN_INT (MEMORY_USE_RO),
TYPE_MODE (integer_type_node));
@@ -1468,8 +1468,8 @@ expand_builtin_memcpy (arglist)
/* Just copy the rights of SRC to the rights of DEST. */
if (current_function_check_memory_usage)
- emit_library_call (chkr_copy_bitmap_libfunc, 1, VOIDmode, 3,
- XEXP (dest_mem, 0), Pmode,
+ emit_library_call (chkr_copy_bitmap_libfunc, LCT_CONST_MAKE_BLOCK,
+ VOIDmode, 3, XEXP (dest_mem, 0), Pmode,
XEXP (src_mem, 0), Pmode,
len_rtx, TYPE_MODE (sizetype));
@@ -1574,8 +1574,8 @@ expand_builtin_memset (exp)
/* Just check DST is writable and mark it as readable. */
if (current_function_check_memory_usage)
- emit_library_call (chkr_check_addr_libfunc, 1, VOIDmode, 3,
- XEXP (dest_mem, 0), Pmode,
+ emit_library_call (chkr_check_addr_libfunc, LCT_CONST_MAKE_BLOCK,
+ VOIDmode, 3, XEXP (dest_mem, 0), Pmode,
len_rtx, TYPE_MODE (sizetype),
GEN_INT (MEMORY_USE_WO),
TYPE_MODE (integer_type_node));
@@ -1687,7 +1687,7 @@ expand_builtin_memcmp (exp, arglist, target)
if (insn)
emit_insn (insn);
else
- emit_library_call_value (memcmp_libfunc, result, 2,
+ emit_library_call_value (memcmp_libfunc, result, LCT_PURE_MAKE_BLOCK,
TYPE_MODE (integer_type_node), 3,
XEXP (arg1_rtx, 0), Pmode,
XEXP (arg2_rtx, 0), Pmode,
OpenPOWER on IntegriCloud