OSDN Git Service

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