OSDN Git Service

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