Update ChangeLog and version files for release
[official-gcc.git] / libquadmath / ChangeLog
blobc332649ba4c39f84e1ee5215aee7a4a17441a64e
1 2015-12-04  Release Manager
3         * GCC 5.3.0 released.
5 2015-07-16  Release Manager
7         * GCC 5.2.0 released.
9 2015-04-22  Release Manager
11         * GCC 5.1.0 released.
13 2015-01-26  Matthias Klose  <doko@ubuntu.com>
15         * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
16         * configure: Regenerate.
18 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
20         * libquadmath.texi: Bump @copying's copyright year.
22 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24         PR bootstrap/63784
25         * configure: Regenerated.
27 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
29         PR target/63610
30         * configure: Regenerate.
32 2014-10-21  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
34         PR libquadmath/55821
35         * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
36         * Makefile.in: Regenerate.
38 2014-10-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
40         PR libquadmath/55821
41         * Makefile.am: Conditionally define info_TEXINFOS and
42         libquadmath_TEXINFOS.
43         * Makefile.in: Regenerate.
45 2014-10-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
47         PR libquadmath/63487
48         * libquadmath.texi (sincosq): Fix typo.
50 2014-01-02  Tobias Burnus  <burnus@net-b.de>
52         * libquadmath.texi: Bump @copying's copyright year.
54 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
56         * Makefile.am (AM_CPPFLAGS): Define.
57         * Makefile.in: Regenerate.
58         * printf/gmp-impl.h: Remove path from longlong.h include.
60 2013-09-20  Alan Modra  <amodra@gmail.com>
62         * configure: Regenerate.
64 2013-03-06  Shakthi Kannan  <shakthimaan@gmail.com>
66         PR libquadmath/55473
67         * quadmath.h: Add 'extern "C"' block for C++ use.
69 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
71         PR libquadmath/56379
72         * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
73         macro.
75 2013-02-17  Tobias Burnus  <burnus@net-b.de>
77         * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
79 2013-02-06  Richard Sandiford  <rdsandiford@googlemail.com>
81         Revert previous patch.
83 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
85         Update copyright years.
87 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
89         PR libquadmath/56072
90         * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
92 2012-12-13  Jakub Jelinek  <jakub@redhat.com>
94         * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
95         instead of L suffixed ones.
96         * math/fmaq.c (fmaq): Likewise.
97         * math/rintq.c (TWO112): Likewise.
99 2012-12-03  Tobias Burnus  <burnus@net-b.de>
101         * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
102         reading.
104 2012-11-25  Tobias Burnus  <burnus@net-b.de>
106         PR libquadmath/55462
107         * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
108         instead of nonexisting HAVE_GET_ROUNDING_MODE.
110 2012-11-23  H.J. Lu  <hongjiu.lu@intel.com>
112         PR bootstrap/55455
113         * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
114         void to fegetround.
116 2012-11-23  Tobias Burnus  <burnus@net-b.de>
117             Joseph Myers  <joseph@codesourcery.com>
119         * quadmath-rounding-mode.h: New.
120         * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
121         * printf/fpioconst.h: Ditto.
122         * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
123         Make printf respect the rounding mode for decimal output.
124         * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
125         GLIBC.  Make printf respect the rounding mode for hex output.
126         * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
127         rounding mode. Fix strtod handling of underflow.
129 2012-11-22  David S. Miller  <davem@davemloft.net>
130             Tobias Burnus  <burnus@net-b.de>
131             Joseph Myers  <joseph@codesourcery.com>
133         * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
134         very large arguments properly.
135         * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
136         underflow when 'x' is very small.
137         * math/j1q.c (y1q): Ditto.
138         * math/log1pq.c (log1pq): Update from GLIBC. Saturate
139         nonzero exponents with absolute value below 0x1p-128 to
140         +/- 0x1p-128.
141         * math/powq.c (powq): Update from GLIBC. If xm1 is
142         smaller than LDBL_EPSILON/2.0L, just return xm1.
144 2012-11-21  Tobias Burnus  <burnus@net-b.de>
146         PR libquadmath/55225
147         * math/lgammaq.c (lgammaq): Use local variable if
148         math.h does not provide signgam.
149         * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
150         * configure.ac: Use it.
151         * configure: Regenerate.
152         * config.h.in: Regenerate.
154 2012-11-15  Tobias Burnus  <burnus@net-b.de>
155             Joseph Myers  <joseph@codesourcery.com>
157         * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
158         underflows with small x * y; Fix overflow results
159         outside round-to-nearest mode; make use of Dekker
160         and Knuth algorithms use round-to-nearest.
162 2012-11-01  Tobias Burnus  <burnus@net-b.de>
164         * math/fmaq.c (fmaq): Fix build.
166 2012-11-01  Tobias Burnus  <burnus@net-b.de>
167             Joseph Myers  <joseph@codesourcery.com>
169         * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
170         with small x * y using scaling, not as x * y + z.
171         * math/lgammaq.c (lgammaq): Fix signgam handling.
173 2012-11-01  Tobias Burnus  <burnus@net-b.de>
175         * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
176         * Makefile.in: Regenerated.
177         * math/acoshq.c: Update comment.
178         * math/acosq.c: Ditto.
179         * math/asinhq.c: Ditto.
180         * math/asinq.c: Ditto.
181         * math/atan2q.c: Ditto.
182         * math/atanhq.c: Ditto.
183         * math/ceilq.c: Ditto.
184         * math/copysignq.c: Ditto.
185         * math/cosq.c: Ditto.
186         * math/coshq.c: Ditto.
187         * math/erfq.c: Ditto.
188         * math/fabsq.c: Ditto.
189         * math/finiteq.c: Ditto.
190         * math/floorq.c: Ditto.
191         * math/fmodq.c: Ditto.
192         * math/frexpq.c: Ditto.
193         * math/isnanq.c: Ditto.
194         * math/j0q.c: Ditto.
195         * math/j1q.c: Ditto.
196         * math/ldexpq.c: Ditto.
197         * math/llroundq.c: Ditto.
198         * math/log10q.c: Ditto.
199         * math/log1pq.c: Ditto.
200         * math/log2q.c: Ditto.
201         * math/logq.c: Ditto.
202         * math/lroundq.c: Ditto.
203         * math/modfq.c: Ditto.
204         * math/nextafterq.c: Ditto.
205         * math/powq.c: Ditto.
206         * math/rem_pio2q.c: Ditto.
207         * math/remainderq.c: Ditto.
208         * math/rintq.c: Ditto.
209         * math/roundq.c: Ditto.
210         * math/scalblnq.c: Ditto.
211         * math/scalbnq.c: Ditto.
212         * math/sincosq_kernel.c: Ditto.
213         * math/sinq.c: Ditto.
214         * math/tanq.c: Ditto.
215         * math/expq.c: Ditto.
216         (__expq_table, expq): Renamed local array from __expl_table.
217         * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
218         * math/cacoshq.c: Changes from GLIBC; fix returned sign.
219         * math/casinhq.c: Changes from GLIBC to fix special-case.
220         * math/cbrtq.c: Use modified GLIBC version.
221         * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
222         ctanhq, ctanq): Moved to separates files.
223         (mult_c128, div_c128): Removed no longer needed functions.
224         (cexpiq): Call sincosq instead of sinq and cosq.
225         (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
226         * math/ccoshq.c (ccoshq): New file, moved from complex.c and
227         modified based on GLIBC.
228         * math/cexpq.c (cexp): Ditto.
229         * math/clog10q.c (clog10q): Ditto.
230         * math/clogq.c (clogq): Ditto.
231         * math/csinhq.c: Ditto.
232         * math/csinq.c: Ditto.
233         * math/csqrtq.c: Ditto.
234         * math/ctanhq.c: Ditto.
235         * math/ctanq.c: Ditto.
236         * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
237         from GLIBC.
238         * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
239         * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
240         from GLIBC.
241         * math/lgammaq.c (lgammaq): Add signgam handling.
242         * math/sinhq.c (sinhq): Fix sign handling.
243         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
244         * math/tgammaq.c (tgammaq): Ditto.
245         * math/x2y2m1q.c: New file.
246         * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
247         (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
249 2012-10-31  Tobias Burnus  <burnus@net-b.de>
250             Joseph Myers <joseph@codesourcery.com>
251             David S. Miller <davem@davemloft.net>
252             Ulrich Drepper <drepper@redhat.com>
253             Marek Polacek <polacek@redhat.com>:
254             Petr Baudis <pasky@suse.cz>
256         * math/complex.c (csqrtq): NaN and INF fixes. 
257         * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
258         * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
259         large parameters. Fix errno for boundary conditions.
260         * math/finiteq.c (finiteq): Add comment.
261         * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
262         and bad results for some subnormal results. Fix sign of inexact
263         zero return. Fix sign of exact zero return. 
264         Ensure additions are not scheduled after fetestexcept.
265         * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
266         for ynq. Fix jnq precision.
267         * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
268         manipulate bits before adding and subtracting TWO112[sx].
269         * math/rintq.c (rintq): Ditto.
270         * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
271         overflow.
273 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
275         * configure: Regenerated.
277 2012-05-29  Benjamin Kosnik  <bkoz@redhat.com>
279         PR libstdc++/51007
280         * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
281         * configure: Regenerated.
283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
285         * configure: Regenerated.
287 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
289         * configure: Regenerate.
291 2011-11-07  Kai Tietz  <ktietz@redhat.com>
293         PR target/51007
294         * quadmath-imp.h (ieee854_float128): Adjust
295         for ms-bitfield layout.
297 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
299         * printf/gmp-impl.h: Adapt path to longlong.h.
301 2011-09-21  Joseph Myers  <joseph@codesourcery.com>
303         * Makefile.am (FLAGS_TO_PASS): Define.
304         * Makefile.in: Regenerate.
306 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
308         * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
309         conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
311 2011-04-03  Tobias Burnus  <burnus@net-b.de>
313         PR fortran/48311
314         * libquadmath.texi (strtoflt128): Fix typo.
315         (quadmath_snprintf): Move note up, make @item.
317 2011-03-25  Jakub Jelinek  <jakub@redhat.com>
319         * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
320         mempcpy.
322 2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
324         PR bootstrap/48135
325         * configure.ac (quadmath_use_symver): Handle --disable-symvers.
326         * configure: Regenerate.
328 2011-02-28  Jakub Jelinek  <jakub@redhat.com>
330         * printf/quadmath-printf.c (quadmath_snprintf): Make sure
331         that for size > 0 str is always zero terminated.
333 2011-02-20  Jakub Jelinek  <jakub@redhat.com>
335         PR bootstrap/47827
336         * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
338 2011-02-17  Jakub Jelinek  <jakub@redhat.com>
340         * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
341         FLT128_MAX_10_EXP): Document.
342         (strtoflt128): Remove obsolete comment.
343         * configure.ac (HAVE_STRTOULL): New check.
344         * printf/gmp-impl.h (mpn_construct_float128): New prototype,
345         define.
346         * printf/mul_n.c: Include <config.h>.
347         * printf/add_n.c: Likewise.
348         * printf/cmp.c: Likewise.
349         * printf/fpioconst.c: Likewise.
350         * printf/mul_1.c: Likewise.
351         * printf/rshift.c: Likewise.
352         * printf/lshift.c: Likewise.
353         * printf/submul_1.c: Likewise.
354         * printf/sub_n.c: Likewise.
355         * printf/divrem.c: Likewise.
356         * printf/addmul_1.c: Likewise.
357         * printf/mul.c: Likewise.
358         * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
359         to avoid evaluating argument multiple times.
360         (isxdigit): Redefine.
361         * strtod/strtoflt128.c: New file.
362         * strtod/strtod_l.c: New file.
363         * strtod/mpn2flt128.c: New file.
364         * strtod/grouping.h: New file.
365         * strtod/tens_in_limb.c: New file.
366         * gdtoa/arith.h: Removed.
367         * gdtoa/gd_qnan.h: Removed.
368         * gdtoa/gdtoa_fltrnds.h: Removed.
369         * gdtoa/gdtoa.h: Removed.
370         * gdtoa/gdtoaimp.h: Removed.
371         * gdtoa/gethex.c: Removed.
372         * gdtoa/gmisc.c: Removed.
373         * gdtoa/hd_init.c: Removed.
374         * gdtoa/hexnan.c: Removed.
375         * gdtoa/makefile: Removed.
376         * gdtoa/misc.c: Removed.
377         * gdtoa/README.gdtoa: Removed.
378         * gdtoa/smisc.c: Removed.
379         * gdtoa/strtodg.c: Removed.
380         * gdtoa/strtopQ.c: Removed.
381         * gdtoa/sum.c: Removed.
382         * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
383         Define.
384         * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
385         strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
386         * config.h.in: Regenerated.
387         * configure: Regenerated.
388         * Makefile.in: Regenerated.
390 2011-02-16  Jakub Jelinek  <jakub@redhat.com>
392         * printf/quadmath-printf.c: Also check __GLIBC__ when checking
393         whether workarounds for printf hook handling should be added.
395         * configure.ac: Check for locale.h too.
396         (USE_LOCALE_SUPPORT): Remove check.
397         (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
398         (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
399         * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
400         or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
401         for wide version.
402         * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
403         * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
404         (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
405         version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
406         Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
407         USE_I18N_NUMBER_H #ifdef.
408         * configure: Regenerated.
409         * config.h.in: Regenerated.
411 2011-02-14  Jakub Jelinek  <jakub@redhat.com>
413         PR bootstrap/47736
414         * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
415         user field.
416         * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
417         field instead of setting individual fields to 0.  Don't set info.user
418         to -1.
419         * configure: Regenerated.
421         * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
422         * printf/printf_fp.c: Don't include <alloca.h>.
423         * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
424         * configure: Regenerated.
426         PR fortran/47642
427         * libquadmath.texi (quadmath_snprintf): Document.
428         (quadmath_flt128tostr): Remove.
429         * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
430         Remove  quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
431         gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
432         * quadmath.h (quadmath_snprintf): New prototype.
433         (quadmath_flt128tostr): Remove.
434         * quadmath_weak.h (quadmath_snprintf): Add.
435         (quadmath_flt128tostr): Remove.
436         * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
437         wctype.h, limits.h, ctype.h, printf.h, errno.h.
438         (AC_USE_SYSTEM_EXTENSIONS): Add.
439         (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
440         USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
441         * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf.  Remove
442         quadmath_flt128tostr.
443         * printf/printf_fphex.c: New file.
444         * printf/_itowa.h: New file.
445         * printf/mul_n.c: New file.
446         * printf/quadmath-printf.h: New file.
447         * printf/submul_1.c: New file.
448         * printf/quadmath-printf.c: New file.
449         * printf/gmp-impl.h: New file.
450         * printf/lshift.c: New file.
451         * printf/fpioconst.h: New file.
452         * printf/add_n.c: New file.
453         * printf/cmp.c: New file.
454         * printf/sub_n.c: New file.
455         * printf/mul.c: New file.
456         * printf/divrem.c: New file.
457         * printf/addmul_1.c: New file.
458         * printf/printf_fp.c: New file.
459         * printf/_itoa.h: New file.
460         * printf/fpioconst.c: New file.
461         * printf/_i18n_number.h: New file.
462         * printf/flt1282mpn.c: New file.
463         * printf/rshift.c: New file.
464         * printf/mul_1.c: New file.
465         * quadmath_io.c: Removed.
466         * gdtoa/gdtoa.c: Removed.
467         * gdtoa/g__fmt.c: Removed.
468         * gdtoa/g_Qfmt.c: Removed.
469         * gdtoa/dmisc.c: Removed.
470         * gdtoa/ulp.c: Removed.
471         * config.h.in: Regenerated.
472         * configure: Regenerated.
473         * Makefile.in: Regenerated.
475 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
477         * Makefile.in: Regenerate.
478         * aclocal.m4: Likewise.
479         * configure: Likewise.
481 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
483         PR libquadmath/47293
484         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
485         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
487 2011-01-17  Tobias Burnus  <burnus@net-b.de>
489         PR fortran/47295
490         * libquadmath.text: Document typedef and constants.
492 2011-01-17  Tobias Burnus  <burnus@net-b.de>
494         PR fortran/46817
495         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
496         bump copyright year and use /**/ instead of // comments.
497         * quadmath.h: Ditto.
498         * quadmath-weak.h: Ditto.
499         * quadmath_io.c: Ditto.
501 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
503         PR libfortran/47322
504         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
506         PR fortran/46625
507         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
508         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
509         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
510         (strtoflt128, quadmath_flt128tostr): Add.
511         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
512         (strtoflt128): ... this.  Return __float128, instead of writing
513         to memory pointed by last argument.
514         * quadmath.h: Use C style comments instead of C++ style.
515         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
516         (strtoflt128, quadmath_flt128tostr): Add prototypes.
517         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
518         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
519         adjust examples.
520         * quadmath_io.c (quadmath_dtoaq): Rename to...
521         (quadmath_flt128tostr): ... this.
523         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
524         Use it for all prototypes.
526         PR fortran/46416
527         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
528         const from prototype argument.
529         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
530         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
531         (__quadmath_extern_inline): Define.
532         (cimagq, conjq, crealq): New inlines.
533         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
534         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
535         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
536         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
537         * Makefile.in: Regenerated.
538         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
539         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
540         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
541         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
542         tests instead of __BIG_ENDIAN__.
543         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
544         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
545         and remquoq.
546         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
547         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
548         * math/cprojq.c: New file.
549         * math/ilogbq.c: New file.
550         * math/fminq.c: New file.
551         * math/llrintq.c: New file.
552         * math/log2q.c: New file.
553         * math/lrintq.c: New file.
554         * math/crealq.c: New file.
555         * math/nearbyintq.c: New file.
556         * math/fmaxq.c: New file.
557         * math/conjq.c: New file.
558         * math/remquoq.c: New file.
559         * math/cimagq.c: New file.
560         * math/fdimq.c: New file.
562         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
564         PR fortran/46416
565         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
566         New prototypes.
567         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
568         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
569         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
570         catanhq): Add.
571         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
572         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
573         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
574         catanq and catanhq.
575         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
576         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
577         and math/catanhq.c.
578         * Makefile.in: Regenerated.
579         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
580         catanq, catanhq): Add.
581         * math/cacoshq.c: New file.
582         * math/cacosq.c: New file.
583         * math/catanq.c: New file.
584         * math/catanhq.c: New file.
585         * math/casinq.c: New file.
586         * math/casinhq.c: New file.
588         * math/hypotq.c (hypotq): Use Q suffix instead of L.
589         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
590         * math/cosq.c (cosq): Likewise.
592         PR fortran/46402
593         * quadmath.map (QUADMATH_1.0): Add fmaq.
594         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
595         feupdateenv, fesetenv and fetestexcept.
596         * configure: Regenerated.
597         * config.h.in: Regenerated.
598         * quadmath.h (fmaq): New prototype.
599         * quadmath_weak.h (fmaq): Add.
600         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
601         * Makefile.in: Regenerated.
602         * quadmath-imp.h: Include config.h.
603         * math/expq.c: Include fenv.h.
604         (USE_FENV_H): Define if libm support for fe* is there.
605         (expq): Add fesetround etc. support if USE_FENV_H is defined.
606         * math/fmaq.c: New file.
607         * libquadmath.texi (fmaq): Add.
609 2011-01-14  Tobias Burnus  <burnus@net-b.de>
611         PR fortran/47182
612         * configure.ac: Use ACX_BUGURL.
613         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
614         * Makefile.am: Create libquadmath-vers.texi.
615         * configure.in: Regenerate.
616         * Makefile.in: Regenerate.
618 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
620         PR fortran/47174
621         * Makefile.am (libquadmath.info): Unconditionally override
622         target, not only if BUILD_LIBQUADMATH.
623         * Makefile.in: Regenerate.
624         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
625         avoid warning from automake.
627 2010-12-19  Tobias Burnus  <burnus@net-b.de>
629         PR fortran/46520
630         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
631         * configure: Regenerate
633 2010-12-13  Tobias Burnus  <burnus@net-b.de>
635         PR fortran/46625
636         * gdtoa/gdtoaimp.h: Mangle internal functions by
637         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
638         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
639         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
640         if NO_STRING_H is set.
641         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
642         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
643         __quadmath prefix to internal functions.
644         * math/cosq.c (cosq): Ditto.
645         * math/sinq.c (cosq): Ditto.
646         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
647         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
648         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
649         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
651 2010-12-08  Tobias Burnus  <burnus@net-b.de>
653         PR fortran/46772
654         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
655         * gdtoa/gdtoaimp.h: Don't declare strtod.
657 2010-12-08  Tobias Burnus  <burnus@net-b.de>
659         PR fortran/46520
660         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
661         AC_TRY_LINK and cache libquad_have_float128.
662         * configure: Regenerate.
664 2010-12-08  Tobias Burnus  <burnus@net-b.de>
666         PR fortran/46543
667         * configure.ac: Add texinfo checks.
668         * Makefile.am: Handle .texi documentation.
669         * libquadmath.texi: New.
670         * configure: Regenerated.
671         * Makefile.in: Regenerated.
673 2010-12-06  Tobias Burnus  <burnus@net-b.de>
675         PR fortran/46817
676         * quadmath-imp.h: Add LGPL header.
677         * quadmath.h: Add LGPL header.
678         * quadmath_io.c: Add LGPL header.
679         * quadmath_weak.h: Add LGPL header.
681 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
683         PR target/40125
684         PR lto/46695
685         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
686         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
687         * aclocal.m4: Regenerate.
688         * configure: Regenerate.
689         * Makefile.in: Regenerate.
691 2010-11-30  Tobias Burnus  <burnus@net-b.de>
693         PR fortran/46594
694         * Makefile.am: Install include files in
695         target/version specific directory.
696         * Makefile.in: Regenerate.
698 2010-11-30  Tobias Burnus  <burnus@net-b.de>
700         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
701         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
702         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
704 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
706         * configure: Regenerated.
707         * Makefile.in: Regenerated.
708         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
709         (target_alias): Use AC_SUBST for it.
710         (GCC_NO_EXECUTABLES): Call it.
711         (AC_PROG_CC): Improve multilib handling.
712         Check that gcc is used for compilation.
713         Use pattern from libssp for symbol versioning checking.
714         * Makefile.am (LTLDFLAGS): Removed.
715         (libquadmath_la_LDFLAGS): Add -no-undefined.
716         (libquadmath_la_LINK): Commented out.
717         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
718         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
719         (MAKEOVERRIDES): New.
720         * aclocal.m4: Regenerated.
722 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
724         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
725         (libquadmath_la_LDFLAGS): ... here.
726         (quadmath.map-sun): Tabify.
727         Fix sed expression.
728         * Makefile.in: Regenerate.
730 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
731             Tobias Burnus  <burnus@net-b.de>
733         PR fortran/32049
734         Initial implementation and checkin.