This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use C99 isfinite macro instead of finite when availab
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: tobias dot schlueter at physik dot uni-muenchen dot de (Tobias Schlüter)
- Cc: stevenb at suse dot de, gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Tue, 28 Sep 2004 22:44:16 -0400 (EDT)
- Subject: 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)