This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Try the attached patch please. You have to run autoconf after applying.

Doesn't work:

Configuring in hppa64-hp-hpux11.11/libgfortran
configure: creating cache ./config.cache
...
checking for isfinite in -lm... no

Executing on host: /test/gnu/gcc-3.3/objdir/gcc/testsuite/../gfortran -B/test/gnu/gcc-3.3/objdir/gcc/testsuite/../ /test/gnu/gcc-3.3/gcc/gcc/testsuite/gfortran.dg/assignment_1.f90   -O0  -Wsurprising  -L/test/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libiberty  -lm   -o ./assignment_1.exe    (timeout = 300)
In file /test/gnu/gcc-3.3/gcc/gcc/testsuite/gfortran.dg/assignment_1.f90:15

 p = f() ! { dg-warning "POINTER valued function" "" }
    1
Warning: POINTER valued function appears on right-hand side of assignment at (1)
ld: (Warning) Unsatisfied symbol "finite" in file /test/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs/libgfortran.sl

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]