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