re PR target/49403 (v850e-elf: incompatible pointer type (near initialization for...
authorNick Clifton <nickc@redhat.com>
Tue, 14 Jun 2011 15:30:05 +0000 (15:30 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 14 Jun 2011 15:30:05 +0000 (15:30 +0000)
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

gcc/ChangeLog
gcc/config.gcc
gcc/config/v850/v850.c

index 2c4b86c99f491629da4cf2f37f17fdcf99decde6..8e9aa41b378c58d6fcbe642b0f560c13ccc69666 100644 (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
index 5d88d1bf60d0fdc9ff6c40ff40192cbc293240ae..b5a5638d271b796cd416a0278cf8c51b35839550 100644 (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"
index cb31f9aa381ff9f4ad82834821696a5ad93e0376..18e8a4e0374d90301116b277fd0a9884fd0160c3 100644 (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))
     {