Patchwork [committed] Fix builds of pdp11

login
register
mail settings
Submitter Richard Sandiford
Date April 4, 2011, 8:11 a.m.
Message ID <g4oc4mjv15.fsf@linaro.org>
Download mbox | patch
Permalink /patch/89594/
State New
Headers show

Comments

Richard Sandiford - April 4, 2011, 8:11 a.m.
Another trivial fix, this time for pdp11.

Tested by building cc1 on that target.  Committed as obvious.

Richard


gcc/
	* config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete.

Patch

Index: gcc/config/pdp11/pdp11.h
===================================================================
--- gcc/config/pdp11/pdp11.h	2011-04-04 09:06:23.000000000 +0100
+++ gcc/config/pdp11/pdp11.h	2011-04-04 09:10:30.000000000 +0100
@@ -271,16 +271,6 @@  #define REGNO_REG_CLASS(REGNO) pdp11_reg
 #define INDEX_REG_CLASS GENERAL_REGS
 #define BASE_REG_CLASS GENERAL_REGS
 
-/* The following macro defines cover classes for Integrated Register
-   Allocator.  Cover classes is a set of non-intersected register
-   classes covering all hard registers used for register allocation
-   purpose.  Any move between two registers of a cover class should be
-   cheaper than load or store of the registers.  The macro value is
-   array of register classes with LIM_REG_CLASSES used as the end
-   marker.  */
-
-#define IRA_COVER_CLASSES { GENERAL_REGS, FPU_REGS, LIM_REG_CLASSES }
-
 /* Hook for testing if memory is needed for moving between registers.  */
 #define SECONDARY_MEMORY_NEEDED(class1, class2, m) \
   pdp11_secondary_memory_needed (class1, class2, m)