This is the mail archive of the gcc@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]

Successful bootstrap of gcc-3.4.3 on Tru64 5.1B


I have succeeded in bootstrapping gcc-3.4.3 on Alpha Tru64 5.1B using the Compaq C compiler.

The compile required the following patch to libiberty/floatformat.c:
*** fixed/libiberty/floatformat.c  Mon Feb  7 15:31:22 2005
--- broken/libiberty/floatformat.c Sun Jan  4 10:03:51 2004
***************
*** 30,39 ****
  #include <string.h>
  #endif

- #if defined (__digital__) && defined (__unix__)
- #include <float.h>
- #endif
-
  #include "ansidecl.h"
  #include "libiberty.h"
  #include "floatformat.h"
--- 30,35 ----
***************
*** 47,59 ****
  #endif

  #ifndef NAN
!   #if defined(DBL_QNAN)
!     #define NAN DBL_QNAN
!   #elif defined(NaN)
!     #define NAN NaN
!   #else
!     #define NAN (0.0/0.0)
!   #endif
  #endif

  static unsigned long get_field PARAMS ((const unsigned char *,
--- 43,49 ----
  #endif

  #ifndef NAN
! #define NAN (0.0 / 0.0)
  #endif

static unsigned long get_field PARAMS ((const unsigned char *,


Without the patch the compile would break on the (0.0/0.0) construct. Should I put this on the bug database?


Bill Northcott


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