OSDN Git Service

PR fortran/47642
[pf3gnuchains/gcc-fork.git] / libquadmath / ChangeLog
1 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
2
3         PR fortran/47642
4         * libquadmath.texi (quadmath_snprintf): Document.
5         (quadmath_flt128tostr): Remove.
6         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
7         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
8         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
9         * quadmath.h (quadmath_snprintf): New prototype.
10         (quadmath_flt128tostr): Remove.
11         * quadmath_weak.h (quadmath_snprintf): Add.
12         (quadmath_flt128tostr): Remove.
13         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
14         wctype.h, limits.h, ctype.h, printf.h, errno.h.
15         (AC_USE_SYSTEM_EXTENSIONS): Add.
16         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
17         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
18         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
19         quadmath_flt128tostr.
20         * printf/printf_fphex.c: New file.
21         * printf/_itowa.h: New file.
22         * printf/mul_n.c: New file.
23         * printf/quadmath-printf.h: New file.
24         * printf/submul_1.c: New file.
25         * printf/quadmath-printf.c: New file.
26         * printf/gmp-impl.h: New file.
27         * printf/lshift.c: New file.
28         * printf/fpioconst.h: New file.
29         * printf/add_n.c: New file.
30         * printf/cmp.c: New file.
31         * printf/sub_n.c: New file.
32         * printf/mul.c: New file.
33         * printf/divrem.c: New file.
34         * printf/addmul_1.c: New file.
35         * printf/printf_fp.c: New file.
36         * printf/_itoa.h: New file.
37         * printf/fpioconst.c: New file.
38         * printf/_i18n_number.h: New file.
39         * printf/flt1282mpn.c: New file.
40         * printf/rshift.c: New file.
41         * printf/mul_1.c: New file.
42         * quadmath_io.c: Removed.
43         * gdtoa/gdtoa.c: Removed.
44         * gdtoa/g__fmt.c: Removed.
45         * gdtoa/g_Qfmt.c: Removed.
46         * gdtoa/dmisc.c: Removed.
47         * gdtoa/ulp.c: Removed.
48         * config.h.in: Regenerated.
49         * configure: Regenerated.
50         * Makefile.in: Regenerated.
51
52 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
53
54         * Makefile.in: Regenerate.
55         * aclocal.m4: Likewise.
56         * configure: Likewise.
57
58 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
59
60         PR libquadmath/47293
61         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
62         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
63
64 2011-01-17  Tobias Burnus  <burnus@net-b.de>
65
66         PR fortran/47295
67         * libquadmath.text: Document typedef and constants.
68
69 2011-01-17  Tobias Burnus  <burnus@net-b.de>
70
71         PR fortran/46817
72         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
73         bump copyright year and use /**/ instead of // comments.
74         * quadmath.h: Ditto.
75         * quadmath-weak.h: Ditto.
76         * quadmath_io.c: Ditto.
77
78 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
79
80         PR libfortran/47322
81         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
82
83         PR fortran/46625
84         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
85         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
86         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
87         (strtoflt128, quadmath_flt128tostr): Add.
88         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
89         (strtoflt128): ... this.  Return __float128, instead of writing
90         to memory pointed by last argument.
91         * quadmath.h: Use C style comments instead of C++ style.
92         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
93         (strtoflt128, quadmath_flt128tostr): Add prototypes.
94         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
95         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
96         adjust examples.
97         * quadmath_io.c (quadmath_dtoaq): Rename to...
98         (quadmath_flt128tostr): ... this.
99
100         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
101         Use it for all prototypes.
102
103         PR fortran/46416
104         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
105         const from prototype argument.
106         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
107         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
108         (__quadmath_extern_inline): Define.
109         (cimagq, conjq, crealq): New inlines.
110         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
111         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
112         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
113         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
114         * Makefile.in: Regenerated.
115         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
116         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
117         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
118         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
119         tests instead of __BIG_ENDIAN__.
120         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
121         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
122         and remquoq.
123         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
124         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
125         * math/cprojq.c: New file.
126         * math/ilogbq.c: New file.
127         * math/fminq.c: New file.
128         * math/llrintq.c: New file.
129         * math/log2q.c: New file.
130         * math/lrintq.c: New file.
131         * math/crealq.c: New file.
132         * math/nearbyintq.c: New file.
133         * math/fmaxq.c: New file.
134         * math/conjq.c: New file.
135         * math/remquoq.c: New file.
136         * math/cimagq.c: New file.
137         * math/fdimq.c: New file.
138
139         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
140
141         PR fortran/46416
142         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
143         New prototypes.
144         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
145         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
146         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
147         catanhq): Add.
148         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
149         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
150         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
151         catanq and catanhq.
152         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
153         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
154         and math/catanhq.c.
155         * Makefile.in: Regenerated.
156         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
157         catanq, catanhq): Add.
158         * math/cacoshq.c: New file.
159         * math/cacosq.c: New file.
160         * math/catanq.c: New file.
161         * math/catanhq.c: New file.
162         * math/casinq.c: New file.
163         * math/casinhq.c: New file.
164
165         * math/hypotq.c (hypotq): Use Q suffix instead of L.
166         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
167         * math/cosq.c (cosq): Likewise.
168
169         PR fortran/46402
170         * quadmath.map (QUADMATH_1.0): Add fmaq.
171         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
172         feupdateenv, fesetenv and fetestexcept.
173         * configure: Regenerated.
174         * config.h.in: Regenerated.
175         * quadmath.h (fmaq): New prototype.
176         * quadmath_weak.h (fmaq): Add.
177         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
178         * Makefile.in: Regenerated.
179         * quadmath-imp.h: Include config.h.
180         * math/expq.c: Include fenv.h.
181         (USE_FENV_H): Define if libm support for fe* is there.
182         (expq): Add fesetround etc. support if USE_FENV_H is defined.
183         * math/fmaq.c: New file.
184         * libquadmath.texi (fmaq): Add.
185
186 2011-01-14  Tobias Burnus  <burnus@net-b.de>
187
188         PR fortran/47182
189         * configure.ac: Use ACX_BUGURL.
190         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
191         * Makefile.am: Create libquadmath-vers.texi.
192         * configure.in: Regenerate.
193         * Makefile.in: Regenerate.
194
195 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
196
197         PR fortran/47174
198         * Makefile.am (libquadmath.info): Unconditionally override
199         target, not only if BUILD_LIBQUADMATH.
200         * Makefile.in: Regenerate.
201         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
202         avoid warning from automake.
203
204 2010-12-19  Tobias Burnus  <burnus@net-b.de>
205
206         PR fortran/46520
207         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
208         * configure: Regenerate
209
210 2010-12-13  Tobias Burnus  <burnus@net-b.de>
211
212         PR fortran/46625
213         * gdtoa/gdtoaimp.h: Mangle internal functions by
214         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
215         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
216         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
217         if NO_STRING_H is set.
218         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
219         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
220         __quadmath prefix to internal functions.
221         * math/cosq.c (cosq): Ditto.
222         * math/sinq.c (cosq): Ditto.
223         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
224         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
225         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
226         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
227
228 2010-12-08  Tobias Burnus  <burnus@net-b.de>
229
230         PR fortran/46772
231         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
232         * gdtoa/gdtoaimp.h: Don't declare strtod.
233
234 2010-12-08  Tobias Burnus  <burnus@net-b.de>
235
236         PR fortran/46520
237         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
238         AC_TRY_LINK and cache libquad_have_float128.
239         * configure: Regenerate.
240
241 2010-12-08  Tobias Burnus  <burnus@net-b.de>
242
243         PR fortran/46543
244         * configure.ac: Add texinfo checks.
245         * Makefile.am: Handle .texi documentation.
246         * libquadmath.texi: New.
247         * configure: Regenerated.
248         * Makefile.in: Regenerated.
249
250 2010-12-06  Tobias Burnus  <burnus@net-b.de>
251
252         PR fortran/46817
253         * quadmath-imp.h: Add LGPL header.
254         * quadmath.h: Add LGPL header.
255         * quadmath_io.c: Add LGPL header.
256         * quadmath_weak.h: Add LGPL header.
257
258 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
259
260         PR target/40125
261         PR lto/46695
262         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
263         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
264         * aclocal.m4: Regenerate.
265         * configure: Regenerate.
266         * Makefile.in: Regenerate.
267
268 2010-11-30  Tobias Burnus  <burnus@net-b.de>
269
270         PR fortran/46594
271         * Makefile.am: Install include files in
272         target/version specific directory.
273         * Makefile.in: Regenerate.
274
275 2010-11-30  Tobias Burnus  <burnus@net-b.de>
276
277         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
278         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
279         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
280
281 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
282
283         * configure: Regenerated.
284         * Makefile.in: Regenerated.
285         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
286         (target_alias): Use AC_SUBST for it.
287         (GCC_NO_EXECUTABLES): Call it.
288         (AC_PROG_CC): Improve multilib handling.
289         Check that gcc is used for compilation.
290         Use pattern from libssp for symbol versioning checking.
291         * Makefile.am (LTLDFLAGS): Removed.
292         (libquadmath_la_LDFLAGS): Add -no-undefined.
293         (libquadmath_la_LINK): Commented out.
294         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
295         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
296         (MAKEOVERRIDES): New.
297         * aclocal.m4: Regenerated.
298
299 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
300
301         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
302         (libquadmath_la_LDFLAGS): ... here.
303         (quadmath.map-sun): Tabify.
304         Fix sed expression.
305         * Makefile.in: Regenerate.
306
307 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
308             Tobias Burnus  <burnus@net-b.de>
309
310         PR fortran/32049
311         Initial implementation and checkin.