002-dont-choke-when-building-32bit-on-64bit.patch 502 B

1234567891011121314
  1. --- a/gcc/real.h
  2. +++ b/gcc/real.h
  3. @@ -75,9 +75,10 @@
  4. + (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */
  5. /* Verify the guess. */
  6. +#ifndef __LP64__
  7. extern char test_real_width
  8. [sizeof (REAL_VALUE_TYPE) <= REAL_WIDTH * sizeof (HOST_WIDE_INT) ? 1 : -1];
  9. -
  10. +#endif
  11. /* Calculate the format for CONST_DOUBLE. We need as many slots as
  12. are necessary to overlay a REAL_VALUE_TYPE on them. This could be
  13. as many as four (32-bit HOST_WIDE_INT, 128-bit REAL_VALUE_TYPE).