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