OSDN Git Service

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