Float 128 testing results

Jerry DeLisle jvdelisle@frontier.com
Wed Sep 1 04:49:00 GMT 2010


Hi FX,

With your full_testing_2.diff patch:

gfortran appears to build OK. The following code compiles OK with no errors. Run 
time I get an internal error in write_float.def at line 1073.

Evidently HAVE_GFC_REAL_16 is not getting defined.  The variable len is being 
passed in OK with a value of 16

I noticed when libquad is installed, the libraries are being placed in 
/home/jerry/gcc/usr/lib.

I configured with --prefix=/home/jerry/gcc/usr for the library build.

I configured with --with-quad=/home/jerry/gcc/usr

$ cat quad1.f90
program test_quad
   real(16) :: num1, num2, num3

   num1 = 23.456
   print *, num1
end program test_quad

[jerry@quattro quad]$ gfc -m32 quad1.f90
[jerry@quattro quad]$ ./a.out
Internal Error: bad real kind
[jerry@quattro quad]$ gfc -m64 quad1.f90
[jerry@quattro quad]$ ./a.out
Internal Error: bad real kind

This is on x86-64-linux-gnu.

Any suggestions? Do I need --disable-multilib in the gcc build configure?

Jerry



More information about the Fortran mailing list