]> git.ipfire.org Git - thirdparty/gcc.git/blob - libquadmath/ChangeLog
Update most of libquadmath/math/ from glibc, automate update (PR libquadmath/68686).
[thirdparty/gcc.git] / libquadmath / ChangeLog
1 2018-11-05 Joseph Myers <joseph@codesourcery.com>
2
3 PR libquadmath/68686
4 * Makefile.am: (libquadmath_la_SOURCES): Remove math/isinf_nsq.c.
5 Add math/exp2q.c math/issignalingq.c math/lgammaq_neg.c
6 math/lgammaq_product.c math/tanq_kernel.c math/tgammaq_product.c
7 math/casinhq_kernel.c.
8 * Makefile.in: Regenerate.
9 * libquadmath.texi (exp2q, issignalingq): Document.
10 * quadmath-imp.h: Include <errno.h>, <limits.h>, <stdbool.h> and
11 <fenv.h>.
12 (HIGH_ORDER_BIT_IS_SET_FOR_SNAN, FIX_FLT128_LONG_CONVERT_OVERFLOW)
13 (FIX_FLT128_LLONG_CONVERT_OVERFLOW, __quadmath_kernel_tanq)
14 (__quadmath_gamma_productq, __quadmath_gammaq_r)
15 (__quadmath_lgamma_negq, __quadmath_lgamma_productq)
16 (__quadmath_lgammaq_r, __quadmath_kernel_casinhq, mul_splitq)
17 (math_check_force_underflow_complex, __glibc_likely)
18 (__glibc_unlikely, struct rm_ctx, SET_RESTORE_ROUNDF128)
19 (libc_feholdsetround_ctx, libc_feresetround_ctx): New.
20 (feraiseexcept, fenv_t, feholdexcept, fesetround, feupdateenv)
21 (fesetenv, fetestexcept, feclearexcept): Define if not supported
22 through <fenv.h>.
23 (__quadmath_isinf_nsq): Remove.
24 * quadmath.h (exp2q, issignalingq): New.
25 * quadmath.map (QUADMATH_1.2): New.
26 * quadmath_weak.h (exp2q, issignalingq): New.
27 * update-quadmath.py: New file.
28 * math/isinf_nsq.c: Remove file.
29 * math/casinhq_kernel.c, math/exp2q.c, math/expq_table.h,
30 math/issignalingq.c, math/lgammaq_neg.c, math/lgammaq_product.c,
31 math/tanq_kernel.c, math/tgammaq_product.c: New files. Generated
32 from glibc sources with update-quadmath.py.
33 * math/acoshq.c, math/acosq.c, math/asinhq.c, math/asinq.c,
34 math/atan2q.c, math/atanhq.c, math/atanq.c, math/cacoshq.c,
35 math/cacosq.c, math/casinhq.c, math/casinq.c, math/catanhq.c,
36 math/catanq.c, math/cbrtq.c, math/ccoshq.c, math/ceilq.c,
37 math/cexpq.c, math/cimagq.c, math/clog10q.c, math/clogq.c,
38 math/conjq.c, math/copysignq.c, math/coshq.c, math/cosq.c,
39 math/cosq_kernel.c, math/cprojq.c, math/crealq.c, math/csinhq.c,
40 math/csinq.c, math/csqrtq.c, math/ctanhq.c, math/ctanq.c,
41 math/erfq.c, math/expm1q.c, math/expq.c, math/fabsq.c,
42 math/fdimq.c, math/finiteq.c, math/floorq.c, math/fmaxq.c,
43 math/fminq.c, math/fmodq.c, math/frexpq.c, math/hypotq.c,
44 math/ilogbq.c, math/isinfq.c, math/isnanq.c, math/j0q.c,
45 math/j1q.c, math/jnq.c, math/ldexpq.c, math/lgammaq.c,
46 math/llrintq.c, math/llroundq.c, math/log10q.c, math/log1pq.c,
47 math/log2q.c, math/logbq.c, math/logq.c, math/lrintq.c,
48 math/lroundq.c, math/modfq.c, math/nearbyintq.c,
49 math/nextafterq.c, math/powq.c, math/remainderq.c, math/remquoq.c,
50 math/rintq.c, math/roundq.c, math/scalblnq.c, math/scalbnq.c,
51 math/signbitq.c, math/sincos_table.c, math/sincosq.c,
52 math/sincosq_kernel.c, math/sinhq.c, math/sinq.c,
53 math/sinq_kernel.c, math/tanhq.c, math/tanq.c, math/tgammaq.c,
54 math/truncq.c, math/x2y2m1q.c: Regenerate from glibc sources with
55 update-quadmath.py.
56
57 2018-10-31 Joseph Myers <joseph@codesourcery.com>
58
59 PR bootstrap/82856
60 * Makefile.am: Include multilib.am.
61 (AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
62 (all-local): Define outside conditional code.
63 (CLEANFILES): Remove libquadmath.info.
64 * configure.ac: Remove AC_PREREQ.
65 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
66
67 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
68
69 * configure: Regenerated.
70
71 2018-04-19 Jakub Jelinek <jakub@redhat.com>
72
73 * configure: Regenerated.
74
75 2018-04-18 David Malcolm <dmalcolm@redhat.com>
76
77 PR jit/85384
78 * configure: Regenerate.
79
80 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
81
82 PR target/84148
83 * configure: Regenerate.
84
85 2018-01-03 Jakub Jelinek <jakub@redhat.com>
86
87 * libquadmath.texi: Bump @copying's copyright year.
88
89 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
90
91 * Makefile.am: Update AM_CFLAGS.
92 * Makefile.in: Regenerate:
93 * acinclude.m4: Add enable.m4 and cet.m4.
94 * configure: Regenerate.
95 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
96
97 2017-11-05 Tom de Vries <tom@codesourcery.com>
98
99 PR other/82784
100 * printf/gmp-impl.h (MPN_MUL_N_RECURSE): Remove semicolon after
101 "do {} while (0)".
102
103 2017-09-01 Michael Meissner <meissner@linux.vnet.ibm.com>
104
105 PR libquadmath/81848
106 * configure.ac (powerpc*-linux*): Use attribute mode KC to create
107 complex __float128 on PowerPC instead of attribute mode TC.
108 * quadmath.h (__complex128): Likewise.
109 * configure: Regenerate.
110 * math/cbrtq.c (CBRT2): Use __float128 not long double.
111 (CBRT4): Likewise.
112 (CBRT2I): Likewise.
113 (CBRT4I): Likewise.
114 * math/j0q.c (U0): Likewise.
115 * math/sqrtq.c (sqrtq): Don't depend on implicit conversion
116 between __float128, instead explicitly convert the __float128
117 value to long double because the PowerPC does not allow __float128
118 and long double in the same expression.
119
120 2017-07-19 Gerald Pfeifer <gerald@pfeifer.com>
121
122 * math/powq.c (powq): Use uint32_t instead of u_int32_t.
123
124 2017-07-19 Jakub Jelinek <jakub@redhat.com>
125
126 PR libquadmath/65757
127 * quadmath-imp.h (math_opt_barrier, math_force_eval,
128 math_narrow_eval, math_check_force_underflow,
129 math_check_force_underflow_nonneg): Define.
130 * math/ceilq.c: Backport changes from upstream glibc
131 between 2012-11-01 and 2017-07-13.
132 * math/remquoq.c: Likewise.
133 * math/expq.c: Likewise.
134 * math/llroundq.c: Likewise.
135 * math/logq.c: Likewise.
136 * math/atanq.c: Likewise.
137 * math/nearbyintq.c: Likewise.
138 * math/scalblnq.c: Likewise.
139 * math/finiteq.c: Likewise.
140 * math/atanhq.c: Likewise.
141 * math/expm1q.c: Likewise.
142 * math/sinhq.c: Likewise.
143 * math/log10q.c: Likewise.
144 * math/rintq.c: Likewise.
145 * math/roundq.c: Likewise.
146 * math/fmaq.c: Likewise.
147 * math/erfq.c: Likewise.
148 * math/log2q.c: Likewise.
149 * math/lroundq.c: Likewise.
150 * math/j1q.c: Likewise.
151 * math/scalbnq.c: Likewise.
152 * math/truncq.c: Likewise.
153 * math/frexpq.c: Likewise.
154 * math/sincosq.c: Likewise.
155 * math/tanhq.c: Likewise.
156 * math/asinq.c: Likewise.
157 * math/coshq.c: Likewise.
158 * math/j0q.c: Likewise.
159 * math/asinhq.c: Likewise.
160 * math/floorq.c: Likewise.
161 * math/sinq_kernel.c: Likewise.
162 * math/powq.c: Likewise.
163 * math/hypotq.c: Likewise.
164 * math/sincos_table.c: Likewise.
165 * math/rem_pio2q.c: Likewise.
166 * math/nextafterq.c: Likewise.
167 * math/log1pq.c: Likewise.
168 * math/sincosq_kernel.c: Likewise.
169 * math/tanq.c: Likewise.
170 * math/acosq.c: Likewise.
171 * math/lrintq.c: Likewise.
172 * math/llrintq.c: Likewise.
173
174 2017-02-09 Gerald Pfeifer <gerald@pfeifer.com>
175
176 * configure.ac (ACX_BUGURL): Update.
177 * configure: Regenerate.
178
179 2017-01-17 Jakub Jelinek <jakub@redhat.com>
180
181 PR other/79046
182 * configure.ac: Add GCC_BASE_VER.
183 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
184 get version from BASE-VER file.
185 * configure: Regenerated.
186 * Makefile.in: Regenerated.
187
188 2017-01-01 Jakub Jelinek <jakub@redhat.com>
189
190 * libquadmath.texi: Bump @copying's copyright year.
191
192 2016-11-15 Matthias Klose <doko@ubuntu.com>
193
194 * configure: Regenerate.
195
196 2016-01-04 Jakub Jelinek <jakub@redhat.com>
197
198 * libquadmath.texi: Bump @copying's copyright year.
199
200 2015-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
201
202 * Makefile.am (libquadmath_la_SOURCES): Add matha/logbq.c.
203 * Makefile.in: Regenerate.
204 * libquadmath.texi: Document logbq.
205 * quadmath.h: Add logbq prototype.
206 * quadmath.map: Add logbq.
207 * quadmath_weak.h: Add logbq prototype.
208 * math/logbq.c: New file
209
210 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
211
212 * Makefile.in: Regenerated with automake-1.11.6.
213 * aclocal.m4: Likewise.
214 * configure: Likewise.
215
216 2015-01-26 Matthias Klose <doko@ubuntu.com>
217
218 * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
219 * configure: Regenerate.
220
221 2015-01-05 Jakub Jelinek <jakub@redhat.com>
222
223 * libquadmath.texi: Bump @copying's copyright year.
224
225 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
226
227 PR bootstrap/63784
228 * configure: Regenerated.
229
230 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
231
232 PR target/63610
233 * configure: Regenerate.
234
235 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
236
237 PR libquadmath/55821
238 * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
239 * Makefile.in: Regenerate.
240
241 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
242
243 PR libquadmath/55821
244 * Makefile.am: Conditionally define info_TEXINFOS and
245 libquadmath_TEXINFOS.
246 * Makefile.in: Regenerate.
247
248 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
249
250 PR libquadmath/63487
251 * libquadmath.texi (sincosq): Fix typo.
252
253 2014-01-02 Tobias Burnus <burnus@net-b.de>
254
255 * libquadmath.texi: Bump @copying's copyright year.
256
257 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
258
259 * Makefile.am (AM_CPPFLAGS): Define.
260 * Makefile.in: Regenerate.
261 * printf/gmp-impl.h: Remove path from longlong.h include.
262
263 2013-09-20 Alan Modra <amodra@gmail.com>
264
265 * configure: Regenerate.
266
267 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
268
269 PR libquadmath/55473
270 * quadmath.h: Add 'extern "C"' block for C++ use.
271
272 2013-02-19 Jakub Jelinek <jakub@redhat.com>
273
274 PR libquadmath/56379
275 * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
276 macro.
277
278 2013-02-17 Tobias Burnus <burnus@net-b.de>
279
280 * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
281
282 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
283
284 Revert previous patch.
285
286 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
287
288 Update copyright years.
289
290 2013-01-22 Jakub Jelinek <jakub@redhat.com>
291
292 PR libquadmath/56072
293 * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
294
295 2012-12-13 Jakub Jelinek <jakub@redhat.com>
296
297 * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
298 instead of L suffixed ones.
299 * math/fmaq.c (fmaq): Likewise.
300 * math/rintq.c (TWO112): Likewise.
301
302 2012-12-03 Tobias Burnus <burnus@net-b.de>
303
304 * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
305 reading.
306
307 2012-11-25 Tobias Burnus <burnus@net-b.de>
308
309 PR libquadmath/55462
310 * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
311 instead of nonexisting HAVE_GET_ROUNDING_MODE.
312
313 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
314
315 PR bootstrap/55455
316 * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
317 void to fegetround.
318
319 2012-11-23 Tobias Burnus <burnus@net-b.de>
320 Joseph Myers <joseph@codesourcery.com>
321
322 * quadmath-rounding-mode.h: New.
323 * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
324 * printf/fpioconst.h: Ditto.
325 * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
326 Make printf respect the rounding mode for decimal output.
327 * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
328 GLIBC. Make printf respect the rounding mode for hex output.
329 * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
330 rounding mode. Fix strtod handling of underflow.
331
332 2012-11-22 David S. Miller <davem@davemloft.net>
333 Tobias Burnus <burnus@net-b.de>
334 Joseph Myers <joseph@codesourcery.com>
335
336 * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
337 very large arguments properly.
338 * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
339 underflow when 'x' is very small.
340 * math/j1q.c (y1q): Ditto.
341 * math/log1pq.c (log1pq): Update from GLIBC. Saturate
342 nonzero exponents with absolute value below 0x1p-128 to
343 +/- 0x1p-128.
344 * math/powq.c (powq): Update from GLIBC. If xm1 is
345 smaller than LDBL_EPSILON/2.0L, just return xm1.
346
347 2012-11-21 Tobias Burnus <burnus@net-b.de>
348
349 PR libquadmath/55225
350 * math/lgammaq.c (lgammaq): Use local variable if
351 math.h does not provide signgam.
352 * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
353 * configure.ac: Use it.
354 * configure: Regenerate.
355 * config.h.in: Regenerate.
356
357 2012-11-15 Tobias Burnus <burnus@net-b.de>
358 Joseph Myers <joseph@codesourcery.com>
359
360 * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
361 underflows with small x * y; Fix overflow results
362 outside round-to-nearest mode; make use of Dekker
363 and Knuth algorithms use round-to-nearest.
364
365 2012-11-01 Tobias Burnus <burnus@net-b.de>
366
367 * math/fmaq.c (fmaq): Fix build.
368
369 2012-11-01 Tobias Burnus <burnus@net-b.de>
370 Joseph Myers <joseph@codesourcery.com>
371
372 * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
373 with small x * y using scaling, not as x * y + z.
374 * math/lgammaq.c (lgammaq): Fix signgam handling.
375
376 2012-11-01 Tobias Burnus <burnus@net-b.de>
377
378 * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
379 * Makefile.in: Regenerated.
380 * math/acoshq.c: Update comment.
381 * math/acosq.c: Ditto.
382 * math/asinhq.c: Ditto.
383 * math/asinq.c: Ditto.
384 * math/atan2q.c: Ditto.
385 * math/atanhq.c: Ditto.
386 * math/ceilq.c: Ditto.
387 * math/copysignq.c: Ditto.
388 * math/cosq.c: Ditto.
389 * math/coshq.c: Ditto.
390 * math/erfq.c: Ditto.
391 * math/fabsq.c: Ditto.
392 * math/finiteq.c: Ditto.
393 * math/floorq.c: Ditto.
394 * math/fmodq.c: Ditto.
395 * math/frexpq.c: Ditto.
396 * math/isnanq.c: Ditto.
397 * math/j0q.c: Ditto.
398 * math/j1q.c: Ditto.
399 * math/ldexpq.c: Ditto.
400 * math/llroundq.c: Ditto.
401 * math/log10q.c: Ditto.
402 * math/log1pq.c: Ditto.
403 * math/log2q.c: Ditto.
404 * math/logq.c: Ditto.
405 * math/lroundq.c: Ditto.
406 * math/modfq.c: Ditto.
407 * math/nextafterq.c: Ditto.
408 * math/powq.c: Ditto.
409 * math/rem_pio2q.c: Ditto.
410 * math/remainderq.c: Ditto.
411 * math/rintq.c: Ditto.
412 * math/roundq.c: Ditto.
413 * math/scalblnq.c: Ditto.
414 * math/scalbnq.c: Ditto.
415 * math/sincosq_kernel.c: Ditto.
416 * math/sinq.c: Ditto.
417 * math/tanq.c: Ditto.
418 * math/expq.c: Ditto.
419 (__expq_table, expq): Renamed local array from __expl_table.
420 * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
421 * math/cacoshq.c: Changes from GLIBC; fix returned sign.
422 * math/casinhq.c: Changes from GLIBC to fix special-case.
423 * math/cbrtq.c: Use modified GLIBC version.
424 * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
425 ctanhq, ctanq): Moved to separates files.
426 (mult_c128, div_c128): Removed no longer needed functions.
427 (cexpiq): Call sincosq instead of sinq and cosq.
428 (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
429 * math/ccoshq.c (ccoshq): New file, moved from complex.c and
430 modified based on GLIBC.
431 * math/cexpq.c (cexp): Ditto.
432 * math/clog10q.c (clog10q): Ditto.
433 * math/clogq.c (clogq): Ditto.
434 * math/csinhq.c: Ditto.
435 * math/csinq.c: Ditto.
436 * math/csqrtq.c: Ditto.
437 * math/ctanhq.c: Ditto.
438 * math/ctanq.c: Ditto.
439 * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
440 from GLIBC.
441 * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
442 * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
443 from GLIBC.
444 * math/lgammaq.c (lgammaq): Add signgam handling.
445 * math/sinhq.c (sinhq): Fix sign handling.
446 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
447 * math/tgammaq.c (tgammaq): Ditto.
448 * math/x2y2m1q.c: New file.
449 * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
450 (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
451
452 2012-10-31 Tobias Burnus <burnus@net-b.de>
453 Joseph Myers <joseph@codesourcery.com>
454 David S. Miller <davem@davemloft.net>
455 Ulrich Drepper <drepper@redhat.com>
456 Marek Polacek <polacek@redhat.com>:
457 Petr Baudis <pasky@suse.cz>
458
459 * math/complex.c (csqrtq): NaN and INF fixes.
460 * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
461 * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
462 large parameters. Fix errno for boundary conditions.
463 * math/finiteq.c (finiteq): Add comment.
464 * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
465 and bad results for some subnormal results. Fix sign of inexact
466 zero return. Fix sign of exact zero return.
467 Ensure additions are not scheduled after fetestexcept.
468 * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
469 for ynq. Fix jnq precision.
470 * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
471 manipulate bits before adding and subtracting TWO112[sx].
472 * math/rintq.c (rintq): Ditto.
473 * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
474 overflow.
475
476 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
477
478 * configure: Regenerated.
479
480 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
481
482 PR libstdc++/51007
483 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
484 * configure: Regenerated.
485
486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
487
488 * configure: Regenerated.
489
490 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
491
492 * configure: Regenerate.
493
494 2011-11-07 Kai Tietz <ktietz@redhat.com>
495
496 PR target/51007
497 * quadmath-imp.h (ieee854_float128): Adjust
498 for ms-bitfield layout.
499
500 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
501
502 * printf/gmp-impl.h: Adapt path to longlong.h.
503
504 2011-09-21 Joseph Myers <joseph@codesourcery.com>
505
506 * Makefile.am (FLAGS_TO_PASS): Define.
507 * Makefile.in: Regenerate.
508
509 2011-08-01 Jakub Jelinek <jakub@redhat.com>
510
511 * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
512 conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
513
514 2011-04-03 Tobias Burnus <burnus@net-b.de>
515
516 PR fortran/48311
517 * libquadmath.texi (strtoflt128): Fix typo.
518 (quadmath_snprintf): Move note up, make @item.
519
520 2011-03-25 Jakub Jelinek <jakub@redhat.com>
521
522 * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
523 mempcpy.
524
525 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
526
527 PR bootstrap/48135
528 * configure.ac (quadmath_use_symver): Handle --disable-symvers.
529 * configure: Regenerate.
530
531 2011-02-28 Jakub Jelinek <jakub@redhat.com>
532
533 * printf/quadmath-printf.c (quadmath_snprintf): Make sure
534 that for size > 0 str is always zero terminated.
535
536 2011-02-20 Jakub Jelinek <jakub@redhat.com>
537
538 PR bootstrap/47827
539 * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
540
541 2011-02-17 Jakub Jelinek <jakub@redhat.com>
542
543 * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
544 FLT128_MAX_10_EXP): Document.
545 (strtoflt128): Remove obsolete comment.
546 * configure.ac (HAVE_STRTOULL): New check.
547 * printf/gmp-impl.h (mpn_construct_float128): New prototype,
548 define.
549 * printf/mul_n.c: Include <config.h>.
550 * printf/add_n.c: Likewise.
551 * printf/cmp.c: Likewise.
552 * printf/fpioconst.c: Likewise.
553 * printf/mul_1.c: Likewise.
554 * printf/rshift.c: Likewise.
555 * printf/lshift.c: Likewise.
556 * printf/submul_1.c: Likewise.
557 * printf/sub_n.c: Likewise.
558 * printf/divrem.c: Likewise.
559 * printf/addmul_1.c: Likewise.
560 * printf/mul.c: Likewise.
561 * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
562 to avoid evaluating argument multiple times.
563 (isxdigit): Redefine.
564 * strtod/strtoflt128.c: New file.
565 * strtod/strtod_l.c: New file.
566 * strtod/mpn2flt128.c: New file.
567 * strtod/grouping.h: New file.
568 * strtod/tens_in_limb.c: New file.
569 * gdtoa/arith.h: Removed.
570 * gdtoa/gd_qnan.h: Removed.
571 * gdtoa/gdtoa_fltrnds.h: Removed.
572 * gdtoa/gdtoa.h: Removed.
573 * gdtoa/gdtoaimp.h: Removed.
574 * gdtoa/gethex.c: Removed.
575 * gdtoa/gmisc.c: Removed.
576 * gdtoa/hd_init.c: Removed.
577 * gdtoa/hexnan.c: Removed.
578 * gdtoa/makefile: Removed.
579 * gdtoa/misc.c: Removed.
580 * gdtoa/README.gdtoa: Removed.
581 * gdtoa/smisc.c: Removed.
582 * gdtoa/strtodg.c: Removed.
583 * gdtoa/strtopQ.c: Removed.
584 * gdtoa/sum.c: Removed.
585 * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
586 Define.
587 * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
588 strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
589 * config.h.in: Regenerated.
590 * configure: Regenerated.
591 * Makefile.in: Regenerated.
592
593 2011-02-16 Jakub Jelinek <jakub@redhat.com>
594
595 * printf/quadmath-printf.c: Also check __GLIBC__ when checking
596 whether workarounds for printf hook handling should be added.
597
598 * configure.ac: Check for locale.h too.
599 (USE_LOCALE_SUPPORT): Remove check.
600 (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
601 (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
602 * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
603 or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
604 for wide version.
605 * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
606 * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
607 (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
608 version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
609 Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
610 USE_I18N_NUMBER_H #ifdef.
611 * configure: Regenerated.
612 * config.h.in: Regenerated.
613
614 2011-02-14 Jakub Jelinek <jakub@redhat.com>
615
616 PR bootstrap/47736
617 * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
618 user field.
619 * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
620 field instead of setting individual fields to 0. Don't set info.user
621 to -1.
622 * configure: Regenerated.
623
624 * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
625 * printf/printf_fp.c: Don't include <alloca.h>.
626 * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
627 * configure: Regenerated.
628
629 PR fortran/47642
630 * libquadmath.texi (quadmath_snprintf): Document.
631 (quadmath_flt128tostr): Remove.
632 * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
633 Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
634 gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
635 * quadmath.h (quadmath_snprintf): New prototype.
636 (quadmath_flt128tostr): Remove.
637 * quadmath_weak.h (quadmath_snprintf): Add.
638 (quadmath_flt128tostr): Remove.
639 * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
640 wctype.h, limits.h, ctype.h, printf.h, errno.h.
641 (AC_USE_SYSTEM_EXTENSIONS): Add.
642 (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
643 USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
644 * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
645 quadmath_flt128tostr.
646 * printf/printf_fphex.c: New file.
647 * printf/_itowa.h: New file.
648 * printf/mul_n.c: New file.
649 * printf/quadmath-printf.h: New file.
650 * printf/submul_1.c: New file.
651 * printf/quadmath-printf.c: New file.
652 * printf/gmp-impl.h: New file.
653 * printf/lshift.c: New file.
654 * printf/fpioconst.h: New file.
655 * printf/add_n.c: New file.
656 * printf/cmp.c: New file.
657 * printf/sub_n.c: New file.
658 * printf/mul.c: New file.
659 * printf/divrem.c: New file.
660 * printf/addmul_1.c: New file.
661 * printf/printf_fp.c: New file.
662 * printf/_itoa.h: New file.
663 * printf/fpioconst.c: New file.
664 * printf/_i18n_number.h: New file.
665 * printf/flt1282mpn.c: New file.
666 * printf/rshift.c: New file.
667 * printf/mul_1.c: New file.
668 * quadmath_io.c: Removed.
669 * gdtoa/gdtoa.c: Removed.
670 * gdtoa/g__fmt.c: Removed.
671 * gdtoa/g_Qfmt.c: Removed.
672 * gdtoa/dmisc.c: Removed.
673 * gdtoa/ulp.c: Removed.
674 * config.h.in: Regenerated.
675 * configure: Regenerated.
676 * Makefile.in: Regenerated.
677
678 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
679
680 * Makefile.in: Regenerate.
681 * aclocal.m4: Likewise.
682 * configure: Likewise.
683
684 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
685
686 PR libquadmath/47293
687 * gdtoa/qd_qnan.h: Fix NAN bit patterns.
688 * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
689
690 2011-01-17 Tobias Burnus <burnus@net-b.de>
691
692 PR fortran/47295
693 * libquadmath.text: Document typedef and constants.
694
695 2011-01-17 Tobias Burnus <burnus@net-b.de>
696
697 PR fortran/46817
698 * quadmath-imp.h: Refer to libquadmath not ot libiberty,
699 bump copyright year and use /**/ instead of // comments.
700 * quadmath.h: Ditto.
701 * quadmath-weak.h: Ditto.
702 * quadmath_io.c: Ditto.
703
704 2011-01-16 Jakub Jelinek <jakub@redhat.com>
705
706 PR libfortran/47322
707 * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
708
709 PR fortran/46625
710 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
711 and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
712 * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
713 (strtoflt128, quadmath_flt128tostr): Add.
714 * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
715 (strtoflt128): ... this. Return __float128, instead of writing
716 to memory pointed by last argument.
717 * quadmath.h: Use C style comments instead of C++ style.
718 (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
719 (strtoflt128, quadmath_flt128tostr): Add prototypes.
720 * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
721 (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
722 adjust examples.
723 * quadmath_io.c (quadmath_dtoaq): Rename to...
724 (quadmath_flt128tostr): ... this.
725
726 * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
727 Use it for all prototypes.
728
729 PR fortran/46416
730 * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
731 const from prototype argument.
732 (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
733 llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
734 (__quadmath_extern_inline): Define.
735 (cimagq, conjq, crealq): New inlines.
736 * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
737 math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
738 math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
739 math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
740 * Makefile.in: Regenerated.
741 * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
742 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
743 * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
744 (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
745 tests instead of __BIG_ENDIAN__.
746 * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
747 fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
748 and remquoq.
749 * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
750 fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
751 * math/cprojq.c: New file.
752 * math/ilogbq.c: New file.
753 * math/fminq.c: New file.
754 * math/llrintq.c: New file.
755 * math/log2q.c: New file.
756 * math/lrintq.c: New file.
757 * math/crealq.c: New file.
758 * math/nearbyintq.c: New file.
759 * math/fmaxq.c: New file.
760 * math/conjq.c: New file.
761 * math/remquoq.c: New file.
762 * math/cimagq.c: New file.
763 * math/fdimq.c: New file.
764
765 * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
766
767 PR fortran/46416
768 * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
769 New prototypes.
770 (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
771 M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
772 * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
773 catanhq): Add.
774 * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
775 QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
776 * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
777 catanq and catanhq.
778 * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
779 math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
780 and math/catanhq.c.
781 * Makefile.in: Regenerated.
782 * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
783 catanq, catanhq): Add.
784 * math/cacoshq.c: New file.
785 * math/cacosq.c: New file.
786 * math/catanq.c: New file.
787 * math/catanhq.c: New file.
788 * math/casinq.c: New file.
789 * math/casinhq.c: New file.
790
791 * math/hypotq.c (hypotq): Use Q suffix instead of L.
792 * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
793 * math/cosq.c (cosq): Likewise.
794
795 PR fortran/46402
796 * quadmath.map (QUADMATH_1.0): Add fmaq.
797 * configure.ac: Check for fenv.h, feholdexcept, fesetround,
798 feupdateenv, fesetenv and fetestexcept.
799 * configure: Regenerated.
800 * config.h.in: Regenerated.
801 * quadmath.h (fmaq): New prototype.
802 * quadmath_weak.h (fmaq): Add.
803 * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
804 * Makefile.in: Regenerated.
805 * quadmath-imp.h: Include config.h.
806 * math/expq.c: Include fenv.h.
807 (USE_FENV_H): Define if libm support for fe* is there.
808 (expq): Add fesetround etc. support if USE_FENV_H is defined.
809 * math/fmaq.c: New file.
810 * libquadmath.texi (fmaq): Add.
811
812 2011-01-14 Tobias Burnus <burnus@net-b.de>
813
814 PR fortran/47182
815 * configure.ac: Use ACX_BUGURL.
816 * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
817 * Makefile.am: Create libquadmath-vers.texi.
818 * configure.in: Regenerate.
819 * Makefile.in: Regenerate.
820
821 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
822
823 PR fortran/47174
824 * Makefile.am (libquadmath.info): Unconditionally override
825 target, not only if BUILD_LIBQUADMATH.
826 * Makefile.in: Regenerate.
827 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
828 avoid warning from automake.
829
830 2010-12-19 Tobias Burnus <burnus@net-b.de>
831
832 PR fortran/46520
833 * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
834 * configure: Regenerate
835
836 2010-12-13 Tobias Burnus <burnus@net-b.de>
837
838 PR fortran/46625
839 * gdtoa/gdtoaimp.h: Mangle internal functions by
840 prefixing them with __quadmath. Don't use gdtoa's strcp(y).
841 * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
842 * gdtoa/misc.c (strcpy): Renamed from strcp and only use
843 if NO_STRING_H is set.
844 * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
845 __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
846 __quadmath prefix to internal functions.
847 * math/cosq.c (cosq): Ditto.
848 * math/sinq.c (cosq): Ditto.
849 * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
850 * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
851 * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
852 * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
853
854 2010-12-08 Tobias Burnus <burnus@net-b.de>
855
856 PR fortran/46772
857 * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
858 * gdtoa/gdtoaimp.h: Don't declare strtod.
859
860 2010-12-08 Tobias Burnus <burnus@net-b.de>
861
862 PR fortran/46520
863 * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
864 AC_TRY_LINK and cache libquad_have_float128.
865 * configure: Regenerate.
866
867 2010-12-08 Tobias Burnus <burnus@net-b.de>
868
869 PR fortran/46543
870 * configure.ac: Add texinfo checks.
871 * Makefile.am: Handle .texi documentation.
872 * libquadmath.texi: New.
873 * configure: Regenerated.
874 * Makefile.in: Regenerated.
875
876 2010-12-06 Tobias Burnus <burnus@net-b.de>
877
878 PR fortran/46817
879 * quadmath-imp.h: Add LGPL header.
880 * quadmath.h: Add LGPL header.
881 * quadmath_io.c: Add LGPL header.
882 * quadmath_weak.h: Add LGPL header.
883
884 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
885
886 PR target/40125
887 PR lto/46695
888 * configure.ac: Invoke ACX_LT_HOST_FLAGS.
889 * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
890 * aclocal.m4: Regenerate.
891 * configure: Regenerate.
892 * Makefile.in: Regenerate.
893
894 2010-11-30 Tobias Burnus <burnus@net-b.de>
895
896 PR fortran/46594
897 * Makefile.am: Install include files in
898 target/version specific directory.
899 * Makefile.in: Regenerate.
900
901 2010-11-30 Tobias Burnus <burnus@net-b.de>
902
903 * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
904 LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
905 LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
906
907 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
908
909 * configure: Regenerated.
910 * Makefile.in: Regenerated.
911 * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
912 (target_alias): Use AC_SUBST for it.
913 (GCC_NO_EXECUTABLES): Call it.
914 (AC_PROG_CC): Improve multilib handling.
915 Check that gcc is used for compilation.
916 Use pattern from libssp for symbol versioning checking.
917 * Makefile.am (LTLDFLAGS): Removed.
918 (libquadmath_la_LDFLAGS): Add -no-undefined.
919 (libquadmath_la_LINK): Commented out.
920 (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
921 (AM_MAKEFLAGS): Add hack for argument passing by top-level.
922 (MAKEOVERRIDES): New.
923 * aclocal.m4: Regenerated.
924
925 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
926
927 * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
928 (libquadmath_la_LDFLAGS): ... here.
929 (quadmath.map-sun): Tabify.
930 Fix sed expression.
931 * Makefile.in: Regenerate.
932
933 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
934 Tobias Burnus <burnus@net-b.de>
935
936 PR fortran/32049
937 Initial implementation and checkin.
938 \f
939 Copyright (C) 2010-2018 Free Software Foundation, Inc.
940
941 Copying and distribution of this file, with or without modification,
942 are permitted in any medium without royalty provided the copyright
943 notice and this notice are preserved.