summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-02 04:48:04 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-02 04:48:04 +0000
commit343778801ad455334237465994ed6e12c854906d (patch)
tree845ba70a5c89399039225a89e43ea832388e7ef0 /gcc/c-decl.c
parentbba1c400e85a003b7f0a2c126216fa63945227ef (diff)
downloadgcc-343778801ad455334237465994ed6e12c854906d.tar.gz
* c-decl.c (init_decl_processing): Provide proper fallback symbol
for __builtin_memset. * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE not INTEGER_CST. Assert arg 3 is a constant. * alpha.c (mode_width_operand): Accept 64-bit modes. (mode_mask_operand): Likewise. (print_operand): Likewise for 'M' and 'U' codes. (alpha_expand_unaligned_load): New function. (alpha_expand_unaligned_store): Likewise. (alpha_expand_unaligned_load_words): Likewise. (alpha_expand_unaligned_store_words): Likewise. (alpha_expand_block_move): Likewise. (alpha_expand_block_clear): Likewise. * alpha.h (MOVE_RATIO): New define. * alpha.md (extxl, ext*h, ins*l, mskxl): Name them. (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New. * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3. (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 0bc292a5195..d7f5737d3a9 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3353,7 +3353,7 @@ init_decl_processing ()
builtin_function ("__builtin_memcmp", int_ftype_cptr_cptr_sizet,
BUILT_IN_MEMCMP, "memcmp");
builtin_function ("__builtin_memset", memset_ftype,
- BUILT_IN_MEMSET, NULL_PTR);
+ BUILT_IN_MEMSET, "memset");
builtin_function ("__builtin_strcmp", int_ftype_string_string,
BUILT_IN_STRCMP, "strcmp");
builtin_function ("__builtin_strcpy", string_ftype_ptr_ptr,
@@ -3450,8 +3450,6 @@ init_decl_processing ()
BUILT_IN_FMOD, NULL_PTR);
builtin_function ("__builtin_frem", double_ftype_double_double,
BUILT_IN_FREM, NULL_PTR);
- builtin_function ("__builtin_memset", ptr_ftype_ptr_int_int,
- BUILT_IN_MEMSET, NULL_PTR);
builtin_function ("__builtin_getexp", double_ftype_double, BUILT_IN_GETEXP,
NULL_PTR);
builtin_function ("__builtin_getman", double_ftype_double, BUILT_IN_GETMAN,