summaryrefslogtreecommitdiffstats
path: root/libgfortran
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-01-12 00:16:39 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-01-12 00:16:39 +0000
commit01a254e3e53cc1cf9e16688ed785ca931b1459aa (patch)
tree2b8432c339b237dc7135ab7a1823697d50e556ef /libgfortran
parentChange the 3rd parameter of function .DEFERRED_INIT from IS_VLA to decl name. (diff)
downloadgcc-01a254e3e53cc1cf9e16688ed785ca931b1459aa.tar.gz
gcc-01a254e3e53cc1cf9e16688ed785ca931b1459aa.tar.bz2
gcc-01a254e3e53cc1cf9e16688ed785ca931b1459aa.tar.xz
Daily bump.
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog300
1 files changed, 300 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 78085c54fd2..cfe29d174dc 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,303 @@
12022-01-11 Jakub Jelinek <jakub@redhat.com>
2
3 * io/transfer.c (unformatted_read, unformatted_write): When
4 byteswapping IBM extended real(kind=16), handle it as byteswapping
5 two real(kind=8) values.
6
72022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
8
9 * runtime/environ.c (R16_IEEE): New macro.
10 (R16_IBM): New macro.
11 (next_token): Handle IBM R16 conversion cases.
12 (push_token): Likewise.
13 (mark_single): Likewise.
14 (do_parse): Likewise, initialize endian.
15
162022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
17
18 * Makefile.in: Regenerate.
19 * io/file_pos.c (unformatted_backspace): Mask off
20 R16 parts for convert.
21 * io/inquire.c (inquire_via_unit): Add cases for
22 R16 parts.
23 * io/open.c (st_open): Add cases for R16 conversion.
24 * io/transfer.c (unformatted_read): Adjust for R16 conversions.
25 (unformatted_write): Likewise.
26 (us_read): Mask of R16 bits.
27 (data_transfer_init): Likewiese.
28 (write_us_marker): Likewise.
29
302022-01-11 Jakub Jelinek <jakub@redhat.com>
31
32 * Makefile.am (AM_FCFLAGS): Add -fbuilding-libgfortran after
33 -fallow-leading-underscore.
34 * Makefile.in: Regenerated.
35
362022-01-11 Jakub Jelinek <jakub@redhat.com>
37
38 * libgfortran.h (__copysignieee128, __fmaieee128, __fmodieee128):
39 Declare.
40 * intrinsics/trigd.c (COPYSIGN, FMOD, FABS, FMA, SIN, COS, TAN): If
41 POWER_IEEE128 is defined, define these for kind 17 include.
42 * intrinsics/trigd_lib.inc (COPYSIGN, FMOD, FABS, FMA, SIN, COS, TAN):
43 Don't define if COPYSIGN is already defined.
44
452022-01-11 Jakub Jelinek <jakub@redhat.com>
46
47 * libgfortran.h (GFC_REAL_17_INFINITY, GFC_REAL_17_QUIET_NAN): Define.
48 (__erfcieee128): Declare.
49 * intrinsics/trigd.c (_gfortran_sind_r17, _gfortran_cosd_r17,
50 _gfortran_tand_r17): Define for HAVE_GFC_REAL_17.
51 * intrinsics/random.c (random_r17, arandom_r17, rnumber_17): Define.
52 * intrinsics/erfc_scaled.c (ERFC_SCALED): Define.
53 (erfc_scaled_r16): Use ERFC_SCALED macro.
54 (erfc_scaled_r17): Define.
55
562022-01-11 Jakub Jelinek <jakub@redhat.com>
57
58 * io/read.c (convert_real): Add missing break; for the
59 HAVE_GFC_REAL_17 case.
60
612022-01-11 Jakub Jelinek <jakub@redhat.com>
62
63 * io/write_float.def (CALCULATE_EXP): If HAVE_GFC_REAL_17, also use
64 CALCULATE_EXP(17).
65 (determine_en_precision): Use 17 instead of 16 as first EN_PREC
66 argument for kind 17.
67 (get_float_string): Use 17 instead of 16 as first FORMAT_FLOAT
68 argument for kind 17.
69
702022-01-11 Jakub Jelinek <jakub@redhat.com>
71
72 * libgfortran.h (__acoshieee128, __acosieee128, __asinhieee128,
73 __asinieee128, __atan2ieee128, __atanhieee128, __atanieee128,
74 __coshieee128, __cosieee128, __erfieee128, __expieee128,
75 __fabsieee128, __jnieee128, __log10ieee128, __logieee128,
76 __powieee128, __sinhieee128, __sinieee128, __sqrtieee128,
77 __tanhieee128, __tanieee128, __ynieee128): Formatting fixes.
78 (__strtoieee128, __snprintfieee128): Declare.
79 * io/io.h (default_width_for_float, default_precision_for_float):
80 Handle kind == 17.
81 * io/size_from_kind.c (size_from_real_kind, size_from_complex_kind):
82 Likewise.
83 * io/read.c (set_integer, si_max, convert_real, convert_infnan,
84 read_f): Likewise.
85 * io/write.c (extract_uint, size_from_kind, set_fnode_default):
86 Likewise.
87 * io/write_float.def (DTOA2Q, FDTOA2Q): Define for HAVE_GFC_REAL_17.
88 (determine_en_precision, get_float_string): Handle kind == 17.
89 * io/transfer128.c: Use also for HAVE_GFC_REAL_17, but don't drag in
90 libquadmath if POWER_IEEE128.
91 * Makefile.am (comma, PREPROCESS): New variables.
92 (gfortran.ver): New goal.
93 (version_arg, version_dep): Use gfortran.ver instead of
94 $(srcdir)/gfortran.map.
95 (gfortran.map-sun): Depend on and use gfortran.ver instead of
96 $(srcdir)/gfortran.map.
97 (BUILT_SOURCES): Add $(version_dep).
98 * Makefile.in: Regenerated.
99 * gfortran.map (GFORTRAN_8): Don't export
100 _gfortran_transfer_complex128, _gfortran_transfer_complex128_write,
101 _gfortran_transfer_real128 and _gfortran_transfer_real128_write if
102 HAVE_GFC_REAL_17 is defined.
103 (GFORTRAN_12): Export those here instead.
104
1052022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
106
107 * Makefile.am: Correct files for compilation flags. Add
108 -D__powerpc64__ for Fortran sources. Get kinds.inc from
109 grep of kinds.h and kinds-override.h.
110 * Makefile.in: Regenerate.
111 * config.h.in: Regenerate.
112 * configure: Regenerate.
113 * configure.ac: Add -mno-gnu-attribute to compile flags.
114 * generated/_abs_c17.F90: Regenerate.
115 * generated/_abs_r17.F90: Regenerate.
116 * generated/_acos_r17.F90: Regenerate.
117 * generated/_acosh_r17.F90: Regenerate.
118 * generated/_aimag_c17.F90: Regenerate.
119 * generated/_aint_r17.F90: Regenerate.
120 * generated/_anint_r17.F90: Regenerate.
121 * generated/_asin_r17.F90: Regenerate.
122 * generated/_asinh_r17.F90: Regenerate.
123 * generated/_atan2_r17.F90: Regenerate.
124 * generated/_atan_r17.F90: Regenerate.
125 * generated/_atanh_r17.F90: Regenerate.
126 * generated/_conjg_c17.F90: Regenerate.
127 * generated/_cos_c17.F90: Regenerate.
128 * generated/_cos_r17.F90: Regenerate.
129 * generated/_cosh_r17.F90: Regenerate.
130 * generated/_dim_r17.F90: Regenerate.
131 * generated/_exp_c17.F90: Regenerate.
132 * generated/_exp_r17.F90: Regenerate.
133 * generated/_log10_r17.F90: Regenerate.
134 * generated/_log_c17.F90: Regenerate.
135 * generated/_log_r17.F90: Regenerate.
136 * generated/_mod_r17.F90: Regenerate.
137 * generated/_sign_r17.F90: Regenerate.
138 * generated/_sin_c17.F90: Regenerate.
139 * generated/_sin_r17.F90: Regenerate.
140 * generated/_sinh_r17.F90: Regenerate.
141 * generated/_sqrt_c17.F90: Regenerate.
142 * generated/_sqrt_r17.F90: Regenerate.
143 * generated/_tan_r17.F90: Regenerate.
144 * generated/_tanh_r17.F90: Regenerate.
145 * kinds-override.h: Adjust to trunk.
146 Change condition to single line so it can be grepped.
147 * m4/specific.m4: Make sure that real=kind16 is used
148 for _r17.F90 and _c17.F90 files.
149 * m4/specific2.m4: Likewise.
150
1512022-01-11 Jakub Jelinek <jakub@redhat.com>
152
153 * libgfortran.h (internal_pack_r17, internal_pack_c17,
154 internal_unpack_r17, internal_unpack_c17, pack_r17, pack_c17,
155 unpack0_r17, unpack0_c17, unpack1_r17, unpack1_c17, spread_r17,
156 spread_c17, spread_scalar_r17, spread_scalar_c17, cshift0_r17,
157 cshift0_c17, cshift1_4_r17, cshift1_8_r17, cshift1_16_r17,
158 cshift1_4_c17, cshift1_8_c17, cshift1_16_c17): Declare.
159 * gfortran.map (GFORTRAN_12): Export *_r17 and *_c17.
160
1612022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
162
163 * acinclude.m4 (LIBGFOR_CHECK_MATH_IEEE128): New macro.
164 * configure.ac: Use it.
165 * config.h.in: Regenerate.
166 * configure: Regenerate.
167
1682022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
169
170 * Makefile.am: Fix pattern substitution for _r17 and _c17.
171 * Makefile.in: Regenerate.
172
1732022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
174
175 * Makefile.am: Add _r17 and _c17 files. Build them
176 with -mabi=ieeelongdouble on POWER.
177 * Makefile.in: Regenerate.
178 * configure: Regenerate.
179 * configure.ac: New flag HAVE_REAL_17.
180 * kinds-override.h: (HAVE_GFC_REAL_17): New macro.
181 (HAVE_GFC_COMPLEX_17): New macro.
182 (GFC_REAL_17_HUGE): New macro.
183 (GFC_REAL_17_LITERAL_SUFFIX): New macro.
184 (GFC_REAL_17_LITERAL): New macro.
185 (GFC_REAL_17_DIGITS): New macro.
186 (GFC_REAL_17_RADIX): New macro.
187 * libgfortran.h (POWER_IEEE128): New macro.
188 (gfc_array_r17): Typedef.
189 (GFC_DTYPE_REAL_17): New macro.
190 (GFC_DTYPE_COMPLEX_17): New macro.
191 (__acoshieee128): Prototype.
192 (__acosieee128): Prototype.
193 (__asinhieee128): Prototype.
194 (__asinieee128): Prototype.
195 (__atan2ieee128): Prototype.
196 (__atanhieee128): Prototype.
197 (__atanieee128): Prototype.
198 (__coshieee128): Prototype.
199 (__cosieee128): Prototype.
200 (__erfieee128): Prototype.
201 (__expieee128): Prototype.
202 (__fabsieee128): Prototype.
203 (__jnieee128): Prototype.
204 (__log10ieee128): Prototype.
205 (__logieee128): Prototype.
206 (__powieee128): Prototype.
207 (__sinhieee128): Prototype.
208 (__sinieee128): Prototype.
209 (__sqrtieee128): Prototype.
210 (__tanhieee128): Prototype.
211 (__tanieee128): Prototype.
212 (__ynieee128): Prototype.
213 * m4/mtype.m4: Make a bit more readable. Add KIND=17.
214 * generated/_abs_c17.F90: New file.
215 * generated/_abs_r17.F90: New file.
216 * generated/_acos_r17.F90: New file.
217 * generated/_acosh_r17.F90: New file.
218 * generated/_aimag_c17.F90: New file.
219 * generated/_aint_r17.F90: New file.
220 * generated/_anint_r17.F90: New file.
221 * generated/_asin_r17.F90: New file.
222 * generated/_asinh_r17.F90: New file.
223 * generated/_atan2_r17.F90: New file.
224 * generated/_atan_r17.F90: New file.
225 * generated/_atanh_r17.F90: New file.
226 * generated/_conjg_c17.F90: New file.
227 * generated/_cos_c17.F90: New file.
228 * generated/_cos_r17.F90: New file.
229 * generated/_cosh_r17.F90: New file.
230 * generated/_dim_r17.F90: New file.
231 * generated/_exp_c17.F90: New file.
232 * generated/_exp_r17.F90: New file.
233 * generated/_log10_r17.F90: New file.
234 * generated/_log_c17.F90: New file.
235 * generated/_log_r17.F90: New file.
236 * generated/_mod_r17.F90: New file.
237 * generated/_sign_r17.F90: New file.
238 * generated/_sin_c17.F90: New file.
239 * generated/_sin_r17.F90: New file.
240 * generated/_sinh_r17.F90: New file.
241 * generated/_sqrt_c17.F90: New file.
242 * generated/_sqrt_r17.F90: New file.
243 * generated/_tan_r17.F90: New file.
244 * generated/_tanh_r17.F90: New file.
245 * generated/bessel_r17.c: New file.
246 * generated/cshift0_c17.c: New file.
247 * generated/cshift0_r17.c: New file.
248 * generated/cshift1_16_c17.c: New file.
249 * generated/cshift1_16_r17.c: New file.
250 * generated/cshift1_4_c17.c: New file.
251 * generated/cshift1_4_r17.c: New file.
252 * generated/cshift1_8_c17.c: New file.
253 * generated/cshift1_8_r17.c: New file.
254 * generated/findloc0_c17.c: New file.
255 * generated/findloc0_r17.c: New file.
256 * generated/findloc1_c17.c: New file.
257 * generated/findloc1_r17.c: New file.
258 * generated/in_pack_c17.c: New file.
259 * generated/in_pack_r17.c: New file.
260 * generated/in_unpack_c17.c: New file.
261 * generated/in_unpack_r17.c: New file.
262 * generated/matmul_c17.c: New file.
263 * generated/matmul_r17.c: New file.
264 * generated/matmulavx128_c17.c: New file.
265 * generated/matmulavx128_r17.c: New file.
266 * generated/maxloc0_16_r17.c: New file.
267 * generated/maxloc0_4_r17.c: New file.
268 * generated/maxloc0_8_r17.c: New file.
269 * generated/maxloc1_16_r17.c: New file.
270 * generated/maxloc1_4_r17.c: New file.
271 * generated/maxloc1_8_r17.c: New file.
272 * generated/maxval_r17.c: New file.
273 * generated/minloc0_16_r17.c: New file.
274 * generated/minloc0_4_r17.c: New file.
275 * generated/minloc0_8_r17.c: New file.
276 * generated/minloc1_16_r17.c: New file.
277 * generated/minloc1_4_r17.c: New file.
278 * generated/minloc1_8_r17.c: New file.
279 * generated/minval_r17.c: New file.
280 * generated/norm2_r17.c: New file.
281 * generated/pack_c17.c: New file.
282 * generated/pack_r17.c: New file.
283 * generated/pow_c17_i16.c: New file.
284 * generated/pow_c17_i4.c: New file.
285 * generated/pow_c17_i8.c: New file.
286 * generated/pow_r17_i16.c: New file.
287 * generated/pow_r17_i4.c: New file.
288 * generated/pow_r17_i8.c: New file.
289 * generated/product_c17.c: New file.
290 * generated/product_r17.c: New file.
291 * generated/reshape_c17.c: New file.
292 * generated/reshape_r17.c: New file.
293 * generated/spread_c17.c: New file.
294 * generated/spread_r17.c: New file.
295 * generated/sum_c17.c: New file.
296 * generated/sum_r17.c: New file.
297 * generated/unpack_c17.c: New file.
298 * generated/unpack_r17.c: New file.
299 * m4/ifunc.m4: New file.
300
12022-01-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 3012022-01-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2 302
3 PR fortran/82207 303 PR fortran/82207