This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: Add definition of BASE_REGS_CLASS to bfin.h
- From: Nick Clifton <nickc at redhat dot com>
- To: bernd dot schmidt at analog dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 08 Jan 2009 14:22:01 +0000
- Subject: 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. */