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