]> git.ipfire.org Git - thirdparty/gcc.git/blame - libquadmath/ChangeLog
Move libgcc2 to toplevel libgcc
[thirdparty/gcc.git] / libquadmath / ChangeLog
CommitLineData
f9989b51
RO
12011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2
3 * printf/gmp-impl.h: Adapt path to longlong.h.
4
88cc02ff
JM
52011-09-21 Joseph Myers <joseph@codesourcery.com>
6
7 * Makefile.am (FLAGS_TO_PASS): Define.
8 * Makefile.in: Regenerate.
9
57044b5a
JJ
102011-08-01 Jakub Jelinek <jakub@redhat.com>
11
12 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
13 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14
1e4eb7bb
TB
152011-04-03 Tobias Burnus <burnus@net-b.de>
16
17 PR fortran/48311
18 * libquadmath.texi (strtoflt128): Fix typo.
19 (quadmath_snprintf): Move note up, make @item.
20
cf3b3080
JJ
212011-03-25 Jakub Jelinek <jakub@redhat.com>
22
23 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
24 mempcpy.
25
bf382f5f
RO
262011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27
28 PR bootstrap/48135
29 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
30 * configure: Regenerate.
31
9926de2c
JJ
322011-02-28 Jakub Jelinek <jakub@redhat.com>
33
34 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
35 that for size > 0 str is always zero terminated.
36
a3a33a7b
JJ
372011-02-20 Jakub Jelinek <jakub@redhat.com>
38
39 PR bootstrap/47827
40 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
41
a855debf
JJ
422011-02-17 Jakub Jelinek <jakub@redhat.com>
43
44 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
45 FLT128_MAX_10_EXP): Document.
46 (strtoflt128): Remove obsolete comment.
47 * configure.ac (HAVE_STRTOULL): New check.
48 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
49 define.
50 * printf/mul_n.c: Include <config.h>.
51 * printf/add_n.c: Likewise.
52 * printf/cmp.c: Likewise.
53 * printf/fpioconst.c: Likewise.
54 * printf/mul_1.c: Likewise.
55 * printf/rshift.c: Likewise.
56 * printf/lshift.c: Likewise.
57 * printf/submul_1.c: Likewise.
58 * printf/sub_n.c: Likewise.
59 * printf/divrem.c: Likewise.
60 * printf/addmul_1.c: Likewise.
61 * printf/mul.c: Likewise.
62 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
63 to avoid evaluating argument multiple times.
64 (isxdigit): Redefine.
65 * strtod/strtoflt128.c: New file.
66 * strtod/strtod_l.c: New file.
67 * strtod/mpn2flt128.c: New file.
68 * strtod/grouping.h: New file.
69 * strtod/tens_in_limb.c: New file.
70 * gdtoa/arith.h: Removed.
71 * gdtoa/gd_qnan.h: Removed.
72 * gdtoa/gdtoa_fltrnds.h: Removed.
73 * gdtoa/gdtoa.h: Removed.
74 * gdtoa/gdtoaimp.h: Removed.
75 * gdtoa/gethex.c: Removed.
76 * gdtoa/gmisc.c: Removed.
77 * gdtoa/hd_init.c: Removed.
78 * gdtoa/hexnan.c: Removed.
79 * gdtoa/makefile: Removed.
80 * gdtoa/misc.c: Removed.
81 * gdtoa/README.gdtoa: Removed.
82 * gdtoa/smisc.c: Removed.
83 * gdtoa/strtodg.c: Removed.
84 * gdtoa/strtopQ.c: Removed.
85 * gdtoa/sum.c: Removed.
86 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
87 Define.
88 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
89 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
90 * config.h.in: Regenerated.
91 * configure: Regenerated.
92 * Makefile.in: Regenerated.
93
d2995f21
JJ
942011-02-16 Jakub Jelinek <jakub@redhat.com>
95
96 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
97 whether workarounds for printf hook handling should be added.
98
99 * configure.ac: Check for locale.h too.
100 (USE_LOCALE_SUPPORT): Remove check.
101 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
102 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
103 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
104 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
105 for wide version.
106 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
107 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
108 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
109 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
110 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
111 USE_I18N_NUMBER_H #ifdef.
112 * configure: Regenerated.
113 * config.h.in: Regenerated.
114
1d92226b
JJ
1152011-02-14 Jakub Jelinek <jakub@redhat.com>
116
12967872
JJ
117 PR bootstrap/47736
118 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
119 user field.
120 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
121 field instead of setting individual fields to 0. Don't set info.user
122 to -1.
123 * configure: Regenerated.
124
49f0e1ba
JJ
125 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
126 * printf/printf_fp.c: Don't include <alloca.h>.
127 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
128 * configure: Regenerated.
129
1d92226b
JJ
130 PR fortran/47642
131 * libquadmath.texi (quadmath_snprintf): Document.
132 (quadmath_flt128tostr): Remove.
133 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
134 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
135 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
136 * quadmath.h (quadmath_snprintf): New prototype.
137 (quadmath_flt128tostr): Remove.
138 * quadmath_weak.h (quadmath_snprintf): Add.
139 (quadmath_flt128tostr): Remove.
140 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
141 wctype.h, limits.h, ctype.h, printf.h, errno.h.
142 (AC_USE_SYSTEM_EXTENSIONS): Add.
143 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
144 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
145 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
146 quadmath_flt128tostr.
147 * printf/printf_fphex.c: New file.
148 * printf/_itowa.h: New file.
149 * printf/mul_n.c: New file.
150 * printf/quadmath-printf.h: New file.
151 * printf/submul_1.c: New file.
152 * printf/quadmath-printf.c: New file.
153 * printf/gmp-impl.h: New file.
154 * printf/lshift.c: New file.
155 * printf/fpioconst.h: New file.
156 * printf/add_n.c: New file.
157 * printf/cmp.c: New file.
158 * printf/sub_n.c: New file.
159 * printf/mul.c: New file.
160 * printf/divrem.c: New file.
161 * printf/addmul_1.c: New file.
162 * printf/printf_fp.c: New file.
163 * printf/_itoa.h: New file.
164 * printf/fpioconst.c: New file.
165 * printf/_i18n_number.h: New file.
166 * printf/flt1282mpn.c: New file.
167 * printf/rshift.c: New file.
168 * printf/mul_1.c: New file.
169 * quadmath_io.c: Removed.
170 * gdtoa/gdtoa.c: Removed.
171 * gdtoa/g__fmt.c: Removed.
172 * gdtoa/g_Qfmt.c: Removed.
173 * gdtoa/dmisc.c: Removed.
174 * gdtoa/ulp.c: Removed.
175 * config.h.in: Regenerated.
176 * configure: Regenerated.
177 * Makefile.in: Regenerated.
178
029c8f3e
RW
1792011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180
181 * Makefile.in: Regenerate.
182 * aclocal.m4: Likewise.
183 * configure: Likewise.
184
21ac7f65
JD
1852011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
186
187 PR libquadmath/47293
188 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
189 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
190
0ecf8f66
TB
1912011-01-17 Tobias Burnus <burnus@net-b.de>
192
193 PR fortran/47295
194 * libquadmath.text: Document typedef and constants.
195
b5d4b580
TB
1962011-01-17 Tobias Burnus <burnus@net-b.de>
197
198 PR fortran/46817
199 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
200 bump copyright year and use /**/ instead of // comments.
201 * quadmath.h: Ditto.
202 * quadmath-weak.h: Ditto.
203 * quadmath_io.c: Ditto.
204
e8d42d28
JJ
2052011-01-16 Jakub Jelinek <jakub@redhat.com>
206
d6713cb8
JJ
207 PR libfortran/47322
208 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
209
e313241f
JJ
210 PR fortran/46625
211 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
212 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
213 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
214 (strtoflt128, quadmath_flt128tostr): Add.
215 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
216 (strtoflt128): ... this. Return __float128, instead of writing
217 to memory pointed by last argument.
218 * quadmath.h: Use C style comments instead of C++ style.
219 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
220 (strtoflt128, quadmath_flt128tostr): Add prototypes.
221 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
222 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
223 adjust examples.
224 * quadmath_io.c (quadmath_dtoaq): Rename to...
225 (quadmath_flt128tostr): ... this.
226
327f73c1
JJ
227 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
228 Use it for all prototypes.
229
dbc9f6c6
JJ
230 PR fortran/46416
231 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
232 const from prototype argument.
233 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
234 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
235 (__quadmath_extern_inline): Define.
236 (cimagq, conjq, crealq): New inlines.
237 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
238 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
239 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
240 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
241 * Makefile.in: Regenerated.
242 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
243 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
244 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
245 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
246 tests instead of __BIG_ENDIAN__.
247 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
248 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
249 and remquoq.
250 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
251 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
252 * math/cprojq.c: New file.
253 * math/ilogbq.c: New file.
254 * math/fminq.c: New file.
255 * math/llrintq.c: New file.
256 * math/log2q.c: New file.
257 * math/lrintq.c: New file.
258 * math/crealq.c: New file.
259 * math/nearbyintq.c: New file.
260 * math/fmaxq.c: New file.
261 * math/conjq.c: New file.
262 * math/remquoq.c: New file.
263 * math/cimagq.c: New file.
264 * math/fdimq.c: New file.
265
266 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
267
fa23b182
JJ
268 PR fortran/46416
269 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
270 New prototypes.
271 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
272 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
273 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
274 catanhq): Add.
275 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
276 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
277 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
278 catanq and catanhq.
279 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
280 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
281 and math/catanhq.c.
282 * Makefile.in: Regenerated.
283 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
284 catanq, catanhq): Add.
285 * math/cacoshq.c: New file.
286 * math/cacosq.c: New file.
287 * math/catanq.c: New file.
288 * math/catanhq.c: New file.
289 * math/casinq.c: New file.
290 * math/casinhq.c: New file.
291
292 * math/hypotq.c (hypotq): Use Q suffix instead of L.
293 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
294 * math/cosq.c (cosq): Likewise.
295
e8d42d28
JJ
296 PR fortran/46402
297 * quadmath.map (QUADMATH_1.0): Add fmaq.
298 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
299 feupdateenv, fesetenv and fetestexcept.
300 * configure: Regenerated.
301 * config.h.in: Regenerated.
302 * quadmath.h (fmaq): New prototype.
303 * quadmath_weak.h (fmaq): Add.
304 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
305 * Makefile.in: Regenerated.
306 * quadmath-imp.h: Include config.h.
307 * math/expq.c: Include fenv.h.
308 (USE_FENV_H): Define if libm support for fe* is there.
309 (expq): Add fesetround etc. support if USE_FENV_H is defined.
310 * math/fmaq.c: New file.
311 * libquadmath.texi (fmaq): Add.
312
642d2873
TB
3132011-01-14 Tobias Burnus <burnus@net-b.de>
314
315 PR fortran/47182
316 * configure.ac: Use ACX_BUGURL.
317 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
318 * Makefile.am: Create libquadmath-vers.texi.
319 * configure.in: Regenerate.
320 * Makefile.in: Regenerate.
321
a6098a28
RW
3222011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
323
324 PR fortran/47174
325 * Makefile.am (libquadmath.info): Unconditionally override
326 target, not only if BUILD_LIBQUADMATH.
327 * Makefile.in: Regenerate.
328 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
329 avoid warning from automake.
330
6f468984
TB
3312010-12-19 Tobias Burnus <burnus@net-b.de>
332
333 PR fortran/46520
334 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
335 * configure: Regenerate
336
f0c2df63
TB
3372010-12-13 Tobias Burnus <burnus@net-b.de>
338
339 PR fortran/46625
340 * gdtoa/gdtoaimp.h: Mangle internal functions by
341 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
342 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
343 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
344 if NO_STRING_H is set.
345 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
346 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
347 __quadmath prefix to internal functions.
348 * math/cosq.c (cosq): Ditto.
349 * math/sinq.c (cosq): Ditto.
350 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
351 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
352 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
353 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
354
09c2d63a
TB
3552010-12-08 Tobias Burnus <burnus@net-b.de>
356
357 PR fortran/46772
358 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
359 * gdtoa/gdtoaimp.h: Don't declare strtod.
360
abccc9a9
TB
3612010-12-08 Tobias Burnus <burnus@net-b.de>
362
363 PR fortran/46520
364 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
365 AC_TRY_LINK and cache libquad_have_float128.
366 * configure: Regenerate.
367
4c993c44
TB
3682010-12-08 Tobias Burnus <burnus@net-b.de>
369
370 PR fortran/46543
371 * configure.ac: Add texinfo checks.
372 * Makefile.am: Handle .texi documentation.
373 * libquadmath.texi: New.
374 * configure: Regenerated.
375 * Makefile.in: Regenerated.
376
545a5cb6
TB
3772010-12-06 Tobias Burnus <burnus@net-b.de>
378
379 PR fortran/46817
380 * quadmath-imp.h: Add LGPL header.
381 * quadmath.h: Add LGPL header.
382 * quadmath_io.c: Add LGPL header.
383 * quadmath_weak.h: Add LGPL header.
384
7de6ba7a
DK
3852010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
386
387 PR target/40125
388 PR lto/46695
389 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
390 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
391 * aclocal.m4: Regenerate.
392 * configure: Regenerate.
393 * Makefile.in: Regenerate.
394
375a39e2
TB
3952010-11-30 Tobias Burnus <burnus@net-b.de>
396
397 PR fortran/46594
398 * Makefile.am: Install include files in
399 target/version specific directory.
400 * Makefile.in: Regenerate.
401
70d94de7
TB
4022010-11-30 Tobias Burnus <burnus@net-b.de>
403
404 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
405 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
406 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
407
fabfcf5e
KT
4082010-11-29 Kai Tietz <kai.tietz@onevision.com>
409
410 * configure: Regenerated.
411 * Makefile.in: Regenerated.
412 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
413 (target_alias): Use AC_SUBST for it.
414 (GCC_NO_EXECUTABLES): Call it.
415 (AC_PROG_CC): Improve multilib handling.
416 Check that gcc is used for compilation.
417 Use pattern from libssp for symbol versioning checking.
418 * Makefile.am (LTLDFLAGS): Removed.
419 (libquadmath_la_LDFLAGS): Add -no-undefined.
420 (libquadmath_la_LINK): Commented out.
421 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
422 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
423 (MAKEOVERRIDES): New.
424 * aclocal.m4: Regenerated.
425
4144e658
RO
4262010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
427
428 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
429 (libquadmath_la_LDFLAGS): ... here.
430 (quadmath.map-sun): Tabify.
431 Fix sed expression.
432 * Makefile.in: Regenerate.
433
1ec601bf
FXC
4342010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
435 Tobias Burnus <burnus@net-b.de>
436
437 PR fortran/32049
438 Initial implementation and checkin.