OSDN Git Service

d2dcf45ae6dc1bad589761bcf18ee16005e719e6
[pf3gnuchains/gcc-fork.git] / libquadmath / ChangeLog
1 2011-01-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3         PR libquadmath/47293
4         * gdtoa/qd_qnan.h: Fix NAN bit patterns.
5         * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
6
7 2011-01-17  Tobias Burnus  <burnus@net-b.de>
8
9         PR fortran/47295
10         * libquadmath.text: Document typedef and constants.
11
12 2011-01-17  Tobias Burnus  <burnus@net-b.de>
13
14         PR fortran/46817
15         * quadmath-imp.h: Refer to libquadmath not ot libiberty,
16         bump copyright year and use /**/ instead of // comments.
17         * quadmath.h: Ditto.
18         * quadmath-weak.h: Ditto.
19         * quadmath_io.c: Ditto.
20
21 2011-01-16  Jakub Jelinek  <jakub@redhat.com>
22
23         PR libfortran/47322
24         * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
25
26         PR fortran/46625
27         * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
28         and quadmath_dtoaq.  Add strtoflt128 and quadmath_flt128tostr.
29         * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
30         (strtoflt128, quadmath_flt128tostr): Add.
31         * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
32         (strtoflt128): ... this.  Return __float128, instead of writing
33         to memory pointed by last argument.
34         * quadmath.h: Use C style comments instead of C++ style.
35         (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
36         (strtoflt128, quadmath_flt128tostr): Add prototypes.
37         * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
38         (quadmath_strtopQ): Rename to strtoflt128.  Adjust prototype,
39         adjust examples.
40         * quadmath_io.c (quadmath_dtoaq): Rename to...
41         (quadmath_flt128tostr): ... this.
42
43         * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
44         Use it for all prototypes.
45
46         PR fortran/46416
47         * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
48         const from prototype argument.
49         (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
50         llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
51         (__quadmath_extern_inline): Define.
52         (cimagq, conjq, crealq): New inlines.
53         * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
54         math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
55         math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
56         math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
57         * Makefile.in: Regenerated.
58         * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
59         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
60         * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
61         (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
62         tests instead of __BIG_ENDIAN__.
63         * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
64         fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
65         and remquoq.
66         * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
67         fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
68         * math/cprojq.c: New file.
69         * math/ilogbq.c: New file.
70         * math/fminq.c: New file.
71         * math/llrintq.c: New file.
72         * math/log2q.c: New file.
73         * math/lrintq.c: New file.
74         * math/crealq.c: New file.
75         * math/nearbyintq.c: New file.
76         * math/fmaxq.c: New file.
77         * math/conjq.c: New file.
78         * math/remquoq.c: New file.
79         * math/cimagq.c: New file.
80         * math/fdimq.c: New file.
81
82         * math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.
83
84         PR fortran/46416
85         * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
86         New prototypes.
87         (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
88         M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
89         * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
90         catanhq): Add.
91         * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
92         QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
93         * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
94         catanq and catanhq.
95         * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
96         math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
97         and math/catanhq.c.
98         * Makefile.in: Regenerated.
99         * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
100         catanq, catanhq): Add.
101         * math/cacoshq.c: New file.
102         * math/cacosq.c: New file.
103         * math/catanq.c: New file.
104         * math/catanhq.c: New file.
105         * math/casinq.c: New file.
106         * math/casinhq.c: New file.
107
108         * math/hypotq.c (hypotq): Use Q suffix instead of L.
109         * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
110         * math/cosq.c (cosq): Likewise.
111
112         PR fortran/46402
113         * quadmath.map (QUADMATH_1.0): Add fmaq.
114         * configure.ac: Check for fenv.h, feholdexcept, fesetround,
115         feupdateenv, fesetenv and fetestexcept.
116         * configure: Regenerated.
117         * config.h.in: Regenerated.
118         * quadmath.h (fmaq): New prototype.
119         * quadmath_weak.h (fmaq): Add.
120         * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
121         * Makefile.in: Regenerated.
122         * quadmath-imp.h: Include config.h.
123         * math/expq.c: Include fenv.h.
124         (USE_FENV_H): Define if libm support for fe* is there.
125         (expq): Add fesetround etc. support if USE_FENV_H is defined.
126         * math/fmaq.c: New file.
127         * libquadmath.texi (fmaq): Add.
128
129 2011-01-14  Tobias Burnus  <burnus@net-b.de>
130
131         PR fortran/47182
132         * configure.ac: Use ACX_BUGURL.
133         * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
134         * Makefile.am: Create libquadmath-vers.texi.
135         * configure.in: Regenerate.
136         * Makefile.in: Regenerate.
137
138 2011-01-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
139
140         PR fortran/47174
141         * Makefile.am (libquadmath.info): Unconditionally override
142         target, not only if BUILD_LIBQUADMATH.
143         * Makefile.in: Regenerate.
144         * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
145         avoid warning from automake.
146
147 2010-12-19  Tobias Burnus  <burnus@net-b.de>
148
149         PR fortran/46520
150         * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
151         * configure: Regenerate
152
153 2010-12-13  Tobias Burnus  <burnus@net-b.de>
154
155         PR fortran/46625
156         * gdtoa/gdtoaimp.h: Mangle internal functions by
157         prefixing them with __quadmath. Don't use gdtoa's strcp(y).
158         * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
159         * gdtoa/misc.c (strcpy): Renamed from strcp and only use
160         if NO_STRING_H is set.
161         * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
162         __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
163         __quadmath prefix to internal functions.
164         * math/cosq.c (cosq): Ditto.
165         * math/sinq.c (cosq): Ditto.
166         * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
167         * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
168         * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
169         * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
170
171 2010-12-08  Tobias Burnus  <burnus@net-b.de>
172
173         PR fortran/46772
174         * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
175         * gdtoa/gdtoaimp.h: Don't declare strtod.
176
177 2010-12-08  Tobias Burnus  <burnus@net-b.de>
178
179         PR fortran/46520
180         * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
181         AC_TRY_LINK and cache libquad_have_float128.
182         * configure: Regenerate.
183
184 2010-12-08  Tobias Burnus  <burnus@net-b.de>
185
186         PR fortran/46543
187         * configure.ac: Add texinfo checks.
188         * Makefile.am: Handle .texi documentation.
189         * libquadmath.texi: New.
190         * configure: Regenerated.
191         * Makefile.in: Regenerated.
192
193 2010-12-06  Tobias Burnus  <burnus@net-b.de>
194
195         PR fortran/46817
196         * quadmath-imp.h: Add LGPL header.
197         * quadmath.h: Add LGPL header.
198         * quadmath_io.c: Add LGPL header.
199         * quadmath_weak.h: Add LGPL header.
200
201 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
202
203         PR target/40125
204         PR lto/46695
205         * configure.ac: Invoke ACX_LT_HOST_FLAGS.
206         * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
207         * aclocal.m4: Regenerate.
208         * configure: Regenerate.
209         * Makefile.in: Regenerate.
210
211 2010-11-30  Tobias Burnus  <burnus@net-b.de>
212
213         PR fortran/46594
214         * Makefile.am: Install include files in
215         target/version specific directory.
216         * Makefile.in: Regenerate.
217
218 2010-11-30  Tobias Burnus  <burnus@net-b.de>
219
220         * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
221         LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
222         LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
223
224 2010-11-29  Kai Tietz  <kai.tietz@onevision.com>
225
226         * configure: Regenerated.
227         * Makefile.in: Regenerated.
228         * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
229         (target_alias): Use AC_SUBST for it.
230         (GCC_NO_EXECUTABLES): Call it.
231         (AC_PROG_CC): Improve multilib handling.
232         Check that gcc is used for compilation.
233         Use pattern from libssp for symbol versioning checking.
234         * Makefile.am (LTLDFLAGS): Removed.
235         (libquadmath_la_LDFLAGS): Add -no-undefined.
236         (libquadmath_la_LINK): Commented out.
237         (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
238         (AM_MAKEFLAGS): Add hack for argument passing by top-level.
239         (MAKEOVERRIDES): New.
240         * aclocal.m4: Regenerated.
241
242 2010-11-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
243
244         * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
245         (libquadmath_la_LDFLAGS): ... here.
246         (quadmath.map-sun): Tabify.
247         Fix sed expression.
248         * Makefile.in: Regenerate.
249
250 2010-11-16  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
251             Tobias Burnus  <burnus@net-b.de>
252
253         PR fortran/32049
254         Initial implementation and checkin.