Commit 7ae4ad28 by Eric Christopher

calls.c (expand_call): Fix typo in comment.

2004-07-14  Eric Christopher  <echristo@redhat.com>

	* calls.c (expand_call): Fix typo in comment.

From-SVN: r84719
parent b1346fa3
2004-07-14 Eric Christopher <echristo@redhat.com>
* calls.c (expand_call): Fix typo in comment.
2004-07-14 Steve Ellcey <sje@cup.hp.com> 2004-07-14 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED * config/ia64/ia64.c (ia64_expand_compare): Allow ORDERED
...@@ -340,7 +344,7 @@ ...@@ -340,7 +344,7 @@
* tree-data-ref.h: New file. * tree-data-ref.h: New file.
* tree.c (int_cst_value, tree_fold_gcd): New functions. * tree.c (int_cst_value, tree_fold_gcd): New functions.
* tree.h (int_cst_value, tree_fold_gcd): Declared here. * tree.h (int_cst_value, tree_fold_gcd): Declared here.
2004-07-13 Eric Botcazou <ebotcazou@libertysurf.fr> 2004-07-13 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/13926 PR target/13926
...@@ -404,7 +408,7 @@ ...@@ -404,7 +408,7 @@
* tree.h (must_pass_in_stack_var_size): Declare. * tree.h (must_pass_in_stack_var_size): Declare.
(must_pass_in_stack_var_size_or_pad): Declare. (must_pass_in_stack_var_size_or_pad): Declare.
* calls.c (must_pass_in_stack_var_size): New. * calls.c (must_pass_in_stack_var_size): New.
(must_pass_in_stack_var_size_or_pad): Rename from (must_pass_in_stack_var_size_or_pad): Rename from
default_must_pass_in_stack. default_must_pass_in_stack.
* config/alpha/alpha.c (unicosmk_must_pass_in_stack): New. * config/alpha/alpha.c (unicosmk_must_pass_in_stack): New.
(TARGET_MUST_PASS_IN_STACK): New. (TARGET_MUST_PASS_IN_STACK): New.
...@@ -501,7 +505,7 @@ ...@@ -501,7 +505,7 @@
(NM_FOR_TARGET): Use $(NM) not nm for native. (NM_FOR_TARGET): Use $(NM) not nm for native.
* configure.ac: Add AC_CHECK_PROG calls for NM and AR. * configure.ac: Add AC_CHECK_PROG calls for NM and AR.
* configure: Regenerate. * configure: Regenerate.
2004-07-12 David S. Miller <davem@nuts.davemloft.net> 2004-07-12 David S. Miller <davem@nuts.davemloft.net>
* config/sparc/sparc.md (ashlsi3): Eliminate const 1 * config/sparc/sparc.md (ashlsi3): Eliminate const 1
...@@ -523,7 +527,7 @@ ...@@ -523,7 +527,7 @@
2004-07-12 Devang Patel <dpatel@apple.com> 2004-07-12 Devang Patel <dpatel@apple.com>
* doc/invoke.texi (Darwin Options): Document -gused and -gfull. * doc/invoke.texi (Darwin Options): Document -gused and -gfull.
2004-07-12 Steve Ellcey <sje@cup.hp.com> 2004-07-12 Steve Ellcey <sje@cup.hp.com>
* function.c (expand_function_start): Ensure r_save is in Pmode. * function.c (expand_function_start): Ensure r_save is in Pmode.
...@@ -555,11 +559,11 @@ ...@@ -555,11 +559,11 @@
2004-07-12 Sebastian Pop <pop@cri.ensmp.fr> 2004-07-12 Sebastian Pop <pop@cri.ensmp.fr>
* cfgloop.h (struct loop): Add nb_iterations field. * cfgloop.h (struct loop): Add nb_iterations field.
(current_loops): Declare. (current_loops): Declare.
* tree-chrec.c (chrec_not_analyzed_yet, * tree-chrec.c (chrec_not_analyzed_yet,
chrec_dont_know, chrec_known, count_ev_in_wider_type, chrec_dont_know, chrec_known, count_ev_in_wider_type,
chrec_contains_symbols_defined_in_loop): Remove the temporary chrec_contains_symbols_defined_in_loop): Remove the temporary
hooks. hooks.
* tree-flow-inline.h (loop_containing_stmt): New function. * tree-flow-inline.h (loop_containing_stmt): New function.
* tree-scalar-evolution.c: Add implementation. * tree-scalar-evolution.c: Add implementation.
* tree-scalar-evolution.h: Add declarations. * tree-scalar-evolution.h: Add declarations.
...@@ -568,7 +572,7 @@ ...@@ -568,7 +572,7 @@
PR rtl-optimization/15921 PR rtl-optimization/15921
* Makefile.in (global.o): Add recog.h. * Makefile.in (global.o): Add recog.h.
* global.c (recog.h): Add the include-clause. * global.c (recog.h): Add the include-clause.
(bb_info): New member earlyclobber. (bb_info): New member earlyclobber.
(allocate_bb_info, free_bb_info): Initialize/finish the new (allocate_bb_info, free_bb_info): Initialize/finish the new
...@@ -580,7 +584,7 @@ ...@@ -580,7 +584,7 @@
New functions. New functions.
(calculate_local_reg_bb_info): Calculate value of earlyclobber. (calculate_local_reg_bb_info): Calculate value of earlyclobber.
(make_accurate_live_analysis): Modify pavin. (make_accurate_live_analysis): Modify pavin.
2004-07-12 Diego Novillo <dnovillo@redhat.com> 2004-07-12 Diego Novillo <dnovillo@redhat.com>
* tree-cfg.c (find_taken_edge): Statically compute the truth * tree-cfg.c (find_taken_edge): Statically compute the truth
...@@ -714,7 +718,7 @@ ...@@ -714,7 +718,7 @@
2004-07-11 Ulrich Weigand <uweigand@de.ibm.com> 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): For SIGSEGV and
SIGBUS signal frames, the PSW address points *to* the faulting SIGBUS signal frames, the PSW address points *to* the faulting
instruction, not after it. instruction, not after it.
...@@ -725,7 +729,7 @@ ...@@ -725,7 +729,7 @@
2004-07-11 Richard Henderson <rth@redhat.com> 2004-07-11 Richard Henderson <rth@redhat.com>
* expmed.c (init_expmed): Use stack-local structures for * expmed.c (init_expmed): Use stack-local structures for
temporary rtl. Don't recognize shifts. temporary rtl. Don't recognize shifts.
2004-07-11 Richard Henderson <rth@redhat.com> 2004-07-11 Richard Henderson <rth@redhat.com>
...@@ -960,7 +964,7 @@ ...@@ -960,7 +964,7 @@
(sparc_override_options): Set sparc_costs as appropriate. (sparc_override_options): Set sparc_costs as appropriate.
(sparc_rtx_costs): Use sparc_costs instead of messy (sparc_rtx_costs): Use sparc_costs instead of messy
conditionals. conditionals.
2004-07-09 Steven Bosscher <stevenb@suse.de> 2004-07-09 Steven Bosscher <stevenb@suse.de>
* doc/md.texi (Processor pipeline description): Mention that * doc/md.texi (Processor pipeline description): Mention that
......
...@@ -479,7 +479,7 @@ special_function_p (tree fndecl, int flags) ...@@ -479,7 +479,7 @@ special_function_p (tree fndecl, int flags)
hacky imitation of DECL_ASSEMBLER_NAME. It's (also) wrong hacky imitation of DECL_ASSEMBLER_NAME. It's (also) wrong
because you can declare fork() inside a function if you because you can declare fork() inside a function if you
wish. */ wish. */
&& (DECL_CONTEXT (fndecl) == NULL_TREE && (DECL_CONTEXT (fndecl) == NULL_TREE
|| TREE_CODE (DECL_CONTEXT (fndecl)) == TRANSLATION_UNIT_DECL) || TREE_CODE (DECL_CONTEXT (fndecl)) == TRANSLATION_UNIT_DECL)
&& TREE_PUBLIC (fndecl)) && TREE_PUBLIC (fndecl))
{ {
...@@ -887,7 +887,7 @@ store_unaligned_arguments_into_pseudos (struct arg_data *args, int num_actuals) ...@@ -887,7 +887,7 @@ store_unaligned_arguments_into_pseudos (struct arg_data *args, int num_actuals)
and may be modified by this routine. and may be modified by this routine.
OLD_PENDING_ADJ, MUST_PREALLOCATE and FLAGS are pointers to integer OLD_PENDING_ADJ, MUST_PREALLOCATE and FLAGS are pointers to integer
flags which may may be modified by this routine. flags which may may be modified by this routine.
MAY_TAILCALL is cleared if we encounter an invisible pass-by-reference MAY_TAILCALL is cleared if we encounter an invisible pass-by-reference
that requires allocation of stack space. that requires allocation of stack space.
...@@ -1241,7 +1241,7 @@ precompute_arguments (int flags, int num_actuals, struct arg_data *args) ...@@ -1241,7 +1241,7 @@ precompute_arguments (int flags, int num_actuals, struct arg_data *args)
get extraneous instructions emitted as part of the libcall sequence. */ get extraneous instructions emitted as part of the libcall sequence. */
if ((flags & ECF_LIBCALL_BLOCK) == 0) if ((flags & ECF_LIBCALL_BLOCK) == 0)
return; return;
for (i = 0; i < num_actuals; i++) for (i = 0; i < num_actuals; i++)
{ {
enum machine_mode mode; enum machine_mode mode;
...@@ -2117,7 +2117,7 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2117,7 +2117,7 @@ expand_call (tree exp, rtx target, int ignore)
|| (ACCUMULATE_OUTGOING_ARGS || (ACCUMULATE_OUTGOING_ARGS
&& stack_arg_under_construction && stack_arg_under_construction
&& structure_value_addr == virtual_outgoing_args_rtx) && structure_value_addr == virtual_outgoing_args_rtx)
? copy_addr_to_reg (convert_memory_address ? copy_addr_to_reg (convert_memory_address
(Pmode, structure_value_addr)) (Pmode, structure_value_addr))
: structure_value_addr); : structure_value_addr);
...@@ -2223,7 +2223,7 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2223,7 +2223,7 @@ expand_call (tree exp, rtx target, int ignore)
|| (!ACCUMULATE_OUTGOING_ARGS && args_size.constant))) || (!ACCUMULATE_OUTGOING_ARGS && args_size.constant)))
structure_value_addr = copy_to_reg (structure_value_addr); structure_value_addr = copy_to_reg (structure_value_addr);
/* Tail calls can make things harder to debug, and we're traditionally /* Tail calls can make things harder to debug, and we've traditionally
pushed these optimizations into -O2. Don't try if we're already pushed these optimizations into -O2. Don't try if we're already
expanding a call, as that means we're an argument. Don't try if expanding a call, as that means we're an argument. Don't try if
there's cleanups, as we know there's code to follow the call. there's cleanups, as we know there's code to follow the call.
...@@ -2342,7 +2342,7 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2342,7 +2342,7 @@ expand_call (tree exp, rtx target, int ignore)
int sibcall_failure = 0; int sibcall_failure = 0;
/* We want to emit any pending stack adjustments before the tail /* We want to emit any pending stack adjustments before the tail
recursion "call". That way we know any adjustment after the tail recursion "call". That way we know any adjustment after the tail
recursion call can be ignored if we indeed use the tail recursion call can be ignored if we indeed use the tail
call expansion. */ call expansion. */
int save_pending_stack_adjust = 0; int save_pending_stack_adjust = 0;
int save_stack_pointer_delta = 0; int save_stack_pointer_delta = 0;
...@@ -2755,7 +2755,7 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2755,7 +2755,7 @@ expand_call (tree exp, rtx target, int ignore)
structure value. */ structure value. */
if (pass != 0 && structure_value_addr && ! structure_value_addr_parm) if (pass != 0 && structure_value_addr && ! structure_value_addr_parm)
{ {
structure_value_addr structure_value_addr
= convert_memory_address (Pmode, structure_value_addr); = convert_memory_address (Pmode, structure_value_addr);
emit_move_insn (struct_value, emit_move_insn (struct_value,
force_reg (Pmode, force_reg (Pmode,
...@@ -2840,8 +2840,8 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2840,8 +2840,8 @@ expand_call (tree exp, rtx target, int ignore)
&& (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRT && (DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRT
|| DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRTF || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRTF
|| DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRTL)) || DECL_FUNCTION_CODE (fndecl) == BUILT_IN_SQRTL))
note = gen_rtx_fmt_e (SQRT, note = gen_rtx_fmt_e (SQRT,
GET_MODE (temp), GET_MODE (temp),
args[0].initial_value); args[0].initial_value);
else else
{ {
...@@ -2852,7 +2852,7 @@ expand_call (tree exp, rtx target, int ignore) ...@@ -2852,7 +2852,7 @@ expand_call (tree exp, rtx target, int ignore)
note = gen_rtx_EXPR_LIST (VOIDmode, note = gen_rtx_EXPR_LIST (VOIDmode,
args[i].initial_value, note); args[i].initial_value, note);
note = gen_rtx_EXPR_LIST (VOIDmode, funexp, note); note = gen_rtx_EXPR_LIST (VOIDmode, funexp, note);
if (flags & ECF_PURE) if (flags & ECF_PURE)
note = gen_rtx_EXPR_LIST (VOIDmode, note = gen_rtx_EXPR_LIST (VOIDmode,
gen_rtx_USE (VOIDmode, gen_rtx_USE (VOIDmode,
...@@ -3940,7 +3940,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value, ...@@ -3940,7 +3940,7 @@ emit_library_call_value_1 (int retval, rtx orgfun, rtx value,
if (GET_CODE (valreg) == PARALLEL) if (GET_CODE (valreg) == PARALLEL)
{ {
temp = gen_reg_rtx (outmode); temp = gen_reg_rtx (outmode);
emit_group_store (temp, valreg, NULL_TREE, emit_group_store (temp, valreg, NULL_TREE,
GET_MODE_SIZE (outmode)); GET_MODE_SIZE (outmode));
valreg = temp; valreg = temp;
} }
...@@ -4317,7 +4317,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags, ...@@ -4317,7 +4317,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
excess = (arg->locate.size.constant excess = (arg->locate.size.constant
- int_size_in_bytes (TREE_TYPE (pval)) - int_size_in_bytes (TREE_TYPE (pval))
+ partial * GET_MODE_SIZE (GET_MODE (elt))); + partial * GET_MODE_SIZE (GET_MODE (elt)));
} }
else else
excess = (arg->locate.size.constant excess = (arg->locate.size.constant
- int_size_in_bytes (TREE_TYPE (pval)) - int_size_in_bytes (TREE_TYPE (pval))
...@@ -4434,7 +4434,7 @@ must_pass_in_stack_var_size (enum machine_mode mode ATTRIBUTE_UNUSED, ...@@ -4434,7 +4434,7 @@ must_pass_in_stack_var_size (enum machine_mode mode ATTRIBUTE_UNUSED,
return false; return false;
} }
/* Another version of the TARGET_MUST_PASS_IN_STACK hook. This one /* Another version of the TARGET_MUST_PASS_IN_STACK hook. This one
takes trailing padding of a structure into account. */ takes trailing padding of a structure into account. */
/* ??? Should be able to merge these two by examining BLOCK_REG_PADDING. */ /* ??? Should be able to merge these two by examining BLOCK_REG_PADDING. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment