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