]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/44749 (mep-elf fails to build)
authorJoseph Myers <joseph@codesourcery.com>
Mon, 13 Sep 2010 22:25:09 +0000 (23:25 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 13 Sep 2010 22:25:09 +0000 (23:25 +0100)
PR target/44749
* config/mep/t-mep (GTM_H): Add insn-constants.h.
* config/mep/mep.c (mep_conditional_register_usage): Take no
parameters.
* config/mep/mep-protos.h (mep_conditional_register_usage): Update
prototype.
* config/mep/mep-pragma.c (CONDITIONAL_REGISTER_USAGE): Update
call to mep_conditional_register_usage.

From-SVN: r164260

gcc/ChangeLog
gcc/config/mep/mep-protos.h
gcc/config/mep/mep.c
gcc/config/mep/mep.h
gcc/config/mep/t-mep

index d75339a0c0a0c467e2b627272e359555c0ad10a5..a33cba73c3e20c1c4da051e8d9b5e89552eefb08 100644 (file)
@@ -1,3 +1,14 @@
+2010-09-13  Joseph Myers  <joseph@codesourcery.com>
+
+       PR target/44749
+       * config/mep/t-mep (GTM_H): Add insn-constants.h.
+       * config/mep/mep.c (mep_conditional_register_usage): Take no
+       parameters.
+       * config/mep/mep-protos.h (mep_conditional_register_usage): Update
+       prototype.
+       * config/mep/mep-pragma.c (CONDITIONAL_REGISTER_USAGE): Update
+       call to mep_conditional_register_usage.
+
 2010-09-13  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR debug/43937
index 82be465ad04a14a57f1ec88052cc2838e08d08ad..44699f762fa6b28c5492f185dc1d8fa073b3c169 100644 (file)
@@ -1,5 +1,5 @@
 /* Prototypes for exported functions defined in mep.c
-   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free
+   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free
    Software Foundation, Inc.
    Contributed by Red Hat Inc (dj@redhat.com)
 
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
-extern void mep_conditional_register_usage (char *, char *);
+extern void mep_conditional_register_usage (void);
 extern void mep_optimization_options (void);
 extern void mep_override_options (void);
 extern int mep_regno_reg_class (int);
index 1d83d8d76e2ede3298ec39be0f914626900414cd..50edeffcd401bd99f534dac42efb62f098015b49 100644 (file)
@@ -354,7 +354,7 @@ mep_set_leaf_registers (int enable)
 }
 
 void
-mep_conditional_register_usage (char *fixed_regs, char *call_used_regs)
+mep_conditional_register_usage (void)
 {
   int i;
 
index d3af07349510f8fc8ff7c92d70af04470fd50818..2ac0fafc077a7dd4ceececb75e3e6a50ab10aa24 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for Toshiba Media Processor
-   Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009
+   Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Contributed by Red Hat, Inc.
 
@@ -276,7 +276,7 @@ extern int target_flags;
   }
 
 #define CONDITIONAL_REGISTER_USAGE \
-       mep_conditional_register_usage (fixed_regs, call_used_regs);
+       mep_conditional_register_usage ();
 
 #define REG_ALLOC_ORDER {                                              \
   /* core registers */                                                 \
index 9608d6c46d321363a8a17729e150a854f25c85ca..b5b884984611485cf16b8c4dcbd774fda9e25abd 100644 (file)
@@ -1,6 +1,6 @@
 # -*- makefile -*-
 # GCC makefile fragment for MeP
-# Copyright (C) 2001, 2002, 2003, 2005, 2007, 2009
+# Copyright (C) 2001, 2002, 2003, 2005, 2007, 2009, 2010
 # Free Software Foundation, Inc.
 # Contributed by Red Hat Inc
 #
@@ -22,7 +22,7 @@
 
 # Force genpreds to be rebuilt in case MeP-Integrator changed the predicates
 
-GTM_H = tm.h $(tm_file_list) $(srcdir)/config/mep/mep-intrin.h
+GTM_H = tm.h $(tm_file_list) $(srcdir)/config/mep/mep-intrin.h insn-constants.h
 
 # Use -O0 instead of -O2 so we don't get complex relocations