]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/builtins.c
* expr.h (enum block_op_methods): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Aug 2002 19:20:01 +0000 (19:20 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Aug 2002 19:20:01 +0000 (19:20 +0000)
commit0378dbdcee9c538dd704efe558d55acb1620fda8
tree44fb6efc1ab10d4d91c0a9304f749fed8e7f2159
parent71012db2d016fa8bce5d3c00de462feff6605635
    * expr.h (enum block_op_methods): New.
        (emit_block_move): Update prototype.
        * expr.c (block_move_libcall_safe_for_call_parm): New.
        (emit_block_move_via_loop): New.
        (emit_block_move): Use them.  New argument METHOD.
        (emit_push_insn): Always respect the given alignment.
        (expand_assignment): Update call to emit_block_move.
        (store_expr, store_field, expand_expr): Likewise.
        * builtins.c (expand_builtin_apply): Likewise.
        (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
        * function.c (expand_function_end): Likewise.
        * config/sh/sh.c (sh_initialize_trampoline): Likewise.
        * config/sparc/sparc.c (sparc_va_arg): Likewise.
        * calls.c (expand_call, emit_library_call_value_1): Likewise.
        (save_fixed_argument_area): Use emit_block_move with
        BLOCK_OP_CALL_PARM instead of move_by_pieces.
        (restore_fixed_argument_area): Likewise.
        (store_one_arg): Fix alignment parameter to emit_push_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56661 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/calls.c
gcc/config/sh/sh.c
gcc/config/sparc/sparc.c
gcc/expr.c
gcc/expr.h
gcc/function.c