This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r168033 - in /branches/pr46489-20101217-branch/...


Author: amylaar
Date: Sat Dec 18 20:31:02 2010
New Revision: 168033

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168033
Log:
gcc:
	* doc/tm.texi: Regenerate.
	* doc/tm.texi.in (CALL_POPS_ARGS): Change into ...
	(TARGET_CALL_POPS_ARGS): New hook.
	(TARGET_CUMULATIVE_ARGS_SIZE): New hook marker.
	(TARGET_INIT_CUMULATIVE_ARGS): Likewise.
	* targhooks.c (legacy_init_cumulative_args): New function.
	(init_simple_cumulative_args, hook_int_cumulative_args_0): Likewise.
	* targhooks.h (legacy_init_cumulative_args): Declare.
	(init_simple_cumulative_args, hook_int_cumulative_args_0): Likewise.
	* genrecog.c (write_header): Also include target.h.
	* genemit.c (main): Likewise.
	* genconditions.c (write_header): Likewise.
	* gengtype (do_typedef): Also special-case cumulative_args_t.
	(main): Likewise.
	* target.def (cumulative_args_size): New const pod "hook".
	(init_cumulative_args, call_pops_args): New hooks.
	* target.h (cumulative_args_t) Move from here ...
	* coretypes.h (cumulative_args_t): ... to here.
	* builtin.c (std_gimplify_va_arg_expr): Use pack_cumulative_args.
	* expr.c (block_move_libcall_safe_for_call_parm): Use new hooks.
	* dse.c (get_call_args): Likewise.
	* calls.c (emit_call_1, emit_library_call_value_1): Likewise.
	* function.c (pass_by_reference): Take a cumulative_args_t parameter.
	Changed all callers.
	(reference_callee_copied): Likewise.
	(struct assign_parm_data_all): Change type of args_so_far to
	cumulative_args_t.  Changed all users.
	(assign_parms_initialize_all): Take an extra void * parameter.
	Changed all callers.  Use new hooks.
	* function.h (struct incoming_arg) <info>: Change type to
	cumulative_args_t.  Changed all users.
	(pass_by_reference, reference_callee_copied): Update prototype.
	* calls.c (emit_call_1): Changed args_so_far to cumulative_args_t.
	Changed all callers.
	(initialize_argument_information): Likewise.
	* Makefile.in (insn-emit.o): Depend on $(TARGET_H).
	(insn-recog.o): Likewise.
	(build/gencondmd.o): Depend on target.h.
	* config/m32c/m32c.h (CALL_POPS_ARGS): Don't define.
	* config/sh/sh.c (TARGET_CALL_POPS_ARGS): Override.
	(sh_call_pops_args): New function.
	* config/sh/sh.h (CALL_POPS_ARGS): Don't define.
gcc/ada:
	* gcc-interface/misc.c (default_pass_by_ref): Update for new
	pass_by_reference signature.

Modified:
    branches/pr46489-20101217-branch/gcc/ChangeLog.46489
    branches/pr46489-20101217-branch/gcc/Makefile.in
    branches/pr46489-20101217-branch/gcc/ada/gcc-interface/misc.c
    branches/pr46489-20101217-branch/gcc/builtins.c
    branches/pr46489-20101217-branch/gcc/calls.c
    branches/pr46489-20101217-branch/gcc/config/alpha/alpha.c
    branches/pr46489-20101217-branch/gcc/config/arc/arc.c
    branches/pr46489-20101217-branch/gcc/config/arm/arm.c
    branches/pr46489-20101217-branch/gcc/config/avr/avr.c
    branches/pr46489-20101217-branch/gcc/config/frv/frv.c
    branches/pr46489-20101217-branch/gcc/config/i386/i386.c
    branches/pr46489-20101217-branch/gcc/config/ia64/ia64.c
    branches/pr46489-20101217-branch/gcc/config/iq2000/iq2000.c
    branches/pr46489-20101217-branch/gcc/config/m32c/m32c.h
    branches/pr46489-20101217-branch/gcc/config/m68hc11/m68hc11.c
    branches/pr46489-20101217-branch/gcc/config/mips/mips.c
    branches/pr46489-20101217-branch/gcc/config/mmix/mmix.c
    branches/pr46489-20101217-branch/gcc/config/pa/pa.c
    branches/pr46489-20101217-branch/gcc/config/rs6000/rs6000.c
    branches/pr46489-20101217-branch/gcc/config/s390/s390.c
    branches/pr46489-20101217-branch/gcc/config/sh/sh.c
    branches/pr46489-20101217-branch/gcc/config/sh/sh.h
    branches/pr46489-20101217-branch/gcc/config/sh/sh.md
    branches/pr46489-20101217-branch/gcc/config/sparc/sparc.c
    branches/pr46489-20101217-branch/gcc/config/stormy16/stormy16.c
    branches/pr46489-20101217-branch/gcc/config/xtensa/xtensa.c
    branches/pr46489-20101217-branch/gcc/coretypes.h
    branches/pr46489-20101217-branch/gcc/doc/tm.texi
    branches/pr46489-20101217-branch/gcc/doc/tm.texi.in
    branches/pr46489-20101217-branch/gcc/dse.c
    branches/pr46489-20101217-branch/gcc/expr.c
    branches/pr46489-20101217-branch/gcc/function.c
    branches/pr46489-20101217-branch/gcc/function.h
    branches/pr46489-20101217-branch/gcc/genconditions.c
    branches/pr46489-20101217-branch/gcc/genemit.c
    branches/pr46489-20101217-branch/gcc/gengtype.c
    branches/pr46489-20101217-branch/gcc/genrecog.c
    branches/pr46489-20101217-branch/gcc/target.def
    branches/pr46489-20101217-branch/gcc/target.h
    branches/pr46489-20101217-branch/gcc/targhooks.c
    branches/pr46489-20101217-branch/gcc/targhooks.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]