http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46416
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 16:44:39 UTC --- Author: jakub Date: Sun Jan 16 16:44:35 2011 New Revision: 168854 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168854 Log: PR fortran/46416 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove const from prototype argument. (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes. (__quadmath_extern_inline): Define. (cimagq, conjq, crealq): New inlines. * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c, math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c, math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c, math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c. * Makefile.in: Regenerated. * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add. * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define. (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__ tests instead of __BIG_ENDIAN__. * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq and remquoq. * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add. * math/cprojq.c: New file. * math/ilogbq.c: New file. * math/fminq.c: New file. * math/llrintq.c: New file. * math/log2q.c: New file. * math/lrintq.c: New file. * math/crealq.c: New file. * math/nearbyintq.c: New file. * math/fmaxq.c: New file. * math/conjq.c: New file. * math/remquoq.c: New file. * math/cimagq.c: New file. * math/fdimq.c: New file. * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed. Added: trunk/libquadmath/math/cimagq.c trunk/libquadmath/math/conjq.c trunk/libquadmath/math/cprojq.c trunk/libquadmath/math/crealq.c trunk/libquadmath/math/fdimq.c trunk/libquadmath/math/fmaxq.c trunk/libquadmath/math/fminq.c trunk/libquadmath/math/ilogbq.c trunk/libquadmath/math/llrintq.c trunk/libquadmath/math/log2q.c trunk/libquadmath/math/lrintq.c trunk/libquadmath/math/nearbyintq.c trunk/libquadmath/math/remquoq.c Modified: trunk/libquadmath/ChangeLog trunk/libquadmath/Makefile.am trunk/libquadmath/Makefile.in trunk/libquadmath/libquadmath.texi trunk/libquadmath/math/ldexpq.c trunk/libquadmath/quadmath-imp.h trunk/libquadmath/quadmath.h trunk/libquadmath/quadmath.map trunk/libquadmath/quadmath_weak.h