OSDN Git Service

PR fortran/46416
[pf3gnuchains/gcc-fork.git] / libquadmath / ChangeLog
1 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
2
3         PR fortran/46416
4         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
5         const from prototype argument.
6         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
7         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
8         (__quadmath_extern_inline): Define.
9         (cimagq, conjq, crealq): New inlines.
10         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
11         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
12         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
13         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
14         * Makefile.in: Regenerated.
15         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
16         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
17         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
18         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
19         tests instead of __BIG_ENDIAN__.
20         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
21         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
22         and remquoq.
23         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
24         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
25         * math/cprojq.c: New file.
26         * math/ilogbq.c: New file.
27         * math/fminq.c: New file.
28         * math/llrintq.c: New file.
29         * math/log2q.c: New file.
30         * math/lrintq.c: New file.
31         * math/crealq.c: New file.
32         * math/nearbyintq.c: New file.
33         * math/fmaxq.c: New file.
34         * math/conjq.c: New file.
35         * math/remquoq.c: New file.
36         * math/cimagq.c: New file.
37         * math/fdimq.c: New file.
38
39         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
40
41         PR fortran/46416
42         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
43         New prototypes.
44         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
45         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
46         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
47         catanhq): Add.
48         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
49         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
50         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
51         catanq and catanhq.
52         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
53         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
54         and math/catanhq.c.
55         * Makefile.in: Regenerated.
56         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
57         catanq, catanhq): Add.
58         * math/cacoshq.c: New file.
59         * math/cacosq.c: New file.
60         * math/catanq.c: New file.
61         * math/catanhq.c: New file.
62         * math/casinq.c: New file.
63         * math/casinhq.c: New file.
64
65         * math/hypotq.c (hypotq): Use Q suffix instead of L.
66         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
67         * math/cosq.c (cosq): Likewise.
68
69         PR fortran/46402
70         * quadmath.map (QUADMATH_1.0): Add fmaq.
71         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
72         feupdateenv, fesetenv and fetestexcept.
73         * configure: Regenerated.
74         * config.h.in: Regenerated.
75         * quadmath.h (fmaq): New prototype.
76         * quadmath_weak.h (fmaq): Add.
77         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
78         * Makefile.in: Regenerated.
79         * quadmath-imp.h: Include config.h.
80         * math/expq.c: Include fenv.h.
81         (USE_FENV_H): Define if libm support for fe* is there.
82         (expq): Add fesetround etc. support if USE_FENV_H is defined.
83         * math/fmaq.c: New file.
84         * libquadmath.texi (fmaq): Add.
85
86 2011-01-14  Tobias Burnus  <burnus@net-b.de>
87
88         PR fortran/47182
89         * configure.ac: Use ACX_BUGURL.
90         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
91         * Makefile.am: Create libquadmath-vers.texi.
92         * configure.in: Regenerate.
93         * Makefile.in: Regenerate.
94
95 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
96
97         PR fortran/47174
98         * Makefile.am (libquadmath.info): Unconditionally override
99         target, not only if BUILD_LIBQUADMATH.
100         * Makefile.in: Regenerate.
101         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
102         avoid warning from automake.
103
104 2010-12-19  Tobias Burnus  <burnus@net-b.de>
105
106         PR fortran/46520
107         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
108         * configure: Regenerate
109
110 2010-12-13  Tobias Burnus  <burnus@net-b.de>
111
112         PR fortran/46625
113         * gdtoa/gdtoaimp.h: Mangle internal functions by
114         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
115         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
116         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
117         if NO_STRING_H is set.
118         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
119         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
120         __quadmath prefix to internal functions.
121         * math/cosq.c (cosq): Ditto.
122         * math/sinq.c (cosq): Ditto.
123         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
124         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
125         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
126         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
127
128 2010-12-08  Tobias Burnus  <burnus@net-b.de>
129
130         PR fortran/46772
131         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
132         * gdtoa/gdtoaimp.h: Don't declare strtod.
133
134 2010-12-08  Tobias Burnus  <burnus@net-b.de>
135
136         PR fortran/46520
137         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
138         AC_TRY_LINK and cache libquad_have_float128.
139         * configure: Regenerate.
140
141 2010-12-08  Tobias Burnus  <burnus@net-b.de>
142
143         PR fortran/46543
144         * configure.ac: Add texinfo checks.
145         * Makefile.am: Handle .texi documentation.
146         * libquadmath.texi: New.
147         * configure: Regenerated.
148         * Makefile.in: Regenerated.
149
150 2010-12-06  Tobias Burnus  <burnus@net-b.de>
151
152         PR fortran/46817
153         * quadmath-imp.h: Add LGPL header.
154         * quadmath.h: Add LGPL header.
155         * quadmath_io.c: Add LGPL header.
156         * quadmath_weak.h: Add LGPL header.
157
158 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
159
160         PR target/40125
161         PR lto/46695
162         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
163         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
164         * aclocal.m4: Regenerate.
165         * configure: Regenerate.
166         * Makefile.in: Regenerate.
167
168 2010-11-30  Tobias Burnus  <burnus@net-b.de>
169
170         PR fortran/46594
171         * Makefile.am: Install include files in
172         target/version specific directory.
173         * Makefile.in: Regenerate.
174
175 2010-11-30  Tobias Burnus  <burnus@net-b.de>
176
177         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
178         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
179         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
180
181 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
182
183         * configure: Regenerated.
184         * Makefile.in: Regenerated.
185         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
186         (target_alias): Use AC_SUBST for it.
187         (GCC_NO_EXECUTABLES): Call it.
188         (AC_PROG_CC): Improve multilib handling.
189         Check that gcc is used for compilation.
190         Use pattern from libssp for symbol versioning checking.
191         * Makefile.am (LTLDFLAGS): Removed.
192         (libquadmath_la_LDFLAGS): Add -no-undefined.
193         (libquadmath_la_LINK): Commented out.
194         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
195         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
196         (MAKEOVERRIDES): New.
197         * aclocal.m4: Regenerated.
198
199 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
200
201         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
202         (libquadmath_la_LDFLAGS): ... here.
203         (quadmath.map-sun): Tabify.
204         Fix sed expression.
205         * Makefile.in: Regenerate.
206
207 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
208             Tobias Burnus  <burnus@net-b.de>
209
210         PR fortran/32049
211         Initial implementation and checkin.