This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168272 - in /branches/pr46489-20101227-branch:...
- From: amylaar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 27 Dec 2010 13:00:06 -0000
- Subject: r168272 - in /branches/pr46489-20101227-branch:...
Author: amylaar
Date: Mon Dec 27 12:59:58 2010
New Revision: 168272
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168272
Log:
2010-12-27 Joern Rennecke <amylaar@spamcop.net>
From Ralf Wildenhues:
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01515.html
gcc:
* target.def (init_cumulative_args): Documentation spelling fixes.
* doc/tm.texi: Regenerate.
2010-12-27 Joern Rennecke <amylaar@spamcop.net>
http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01514.html
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-20101227-branch/ (props changed)
branches/pr46489-20101227-branch/ChangeLog.46489
branches/pr46489-20101227-branch/gcc/ (props changed)
branches/pr46489-20101227-branch/gcc/Makefile.in
branches/pr46489-20101227-branch/gcc/ada/gcc-interface/misc.c
branches/pr46489-20101227-branch/gcc/builtins.c
branches/pr46489-20101227-branch/gcc/calls.c
branches/pr46489-20101227-branch/gcc/config/alpha/alpha.c
branches/pr46489-20101227-branch/gcc/config/arc/arc.c
branches/pr46489-20101227-branch/gcc/config/arm/arm.c
branches/pr46489-20101227-branch/gcc/config/avr/avr.c
branches/pr46489-20101227-branch/gcc/config/frv/frv.c
branches/pr46489-20101227-branch/gcc/config/i386/i386.c
branches/pr46489-20101227-branch/gcc/config/ia64/ia64.c
branches/pr46489-20101227-branch/gcc/config/iq2000/iq2000.c
branches/pr46489-20101227-branch/gcc/config/m32c/m32c.h
branches/pr46489-20101227-branch/gcc/config/m68hc11/m68hc11.c
branches/pr46489-20101227-branch/gcc/config/mips/mips.c
branches/pr46489-20101227-branch/gcc/config/mmix/mmix.c
branches/pr46489-20101227-branch/gcc/config/pa/pa.c
branches/pr46489-20101227-branch/gcc/config/rs6000/rs6000.c
branches/pr46489-20101227-branch/gcc/config/s390/s390.c
branches/pr46489-20101227-branch/gcc/config/sh/sh.c
branches/pr46489-20101227-branch/gcc/config/sh/sh.h
branches/pr46489-20101227-branch/gcc/config/sh/sh.md
branches/pr46489-20101227-branch/gcc/config/sparc/sparc.c
branches/pr46489-20101227-branch/gcc/config/stormy16/stormy16.c
branches/pr46489-20101227-branch/gcc/config/xtensa/xtensa.c
branches/pr46489-20101227-branch/gcc/coretypes.h
branches/pr46489-20101227-branch/gcc/doc/tm.texi
branches/pr46489-20101227-branch/gcc/doc/tm.texi.in
branches/pr46489-20101227-branch/gcc/dse.c
branches/pr46489-20101227-branch/gcc/expr.c
branches/pr46489-20101227-branch/gcc/function.c
branches/pr46489-20101227-branch/gcc/function.h
branches/pr46489-20101227-branch/gcc/genconditions.c
branches/pr46489-20101227-branch/gcc/genemit.c
branches/pr46489-20101227-branch/gcc/gengtype.c
branches/pr46489-20101227-branch/gcc/genrecog.c
branches/pr46489-20101227-branch/gcc/target.def
branches/pr46489-20101227-branch/gcc/target.h
branches/pr46489-20101227-branch/gcc/targhooks.c
branches/pr46489-20101227-branch/gcc/targhooks.h
branches/pr46489-20101227-branch/gcc/testsuite/gcc.target/powerpc/ppc-round.c (props changed)
branches/pr46489-20101227-branch/libjava/classpath/ (props changed)
Propchange: branches/pr46489-20101227-branch/
('svn:mergeinfo' added)
Propchange: branches/pr46489-20101227-branch/gcc/
('svn:mergeinfo' modified)
Propchange: branches/pr46489-20101227-branch/gcc/testsuite/gcc.target/powerpc/ppc-round.c
('svn:mergeinfo' modified)
Propchange: branches/pr46489-20101227-branch/libjava/classpath/
('svn:mergeinfo' modified)