[PATCH] Use C99 isfinite macro instead of finite when availab

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Aug 23 17:06:00 GMT 2004


> libstdc++ has FINITE_P and GLIBCXX_ENABLE_C99.  I suppose we need
> something like that for libgfortran too...  If you have time, that'd
> be much appreciated.  Otherwise I'll take care of it next weekend.

I didn't develop a configure test because C99 specifies isfinite as
a macro (7.12.3.2) and there was only one place where it was needed.

The current release of HP-UX (11.11) on the PA doesn't have complete
C99 support.  However, most of these deficiencies seem to have been
taken care of by the gfortran runtime library additions.

With the "finite" problem fixed, these are the remaining fails:

FAIL: gfortran.fortran-torture/execute/common.f90 compilation,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: gfortran.fortran-torture/execute/common.f90 compilation,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O0 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O1 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O2 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O3 -fomit-frame-pointer 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -O3 -g 
FAIL: gfortran.fortran-torture/execute/forall_3.f90 execution,  -Os 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O0 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O1 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O2 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O3 -fomit-frame-pointer 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O3 -fomit-frame-pointer -funroll-loops 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -O3 -g 
FAIL: gfortran.fortran-torture/execute/seq_io.f90 execution,  -Os 

I trying to clean up a few things this week and then I will be
travelling until Sept. 14.  Thus, I would greatly appreciate your
taking care of this.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc-patches mailing list