------- Comment #2 from danglin at gcc dot gnu dot org  2008-08-31 19:21 -------
Yes.  I can't duplicate this any more.  I've been updating to
gmp-4.2.3.  Now, I get a build error much earlier:

checking for suffix of object files... configure: error: in
`/test/gnu/gcc/objdi
r/hppa64-hp-hpux11.11/libgcc':
configure: error: cannot compute suffix of object files: cannot compile

This may be the same bug as the one reported here:
http://gcc.gnu.org/ml/gcc/2008-08/msg00500.html

I have been experimenting with IRA:

--- pa64-regs.h (revision 139820)
+++ pa64-regs.h (working copy)
@@ -235,12 +235,25 @@
  {{0x00000000, 0x00000000},    /* NO_REGS */                   \
   {0x00000002, 0x00000000},    /* R1_REGS */                   \
   {0xfffffffe, 0x00000000},    /* GENERAL_REGS */              \
-  {0x00000000, 0x00000000},    /* FPUPPER_REGS */                      \
+  {0x00000000, 0x00000000},    /* FPUPPER_REGS */              \
   {0x00000000, 0x0fffffff},    /* FP_REGS */                   \
   {0xfffffffe, 0x0fffffff},    /* GENERAL_OR_FP_REGS */        \
   {0x00000000, 0x10000000},    /* SHIFT_REGS */                \
   {0xfffffffe, 0x1fffffff}}    /* ALL_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, FP_REGS, SHIFT_REGS, LIM_REG_CLASSES                   \
+}
+

Had a full bootstrap with this define on hppa2.0w-hp-hpux11.11.  The
define seemed straight forward on the PA.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299

Reply via email to