[Bug fortran/67509] [6 regression] FAIL: gfortran.dg/ieee/ieee_7.f90 -O0 execution test

fxcoudert at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 10 21:39:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67509

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Pat Haugen from comment #2)
> I see the same thing on both powerpc64/powerpc64le:
> 
> pthaugen@genoa:~$ ~/install/gcc/trunk/bin/gfortran z.f90 && ./a.out
>            4           8          16
>           16          16
>          291
>            8
>            8
>            8
>            8

That's weird, because it would mean that the "decimal exponent range" (i.e. the
largest possible power of ten) is 291, which is smaller than the range of 307
for a regular double. I know that ppc long double is the non-IEEE "double
double" format, but this should give it the same range as double.

Can you tell me what this outputs?

  print *, range(0._4), range(0._8), range(0._16)
  print *, huge(0._4), huge(0._8), huge(0._16)
  print *, tiny(0._4), tiny(0._8), tiny(0._16)
  end



More information about the Gcc-bugs mailing list