diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/mips.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154bcc8..bc3741c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 if ISA_HAS_FP4. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 2ddb778..afec3a2 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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 |
