function.c (put_var_into_stack): Change bool parameter to int.
* function.c (put_var_into_stack): Change bool parameter to int. (gen_mem_addressof): Likewise. * rtl.h (gen_mem_addressof): Likewise. * tree.h (put_var_into_stack): Likewise. * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to gen_mem_addressof or put_var_into_stack. * config/c4x/c4x.c (c4x_expand_builtin): Likewise. * config/ia64/ia64.c (spill_tfmode_operand): Likewise. From-SVN: r64807
This commit is contained in:
parent
950ebbeaf0
commit
f89283915d
7 changed files with 19 additions and 8 deletions
|
@ -1,3 +1,14 @@
|
|||
2003-03-24 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* function.c (put_var_into_stack): Change bool parameter to int.
|
||||
(gen_mem_addressof): Likewise.
|
||||
* rtl.h (gen_mem_addressof): Likewise.
|
||||
* tree.h (put_var_into_stack): Likewise.
|
||||
* config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
|
||||
gen_mem_addressof or put_var_into_stack.
|
||||
* config/c4x/c4x.c (c4x_expand_builtin): Likewise.
|
||||
* config/ia64/ia64.c (spill_tfmode_operand): Likewise.
|
||||
|
||||
2003-03-24 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* config/h8300/h8300.md (a peephole2): New.
|
||||
|
|
|
@ -5716,7 +5716,7 @@ alpha_gp_save_rtx ()
|
|||
{
|
||||
rtx r = get_hard_reg_initial_val (DImode, 29);
|
||||
if (GET_CODE (r) != MEM)
|
||||
r = gen_mem_addressof (r, NULL_TREE);
|
||||
r = gen_mem_addressof (r, NULL_TREE, /*rescan=*/true);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
|
@ -5025,7 +5025,7 @@ c4x_expand_builtin (exp, target, subtarget, mode, ignore)
|
|||
break;
|
||||
arg0 = TREE_VALUE (arglist);
|
||||
if (TREE_CODE (arg0) == VAR_DECL || TREE_CODE (arg0) == PARM_DECL)
|
||||
put_var_into_stack (arg0);
|
||||
put_var_into_stack (arg0, /*rescan=*/true);
|
||||
r0 = expand_expr (arg0, NULL_RTX, QFmode, 0);
|
||||
r0 = protect_from_queue (r0, 0);
|
||||
if (register_operand (r0, QFmode))
|
||||
|
|
|
@ -1438,12 +1438,12 @@ spill_tfmode_operand (in, force)
|
|||
&& GET_MODE (SUBREG_REG (in)) == TImode
|
||||
&& GET_CODE (SUBREG_REG (in)) == REG)
|
||||
{
|
||||
rtx mem = gen_mem_addressof (SUBREG_REG (in), NULL_TREE);
|
||||
rtx mem = gen_mem_addressof (SUBREG_REG (in), NULL_TREE, /*rescan=*/true);
|
||||
return gen_rtx_MEM (TFmode, copy_to_reg (XEXP (mem, 0)));
|
||||
}
|
||||
else if (force && GET_CODE (in) == REG)
|
||||
{
|
||||
rtx mem = gen_mem_addressof (in, NULL_TREE);
|
||||
rtx mem = gen_mem_addressof (in, NULL_TREE, /*rescan=*/true);
|
||||
return gen_rtx_MEM (TFmode, copy_to_reg (XEXP (mem, 0)));
|
||||
}
|
||||
else if (GET_CODE (in) == MEM
|
||||
|
|
|
@ -1313,7 +1313,7 @@ init_temp_slots ()
|
|||
void
|
||||
put_var_into_stack (decl, rescan)
|
||||
tree decl;
|
||||
bool rescan;
|
||||
int rescan;
|
||||
{
|
||||
rtx reg;
|
||||
enum machine_mode promoted_mode, decl_mode;
|
||||
|
@ -2887,7 +2887,7 @@ rtx
|
|||
gen_mem_addressof (reg, decl, rescan)
|
||||
rtx reg;
|
||||
tree decl;
|
||||
bool rescan;
|
||||
int rescan;
|
||||
{
|
||||
rtx r = gen_rtx_ADDRESSOF (Pmode, gen_reg_rtx (GET_MODE (reg)),
|
||||
REGNO (reg), decl);
|
||||
|
|
|
@ -1577,7 +1577,7 @@ extern rtx simplify_rtx PARAMS ((rtx));
|
|||
extern rtx avoid_constant_pool_reference PARAMS ((rtx));
|
||||
|
||||
/* In function.c */
|
||||
extern rtx gen_mem_addressof PARAMS ((rtx, tree, bool));
|
||||
extern rtx gen_mem_addressof PARAMS ((rtx, tree, int));
|
||||
|
||||
/* In regclass.c */
|
||||
extern enum machine_mode choose_hard_reg_mode PARAMS ((unsigned int,
|
||||
|
|
|
@ -2987,7 +2987,7 @@ extern void expand_dummy_function_end PARAMS ((void));
|
|||
extern void init_function_for_compilation PARAMS ((void));
|
||||
extern void init_function_start PARAMS ((tree, const char *, int));
|
||||
extern void assign_parms PARAMS ((tree));
|
||||
extern void put_var_into_stack PARAMS ((tree, bool));
|
||||
extern void put_var_into_stack PARAMS ((tree, int));
|
||||
extern void flush_addressof PARAMS ((tree));
|
||||
extern void uninitialized_vars_warning PARAMS ((tree));
|
||||
extern void setjmp_args_warning PARAMS ((void));
|
||||
|
|
Loading…
Add table
Reference in a new issue