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