re PR target/49403 (v850e-elf: incompatible pointer type (near initialization for ‘targetm.memory_move_cost’))

PR target/49403
	* config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter.

	PR target/49402
	* config.gcc(v850*-*-*): Avoid duplication of v850.opt.

From-SVN: r175030
This commit is contained in:
Nick Clifton 2011-06-14 15:30:05 +00:00 committed by Nick Clifton
parent 1ace6185d2
commit 0ccef3d256
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2011-06-14 Nick Clifton <nickc@redhat.com>
PR target/49403
* config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter.
PR target/49402
* config.gcc(v850*-*-*): Avoid duplication of v850.opt.
2011-06-14 Jakub Jelinek <jakub@redhat.com>
PR fortran/49103

View File

@ -2584,7 +2584,7 @@ v850*-*-*)
md_file=v850/v850.md
extra_modes=v850/v850-modes.def
out_file=v850/v850.c
extra_options="${extra_options} v850/v850.opt"
extra_options="v850/v850.opt"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"

View File

@ -3141,7 +3141,9 @@ v850_legitimate_constant_p (enum machine_mode mode ATTRIBUTE_UNUSED, rtx x)
}
static int
v850_memory_move_cost (enum machine_mode mode, bool in)
v850_memory_move_cost (enum machine_mode mode,
reg_class_t reg_class ATTRIBUTE_UNUSED,
bool in)
{
switch (GET_MODE_SIZE (mode))
{