------- Comment #3 from jvdelisle at gcc dot gnu dot org  2007-06-21 03:12 
-------
Here is a patch.  Could someone test for a system that supports KIND=16.  I can
only test for KIND=10.  The value 45 is the minimum size that will work with
the test case.  I am only guessing at the 63.

Index: write.c
===================================================================
*** write.c     (revision 125870)
--- write.c     (working copy)
*************** static void
*** 437,445 ****
  output_float (st_parameter_dt *dtp, const fnode *f, GFC_REAL_LARGEST value)
  {
  #if defined(HAVE_GFC_REAL_16) && __LDBL_DIG__ > 18
! # define MIN_FIELD_WIDTH 46
  #else
! # define MIN_FIELD_WIDTH 31
  #endif
  #define STR(x) STR1(x)
  #define STR1(x) #x
--- 437,445 ----
  output_float (st_parameter_dt *dtp, const fnode *f, GFC_REAL_LARGEST value)
  {
  #if defined(HAVE_GFC_REAL_16) && __LDBL_DIG__ > 18
! # define MIN_FIELD_WIDTH 63
  #else
! # define MIN_FIELD_WIDTH 45
  #endif
  #define STR(x) STR1(x)
  #define STR1(x) #x


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|?                           |


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

Reply via email to