This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Add definition of BASE_REGS_CLASS to bfin.h


Hi Bernd,

  The bfin port is not currently building in the gcc mainline because
  ira-conflicts.c needs a definition of BASE_REGS_CLASS.  The patch
  below adds one, although I am not 100% sure that I have used the
  right value.

  OK to apply ?

Cheers
  Nick

gcc/ChangeLog
2009-01-08  Nick Clifton  <nickc@redhat.com>

	* config/bfin/bfin.h (BASE_REG_CLASS): Define.

Index: gcc/config/bfin/bfin.h
===================================================================
--- gcc/config/bfin/bfin.h	(revision 143116)
+++ gcc/config/bfin/bfin.h	(working copy)
@@ -742,6 +742,9 @@
     MOST_REGS, AREGS, CCREGS, LIM_REG_CLASSES		\
 }
 
+/* Needed by ira-conflicts.c  */
+#define BASE_REG_CLASS 		MOST_REGS
+
 /* When defined, the compiler allows registers explicitly used in the
    rtl to be used as spill registers but prevents the compiler from
    extending the lifetime of these registers. */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]