[Patch, fortran] PR24174 real(10) and complex(10) array IO broken.

FX Coudert fxcoudert@gmail.com
Tue Oct 18 06:05:00 GMT 2005


I unfortunately don't have time to review this patch, but...

>>! { dg-do run }

You should make this conditionnal on effective target fortran_large_real.

! { dg-do run }
! { dg-require-effective-target fortran_large_real }

>>  real(kind=10) :: a,b(2), c
>>  complex(kind=10) :: d, e, f(2)

And then declare those as

   integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1)

   real(kind=k) :: a,b(2),c
   complex(kind=k) :: d,e,f(2)


FX



More information about the Gcc-patches mailing list