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