mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
mips.c (mips_va_start): Fix types in calls to build_int_cst.
gcc/ * config/mips/mips.c (mips_va_start): Fix types in calls to build_int_cst. From-SVN: r129525
This commit is contained in:
parent
a1569a0e15
commit
e0681eaad4
@ -1,3 +1,8 @@
|
||||
2007-10-21 Richard Sandiford <rsandifo@nildram.co.uk>
|
||||
|
||||
* config/mips/mips.c (mips_va_start): Fix types in calls
|
||||
to build_int_cst.
|
||||
|
||||
2007-10-21 Richard Sandiford <rsandifo@nildram.co.uk>
|
||||
|
||||
* config/mips/mips.c (mips_rtx_costs): Only recognize reciprocals
|
||||
|
@ -4826,13 +4826,13 @@ mips_va_start (tree valist, rtx nextarg)
|
||||
/* Emit code to initialize GOFF, the offset from GTOP of the
|
||||
next GPR argument. */
|
||||
t = build2 (GIMPLE_MODIFY_STMT, TREE_TYPE (goff), goff,
|
||||
build_int_cst (NULL_TREE, gpr_save_area_size));
|
||||
build_int_cst (TREE_TYPE (goff), gpr_save_area_size));
|
||||
expand_expr (t, const0_rtx, VOIDmode, EXPAND_NORMAL);
|
||||
|
||||
/* Likewise emit code to initialize FOFF, the offset from FTOP
|
||||
of the next FPR argument. */
|
||||
t = build2 (GIMPLE_MODIFY_STMT, TREE_TYPE (foff), foff,
|
||||
build_int_cst (NULL_TREE, fpr_save_area_size));
|
||||
build_int_cst (TREE_TYPE (foff), fpr_save_area_size));
|
||||
expand_expr (t, const0_rtx, VOIDmode, EXPAND_NORMAL);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user