This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] patch for PR 15292 missing round and roundf
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Bud Davis <bdavis9659 at comcast dot net>, Paul Brook <paul at codesourcery dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Jun 2004 10:21:26 -0400
- Subject: Re: [gfortran] patch for PR 15292 missing round and roundf
- References: <1087054651.6748.81.camel@localhost.localdomain>
This patch causes other failures on AIX 5.1 because some of the
macros used by the implementation of the new functions are not defined.
AIX 5.1 has most of C99 support.
David
/gcc/dje/build/powerpc-ibm-aix5.1.0.0-20040613/gcc/xgcc -B/gcc/dje/build/powerpc-ibm-aix5.1.0.0-20040613/gcc/ -B/gcc/dje/install/powerpc-ibm-aix5.1.0.0-20040613/powerpc-ibm-aix5.1.0.0/bin/ -B/gcc/dje/install/powerpc-ibm-aix5.1.0.0-20040613/powerpc-ibm-aix5.1.0.0/lib/ -isystem /gcc/dje/install/powerpc-ibm-aix5.1.0.0-20040613/powerpc-ibm-aix5.1.0.0/include -isystem /gcc/dje/install/powerpc-ibm-aix5.1.0.0-20040613/powerpc-ibm-aix5.1.0.0/sys-include -DHAVE_CONFIG_H -I. -I/gcc/dje/src/libgfortran -I. -I/gcc/dje/src/libgfortran/io -O2 -g -O2 -std=gnu99 -O2 -g -O2 -c /gcc/dje/src/libgfortran/intrinsics/c99_functions.c -DPIC -o .libs/c99_functions.o
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c: In function `round':
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:39: warning: implicit declaration of function 'fpclassify'
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:40: error: 'FP_INFINITE' undeclared (first use in this function)
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:40: error: (Each undeclared identifier is reported only once
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:40: error: for each function it appears in.)
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:40: error: 'FP_NAN' undeclared (first use in this function)
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c: In function `roundf':
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:71: error: 'FP_INFINITE' undeclared (first use in this function)
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:71: error: 'FP_NAN' undeclared (first use in this function)
/gcc/dje/src/libgfortran/intrinsics/c99_functions.c:76: warning: implicit declaration of function 'ceilf'