1 2009-04-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3 * configure.ac: Test for -ffunction-sections -fdata-sections and
4 set SECTION_FLAGS accordingly.
5 * configure: Regenerate.
7 * Makefile.am: Add SECTION_FLAGS to AM_CFLAGS.
8 * Makefile.in: Regenerate.
10 2009-04-15 Janne Blomqvist <jb@gcc.gnu.org>
13 * io/transfer.c (finalize_transfer): Don't flush for advance='no'.
15 2009-04-15 Danny Smith <dannysmith@clear.net.nz>
17 * io/write.c (itoa) : Rename back to gfc_itoa.
18 (write_i): Adjust call to write_decimal.
19 (write_integer): Use gfc_itoa.
21 2009-04-10 Janne Blomqvist <jb@gcc.gnu.org>
23 * io/io.h (move_pos_offset): Remove prototype.
24 * io/transfer.c (formatted_transfer_scalar_read): Use sseek
25 instead of move_pos_offset.
26 * io/unix.c (move_pos_offset): Remove.
28 2009-04-10 Janne Blomqvist <jb@gcc.gnu.org>
30 PR libfortran/39665 libfortran/39702 libfortran/39709
31 * io/io.h (st_parameter_dt): Revert aligned attribute from u.p.value.
32 * io/list_read.c (read_complex): Read directly into user pointer.
33 (read_real): Likewise.
34 (list_formatted_read_scalar): Update read_complex and read_real calls.
35 (nml_read_obj): Read directly into user pointer.
37 2009-04-09 Janne Blomqvist <jb@gcc.gnu.org>
40 * io/io.h (st_parameter_dt): Add aligned attribute to u.p.value.
41 * io/read.c (convert_real): Add note about alignment requirements.
43 2009-04-09 Nick Clifton <nickc@redhat.com>
45 * m4/cshift0.m4: Change copyright header to refer to version 3
46 of the GNU General Public License with version 3.1 of the GCC
47 Runtime Library Exception and to point readers at the COPYING3
48 and COPYING3.RUNTIME files and the FSF's license web page.
49 * c99_protos.h: Likewise.
50 * config/fpu-387.h: Likewise.
51 * config/fpu-aix.h: Likewise.
52 * config/fpu-generic.h: Likewise.
53 * config/fpu-glibc.h: Likewise.
54 * config/fpu-sysv.h: Likewise.
55 * intrinsics/abort.c: Likewise.
56 * intrinsics/access.c: Likewise.
57 * intrinsics/args.c: Likewise.
58 * intrinsics/associated.c: Likewise.
59 * intrinsics/c99_functions.c: Likewise.
60 * intrinsics/chdir.c: Likewise.
61 * intrinsics/chmod.c: Likewise.
62 * intrinsics/clock.c: Likewise.
63 * intrinsics/cpu_time.c: Likewise.
64 * intrinsics/cshift0.c: Likewise.
65 * intrinsics/ctime.c: Likewise.
66 * intrinsics/date_and_time.c: Likewise.
67 * intrinsics/dprod_r8.f90: Likewise.
68 * intrinsics/dtime.c: Likewise.
69 * intrinsics/env.c: Likewise.
70 * intrinsics/eoshift0.c: Likewise.
71 * intrinsics/eoshift2.c: Likewise.
72 * intrinsics/erfc_scaled.c: Likewise.
73 * intrinsics/erfc_scaled_inc.c: Likewise.
74 * intrinsics/etime.c: Likewise.
75 * intrinsics/exit.c: Likewise.
76 * intrinsics/f2c_specifics.F90: Likewise.
77 * intrinsics/fnum.c: Likewise.
78 * intrinsics/gerror.c: Likewise.
79 * intrinsics/getXid.c: Likewise.
80 * intrinsics/getcwd.c: Likewise.
81 * intrinsics/getlog.c: Likewise.
82 * intrinsics/hostnm.c: Likewise.
83 * intrinsics/ierrno.c: Likewise.
84 * intrinsics/ishftc.c: Likewise.
85 * intrinsics/iso_c_binding.c: Likewise.
86 * intrinsics/iso_c_binding.h: Likewise.
87 * intrinsics/iso_c_generated_procs.c: Likewise.
88 * intrinsics/kill.c: Likewise.
89 * intrinsics/link.c: Likewise.
90 * intrinsics/malloc.c: Likewise.
91 * intrinsics/move_alloc.c: Likewise.
92 * intrinsics/mvbits.c: Likewise.
93 * intrinsics/pack_generic.c: Likewise.
94 * intrinsics/perror.c: Likewise.
95 * intrinsics/rand.c: Likewise.
96 * intrinsics/random.c: Likewise.
97 * intrinsics/rename.c: Likewise.
98 * intrinsics/reshape_generic.c: Likewise.
99 * intrinsics/reshape_packed.c: Likewise.
100 * intrinsics/selected_char_kind.c: Likewise.
101 * intrinsics/selected_int_kind.f90: Likewise.
102 * intrinsics/selected_real_kind.f90: Likewise.
103 * intrinsics/signal.c: Likewise.
104 * intrinsics/size.c: Likewise.
105 * intrinsics/sleep.c: Likewise.
106 * intrinsics/spread_generic.c: Likewise.
107 * intrinsics/stat.c: Likewise.
108 * intrinsics/string_intrinsics.c: Likewise.
109 * intrinsics/string_intrinsics_inc.c: Likewise.
110 * intrinsics/symlnk.c: Likewise.
111 * intrinsics/system.c: Likewise.
112 * intrinsics/system_clock.c: Likewise.
113 * intrinsics/time.c: Likewise.
114 * intrinsics/time_1.h: Likewise.
115 * intrinsics/transpose_generic.c: Likewise.
116 * intrinsics/umask.c: Likewise.
117 * intrinsics/unlink.c: Likewise.
118 * intrinsics/unpack_generic.c: Likewise.
119 * io/close.c: Likewise.
120 * io/fbuf.c: Likewise.
121 * io/file_pos.c: Likewise.
122 * io/format.c: Likewise.
123 * io/inquire.c: Likewise.
124 * io/intrinsics.c: Likewise.
126 * io/list_read.c: Likewise.
127 * io/lock.c: Likewise.
128 * io/open.c: Likewise.
129 * io/read.c: Likewise.
130 * io/size_from_kind.c: Likewise.
131 * io/transfer.c: Likewise.
132 * io/unit.c: Likewise.
133 * io/unix.c: Likewise.
134 * io/write.c: Likewise.
135 * io/write_float.def: Likewise.
136 * libgfortran.h: Likewise.
137 * m4/all.m4: Likewise.
138 * m4/any.m4: Likewise.
139 * m4/count.m4: Likewise.
140 * m4/cshift1.m4: Likewise.
141 * m4/eoshift1.m4: Likewise.
142 * m4/eoshift3.m4: Likewise.
143 * m4/exponent.m4: Likewise.
144 * m4/fraction.m4: Likewise.
145 * m4/head.m4: Likewise.
146 * m4/in_pack.m4: Likewise.
147 * m4/in_unpack.m4: Likewise.
148 * m4/matmul.m4: Likewise.
149 * m4/matmull.m4: Likewise.
150 * m4/maxloc0.m4: Likewise.
151 * m4/maxloc1.m4: Likewise.
152 * m4/maxval.m4: Likewise.
153 * m4/minloc0.m4: Likewise.
154 * m4/minloc1.m4: Likewise.
155 * m4/minval.m4: Likewise.
156 * m4/nearest.m4: Likewise.
157 * m4/pack.m4: Likewise.
158 * m4/pow.m4: Likewise.
159 * m4/product.m4: Likewise.
160 * m4/reshape.m4: Likewise.
161 * m4/rrspacing.m4: Likewise.
162 * m4/set_exponent.m4: Likewise.
163 * m4/shape.m4: Likewise.
164 * m4/spacing.m4: Likewise.
165 * m4/spread.m4: Likewise.
166 * m4/sum.m4: Likewise.
167 * m4/transpose.m4: Likewise.
168 * m4/unpack.m4: Likewise.
169 * runtime/backtrace.c: Likewise.
170 * runtime/compile_options.c: Likewise.
171 * runtime/convert_char.c: Likewise.
172 * runtime/environ.c: Likewise.
173 * runtime/error.c: Likewise.
174 * runtime/in_pack_generic.c: Likewise.
175 * runtime/in_unpack_generic.c: Likewise.
176 * runtime/main.c: Likewise.
177 * runtime/memory.c: Likewise.
178 * runtime/pause.c: Likewise.
179 * runtime/select.c: Likewise.
180 * runtime/select_inc.c: Likewise.
181 * runtime/stop.c: Likewise.
182 * runtime/string.c: Likewise.
183 * generated/_abs_c10.F90: Regenerate.
184 * generated/_abs_c16.F90: Regenerate.
185 * generated/_abs_c4.F90: Regenerate.
186 * generated/_abs_c8.F90: Regenerate.
187 * generated/_abs_i16.F90: Regenerate.
188 * generated/_abs_i4.F90: Regenerate.
189 * generated/_abs_i8.F90: Regenerate.
190 * generated/_abs_r10.F90: Regenerate.
191 * generated/_abs_r16.F90: Regenerate.
192 * generated/_abs_r4.F90: Regenerate.
193 * generated/_abs_r8.F90: Regenerate.
194 * generated/_acos_r10.F90: Regenerate.
195 * generated/_acos_r16.F90: Regenerate.
196 * generated/_acos_r4.F90: Regenerate.
197 * generated/_acos_r8.F90: Regenerate.
198 * generated/_acosh_r10.F90: Regenerate.
199 * generated/_acosh_r16.F90: Regenerate.
200 * generated/_acosh_r4.F90: Regenerate.
201 * generated/_acosh_r8.F90: Regenerate.
202 * generated/_aimag_c10.F90: Regenerate.
203 * generated/_aimag_c16.F90: Regenerate.
204 * generated/_aimag_c4.F90: Regenerate.
205 * generated/_aimag_c8.F90: Regenerate.
206 * generated/_aint_r10.F90: Regenerate.
207 * generated/_aint_r16.F90: Regenerate.
208 * generated/_aint_r4.F90: Regenerate.
209 * generated/_aint_r8.F90: Regenerate.
210 * generated/_anint_r10.F90: Regenerate.
211 * generated/_anint_r16.F90: Regenerate.
212 * generated/_anint_r4.F90: Regenerate.
213 * generated/_anint_r8.F90: Regenerate.
214 * generated/_asin_r10.F90: Regenerate.
215 * generated/_asin_r16.F90: Regenerate.
216 * generated/_asin_r4.F90: Regenerate.
217 * generated/_asin_r8.F90: Regenerate.
218 * generated/_asinh_r10.F90: Regenerate.
219 * generated/_asinh_r16.F90: Regenerate.
220 * generated/_asinh_r4.F90: Regenerate.
221 * generated/_asinh_r8.F90: Regenerate.
222 * generated/_atan2_r10.F90: Regenerate.
223 * generated/_atan2_r16.F90: Regenerate.
224 * generated/_atan2_r4.F90: Regenerate.
225 * generated/_atan2_r8.F90: Regenerate.
226 * generated/_atan_r10.F90: Regenerate.
227 * generated/_atan_r16.F90: Regenerate.
228 * generated/_atan_r4.F90: Regenerate.
229 * generated/_atan_r8.F90: Regenerate.
230 * generated/_atanh_r10.F90: Regenerate.
231 * generated/_atanh_r16.F90: Regenerate.
232 * generated/_atanh_r4.F90: Regenerate.
233 * generated/_atanh_r8.F90: Regenerate.
234 * generated/_conjg_c10.F90: Regenerate.
235 * generated/_conjg_c16.F90: Regenerate.
236 * generated/_conjg_c4.F90: Regenerate.
237 * generated/_conjg_c8.F90: Regenerate.
238 * generated/_cos_c10.F90: Regenerate.
239 * generated/_cos_c16.F90: Regenerate.
240 * generated/_cos_c4.F90: Regenerate.
241 * generated/_cos_c8.F90: Regenerate.
242 * generated/_cos_r10.F90: Regenerate.
243 * generated/_cos_r16.F90: Regenerate.
244 * generated/_cos_r4.F90: Regenerate.
245 * generated/_cos_r8.F90: Regenerate.
246 * generated/_cosh_r10.F90: Regenerate.
247 * generated/_cosh_r16.F90: Regenerate.
248 * generated/_cosh_r4.F90: Regenerate.
249 * generated/_cosh_r8.F90: Regenerate.
250 * generated/_dim_i16.F90: Regenerate.
251 * generated/_dim_i4.F90: Regenerate.
252 * generated/_dim_i8.F90: Regenerate.
253 * generated/_dim_r10.F90: Regenerate.
254 * generated/_dim_r16.F90: Regenerate.
255 * generated/_dim_r4.F90: Regenerate.
256 * generated/_dim_r8.F90: Regenerate.
257 * generated/_exp_c10.F90: Regenerate.
258 * generated/_exp_c16.F90: Regenerate.
259 * generated/_exp_c4.F90: Regenerate.
260 * generated/_exp_c8.F90: Regenerate.
261 * generated/_exp_r10.F90: Regenerate.
262 * generated/_exp_r16.F90: Regenerate.
263 * generated/_exp_r4.F90: Regenerate.
264 * generated/_exp_r8.F90: Regenerate.
265 * generated/_log10_r10.F90: Regenerate.
266 * generated/_log10_r16.F90: Regenerate.
267 * generated/_log10_r4.F90: Regenerate.
268 * generated/_log10_r8.F90: Regenerate.
269 * generated/_log_c10.F90: Regenerate.
270 * generated/_log_c16.F90: Regenerate.
271 * generated/_log_c4.F90: Regenerate.
272 * generated/_log_c8.F90: Regenerate.
273 * generated/_log_r10.F90: Regenerate.
274 * generated/_log_r16.F90: Regenerate.
275 * generated/_log_r4.F90: Regenerate.
276 * generated/_log_r8.F90: Regenerate.
277 * generated/_mod_i16.F90: Regenerate.
278 * generated/_mod_i4.F90: Regenerate.
279 * generated/_mod_i8.F90: Regenerate.
280 * generated/_mod_r10.F90: Regenerate.
281 * generated/_mod_r16.F90: Regenerate.
282 * generated/_mod_r4.F90: Regenerate.
283 * generated/_mod_r8.F90: Regenerate.
284 * generated/_sign_i16.F90: Regenerate.
285 * generated/_sign_i4.F90: Regenerate.
286 * generated/_sign_i8.F90: Regenerate.
287 * generated/_sign_r10.F90: Regenerate.
288 * generated/_sign_r16.F90: Regenerate.
289 * generated/_sign_r4.F90: Regenerate.
290 * generated/_sign_r8.F90: Regenerate.
291 * generated/_sin_c10.F90: Regenerate.
292 * generated/_sin_c16.F90: Regenerate.
293 * generated/_sin_c4.F90: Regenerate.
294 * generated/_sin_c8.F90: Regenerate.
295 * generated/_sin_r10.F90: Regenerate.
296 * generated/_sin_r16.F90: Regenerate.
297 * generated/_sin_r4.F90: Regenerate.
298 * generated/_sin_r8.F90: Regenerate.
299 * generated/_sinh_r10.F90: Regenerate.
300 * generated/_sinh_r16.F90: Regenerate.
301 * generated/_sinh_r4.F90: Regenerate.
302 * generated/_sinh_r8.F90: Regenerate.
303 * generated/_sqrt_c10.F90: Regenerate.
304 * generated/_sqrt_c16.F90: Regenerate.
305 * generated/_sqrt_c4.F90: Regenerate.
306 * generated/_sqrt_c8.F90: Regenerate.
307 * generated/_sqrt_r10.F90: Regenerate.
308 * generated/_sqrt_r16.F90: Regenerate.
309 * generated/_sqrt_r4.F90: Regenerate.
310 * generated/_sqrt_r8.F90: Regenerate.
311 * generated/_tan_r10.F90: Regenerate.
312 * generated/_tan_r16.F90: Regenerate.
313 * generated/_tan_r4.F90: Regenerate.
314 * generated/_tan_r8.F90: Regenerate.
315 * generated/_tanh_r10.F90: Regenerate.
316 * generated/_tanh_r16.F90: Regenerate.
317 * generated/_tanh_r4.F90: Regenerate.
318 * generated/_tanh_r8.F90: Regenerate.
319 * generated/all_l1.c: Regenerate.
320 * generated/all_l16.c: Regenerate.
321 * generated/all_l2.c: Regenerate.
322 * generated/all_l4.c: Regenerate.
323 * generated/all_l8.c: Regenerate.
324 * generated/any_l1.c: Regenerate.
325 * generated/any_l16.c: Regenerate.
326 * generated/any_l2.c: Regenerate.
327 * generated/any_l4.c: Regenerate.
328 * generated/any_l8.c: Regenerate.
329 * generated/count_16_l.c: Regenerate.
330 * generated/count_1_l.c: Regenerate.
331 * generated/count_2_l.c: Regenerate.
332 * generated/count_4_l.c: Regenerate.
333 * generated/count_8_l.c: Regenerate.
334 * generated/cshift0_c10.c: Regenerate.
335 * generated/cshift0_c16.c: Regenerate.
336 * generated/cshift0_c4.c: Regenerate.
337 * generated/cshift0_c8.c: Regenerate.
338 * generated/cshift0_i1.c: Regenerate.
339 * generated/cshift0_i16.c: Regenerate.
340 * generated/cshift0_i2.c: Regenerate.
341 * generated/cshift0_i4.c: Regenerate.
342 * generated/cshift0_i8.c: Regenerate.
343 * generated/cshift0_r10.c: Regenerate.
344 * generated/cshift0_r16.c: Regenerate.
345 * generated/cshift0_r4.c: Regenerate.
346 * generated/cshift0_r8.c: Regenerate.
347 * generated/cshift1_16.c: Regenerate.
348 * generated/cshift1_4.c: Regenerate.
349 * generated/cshift1_8.c: Regenerate.
350 * generated/eoshift1_16.c: Regenerate.
351 * generated/eoshift1_4.c: Regenerate.
352 * generated/eoshift1_8.c: Regenerate.
353 * generated/eoshift3_16.c: Regenerate.
354 * generated/eoshift3_4.c: Regenerate.
355 * generated/eoshift3_8.c: Regenerate.
356 * generated/exponent_r10.c: Regenerate.
357 * generated/exponent_r16.c: Regenerate.
358 * generated/exponent_r4.c: Regenerate.
359 * generated/exponent_r8.c: Regenerate.
360 * generated/fraction_r10.c: Regenerate.
361 * generated/fraction_r16.c: Regenerate.
362 * generated/fraction_r4.c: Regenerate.
363 * generated/fraction_r8.c: Regenerate.
364 * generated/in_pack_c10.c: Regenerate.
365 * generated/in_pack_c16.c: Regenerate.
366 * generated/in_pack_c4.c: Regenerate.
367 * generated/in_pack_c8.c: Regenerate.
368 * generated/in_pack_i1.c: Regenerate.
369 * generated/in_pack_i16.c: Regenerate.
370 * generated/in_pack_i2.c: Regenerate.
371 * generated/in_pack_i4.c: Regenerate.
372 * generated/in_pack_i8.c: Regenerate.
373 * generated/in_pack_r10.c: Regenerate.
374 * generated/in_pack_r16.c: Regenerate.
375 * generated/in_pack_r4.c: Regenerate.
376 * generated/in_pack_r8.c: Regenerate.
377 * generated/in_unpack_c10.c: Regenerate.
378 * generated/in_unpack_c16.c: Regenerate.
379 * generated/in_unpack_c4.c: Regenerate.
380 * generated/in_unpack_c8.c: Regenerate.
381 * generated/in_unpack_i1.c: Regenerate.
382 * generated/in_unpack_i16.c: Regenerate.
383 * generated/in_unpack_i2.c: Regenerate.
384 * generated/in_unpack_i4.c: Regenerate.
385 * generated/in_unpack_i8.c: Regenerate.
386 * generated/in_unpack_r10.c: Regenerate.
387 * generated/in_unpack_r16.c: Regenerate.
388 * generated/in_unpack_r4.c: Regenerate.
389 * generated/in_unpack_r8.c: Regenerate.
390 * generated/matmul_c10.c: Regenerate.
391 * generated/matmul_c16.c: Regenerate.
392 * generated/matmul_c4.c: Regenerate.
393 * generated/matmul_c8.c: Regenerate.
394 * generated/matmul_i1.c: Regenerate.
395 * generated/matmul_i16.c: Regenerate.
396 * generated/matmul_i2.c: Regenerate.
397 * generated/matmul_i4.c: Regenerate.
398 * generated/matmul_i8.c: Regenerate.
399 * generated/matmul_l16.c: Regenerate.
400 * generated/matmul_l4.c: Regenerate.
401 * generated/matmul_l8.c: Regenerate.
402 * generated/matmul_r10.c: Regenerate.
403 * generated/matmul_r16.c: Regenerate.
404 * generated/matmul_r4.c: Regenerate.
405 * generated/matmul_r8.c: Regenerate.
406 * generated/maxloc0_16_i1.c: Regenerate.
407 * generated/maxloc0_16_i16.c: Regenerate.
408 * generated/maxloc0_16_i2.c: Regenerate.
409 * generated/maxloc0_16_i4.c: Regenerate.
410 * generated/maxloc0_16_i8.c: Regenerate.
411 * generated/maxloc0_16_r10.c: Regenerate.
412 * generated/maxloc0_16_r16.c: Regenerate.
413 * generated/maxloc0_16_r4.c: Regenerate.
414 * generated/maxloc0_16_r8.c: Regenerate.
415 * generated/maxloc0_4_i1.c: Regenerate.
416 * generated/maxloc0_4_i16.c: Regenerate.
417 * generated/maxloc0_4_i2.c: Regenerate.
418 * generated/maxloc0_4_i4.c: Regenerate.
419 * generated/maxloc0_4_i8.c: Regenerate.
420 * generated/maxloc0_4_r10.c: Regenerate.
421 * generated/maxloc0_4_r16.c: Regenerate.
422 * generated/maxloc0_4_r4.c: Regenerate.
423 * generated/maxloc0_4_r8.c: Regenerate.
424 * generated/maxloc0_8_i1.c: Regenerate.
425 * generated/maxloc0_8_i16.c: Regenerate.
426 * generated/maxloc0_8_i2.c: Regenerate.
427 * generated/maxloc0_8_i4.c: Regenerate.
428 * generated/maxloc0_8_i8.c: Regenerate.
429 * generated/maxloc0_8_r10.c: Regenerate.
430 * generated/maxloc0_8_r16.c: Regenerate.
431 * generated/maxloc0_8_r4.c: Regenerate.
432 * generated/maxloc0_8_r8.c: Regenerate.
433 * generated/maxloc1_16_i1.c: Regenerate.
434 * generated/maxloc1_16_i16.c: Regenerate.
435 * generated/maxloc1_16_i2.c: Regenerate.
436 * generated/maxloc1_16_i4.c: Regenerate.
437 * generated/maxloc1_16_i8.c: Regenerate.
438 * generated/maxloc1_16_r10.c: Regenerate.
439 * generated/maxloc1_16_r16.c: Regenerate.
440 * generated/maxloc1_16_r4.c: Regenerate.
441 * generated/maxloc1_16_r8.c: Regenerate.
442 * generated/maxloc1_4_i1.c: Regenerate.
443 * generated/maxloc1_4_i16.c: Regenerate.
444 * generated/maxloc1_4_i2.c: Regenerate.
445 * generated/maxloc1_4_i4.c: Regenerate.
446 * generated/maxloc1_4_i8.c: Regenerate.
447 * generated/maxloc1_4_r10.c: Regenerate.
448 * generated/maxloc1_4_r16.c: Regenerate.
449 * generated/maxloc1_4_r4.c: Regenerate.
450 * generated/maxloc1_4_r8.c: Regenerate.
451 * generated/maxloc1_8_i1.c: Regenerate.
452 * generated/maxloc1_8_i16.c: Regenerate.
453 * generated/maxloc1_8_i2.c: Regenerate.
454 * generated/maxloc1_8_i4.c: Regenerate.
455 * generated/maxloc1_8_i8.c: Regenerate.
456 * generated/maxloc1_8_r10.c: Regenerate.
457 * generated/maxloc1_8_r16.c: Regenerate.
458 * generated/maxloc1_8_r4.c: Regenerate.
459 * generated/maxloc1_8_r8.c: Regenerate.
460 * generated/maxval_i1.c: Regenerate.
461 * generated/maxval_i16.c: Regenerate.
462 * generated/maxval_i2.c: Regenerate.
463 * generated/maxval_i4.c: Regenerate.
464 * generated/maxval_i8.c: Regenerate.
465 * generated/maxval_r10.c: Regenerate.
466 * generated/maxval_r16.c: Regenerate.
467 * generated/maxval_r4.c: Regenerate.
468 * generated/maxval_r8.c: Regenerate.
469 * generated/minloc0_16_i1.c: Regenerate.
470 * generated/minloc0_16_i16.c: Regenerate.
471 * generated/minloc0_16_i2.c: Regenerate.
472 * generated/minloc0_16_i4.c: Regenerate.
473 * generated/minloc0_16_i8.c: Regenerate.
474 * generated/minloc0_16_r10.c: Regenerate.
475 * generated/minloc0_16_r16.c: Regenerate.
476 * generated/minloc0_16_r4.c: Regenerate.
477 * generated/minloc0_16_r8.c: Regenerate.
478 * generated/minloc0_4_i1.c: Regenerate.
479 * generated/minloc0_4_i16.c: Regenerate.
480 * generated/minloc0_4_i2.c: Regenerate.
481 * generated/minloc0_4_i4.c: Regenerate.
482 * generated/minloc0_4_i8.c: Regenerate.
483 * generated/minloc0_4_r10.c: Regenerate.
484 * generated/minloc0_4_r16.c: Regenerate.
485 * generated/minloc0_4_r4.c: Regenerate.
486 * generated/minloc0_4_r8.c: Regenerate.
487 * generated/minloc0_8_i1.c: Regenerate.
488 * generated/minloc0_8_i16.c: Regenerate.
489 * generated/minloc0_8_i2.c: Regenerate.
490 * generated/minloc0_8_i4.c: Regenerate.
491 * generated/minloc0_8_i8.c: Regenerate.
492 * generated/minloc0_8_r10.c: Regenerate.
493 * generated/minloc0_8_r16.c: Regenerate.
494 * generated/minloc0_8_r4.c: Regenerate.
495 * generated/minloc0_8_r8.c: Regenerate.
496 * generated/minloc1_16_i1.c: Regenerate.
497 * generated/minloc1_16_i16.c: Regenerate.
498 * generated/minloc1_16_i2.c: Regenerate.
499 * generated/minloc1_16_i4.c: Regenerate.
500 * generated/minloc1_16_i8.c: Regenerate.
501 * generated/minloc1_16_r10.c: Regenerate.
502 * generated/minloc1_16_r16.c: Regenerate.
503 * generated/minloc1_16_r4.c: Regenerate.
504 * generated/minloc1_16_r8.c: Regenerate.
505 * generated/minloc1_4_i1.c: Regenerate.
506 * generated/minloc1_4_i16.c: Regenerate.
507 * generated/minloc1_4_i2.c: Regenerate.
508 * generated/minloc1_4_i4.c: Regenerate.
509 * generated/minloc1_4_i8.c: Regenerate.
510 * generated/minloc1_4_r10.c: Regenerate.
511 * generated/minloc1_4_r16.c: Regenerate.
512 * generated/minloc1_4_r4.c: Regenerate.
513 * generated/minloc1_4_r8.c: Regenerate.
514 * generated/minloc1_8_i1.c: Regenerate.
515 * generated/minloc1_8_i16.c: Regenerate.
516 * generated/minloc1_8_i2.c: Regenerate.
517 * generated/minloc1_8_i4.c: Regenerate.
518 * generated/minloc1_8_i8.c: Regenerate.
519 * generated/minloc1_8_r10.c: Regenerate.
520 * generated/minloc1_8_r16.c: Regenerate.
521 * generated/minloc1_8_r4.c: Regenerate.
522 * generated/minloc1_8_r8.c: Regenerate.
523 * generated/minval_i1.c: Regenerate.
524 * generated/minval_i16.c: Regenerate.
525 * generated/minval_i2.c: Regenerate.
526 * generated/minval_i4.c: Regenerate.
527 * generated/minval_i8.c: Regenerate.
528 * generated/minval_r10.c: Regenerate.
529 * generated/minval_r16.c: Regenerate.
530 * generated/minval_r4.c: Regenerate.
531 * generated/minval_r8.c: Regenerate.
532 * generated/misc_specifics.F90: Regenerate.
533 * generated/nearest_r10.c: Regenerate.
534 * generated/nearest_r16.c: Regenerate.
535 * generated/nearest_r4.c: Regenerate.
536 * generated/nearest_r8.c: Regenerate.
537 * generated/pack_c10.c: Regenerate.
538 * generated/pack_c16.c: Regenerate.
539 * generated/pack_c4.c: Regenerate.
540 * generated/pack_c8.c: Regenerate.
541 * generated/pack_i1.c: Regenerate.
542 * generated/pack_i16.c: Regenerate.
543 * generated/pack_i2.c: Regenerate.
544 * generated/pack_i4.c: Regenerate.
545 * generated/pack_i8.c: Regenerate.
546 * generated/pack_r10.c: Regenerate.
547 * generated/pack_r16.c: Regenerate.
548 * generated/pack_r4.c: Regenerate.
549 * generated/pack_r8.c: Regenerate.
550 * generated/pow_c10_i16.c: Regenerate.
551 * generated/pow_c10_i4.c: Regenerate.
552 * generated/pow_c10_i8.c: Regenerate.
553 * generated/pow_c16_i16.c: Regenerate.
554 * generated/pow_c16_i4.c: Regenerate.
555 * generated/pow_c16_i8.c: Regenerate.
556 * generated/pow_c4_i16.c: Regenerate.
557 * generated/pow_c4_i4.c: Regenerate.
558 * generated/pow_c4_i8.c: Regenerate.
559 * generated/pow_c8_i16.c: Regenerate.
560 * generated/pow_c8_i4.c: Regenerate.
561 * generated/pow_c8_i8.c: Regenerate.
562 * generated/pow_i16_i16.c: Regenerate.
563 * generated/pow_i16_i4.c: Regenerate.
564 * generated/pow_i16_i8.c: Regenerate.
565 * generated/pow_i4_i16.c: Regenerate.
566 * generated/pow_i4_i4.c: Regenerate.
567 * generated/pow_i4_i8.c: Regenerate.
568 * generated/pow_i8_i16.c: Regenerate.
569 * generated/pow_i8_i4.c: Regenerate.
570 * generated/pow_i8_i8.c: Regenerate.
571 * generated/pow_r10_i16.c: Regenerate.
572 * generated/pow_r10_i8.c: Regenerate.
573 * generated/pow_r16_i16.c: Regenerate.
574 * generated/pow_r16_i8.c: Regenerate.
575 * generated/pow_r4_i16.c: Regenerate.
576 * generated/pow_r4_i8.c: Regenerate.
577 * generated/pow_r8_i16.c: Regenerate.
578 * generated/pow_r8_i8.c: Regenerate.
579 * generated/product_c10.c: Regenerate.
580 * generated/product_c16.c: Regenerate.
581 * generated/product_c4.c: Regenerate.
582 * generated/product_c8.c: Regenerate.
583 * generated/product_i1.c: Regenerate.
584 * generated/product_i16.c: Regenerate.
585 * generated/product_i2.c: Regenerate.
586 * generated/product_i4.c: Regenerate.
587 * generated/product_i8.c: Regenerate.
588 * generated/product_r10.c: Regenerate.
589 * generated/product_r16.c: Regenerate.
590 * generated/product_r4.c: Regenerate.
591 * generated/product_r8.c: Regenerate.
592 * generated/reshape_c10.c: Regenerate.
593 * generated/reshape_c16.c: Regenerate.
594 * generated/reshape_c4.c: Regenerate.
595 * generated/reshape_c8.c: Regenerate.
596 * generated/reshape_i16.c: Regenerate.
597 * generated/reshape_i4.c: Regenerate.
598 * generated/reshape_i8.c: Regenerate.
599 * generated/reshape_r10.c: Regenerate.
600 * generated/reshape_r16.c: Regenerate.
601 * generated/reshape_r4.c: Regenerate.
602 * generated/reshape_r8.c: Regenerate.
603 * generated/rrspacing_r10.c: Regenerate.
604 * generated/rrspacing_r16.c: Regenerate.
605 * generated/rrspacing_r4.c: Regenerate.
606 * generated/rrspacing_r8.c: Regenerate.
607 * generated/set_exponent_r10.c: Regenerate.
608 * generated/set_exponent_r16.c: Regenerate.
609 * generated/set_exponent_r4.c: Regenerate.
610 * generated/set_exponent_r8.c: Regenerate.
611 * generated/shape_i16.c: Regenerate.
612 * generated/shape_i4.c: Regenerate.
613 * generated/shape_i8.c: Regenerate.
614 * generated/spacing_r10.c: Regenerate.
615 * generated/spacing_r16.c: Regenerate.
616 * generated/spacing_r4.c: Regenerate.
617 * generated/spacing_r8.c: Regenerate.
618 * generated/spread_c10.c: Regenerate.
619 * generated/spread_c16.c: Regenerate.
620 * generated/spread_c4.c: Regenerate.
621 * generated/spread_c8.c: Regenerate.
622 * generated/spread_i1.c: Regenerate.
623 * generated/spread_i16.c: Regenerate.
624 * generated/spread_i2.c: Regenerate.
625 * generated/spread_i4.c: Regenerate.
626 * generated/spread_i8.c: Regenerate.
627 * generated/spread_r10.c: Regenerate.
628 * generated/spread_r16.c: Regenerate.
629 * generated/spread_r4.c: Regenerate.
630 * generated/spread_r8.c: Regenerate.
631 * generated/sum_c10.c: Regenerate.
632 * generated/sum_c16.c: Regenerate.
633 * generated/sum_c4.c: Regenerate.
634 * generated/sum_c8.c: Regenerate.
635 * generated/sum_i1.c: Regenerate.
636 * generated/sum_i16.c: Regenerate.
637 * generated/sum_i2.c: Regenerate.
638 * generated/sum_i4.c: Regenerate.
639 * generated/sum_i8.c: Regenerate.
640 * generated/sum_r10.c: Regenerate.
641 * generated/sum_r16.c: Regenerate.
642 * generated/sum_r4.c: Regenerate.
643 * generated/sum_r8.c: Regenerate.
644 * generated/transpose_c10.c: Regenerate.
645 * generated/transpose_c16.c: Regenerate.
646 * generated/transpose_c4.c: Regenerate.
647 * generated/transpose_c8.c: Regenerate.
648 * generated/transpose_i16.c: Regenerate.
649 * generated/transpose_i4.c: Regenerate.
650 * generated/transpose_i8.c: Regenerate.
651 * generated/transpose_r10.c: Regenerate.
652 * generated/transpose_r16.c: Regenerate.
653 * generated/transpose_r4.c: Regenerate.
654 * generated/transpose_r8.c: Regenerate.
655 * generated/unpack_c10.c: Regenerate.
656 * generated/unpack_c16.c: Regenerate.
657 * generated/unpack_c4.c: Regenerate.
658 * generated/unpack_c8.c: Regenerate.
659 * generated/unpack_i1.c: Regenerate.
660 * generated/unpack_i16.c: Regenerate.
661 * generated/unpack_i2.c: Regenerate.
662 * generated/unpack_i4.c: Regenerate.
663 * generated/unpack_i8.c: Regenerate.
664 * generated/unpack_r10.c: Regenerate.
665 * generated/unpack_r16.c: Regenerate.
666 * generated/unpack_r4.c: Regenerate.
667 * generated/unpack_r8.c: Regenerate.
669 2009-04-08 Janne Blomqvist <jb@gcc.gnu.org>
671 * io/open.c (already_open): Test for POSIX close return value.
672 * io/unit.c (close_unit_1): Likewise.
673 * io/unix.c (raw_close): Return 0 for success for preconnected units.
675 2009-04-08 Janne Blomqvist <jb@gcc.gnu.org>
677 * runtime/string.c (compare0): Use gfc_charlen_type.
678 * runtime/error.c (gfc_itoa): Move to io/write.c
679 (xtoa): Rename to gfc_xtoa.
680 * runtime/backtrace.c (show_backtrace): Call gfc_xtoa.
681 * intrinsics/cshift0.c (cshift0): Use index_type for shift arg.
682 * intrinsics/date_and_time.c (date_and_time): Use index_type.
683 (itime_i4): Likewise.
684 (itime_i8): Likewise.
685 (idate_i4): Likewise.
686 (idate_i8): Likewise.
687 (gmtime_i4): Likewise.
688 (gmtime_i8): Likewise.
689 (ltime_i4): Likewise.
690 (ltime_i8): Likewise.
691 * libgfortran.h (gfc_itoa): Remove prototype.
692 (xtoa): Rename prototype to gfc_xtoa.
693 * io/list_read.c (nml_read_obj): Use size_t for string length.
694 * io/transfer.c (read_block_direct): Change nbytes arg from
696 (unformatted_read): Minor cleanup, call read_block_directly properly.
697 (skip_record): Use ssize_t.
698 (next_record_w_unf): Avoid stell() call by calling sseek with SEEK_CUR.
699 (iolength_transfer): Make sure to multiply before cast.
700 * io/intrinsics.c (fgetc): Remove unnecessary variable.
701 * io/format.c (format_hash): Use gfc_charlen_type.
702 * io/write.c (itoa): Move from runtime/error.c:gfc_itoa, rename,
704 (write_i): Call with pointer to itoa.
705 (write_z): Call with pointer to gfc_xtoa.
706 (write_integer): Pointer to itoa.
707 (nml_write_obj): Type cleanup, don't call strlen in loop.
709 2009-04-06 H.J. Lu <hongjiu.lu@intel.com>
712 * io/unix.c (raw_close): Don't close STDOUT_FILENO,
713 STDERR_FILENO nor STDIN_FILENO.
715 2009-04-06 David Edelsohn <edelsohn@gnu.org>
717 * io/io.h (struct stream): Rename truncate to trunc.
719 * io/unix.c (raw_init): Rename truncate to trunc.
721 (open_internal): Same.
723 2009-04-05 Daniel Kraft <d@domob.eu>
726 * io/read.c (read_f): Reworked to speed up floating point parsing.
727 (convert_real): Use pointer-casting instead of memcpy and temporaries.
729 2009-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
732 * io/io.h (format_hash_entry): New structure for hash table.
733 (format_hash_table): The hash table itself.
734 (free_format_data): Revise function prototype.
735 (free_format_hash_table, init_format_hash,
736 free_format_hash): New function prototypes.
737 * io/unit.c (close_unit_1): Use free_format_hash_table.
738 * io/transfer.c (st_read_done, st_write_done): Free format data if
740 * io/format.c (free_format_hash_table): New function that frees any
741 memory allocated previously for cached format data.
742 (reset_node): New static helper function to reset the format counters
744 (reset_fnode_counters): New static function recursively calls reset_node
745 to traverse the fnode tree.
746 (format_hash): New simple hash function based on XOR, probabalistic,
748 (save_parsed_format): New static function to save the parsed format
750 (find_parsed_format): New static function searches the hash table
752 (free_format_data): Revised to accept pointer to format data rather than
753 the dtp pointer so that the function can be used in more places.
754 (format_lex): Editorial.
755 (parse_format_list): Set flag used to determine of format data hashing
756 is to be used. Internal units are not persistent enough for this.
757 (revert): Move to ne location in file.
758 (parse_format): Use new functions to look for previously parsed
759 format strings and use them rather than re-parse. If not found, saves
760 the parsed format data for later use.
762 2009-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
765 * io/transfer.c (formatted_transfer_scalar): Remove this function by
766 factoring it into two new functions, one for read and one for write,
767 eliminating all the conditionals for read or write mode.
768 (formatted transfer_scalar_read): New function.
769 (formatted transfer_scalar_write): New function.
770 (formatted_transfer): Use new functions.
772 2009-04-05 Janne Blomqvist <jb@gcc.gnu.org>
774 PR libfortran/25561 libfortran/37754
775 * io/io.h (struct stream): Define new stream interface function
776 pointers, and inline functions for accessing it.
777 (struct fbuf): Use int instead of size_t, remove flushed element.
778 (mem_alloc_w): New prototype.
779 (mem_alloc_r): New prototype.
780 (stream_at_bof): Remove prototype.
781 (stream_at_eof): Remove prototype.
782 (file_position): Remove prototype.
783 (flush): Remove prototype.
784 (stream_offset): Remove prototype.
785 (unit_truncate): New prototype.
786 (read_block_form): Change to return pointer, int* argument.
787 (hit_eof): New prototype.
788 (fbuf_init): Change prototype.
789 (fbuf_reset): Change prototype.
790 (fbuf_alloc): Change prototype.
791 (fbuf_flush): Change prototype.
792 (fbuf_seek): Change prototype.
793 (fbuf_read): New prototype.
794 (fbuf_getc_refill): New prototype.
795 (fbuf_getc): New inline function.
796 * io/fbuf.c (fbuf_init): Use int, get rid of flushed.
797 (fbuf_debug): New function.
798 (fbuf_reset): Flush, and return position offset.
799 (fbuf_alloc): Simplify, don't flush, just realloc.
800 (fbuf_flush): Make usable for read mode, salvage remaining bytes.
801 (fbuf_seek): New whence argument.
802 (fbuf_read): New function.
803 (fbuf_getc_refill): New function.
804 * io/file_pos.c (formatted_backspace): Use new stream interface.
805 (unformatted_backspace): Likewise.
806 (st_backspace): Make sure format buffer is reset, use new stream
807 interface, use unit_truncate.
808 (st_endfile): Likewise.
809 (st_rewind): Likewise.
810 * io/intrinsics.c: Use new stream interface.
811 * io/list_read.c (push_char): Don't use u.p.scratch, use realloc
813 (free_saved): Don't check u.p.scratch.
814 (next_char): Use new stream interface, use fbuf_getc() for external files.
815 (finish_list_read): flush format buffer.
816 (nml_query): Update to use modified interface:s
817 * io/open.c (test_endfile): Use new stream interface.
818 (edit_modes): Likewise.
819 (new_unit): Likewise, set bytes_left to 1 for stream files.
820 * io/read.c (read_l): Use new read_block_form interface.
821 (read_utf8): Likewise.
822 (read_utf8_char1): Likewise.
823 (read_default_char1): Likewise.
824 (read_utf8_char4): Likewise.
825 (read_default_char4): Likewise.
827 (read_a_char4): Likewise.
828 (read_decimal): Likewise.
829 (read_radix): Likewise.
831 * io/transfer.c (read_sf): Use fbuf_read and mem_alloc_r, remove
832 usage of u.p.line_buffer.
833 (read_block_form): Update interface to return pointer, use
834 fbuf_read for direct access.
835 (read_block_direct): Update to new stream interface.
836 (write_block): Use mem_alloc_w for internal I/O.
837 (write_buf): Update to new stream interface.
838 (formatted_transfer_scalar): Don't use u.p.line_buffer, use
839 fbuf_seek for external files.
840 (us_read): Update to new stream interface.
841 (us_write): Likewise.
842 (data_transfer_init): Always check if we switch modes and flush.
843 (skip_record): Use new stream interface, fix comparison.
844 (next_record_r): Check for and reset u.p.at_eof, use new stream
845 interface, use fbuf_getc for spacing.
846 (write_us_marker): Update to new stream interface, don't inline.
847 (next_record_w_unf): Likewise.
848 (sset): New function.
849 (next_record_w): Use new stream interface, use fbuf for printing
851 (next_record): Use new stream interface.
852 (finalize_transfer): Remove sfree call, use new stream interface.
853 (st_iolength_done): Don't use u.p.scratch.
854 (st_read): Don't check for end of file.
855 (st_read_done): Don't use u.p.scratch, use unit_truncate.
856 (hit_eof): New function.
857 * io/unit.c (init_units): Always init fbuf for formatted units.
858 (update_position): Use new stream interface.
859 (unit_truncate): New function.
860 (finish_last_advance_record): Use fbuf to print newline.
861 * io/unix.c: Remove unused SSIZE_MAX macro.
862 (BUFFER_SIZE): Make static const variable rather than macro.
863 (struct unix_stream): Remove dirty_offset, len, method,
864 small_buffer. Order elements by decreasing size.
865 (struct int_stream): Remove.
866 (move_pos_offset): Remove usage of dirty_offset.
867 (reset_stream): Remove.
868 (do_read): Rename to raw_read, update to match new stream
870 (do_write): Rename to raw_write, update to new stream interface.
871 (raw_seek): New function.
872 (raw_tell): New function.
873 (raw_truncate): New function.
874 (raw_close): New function.
875 (raw_flush): New function.
876 (raw_init): New function.
878 (fd_alloc_r_at): Remove.
879 (fd_alloc_w_at): Remove.
882 (fd_truncate): Remove.
888 (fd_flush): Rename to buf_flush, update to new stream interface
890 (buf_read): New function.
891 (buf_write): New function.
892 (buf_seek): New function.
893 (buf_tell): New function.
894 (buf_truncate): New function.
895 (buf_close): New function.
896 (buf_init): New function.
897 (mem_alloc_r_at): Rename to mem_alloc_r, change prototype.
898 (mem_alloc_w_at): Rename to mem_alloc_w, change prototype.
899 (mem_read): Change to match new stream interface.
900 (mem_write): Likewise.
901 (mem_seek): Likewise.
902 (mem_tell): Likewise.
903 (mem_truncate): Likewise.
904 (mem_close): Likewise.
905 (mem_flush): New function.
907 (empty_internal_buffer): Cast to correct type.
908 (open_internal): Use correct type, init function pointers.
909 (fd_to_stream): Test whether to open file as buffered or raw.
910 (output_stream): Remove mode set.
911 (error_stream): Likewise.
912 (flush_all_units_1): Use new stream interface.
913 (flush_all_units): Likewise.
914 (stream_at_bof): Remove.
915 (stream_at_eof): Remove.
916 (file_position): Remove.
917 (file_length): Update logic to use stream interface.
919 (stream_offset): Remove.
920 * io/write.c (write_utf8_char4): Use int instead of size_t.
921 (write_x): Extra safety check.
922 (namelist_write_newline): Use new stream interface.
924 2009-03-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
927 * intrinsics/c99_functions.c (round): Use floor instead of ceil.
928 Revise checks to round up.
931 2009-03-28 Daniel Kraft <d@domob.eu>
933 * intrinsics/string_intrinsics.c: #include <assert.h>
934 * intrinsics/string_intrinsics_inc.c (string_trim): Use string_len_trim
935 instead of calculating the length directly.
936 (string_len_trim): For KIND=1, speed search up.
938 2009-03-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
941 * io/list_read.c (list_formatted_read_scalar): Move check for read
942 completion to just after the check for a repeated value.
944 2009-03-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
947 * io/write_float.def (output_float): Handle F0.d formatting correctly
948 for any d when value is 0.0.
950 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
952 * configure: Regenerate.
954 2009-01-21 Daniel Kraft <d@domob.eu>
957 * runtime/in_unpack_generic.c (internal_unpack): Return instead of
958 abort when called with empty array.
959 * m4/in_unpack.m4: Ditto.
960 * generated/in_unpack_i1.c: Regenerated.
961 * generated/in_unpack_i2.c: Regenerated.
962 * generated/in_unpack_i4.c: Regenerated.
963 * generated/in_unpack_i8.c: Regenerated.
964 * generated/in_unpack_i16.c: Regenerated.
965 * generated/in_unpack_r4.c: Regenerated.
966 * generated/in_unpack_r8.c: Regenerated.
967 * generated/in_unpack_r10.c: Regenerated.
968 * generated/in_unpack_r16.c: Regenerated.
969 * generated/in_unpack_c4.c: Regenerated.
970 * generated/in_unpack_c8.c: Regenerated.
971 * generated/in_unpack_c10.c: Regenerated.
972 * generated/in_unpack_c16.c: Regenerated.
974 2009-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
977 * io/read.c (read_f): Clean up loop conditions for BZ/BN,
978 allowing proper digit testing. White space fix.
980 2009-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
983 * io/unit.c (get_internal_unit): Set default BLANK= status to NULL for
986 2008-12-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
989 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): New autoconf check for
991 * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Use it.
992 * intrinsics/c99_functions.c: Use internal powf implementation if
993 HAVE_BROKEN_POWF is defined.
994 * configure: Rebuilt.
995 * config.h.in: Rebuilt.
997 2008-12-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1000 * io/write_float.def (output_float_FMT_G_): Modify calculation of temp
1001 to avoid sensitivity to round-off.
1003 2008-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1006 * io/io.h (st_parameter_dt): Add new bit to keep track of when to
1007 suppress blanks for g0 formatting.
1008 * io/transfer.c (formatted_transfer_scalar): Always call write_real_g0
1010 * io.c (write.c): Do not use ES formatting and use new bit to suppress
1012 * io/write_float.def (output_float): Adjust the location of setting the
1013 width so that it can be adjusted when suppressing blanks. Set number of
1014 blanks to zero when dtp->u.p.g0_no_blanks is set. Do some minor code
1015 clean-up and add some white space for readability.
1017 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1019 * configure: Regenerate.
1021 2008-12-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1024 io/write.c (write_decimal): Skip extra sign '-' at beginning of string
1025 returned by gfc_itoa.
1027 2008-12-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1030 * io/transfer.c (data_transfer_init): Move constraint check for REC=
1031 and STREAM access into condition for other REC= constraints to simplify.
1032 Comment out this constraint to avoid breaking compatibility with 4.3
1033 until later. Added a TODO for above comment and this one.
1034 Fix test for max pos.
1036 2008-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1039 * io/transfer.c (data_transfer_init): Add fbuf_flush inadvertently
1040 ommitted. Add check for invalid use of REC= with ACCESS="stream". Fix
1043 2008-12-06 Adam Nemet <anemet@caviumnetworks.com>
1045 * runtime/main.c (store_exe_path): Don't crash if argv0 is NULL.
1047 2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1050 * io/transfer.c (data_transfer_init): Add checks for POS= valid range.
1051 Add check for unit opened with ACCESS="stream". Flush and seek if
1052 current stream position does not match. Check ENDFILE on read.
1054 2008-12-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1057 * write_float.def (WRITE_FLOAT): Zero the float value for special case
1058 only if scale_factor = 0.
1060 2008-11-23 Thomas Koenig <tkoenig@gcc.gnu.org>
1063 * intrinsics/reshape_generic.c (reshape_internal):
1064 Source can be larger than shape.
1065 * m4/reshape.m4: Likewise.
1066 * generated/reshape_c10.c Regenerated.
1067 * generated/reshape_c16.c Regenerated.
1068 * generated/reshape_c4.c Regenerated.
1069 * generated/reshape_c8.c Regenerated.
1070 * generated/reshape_i16.c Regenerated.
1071 * generated/reshape_i4.c Regenerated.
1072 * generated/reshape_i8.c Regenerated.
1073 * generated/reshape_r10.c Regenerated.
1074 * generated/reshape_r16.c Regenerated.
1075 * generated/reshape_r4.c Regenerated.
1076 * generated/reshape_r8.c Regenerated.
1078 2008-11-22 Danny Smith <dannysmith@users.sourceforge.net>
1080 * libgfortran.h (__mingw_snprintf): Declare with gnu_printf
1084 2008-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
1087 * intrinsics/reshape_generic.c (reshape_internal):
1088 Use all dimensions of source for bounds checking.
1089 * m4/reshape.m4: Likewise.
1090 * generated/reshape_c10.c Regenerated.
1091 * generated/reshape_c16.c Regenerated.
1092 * generated/reshape_c4.c Regenerated.
1093 * generated/reshape_c8.c Regenerated.
1094 * generated/reshape_i16.c Regenerated.
1095 * generated/reshape_i4.c Regenerated.
1096 * generated/reshape_i8.c Regenerated.
1097 * generated/reshape_r10.c Regenerated.
1098 * generated/reshape_r16.c Regenerated.
1099 * generated/reshape_r4.c Regenerated.
1100 * generated/reshape_r8.c Regenerated.
1102 2008-11-22 Jakub Jelinek <jakub@redhat.com>
1105 * io/io.h (IOPARM_INQUIRE_HAS_ROUND, IOPARM_INQUIRE_HAS_SIGN,
1106 IOPARM_INQUIRE_HAS_PENDING): Adjust values.
1107 (st_parameter_inquire): Reorder and fix types of round, sign and
1109 (st_parameter_43, st_parameter_44): Removed.
1110 (st_parameter_dt): Put back struct definition directly to u.p
1111 declaration. Change type of u.p.size_used from gfc_offset to
1112 GFC_IO_INT. Decrease back size of u.pad to 16 pointers and
1113 32 ints. Put id, pos, asynchronous, blank, decimal, delim,
1114 pad, round and sign fields after the union.
1115 * io/inquire.c (inquire_via_unit, inquire_via_filename): Only read
1116 flags2 if it is defined.
1117 * io/transfer.c (read_sf, read_block_form, write_block): Cast
1118 additions to size_used to GFC_IO_INT instead of gfc_offset.
1119 (data_transfer_init): Clear whole u.p struct. Adjust
1120 for moving id, pos, asynchronous, blank, decimal, delim, pad,
1121 round and sign fields from u.p directly into st_parameter_dt.
1122 (finalize_transfer): Don't cast size_used to GFC_IO_INT.
1123 * io/file_pos.c (st_endfile): Clear whole u.p struct.
1125 2008-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1128 * io/write_float.def (output_float_FMT_G_): Adjust conversion of
1129 G format specification to F format.
1131 2008-11-18 Thomas Koenig <tkoenig@gcc.gnu.org>
1134 * m4/reshape.m4: Correct bounds checking when PAD is present.
1135 Treat PAD as if it were SOURCE when SOURCE is empty.
1136 * intrinsics/reshape_generic.c: Likewise.
1137 * generated/reshape_c10.c Regenerated.
1138 * generated/reshape_c16.c Regenerated.
1139 * generated/reshape_c4.c Regenerated.
1140 * generated/reshape_c8.c Regenerated.
1141 * generated/reshape_i16.c Regenerated.
1142 * generated/reshape_i4.c Regenerated.
1143 * generated/reshape_i8.c Regenerated.
1144 * generated/reshape_r10.c Regenerated.
1145 * generated/reshape_r16.c Regenerated.
1146 * generated/reshape_r4.c Regenerated.
1147 * generated/reshape_r8.c Regenerated.
1149 2008-11-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1152 * io/read.c (read_f): Initialize exponent. Fix comment. Set loop
1153 conditions for BZ/BN.
1154 * io/unit.c (get_internal_unit): Initialize flags.blank.
1155 * io/transfer.c (data_transfer_init): Fix whitespace.
1157 2008-11-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1160 * io/write.c (namelist_write_newline): Use array loop specification to
1161 advance to next internal array unit record. (namelist_write): Adjust to
1162 accomodate the internal array unit behavior.
1164 2008-11-01 Dennis Wassel <dennis.wassel@gmail.com>
1167 * intrinsics/random.c: Added comment to adapt check.c, should
1169 Few cosmetic changes to existing comments.
1171 2008-10-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1174 * io/list_read.c (read_character): Remove code to look ahead in namelist
1175 reads to descriminate non-delimited strings from namelist objects.
1176 * io/write.c (namelist_write): Delimit character strings with quote or
1177 apostrophe, defaulting to quote.
1179 2008-10-21 Thomas Koenig <tkoenig@gcc.gnu.org>
1182 * intrinsics/transpose_generic.c: Implement bounds checking.
1183 * m4/transpose.m4: Likewise.
1184 * generated/transpose_c8.c: Regenerated.
1185 * generated/transpose_c16.c: Regenerated.
1186 * generated/transpose_r10.c: Regenerated.
1187 * generated/transpose_i8.c: Regenerated.
1188 * generated/transpose_c10.c: Regenerated.
1189 * generated/transpose_r4.c: Regenerated.
1190 * generated/transpose_c4.c: Regenerated.
1191 * generated/transpose_i16.c: Regenerated.
1192 * generated/transpose_i4.c: Regenerated.
1193 * generated/transpose_r8.c: Regenerated.
1194 * generated/transpose_r16.c: Regenerated.
1196 2008-10-19 Jerry DeLisle <jvdelisle@gcc.gnu.org
1199 * io/write_float.def (output_float): Emit '0.' for special case of
1200 format specifier 'f0.0' and value of zero. Likewise emit '0' for 'f1.0'.
1202 2008-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org
1205 * io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly.
1206 * io/io.h (st_parameter_44): Fix id type declaration.
1208 2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
1210 * io/file_pos.c (unformatted_backspace): Normal case is
1212 * io/transfer.c (read_sf): Mark paths leading to generate_error()
1214 (readl_block_form): Likewise.
1215 (read_block_direct): Likewise.
1216 (write_block): Likewise.
1217 (write_buf): Likewise.
1218 (us_read): Likewise. Normal case is GFC_CONVERT_NATIVE.
1219 (next_record_w_unf): Mark paths leading to generate_error()
1222 2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
1225 * generated/spread_r4.c: Regenerated.
1227 2008-10-15 Thomas Koenig <tkoenig@gcc.gnu.org>
1230 * intrinsics/reshape_generic.c: Add bounds checking.
1231 * m4/reshape.m4: Likewise.
1232 * generated/reshape_c10.c: Regenerated.
1233 * generated/reshape_c16.c: Regenerated.
1234 * generated/reshape_c4.c: Regenerated.
1235 * generated/reshape_c8.c: Regenerated.
1236 * generated/reshape_i16.c: Regenerated.
1237 * generated/reshape_i4.c: Regenerated.
1238 * generated/reshape_i8.c: Regenerated.
1239 * generated/reshape_r10.c: Regenerated.
1240 * generated/reshape_r16.c: Regenerated.
1241 * generated/reshape_r4.c: Regenerated.
1242 * generated/reshape_r8.c: Regenerated.
1243 * generated/spread_r4.c: Regenerated.
1245 2008-10-13 Jerry DeLisle <jvdelisle@gcc.gnu.org
1248 * io/list_read.c (next_char): Simplify EOF tests and set endfile flag.
1249 (finish_list_read): Add EOF check.
1251 2008-10-09 Thomas Koenig <tkoenig@gcc.gnu.org>
1254 * io/transfer.c (unformatted_read): CONVERT_NATIVE
1255 is the usual case. Check for kind==1 for non-byte-reversing
1257 (unformatted_write): Likewise.
1259 2008-10-08 Jerry DeLisle <jvdelisle@gcc.gnu.org
1262 * io/list_read.c (nml_get_obj_data): If the first namelist object rank
1263 is greater than zero, call nml_object_read with the first object rather
1264 than the sub-object.
1266 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
1267 Steve Ellcey <sje@cup.hp.com>
1269 * configure: Regenerate for new libtool.
1270 * Makefile.in: Ditto.
1272 2008-09-25 Jerry DeLisle <jvdelisle@gcc.gnu.org
1275 * list_read.c (eat_separator): Revert previous patch and move
1276 delim_status, decimal_status, and pad_status to gfc_unit.
1277 (parse_real): Ditto. (read_real): Ditto.
1278 * read.c (read_a): Likewise. (read_a_char4): Likewise.
1280 * inquire.c (inquire_via_unit): Add missing check for
1281 IOPARM_INQUIRE_HAS_FLAGS2. (inquire_via_filename): Likewise.
1282 * io.h (unit_sign_s): Move delim_status, decimal_status, and pad_status
1284 * transfer.c (read_sf): Ditto. (read_block_form): Ditto.
1285 (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto.
1286 * write.c (write_default_char4): Ditto. (write_utf8_char4): Ditto.
1287 (write_character): Ditto. (write_real_g0): Ditto.
1288 (list_formatted_write_scalar): Ditto. (nml_write_obj): Ditto.
1289 (namelist_write): Ditto.
1290 * write_float.def (calculate_sign): Ditto. (output_float): Ditto.
1292 2008-09-24 Tobias Burnus <burnus@net-b.de>
1294 * runtime/compile_options.c (init_compile_options):
1295 Sync flags with front end.
1297 2008-09-22 Jerry DeLisle <jvdelisle@gcc.gnu.org
1300 * file_pos (st_endfile): Clear memory only for libfortran 4.3 private
1302 * list_read.c (eat_separator): Only access F2003 I/O parameters if
1303 IOPARM_DT_HAS_F2003 bit is set. (parse_real): Ditto.
1305 * read.c (read_a): Likewise. (read_a_char4): Likewise though not
1306 strictly necessary. (read_f): Likewise.
1307 * io.h (unit_sign_s): New enumerator to allow duplication of
1308 st_parameter structures. (IOPARM_DT_HAS_F2003): New mask bit.
1309 (st_parameter_43): New structure copied from 4.3 version of
1310 st_paramater_dt private section. (st_parameter_44): New structure with
1311 F2003 items added. (st_parameter_dt): Modified to create union of new
1312 and old structures to allow correct memory setting for 4.3 ABI
1313 compatibility. Bumped the pad size.
1314 * transfer.c (read_sf): Do not use F2003 I/O memory areas unless
1315 IOPARM_DT_HAS_F2003 bit has been set. (read_block_form): Ditto.
1316 (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto and
1317 add comment, fix formatting.
1318 * write.c (write_default_char4): Likewise though not strictly necessary.
1319 (write_utf8_char4): Ditto. (write_character): Ditto.
1320 (write_real_g0): Ditto. (list_formatted_write_scalar): Ditto.
1321 (nml_write_obj): Ditto. (namelist_write): Ditto.
1322 * write_float.def (calculate_sign): Eliminate warning by including all
1323 cases in switch. (output_float): Output only decimal point of F2003 flag
1326 2008-09-10 Tobias Burnus <burnus@net-b.de>
1327 H. J. Lu <hongjiu.lu@intel.com>
1329 * mk-sik-inc.sh: Make -Wunused-variable proof.
1330 * mk-srk-inc.sh: Make -Wunused-variable proof.
1332 2008-09-10 Tobias Burnus <burnus@net-b.de>
1334 * mk-kinds-h.sh: Make -Wunused-variable proof.
1336 2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org>
1339 * intrinsics/reshape_generic.c: Add checking on
1340 out-of-bounds and duplicate values of order argument.
1341 * m4/reshape.m4: Likewise.
1342 * generated/reshape_c10.c: Regenerated.
1343 * generated/reshape_c16.c: Regenerated.
1344 * generated/reshape_c4.c: Regenerated.
1345 * generated/reshape_c8.c: Regenerated.
1346 * generated/reshape_i16.c: Regenerated.
1347 * generated/reshape_i4.c: Regenerated.
1348 * generated/reshape_i8.c: Regenerated.
1349 * generated/reshape_r10.c: Regenerated.
1350 * generated/reshape_r16.c: Regenerated.
1351 * generated/reshape_r4.c: Regenerated.
1352 * generated/reshape_r8.c: Regenerated.
1354 2008-09-06 Tobias Burnus <burnus@net-b.de>
1356 * libgfortran.h (likely,unlikely): New makros.
1357 (runtime_warning_at,__mingw_snprintf): Add __attribute__(format()).
1358 * m4/spread.m4 (spread_'rtype_code`): Use unlikely for bounds_check.
1359 * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto.
1360 * m4/matmull.m4 (matmul_'rtype_code`): Ditto.
1361 * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto.
1362 * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto.
1363 * m4/matmul.m4 (matmul_'rtype_code`): Ditto.
1365 * generated/minval_r8.c: Regenerated.
1366 * generated/spread_r10.c: Regenerated.
1367 * generated/minloc1_16_r16.c: Regenerated.
1368 * generated/maxloc1_4_r8.c: Regenerated.
1369 * generated/sum_i8.c: Regenerated.
1370 * generated/any_l16.c: Regenerated.
1371 * generated/spread_i8.c: Regenerated.
1372 * generated/maxval_i2.c: Regenerated.
1373 * generated/any_l2.c: Regenerated.
1374 * generated/product_r4.c: Regenerated.
1375 * generated/maxloc1_8_i4.c: Regenerated.
1376 * generated/maxloc0_4_r4.c: Regenerated.
1377 * generated/all_l1.c: Regenerated.
1378 * generated/matmul_r8.c: Regenerated.
1379 * generated/product_i2.c: Regenerated.
1380 * generated/minloc0_4_r16.c: Regenerated.
1381 * generated/minloc0_4_i1.c: Regenerated.
1382 * generated/maxloc0_4_r16.c: Regenerated.
1383 * generated/maxloc0_4_i2.c: Regenerated.
1384 * generated/minloc1_8_r16.c: Regenerated.
1385 * generated/maxloc1_8_r16.c: Regenerated.
1386 * generated/maxloc0_8_i8.c: Regenerated.
1387 * generated/sum_r16.c: Regenerated.
1388 * generated/sum_i1.c: Regenerated.
1389 * generated/minloc1_4_r8.c: Regenerated.
1390 * generated/maxloc1_16_r16.c: Regenerated.
1391 * generated/minloc1_16_i4.c: Regenerated.
1392 * generated/maxloc1_16_i4.c: Regenerated.
1393 * generated/minloc0_16_i8.c: Regenerated.
1394 * generated/spread_i1.c: Regenerated.
1395 * generated/maxloc0_16_i8.c: Regenerated.
1396 * generated/maxval_r16.c: Regenerated.
1397 * generated/product_c10.c: Regenerated.
1398 * generated/minloc1_8_i4.c: Regenerated.
1399 * generated/minloc0_16_i16.c: Regenerated.
1400 * generated/matmul_r16.c: Regenerated.
1401 * generated/minloc0_4_r4.c: Regenerated.
1402 * generated/all_l2.c: Regenerated.
1403 * generated/product_c4.c: Regenerated.
1404 * generated/sum_r4.c: Regenerated.
1405 * generated/minloc0_4_i2.c: Regenerated.
1406 * generated/spread_c10.c: Regenerated.
1407 * generated/maxloc0_8_i1.c: Regenerated.
1408 * generated/spread_r4.c: Regenerated.
1409 * generated/minloc0_8_i8.c: Regenerated.
1410 * generated/matmul_c8.c: Regenerated.
1411 * generated/all_l16.c: Regenerated.
1412 * generated/minloc1_16_r10.c: Regenerated.
1413 * generated/sum_i2.c: Regenerated.
1414 * generated/minloc0_16_i1.c: Regenerated.
1415 * generated/maxloc0_16_i1.c: Regenerated.
1416 * generated/maxloc1_8_r8.c: Regenerated.
1417 * generated/minval_i16.c: Regenerated.
1418 * generated/spread_i2.c: Regenerated.
1419 * generated/maxval_i4.c: Regenerated.
1420 * generated/minval_i8.c: Regenerated.
1421 * generated/any_l4.c: Regenerated.
1422 * generated/maxloc1_4_i8.c: Regenerated.
1423 * generated/maxloc0_16_i16.c: Regenerated.
1424 * generated/maxloc0_8_r4.c: Regenerated.
1425 * generated/minloc1_4_i16.c: Regenerated.
1426 * generated/maxloc1_4_i16.c: Regenerated.
1427 * generated/minloc0_4_r10.c: Regenerated.
1428 * generated/minloc0_8_i16.c: Regenerated.
1429 * generated/maxloc0_4_r10.c: Regenerated.
1430 * generated/maxloc0_8_i16.c: Regenerated.
1431 * generated/minloc1_8_r10.c: Regenerated.
1432 * generated/product_i4.c: Regenerated.
1433 * generated/minloc0_16_r4.c: Regenerated.
1434 * generated/sum_c16.c: Regenerated.
1435 * generated/maxloc1_8_r10.c: Regenerated.
1436 * generated/maxloc0_16_r4.c: Regenerated.
1437 * generated/minloc1_16_r8.c: Regenerated.
1438 * generated/minloc0_8_i1.c: Regenerated.
1439 * generated/maxloc0_4_i4.c: Regenerated.
1440 * generated/maxloc1_16_r8.c: Regenerated.
1441 * generated/maxloc0_8_i2.c: Regenerated.
1442 * generated/sum_r10.c: Regenerated.
1443 * generated/count_4_l.c: Regenerated.
1444 * generated/sum_c4.c: Regenerated.
1445 * generated/count_8_l.c: Regenerated.
1446 * generated/maxloc1_16_r10.c: Regenerated.
1447 * generated/matmul_i8.c: Regenerated.
1448 * generated/minloc0_16_i2.c: Regenerated.
1449 * generated/minloc1_8_r8.c: Regenerated.
1450 * generated/maxloc0_16_i2.c: Regenerated.
1451 * generated/spread_c4.c: Regenerated.
1452 * generated/matmul_c16.c: Regenerated.
1453 * generated/maxval_r10.c: Regenerated.
1454 * generated/minval_i1.c: Regenerated.
1455 * generated/maxloc1_4_i1.c: Regenerated.
1456 * generated/matmul_r10.c: Regenerated.
1457 * generated/minloc1_4_i8.c: Regenerated.
1458 * generated/minloc0_8_r4.c: Regenerated.
1459 * generated/matmul_l4.c: Regenerated.
1460 * generated/product_i16.c: Regenerated.
1461 * generated/minloc0_16_r16.c: Regenerated.
1462 * generated/all_l4.c: Regenerated.
1463 * generated/minloc0_4_i4.c: Regenerated.
1464 * generated/minloc0_8_i2.c: Regenerated.
1465 * generated/matmul_i1.c: Regenerated.
1466 * generated/minval_r4.c: Regenerated.
1467 * generated/maxloc1_4_r4.c: Regenerated.
1468 * generated/spread_i16.c: Regenerated.
1469 * generated/sum_i4.c: Regenerated.
1470 * generated/maxval_r8.c: Regenerated.
1471 * generated/spread_i4.c: Regenerated.
1472 * generated/minloc1_4_i1.c: Regenerated.
1473 * generated/minval_r16.c: Regenerated.
1474 * generated/minval_i2.c: Regenerated.
1475 * generated/maxloc1_4_i2.c: Regenerated.
1476 * generated/product_r8.c: Regenerated.
1477 * generated/maxloc1_8_i8.c: Regenerated.
1478 * generated/maxloc0_4_r8.c: Regenerated.
1479 * generated/maxloc0_16_r16.c: Regenerated.
1480 * generated/matmul_r4.c: Regenerated.
1481 * generated/sum_c10.c: Regenerated.
1482 * generated/minloc1_4_r16.c: Regenerated.
1483 * generated/maxloc1_4_r16.c: Regenerated.
1484 * generated/minloc0_8_r16.c: Regenerated.
1485 * generated/maxloc0_8_r16.c: Regenerated.
1486 * generated/count_1_l.c: Regenerated.
1487 * generated/maxloc0_8_i4.c: Regenerated.
1488 * generated/matmul_i2.c: Regenerated.
1489 * generated/minloc1_4_r4.c: Regenerated.
1490 * generated/matmul_c10.c: Regenerated.
1491 * generated/minloc0_16_i4.c: Regenerated.
1492 * generated/maxloc0_16_i4.c: Regenerated.
1493 * generated/minloc1_16_i8.c: Regenerated.
1494 * generated/maxloc1_16_i8.c: Regenerated.
1495 * generated/minloc1_4_i2.c: Regenerated.
1496 * generated/matmul_l16.c: Regenerated.
1497 * generated/maxloc1_8_i1.c: Regenerated.
1498 * generated/minloc0_16_r10.c: Regenerated.
1499 * generated/minloc1_8_i8.c: Regenerated.
1500 * generated/minloc0_4_r8.c: Regenerated.
1501 * generated/product_r16.c: Regenerated.
1502 * generated/product_c8.c: Regenerated.
1503 * generated/sum_r8.c: Regenerated.
1504 * generated/minloc0_8_i4.c: Regenerated.
1505 * generated/matmul_c4.c: Regenerated.
1506 * generated/minloc1_16_i16.c: Regenerated.
1507 * generated/spread_r8.c: Regenerated.
1508 * generated/maxloc1_8_r4.c: Regenerated.
1509 * generated/minloc1_16_i1.c: Regenerated.
1510 * generated/maxloc1_16_i1.c: Regenerated.
1511 * generated/spread_r16.c: Regenerated.
1512 * generated/minval_r10.c: Regenerated.
1513 * generated/count_16_l.c: Regenerated.
1514 * generated/minval_i4.c: Regenerated.
1515 * generated/minloc1_8_i1.c: Regenerated.
1516 * generated/maxloc1_4_i4.c: Regenerated.
1517 * generated/maxloc1_8_i2.c: Regenerated.
1518 * generated/maxval_i8.c: Regenerated.
1519 * generated/any_l8.c: Regenerated.
1520 * generated/maxloc0_16_r10.c: Regenerated.
1521 * generated/minloc0_4_i16.c: Regenerated.
1522 * generated/maxloc0_8_r8.c: Regenerated.
1523 * generated/maxloc0_4_i16.c: Regenerated.
1524 * generated/minloc1_4_r10.c: Regenerated.
1525 * generated/minloc1_8_i16.c: Regenerated.
1526 * generated/maxloc1_4_r10.c: Regenerated.
1527 * generated/maxloc1_8_i16.c: Regenerated.
1528 * generated/minloc0_8_r10.c: Regenerated.
1529 * generated/maxloc0_8_r10.c: Regenerated.
1530 * generated/minloc1_16_r4.c: Regenerated.
1531 * generated/maxloc1_16_r4.c: Regenerated.
1532 * generated/minloc0_16_r8.c: Regenerated.
1533 * generated/product_i8.c: Regenerated.
1534 * generated/maxloc0_16_r8.c: Regenerated.
1535 * generated/sum_i16.c: Regenerated.
1536 * generated/count_2_l.c: Regenerated.
1537 * generated/maxloc0_4_i8.c: Regenerated.
1538 * generated/maxloc1_16_i16.c: Regenerated.
1539 * generated/matmul_i4.c: Regenerated.
1540 * generated/minloc1_8_r4.c: Regenerated.
1541 * generated/sum_c8.c: Regenerated.
1542 * generated/minloc1_16_i2.c: Regenerated.
1543 * generated/maxloc1_16_i2.c: Regenerated.
1544 * generated/maxval_i16.c: Regenerated.
1545 * generated/spread_c8.c: Regenerated.
1546 * generated/matmul_i16.c: Regenerated.
1547 * generated/minloc1_4_i4.c: Regenerated.
1548 * generated/maxval_i1.c: Regenerated.
1549 * generated/minloc1_8_i2.c: Regenerated.
1550 * generated/any_l1.c: Regenerated.
1551 * generated/product_c16.c: Regenerated.
1552 * generated/minloc0_8_r8.c: Regenerated.
1553 * generated/matmul_l8.c: Regenerated.
1554 * generated/product_r10.c: Regenerated.
1555 * generated/product_i1.c: Regenerated.
1556 * generated/all_l8.c: Regenerated.
1557 * generated/maxloc0_4_i1.c: Regenerated.
1558 * generated/minloc0_4_i8.c: Regenerated.
1559 * generated/spread_c16.c: Regenerated.
1560 * generated/maxval_r4.c: Regenerated.
1562 2008-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1566 * io/io.h (write_real_g0): Declare new function to handle g0.d format.
1567 * io/transfer.c (formatted_transfer_scalar): Use new function.
1568 * io/format.c (parse_format_list): Enable g0.d.
1569 * io/write.c (write_a_char4): Delete unused var.
1570 (set_fnode_default): New function to set the default fnode w, d, and e
1571 factored from write_real. (write_real): Use new factored function.
1572 (write_real_g0): New function that sets d to that passed by g0.d format
1573 specifier and set format to ES. Default values for w and e are used
1574 from the new function, set_fnode_default.
1576 2008-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1578 * runtime/error.c: Fix cast for printf.
1580 2008-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1583 * io/write.c (namelist_write_newline): New function to correctly mark
1584 next records in both external and internal units.
1585 (nml_write_obj): Use new function.
1586 (namelist_write: Use new function.
1588 2008-08-19 Tobias Burnus <burnus@net-b.de>
1591 * io/write.c (write_a_char4): Add missing variable declaration
1594 2008-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1597 * intrinsics/selected_char_kind.c: Enable iso_10646.
1598 * io/read.c (typedef uchar): New type.
1599 (read_utf8): New function to read a single UTF-8 encoded character.
1600 (read_utf8_char1): New function to read UTF-8 into a KIND=1 string.
1601 (read_default_char1): New functio to read default into KIND=1 string.
1602 (read_utf8_char4): New function to read UTF-8 into a KIND=4 string.
1603 (read_default_char4): New function to read UTF-8 into a KIND=4 string.
1604 (read_a): Modify to use the new functions.
1605 (read_a_char4): Modify to use the new functions.
1606 * io/write.c (error.h): Add include. (typedef uchar): New type.
1607 (write_default_char4): New function to default write KIND=4 string.
1608 (write_utf8_char4): New function to UTF-8 write KIND=4 string.
1609 (write_a_char4): Modify to use new functions.
1610 (write_character): Modify to use new functions.
1612 2008-08-14 H.J. Lu <hongjiu.lu@intel.com>
1615 * intrinsics/cshift0.c (cshift0): Fix 2 typos.
1617 2008-08-14 Thomas Koenig <tkoenig@gcc.gnu.org>
1620 * Makefile.am: Added $(i_cshift0_c).
1621 Added $(i_cshift0_c) to gfor_built_specific_src.
1622 Add rule to build from cshift0.m4.
1623 * Makefile.in: Regenerated.
1624 * libgfortran.h: Addedd prototypes for cshift0_i1,
1625 cshift0_i2, cshift0_i4, cshift0_i8, cshift0_i16,
1626 cshift0_r4, cshift0_r8, cshift0_r10, cshift0_r16,
1627 cshift0_c4, cshift0_c8, cshift0_c10, cshift0_c16.
1628 Define Macros GFC_UNALIGNED_C4 and GFC_UNALIGNED_C8.
1629 * intrinsics/cshift0.c: Remove helper functions for
1630 the innter shift loop.
1631 (cshift0): Call specific functions depending on type
1632 of array argument. Only call specific functions for
1633 correct alignment for other types.
1634 * m4/cshift0.m4: New file.
1635 * generated/cshift0_i1.c: New file.
1636 * generated/cshift0_i2.c: New file.
1637 * generated/cshift0_i4.c: New file.
1638 * generated/cshift0_i8:.c New file.
1639 * generated/cshift0_i16.c: New file.
1640 * generated/cshift0_r4.c: New file.
1641 * generated/cshift0_r8.c: New file.
1642 * generated/cshift0_r10.c: New file.
1643 * generated/cshift0_r16.c: New file.
1644 * generated/cshift0_c4.c: New file.
1645 * generated/cshift0_c8.c: New file.
1646 * generated/cshift0_c10.c: New file.
1647 * generated/cshift0_c16.c: New file.
1649 2008-07-27 Tobias Burnus <burnus@net-b.de>
1654 * runtime/error.c: New function runtime_error_at.
1655 * gfortran.map: Ditto.
1656 * libgfortran.h: Ditto.
1658 2008-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1661 * io/list_read.c: If variable rank is zero, do not adjust the found
1662 namelist object pointer.
1664 2008-07-22 Daniel Kraft <d@domob.eu>
1667 * io/format.c (struct format_data): New member error_element.
1668 (unexpected_element): Added '%c' to message.
1669 (next_char): Keep track of last parsed character in fmt->error_element.
1670 (format_error): If the message is unexpected_element, output the
1671 offending character, too.
1673 2008-07-22 Thomas Koenig <tkoenig@gcc.gnu.org>
1676 * io/file_pos.c: Declare READ_CHUNK as signed to avoid
1677 signed/unsigned comparison warning in formatted_backspace.
1679 2008-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
1682 * intrinsics/cshift0.c (cshift0): Return early if size of array
1684 * intrinsics/eoshift0.c (eoshift0): Return early if size of
1685 return array is zero.
1686 * intrinsics/eoshift2.c (eoshift2): Likewise.
1687 * m4/eoshift1.m4 (eoshift1): Return early if size of array
1689 * m4/eoshift3.m4 (eoshift3): Likewise.
1690 * m4/eoshift2.m4 (eoshift2): Return early if size of return
1692 * m4/eoshift4.m4 (eoshift2): Return early if size of return
1694 * generated/cshift1_16.c: Regenerated.
1695 * generated/cshift1_4.c: Regenerated.
1696 * generated/cshift1_8.c: Regenerated.
1697 * generated/eoshift1_16.c: Regenerated.
1698 * generated/eoshift1_4.c: Regenerated.
1699 * generated/eoshift1_8.c: Regenerated.
1700 * generated/eoshift3_16.c: Regenerated.
1701 * generated/eoshift3_4.c: Regenerated.
1702 * generated/eoshift3_8.c: Regenerated.
1704 2008-07-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1707 * io/write_float.def: Comment out locale dependent code and fix general
1710 2008-07-07 Thomas Koenig <tkoenig@gcc.gnu.org>
1714 * m4/matmul.m4: Add bounds checking.
1715 * m4/matmull.m4: Likewise.
1716 * generated/matmul_c10.c: Regenerated.
1717 * generated/matmul_c16.c: Regenerated.
1718 * generated/matmul_c4.c: Regenerated.
1719 * generated/matmul_c8.c: Regenerated.
1720 * generated/matmul_i1.c: Regenerated.
1721 * generated/matmul_i16.c: Regenerated.
1722 * generated/matmul_i2.c: Regenerated.
1723 * generated/matmul_i4.c: Regenerated.
1724 * generated/matmul_i8.c: Regenerated.
1725 * generated/matmul_l16.c: Regenerated.
1726 * generated/matmul_l4.c: Regenerated.
1727 * generated/matmul_l8.c: Regenerated.
1728 * generated/matmul_r10.c: Regenerated.
1729 * generated/matmul_r16.c: Regenerated.
1730 * generated/matmul_r4.c: Regenerated.
1731 * generated/matmul_r8.c: Regenerated.
1733 2008-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1735 * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
1737 * configure: Regenerate.
1739 2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1742 * io/list_read.c (find_nml_name): Use eat_separator instead of eat_line.
1744 2008-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1747 * io/list_read.c (read_character): Check for '!' along with separators.
1748 (find_nml_name): Likewise and eat the comment if found.
1750 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1752 * configure: Regenerate.
1754 2008-06-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1757 * io/list_read.c (eat_separator): Add tab character to condition
1758 for looping past whitespace.
1760 2008-06-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1763 * libgfortran.h (compile_options_t): Add int range_check to structure.
1764 * runtime/compile_options.c (set_options): Add range_check option.
1765 (init_compile_options): Likewise.
1766 *io/read.c (read_decimal): Change overflow checks to include
1769 2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1772 * io/list_read.c (namelist_read): Add eat_separator to eliminate leading
1775 2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1778 * libgfortran.h: Change l8_to_l4_offset to big_endian and add endian_off.
1779 * runtime/main.c: Fix error in comment. Change l8_to_l4_offset to
1780 big_endian. (determine_endianness): Add endian_off and set its value
1781 according to big_endian.
1782 * gfortran.map: Add symbol for new _gfortran_transfer_character_wide.
1783 * io/io.h: Add prototype declarations for new functions.
1784 * io/list_read.c (list_formatted_read_scalar): Modify to handle kind=4.
1785 (list_formatted_read): Calculate stride based on kind for character type
1786 and use it when calling list_formatted_read_scalar.
1787 * io/inquire.c (inquire_via_unit): Change l8_to_l4_offset to big_endian.
1788 * io/open.c (st_open): Change l8_to_l4_offset to big_endian.
1789 * io/read.c (read_a_char4): New function to handle formatted read.
1790 * io/write.c: Define GFC_CHAR4(x) to improve readability of code.
1791 (write_a_char4): New function to handle formatted write.
1792 (write_character): Modify to accept the kind parameter and adjust for
1793 endianess of the machine. (list_formatted_write): Calculate the stride
1794 resulting from the kind and adjust the list_formatted_write_scalar call
1795 accordingly. (nml_write_obj): Adjust calls to write_character.
1796 (namelist_write): Likewise.
1797 * io/transfer.c (formatted_transfer_scaler): Rename 'len' argument to
1798 'kind' argument to better describe what it is. Add calls to new
1799 functions for kind == 4. (formatted_transfer): Modify to handle the case
1800 of type character and kind equals 4 to pass in the kind to the transfer
1801 routines. (transfer_character_wide): Add this new function.
1802 (transfer_array): Don't set kind to the character string length. Adjust
1803 strides bases on character kind.
1804 (unformatted_read): Adjust size based on kind for character types.
1805 (unformatted_write): Likewise. (data_transfer_init): Change
1806 l8_to_l4_offset to big_endian.
1807 io/fbuf.c (fbuf_seek): Add cast to eliminate warning.
1809 2008-06-13 Tobias Burnus <burnus@net-b.de>
1811 * configure.ac (AM_CFLAGS): Remove -Werror again.
1812 * configure: Regenerate.
1814 2008-06-13 Tobias Burnus <burnus@net-b.de>
1816 PR libgfortran/36518
1817 * configure.ac (AM_CFLAGS): Add -Werror.
1818 * configure: Regenerate.
1819 * m4/ifunction_logical.m4: Cast "n" to "(int)".
1820 * generated/any_l16.c: Regenerate.
1821 * generated/any_l2.c: Regenerate.
1822 * generated/all_l1.c: Regenerate.
1823 * generated/all_l2.c: Regenerate.
1824 * generated/all_l16.c: Regenerate.
1825 * generated/any_l4.c: Regenerate.
1826 * generated/count_4_l.c: Regenerate.
1827 * generated/count_8_l.c: Regenerate.
1828 * generated/all_l4.c: Regenerate.
1829 * generated/count_1_l.c: Regenerate.
1830 * generated/count_16_l.c: Regenerate.
1831 * generated/any_l8.c: Regenerate.
1832 * generated/count_2_l.c: Regenerate.
1833 * generated/any_l1.c: Regenerate.
1834 * generated/all_l8.c: Regenerate.
1836 2008-06-13 Tobias Burnus <burnus@net-b.de>
1839 * configure.ac (AM_FCFLAGS): Add "-Werror -fimplicit-none".
1840 * configure: (generated) ditto.
1841 * intrinsics/dprod_r8.f90: Add "implicit none".
1843 2008-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1848 * io/io.h: Add prototype for write_real.
1849 * io/transfer.c (formatted_transfer_scalar): For FMT_G and width zero,
1851 * io/format.c: Add zero width error message. (parse_format_list): Use
1852 error message for FMT_A if followed by FMT_ZERO. Use zero width error
1853 message for FMT_G if mode is READ or if -std=f95 or f2003. (fmormat0):
1854 Fix typo in comment.
1855 * io/write.c(write_a): Set wlen to len if FMT_G and length is zero.
1856 (write_l): Add wlen variable and use it if FMT_G and width is zero.
1857 (write_decimal): If FMT_G, set m to -1 to flag processor dependent
1858 formatting. (write_real): Remove static declaration.
1860 2008-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1863 * intrinsics/string_intrinsics_inc.c (string_index): Return
1864 correct value for zero-length substring.
1865 * intrinsics/cshift0.c: Add _char4 variant.
1866 * intrinsics/eoshift0.c (eoshift0): Allow filler to be a pattern
1867 wider than a single byte. Add _char4 variant and use above
1869 * intrinsics/eoshift2.c (eoshift2): Likewise.
1870 * m4/eoshift1.m4: Likewise.
1871 * m4/eoshift3.m4: Likewise.
1872 * m4/cshift1.m4: Add _char4 variants.
1873 * gfortran.map (GFORTRAN_1.1): Add _gfortran_cshift0_1_char4,
1874 _gfortran_cshift0_2_char4, _gfortran_cshift0_4_char4,
1875 _gfortran_cshift0_8_char4, _gfortran_cshift1_16_char4,
1876 _gfortran_cshift1_4_char4, _gfortran_cshift1_8_char4,
1877 _gfortran_eoshift0_1_char4, _gfortran_eoshift0_2_char4,
1878 _gfortran_eoshift0_4_char4, _gfortran_eoshift0_8_char4,
1879 _gfortran_eoshift1_16_char4, _gfortran_eoshift1_4_char4,
1880 _gfortran_eoshift1_8_char4, _gfortran_eoshift2_1_char4,
1881 _gfortran_eoshift2_2_char4, _gfortran_eoshift2_4_char4,
1882 _gfortran_eoshift2_8_char4, _gfortran_eoshift3_16_char4,
1883 _gfortran_eoshift3_4_char4 and _gfortran_eoshift3_8_char4.
1884 * generated/eoshift3_4.c: Regenerate.
1885 * generated/eoshift1_8.c: Regenerate.
1886 * generated/eoshift1_16.c: Regenerate.
1887 * generated/cshift1_4.c: Regenerate.
1888 * generated/eoshift1_4.c: Regenerate.
1889 * generated/eoshift3_8.c: Regenerate.
1890 * generated/eoshift3_16.c: Regenerate.
1891 * generated/cshift1_8.c: Regenerate.
1892 * generated/cshift1_16.c: Regenerate.
1894 2008-05-25 Tobias Burnus <burnus@net-b.de>
1897 * intrinsics/iso_c_binding.c (c_f_procpointer): Remove.
1898 * intrinsics/iso_c_binding.h (c_f_procpointer): Remove.
1899 * gfortran.map (c_f_procpointer): Remove.
1901 2008-05-22 Thomas Koenig <tkoenig@gcc.gnu.org>
1903 PR libgfortran/36302
1904 * gfortran.map (GFORTRAN_1.1): Add _gfortran_eoshift0_16,
1905 _gfortran_eoshift0_16_char, _gfortran_eoshift2_16,
1906 _gfortran_eoshift2_16_char,_gfortran_cshift0_16,
1907 _gfortran_cshift0_16_char. Sort alphabetically.
1908 * intrinsics/eoshift0.c: Add function for kind=16 integer.
1909 * intrinsics/eoshift2.c: Likewise.
1910 * intrinsics/cshift0.c: Likewise.
1912 2008-05-18 Thomas Koenig <tkoenig@gcc.gnu.org>
1914 * m4/in_pack.m4 (internal_pack_'rtype_code`): Destination
1915 pointer is restrict.
1916 * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
1917 * m4/pack.m4 (pack_'rtype_code`): Likewise.
1918 * m4/spread.m4 (spread_'rtype_code`): Likewise.
1919 (spread_scalar_'rtype_code`): Likewise.
1920 * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Likewise.
1921 * m4/eoshift1.m4 (eoshift1): Likewise.
1922 * m4/eoshift3.m4 (eoshift3): Likewise.
1923 * m4/in_unpack.m4 (internal_unpack_'rtype_ccode`): Likewise.
1924 * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
1925 (unpack1_'rtype_code`): Likewise.
1926 * intrinsics/pack_generic.c (pack_generic.c): Likewise.
1927 * intrinsics/unpack_generic.c (unpack_internal): Likewise.
1928 * intrinsics/eoshift0.c (eoshift0): Likewise.
1929 * intrinsics/eoshift2.c (eoshift2): Likewise.
1930 * intrinsics/reshape_generic.c (reshape_internal): Likewise.
1931 * intrinsics/reshape_packed.c (reshape_packed): Likewise.
1932 * generated/eoshift1_16.c: Regenerated.
1933 * generated/eoshift1_4.c: Regenerated.
1934 * generated/eoshift1_8.c: Regenerated.
1935 * generated/eoshift3_16.c: Regenerated.
1936 * generated/eoshift3_4.c: Regenerated.
1937 * generated/eoshift3_8.c: Regenerated.
1938 * generated/in_pack_c10.c: Regenerated.
1939 * generated/in_pack_c16.c: Regenerated.
1940 * generated/in_pack_c4.c: Regenerated.
1941 * generated/in_pack_c8.c: Regenerated.
1942 * generated/in_pack_i1.c: Regenerated.
1943 * generated/in_pack_i16.c: Regenerated.
1944 * generated/in_pack_i2.c: Regenerated.
1945 * generated/in_pack_i4.c: Regenerated.
1946 * generated/in_pack_i8.c: Regenerated.
1947 * generated/in_pack_r10.c: Regenerated.
1948 * generated/in_pack_r16.c: Regenerated.
1949 * generated/in_pack_r4.c: Regenerated.
1950 * generated/in_pack_r8.c: Regenerated.
1951 * generated/in_unpack_c10.c: Regenerated.
1952 * generated/in_unpack_c16.c: Regenerated.
1953 * generated/in_unpack_c4.c: Regenerated.
1954 * generated/in_unpack_c8.c: Regenerated.
1955 * generated/in_unpack_i1.c: Regenerated.
1956 * generated/in_unpack_i16.c: Regenerated.
1957 * generated/in_unpack_i2.c: Regenerated.
1958 * generated/in_unpack_i4.c: Regenerated.
1959 * generated/in_unpack_i8.c: Regenerated.
1960 * generated/in_unpack_r10.c: Regenerated.
1961 * generated/in_unpack_r16.c: Regenerated.
1962 * generated/in_unpack_r4.c: Regenerated.
1963 * generated/in_unpack_r8.c: Regenerated.
1964 * generated/maxloc0_16_i1.c: Regenerated.
1965 * generated/maxloc0_16_i16.c: Regenerated.
1966 * generated/maxloc0_16_i2.c: Regenerated.
1967 * generated/maxloc0_16_i4.c: Regenerated.
1968 * generated/maxloc0_16_i8.c: Regenerated.
1969 * generated/maxloc0_16_r10.c: Regenerated.
1970 * generated/maxloc0_16_r16.c: Regenerated.
1971 * generated/maxloc0_16_r4.c: Regenerated.
1972 * generated/maxloc0_16_r8.c: Regenerated.
1973 * generated/maxloc0_4_i1.c: Regenerated.
1974 * generated/maxloc0_4_i16.c: Regenerated.
1975 * generated/maxloc0_4_i2.c: Regenerated.
1976 * generated/maxloc0_4_i4.c: Regenerated.
1977 * generated/maxloc0_4_i8.c: Regenerated.
1978 * generated/maxloc0_4_r10.c: Regenerated.
1979 * generated/maxloc0_4_r16.c: Regenerated.
1980 * generated/maxloc0_4_r4.c: Regenerated.
1981 * generated/maxloc0_4_r8.c: Regenerated.
1982 * generated/maxloc0_8_i1.c: Regenerated.
1983 * generated/maxloc0_8_i16.c: Regenerated.
1984 * generated/maxloc0_8_i2.c: Regenerated.
1985 * generated/maxloc0_8_i4.c: Regenerated.
1986 * generated/maxloc0_8_i8.c: Regenerated.
1987 * generated/maxloc0_8_r10.c: Regenerated.
1988 * generated/maxloc0_8_r16.c: Regenerated.
1989 * generated/maxloc0_8_r4.c: Regenerated.
1990 * generated/maxloc0_8_r8.c: Regenerated.
1991 * generated/minloc0_16_i1.c: Regenerated.
1992 * generated/minloc0_16_i16.c: Regenerated.
1993 * generated/minloc0_16_i2.c: Regenerated.
1994 * generated/minloc0_16_i4.c: Regenerated.
1995 * generated/minloc0_16_i8.c: Regenerated.
1996 * generated/minloc0_16_r10.c: Regenerated.
1997 * generated/minloc0_16_r16.c: Regenerated.
1998 * generated/minloc0_16_r4.c: Regenerated.
1999 * generated/minloc0_16_r8.c: Regenerated.
2000 * generated/minloc0_4_i1.c: Regenerated.
2001 * generated/minloc0_4_i16.c: Regenerated.
2002 * generated/minloc0_4_i2.c: Regenerated.
2003 * generated/minloc0_4_i4.c: Regenerated.
2004 * generated/minloc0_4_i8.c: Regenerated.
2005 * generated/minloc0_4_r10.c: Regenerated.
2006 * generated/minloc0_4_r16.c: Regenerated.
2007 * generated/minloc0_4_r4.c: Regenerated.
2008 * generated/minloc0_4_r8.c: Regenerated.
2009 * generated/minloc0_8_i1.c: Regenerated.
2010 * generated/minloc0_8_i16.c: Regenerated.
2011 * generated/minloc0_8_i2.c: Regenerated.
2012 * generated/minloc0_8_i4.c: Regenerated.
2013 * generated/minloc0_8_i8.c: Regenerated.
2014 * generated/minloc0_8_r10.c: Regenerated.
2015 * generated/minloc0_8_r16.c: Regenerated.
2016 * generated/minloc0_8_r4.c: Regenerated.
2017 * generated/minloc0_8_r8.c: Regenerated.
2018 * generated/pack_c10.c: Regenerated.
2019 * generated/pack_c16.c: Regenerated.
2020 * generated/pack_c4.c: Regenerated.
2021 * generated/pack_c8.c: Regenerated.
2022 * generated/pack_i1.c: Regenerated.
2023 * generated/pack_i16.c: Regenerated.
2024 * generated/pack_i2.c: Regenerated.
2025 * generated/pack_i4.c: Regenerated.
2026 * generated/pack_i8.c: Regenerated.
2027 * generated/pack_r10.c: Regenerated.
2028 * generated/pack_r16.c: Regenerated.
2029 * generated/pack_r4.c: Regenerated.
2030 * generated/pack_r8.c: Regenerated.
2031 * generated/spread_c10.c: Regenerated.
2032 * generated/spread_c16.c: Regenerated.
2033 * generated/spread_c4.c: Regenerated.
2034 * generated/spread_c8.c: Regenerated.
2035 * generated/spread_i1.c: Regenerated.
2036 * generated/spread_i16.c: Regenerated.
2037 * generated/spread_i2.c: Regenerated.
2038 * generated/spread_i4.c: Regenerated.
2039 * generated/spread_i8.c: Regenerated.
2040 * generated/spread_r10.c: Regenerated.
2041 * generated/spread_r16.c: Regenerated.
2042 * generated/spread_r4.c: Regenerated.
2043 * generated/spread_r8.c: Regenerated.
2044 * generated/transpose_c10.c: Regenerated.
2045 * generated/transpose_c16.c: Regenerated.
2046 * generated/transpose_c4.c: Regenerated.
2047 * generated/transpose_c8.c: Regenerated.
2048 * generated/transpose_i16.c: Regenerated.
2049 * generated/transpose_i4.c: Regenerated.
2050 * generated/transpose_i8.c: Regenerated.
2051 * generated/transpose_r10.c: Regenerated.
2052 * generated/transpose_r16.c: Regenerated.
2053 * generated/transpose_r4.c: Regenerated.
2054 * generated/transpose_r8.c: Regenerated.
2055 * generated/unpack_c10.c: Regenerated.
2056 * generated/unpack_c16.c: Regenerated.
2057 * generated/unpack_c4.c: Regenerated.
2058 * generated/unpack_c8.c: Regenerated.
2059 * generated/unpack_i1.c: Regenerated.
2060 * generated/unpack_i16.c: Regenerated.
2061 * generated/unpack_i2.c: Regenerated.
2062 * generated/unpack_i4.c: Regenerated.
2063 * generated/unpack_i8.c: Regenerated.
2064 * generated/unpack_r10.c: Regenerated.
2065 * generated/unpack_r16.c: Regenerated.
2066 * generated/unpack_r4.c: Regenerated.
2067 * generated/unpack_r8.c: Regenerated.
2069 2008-05-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2071 * runtime/select.c: Moved content to select_inc.c. Include it.
2072 Add macros for different character types.
2073 * runtime/select_inc.c: New file.
2074 * runtime/convert_char.c: New file.
2075 * intrinsics/pack_generic.c (pack_char4, pack_s_char4): New
2077 * intrinsics/transpose_generic.c (transpose_char4): New function.
2078 * intrinsics/spread_generic.c (spread_char4, spread_char4_scalar):
2080 * intrinsics/unpack_generic.c (unpack1_char4, unpack0_char4):
2082 * intrinsics/reshape_generic.c (reshape_char): Use
2083 gfc_charlen_type as type for length variables.
2084 (reshape_char4): New function.
2085 * gfortran.map (GFORTRAN_1.1): Add _gfortran_select_string_char4,
2086 _gfortran_convert_char1_to_char4, _gfortran_convert_char4_to_char1,
2087 _gfortran_transpose_char4, _gfortran_spread_char4,
2088 _gfortran_spread_char4_scalar, _gfortran_reshape_char4,
2089 _gfortran_pack_char4, _gfortran_pack_s_char4,
2090 _gfortran_unpack0_char4 and _gfortran_unpack1_char4.
2091 * Makefile.am: Add runtime/convert_char.c.
2092 * Makefile.in: Regenerate.
2094 2008-05-17 Thomas Koenig <tkoenig@gcc.gnu.org>
2096 * io/list_read.c (list_formatted_read_scalar): Declare
2097 type as volatile to shut up compiler warning.
2099 2008-05-16 Janne Blomqvist <jb@gcc.gnu.org>
2102 * io/io.h (struct fbuf): Change pointer to position offset.
2103 * io/fbuf.c (fbuf_init): Reduce default size of buffer, ptr=>pos
2105 (fbuf_reset): ptr=>pos changes.
2106 (fbuf_alloc): If the request doesn't fit, don't waste memory by
2107 keeping flushed bytes. ptr=>pos changes.
2108 (fbuf_flush): ptr=>pos changes.
2109 (fbuf_seek): Don't seek past the left tab limit, don't update active
2111 * io/open.c (new_unit): If RECL has been specified, used that as
2112 initial buffer size.
2114 2008-05-16 Janne Blomqvist <jb@gcc.gnu.org>
2117 * io/open.c (new_unit): Set stream position to correct value.
2119 2008-05-15 Janne Blomqvist <jb@gcc.gnu.org>
2122 * Makefile.am: Add fbuf.c to gfor_io_src.
2123 * Makefile.in: Regenerate.
2124 * io/io.h (read_block): Remove.
2125 (struct stream): Remove alloc_r_at function pointer.
2127 (salloc_r_at): Remove.
2128 (salloc_w_at): Remove.
2129 (salloc_w): Remove offset argument.
2130 (struct fbuf): New struct for format buffer.
2131 (struct gfc_unit): Add fbuf.
2132 (read_block_form): New prototype.
2133 (fbuf_init): Likewise.
2134 (fbuf_destroy): Likewise.
2135 (fbuf_reset): Likewise.
2136 (fbuf_alloc): Likewise.
2137 (fbuf_flush): Likewise.
2138 (fbuf_seek): Likewise.
2139 * io/file_pos.c (formatted_backspace): Change to use sread.
2140 (unformatted_backspace): Likewise.
2141 (st_backspace): Flush format buffer.
2142 (st_rewind): Likewise.
2143 * io/list_read.c (next_char): Likewise.
2144 (nml_query): Tidying, flush format buffer.
2145 * io/open.c (new_unit): Init format buffer.
2146 * io/read.c (read_l): Change to use read_block_form.
2148 (read_decimal): Likewise.
2149 (read_radix): Likewise.
2151 (read_x): Empty reads also for stream I/O.
2152 * io/transfer.c (read_sf): Change to use sread.
2153 (read_block): Rename to read_block_form, change prototype, use sread.
2154 (read_block_direct): Don't seek stream files.
2155 (write_block): Change to use fbuf if external file, don't seek stream
2157 (write_buf): Don't seek stream files.
2158 (formatted_transfer_scalar): Use fbuf for external files.
2159 (us_read): Change to use sread.
2160 (pre_position): Do nothing for stream I/O.
2161 (data_transfer_init): Flush fbuf when switching from write to read, if
2162 POS is specified, seek stream file to correct offset.
2163 (skip_record): Change to use sread.
2164 (min_off): New function.
2165 (next_record_r): Change to use sread.
2166 (next_record_w): Change to use sset/sseek, flush fbuf.
2167 (finalize_transfer): Flush fbuf.
2168 * io/unit.c (init_units): Init fbuf for stdout, stderr.
2169 (close_unit_1): Destroy fbuf.
2170 (finish_last_advance_record): Flush fbuf, no need to seek.
2171 * io/unix.c (fd_alloc_r_at): Remove unused where argument.
2172 (fd_alloc_w_at): Likewise.
2173 (fd_read): Remove third argument to fd_alloc_r_at.
2174 (fd_write): Remove third argument to fd_alloc_w_at.
2175 (fd_sset): Likewise.
2176 (fd_open): Don't set alloc_r_at.
2177 (mem_alloc_r_at): Remove unused where argument.
2178 (mem_alloc_w_at): Likewise.
2179 (mem_read): Don't incorrectly return previous errno, remove unused
2180 third argument to alloc function.
2181 (mem_write): Likewise.
2182 (mem_set): Likewise.
2183 (open_internal): Don't set alloc_r_at pointer.
2184 * io/fbuf.c: New file.
2186 2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2188 * libgfortran.h (gfc_char4_t): New type.
2189 (GFC_SIZE_OF_CHAR_KIND): New macro.
2190 (compare_string): Adjust prototype.
2191 (compare_string_char4): New prototype.
2192 * gfortran.map (GFORTRAN_1.1): Add _gfortran_adjustl_char4,
2193 _gfortran_adjustr_char4, _gfortran_compare_string_char4,
2194 _gfortran_concat_string_char4, _gfortran_string_index_char4,
2195 _gfortran_string_len_trim_char4, _gfortran_string_minmax_char4,
2196 _gfortran_string_scan_char4, _gfortran_string_trim_char4 and
2197 _gfortran_string_verify_char4.
2198 * intrinsics/string_intrinsics_inc.c: New file from content of
2199 string_intrinsics.c with types replaced by macros.
2200 * intrinsics/string_intrinsics.c: Move content to
2201 string_intrinsics_inc.c.
2203 2008-05-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2206 * io/list_read (eat_separator): Handle the CR-LF case correctly.
2208 2008-05-09 Julian Brown <julian@codesourcery.com>
2210 * Makefile.am (LTLDFLAGS): New.
2211 (libgfortran_la_LDFLAGS): Use above.
2212 * Makefile.in: Regenerate.
2214 2008-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2217 * io/transfer.c (formatted_transfer_scalar): Revert patch for PR34974.
2218 (next_record_w): Likewise.
2220 2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
2223 * m4/ifunction_logical.m4: If the extent of "array"
2224 is less than zero, set it to zero. Use an explicit
2225 flag for breaking out of the main loop to avoid, because
2226 the data pointer for "array" may be NULL for an empty
2228 * m4/ifunction.m4: Likewise.
2229 * generated/all_l1.c: Regenerated.
2230 * generated/all_l16.c: Regenerated.
2231 * generated/all_l2.c: Regenerated.
2232 * generated/all_l4.c: Regenerated.
2233 * generated/all_l8.c: Regenerated.
2234 * generated/any_l1.c: Regenerated.
2235 * generated/any_l16.c: Regenerated.
2236 * generated/any_l2.c: Regenerated.
2237 * generated/any_l4.c: Regenerated.
2238 * generated/any_l8.c: Regenerated.
2239 * generated/count_16_l.c: Regenerated.
2240 * generated/count_1_l.c: Regenerated.
2241 * generated/count_2_l.c: Regenerated.
2242 * generated/count_4_l.c: Regenerated.
2243 * generated/count_8_l.c: Regenerated.
2244 * generated/maxloc1_16_i1.c: Regenerated.
2245 * generated/maxloc1_16_i16.c: Regenerated.
2246 * generated/maxloc1_16_i2.c: Regenerated.
2247 * generated/maxloc1_16_i4.c: Regenerated.
2248 * generated/maxloc1_16_i8.c: Regenerated.
2249 * generated/maxloc1_16_r10.c: Regenerated.
2250 * generated/maxloc1_16_r16.c: Regenerated.
2251 * generated/maxloc1_16_r4.c: Regenerated.
2252 * generated/maxloc1_16_r8.c: Regenerated.
2253 * generated/maxloc1_4_i1.c: Regenerated.
2254 * generated/maxloc1_4_i16.c: Regenerated.
2255 * generated/maxloc1_4_i2.c: Regenerated.
2256 * generated/maxloc1_4_i4.c: Regenerated.
2257 * generated/maxloc1_4_i8.c: Regenerated.
2258 * generated/maxloc1_4_r10.c: Regenerated.
2259 * generated/maxloc1_4_r16.c: Regenerated.
2260 * generated/maxloc1_4_r4.c: Regenerated.
2261 * generated/maxloc1_4_r8.c: Regenerated.
2262 * generated/maxloc1_8_i1.c: Regenerated.
2263 * generated/maxloc1_8_i16.c: Regenerated.
2264 * generated/maxloc1_8_i2.c: Regenerated.
2265 * generated/maxloc1_8_i4.c: Regenerated.
2266 * generated/maxloc1_8_i8.c: Regenerated.
2267 * generated/maxloc1_8_r10.c: Regenerated.
2268 * generated/maxloc1_8_r16.c: Regenerated.
2269 * generated/maxloc1_8_r4.c: Regenerated.
2270 * generated/maxloc1_8_r8.c: Regenerated.
2271 * generated/maxval_i1.c: Regenerated.
2272 * generated/maxval_i16.c: Regenerated.
2273 * generated/maxval_i2.c: Regenerated.
2274 * generated/maxval_i4.c: Regenerated.
2275 * generated/maxval_i8.c: Regenerated.
2276 * generated/maxval_r10.c: Regenerated.
2277 * generated/maxval_r16.c: Regenerated.
2278 * generated/maxval_r4.c: Regenerated.
2279 * generated/maxval_r8.c: Regenerated.
2280 * generated/minloc1_16_i1.c: Regenerated.
2281 * generated/minloc1_16_i16.c: Regenerated.
2282 * generated/minloc1_16_i2.c: Regenerated.
2283 * generated/minloc1_16_i4.c: Regenerated.
2284 * generated/minloc1_16_i8.c: Regenerated.
2285 * generated/minloc1_16_r10.c: Regenerated.
2286 * generated/minloc1_16_r16.c: Regenerated.
2287 * generated/minloc1_16_r4.c: Regenerated.
2288 * generated/minloc1_16_r8.c: Regenerated.
2289 * generated/minloc1_4_i1.c: Regenerated.
2290 * generated/minloc1_4_i16.c: Regenerated.
2291 * generated/minloc1_4_i2.c: Regenerated.
2292 * generated/minloc1_4_i4.c: Regenerated.
2293 * generated/minloc1_4_i8.c: Regenerated.
2294 * generated/minloc1_4_r10.c: Regenerated.
2295 * generated/minloc1_4_r16.c: Regenerated.
2296 * generated/minloc1_4_r4.c: Regenerated.
2297 * generated/minloc1_4_r8.c: Regenerated.
2298 * generated/minloc1_8_i1.c: Regenerated.
2299 * generated/minloc1_8_i16.c: Regenerated.
2300 * generated/minloc1_8_i2.c: Regenerated.
2301 * generated/minloc1_8_i4.c: Regenerated.
2302 * generated/minloc1_8_i8.c: Regenerated.
2303 * generated/minloc1_8_r10.c: Regenerated.
2304 * generated/minloc1_8_r16.c: Regenerated.
2305 * generated/minloc1_8_r4.c: Regenerated.
2306 * generated/minloc1_8_r8.c: Regenerated.
2307 * generated/minval_i1.c: Regenerated.
2308 * generated/minval_i16.c: Regenerated.
2309 * generated/minval_i2.c: Regenerated.
2310 * generated/minval_i4.c: Regenerated.
2311 * generated/minval_i8.c: Regenerated.
2312 * generated/minval_r10.c: Regenerated.
2313 * generated/minval_r16.c: Regenerated.
2314 * generated/minval_r4.c: Regenerated.
2315 * generated/minval_r8.c: Regenerated.
2316 * generated/product_c10.c: Regenerated.
2317 * generated/product_c16.c: Regenerated.
2318 * generated/product_c4.c: Regenerated.
2319 * generated/product_c8.c: Regenerated.
2320 * generated/product_i1.c: Regenerated.
2321 * generated/product_i16.c: Regenerated.
2322 * generated/product_i2.c: Regenerated.
2323 * generated/product_i4.c: Regenerated.
2324 * generated/product_i8.c: Regenerated.
2325 * generated/product_r10.c: Regenerated.
2326 * generated/product_r16.c: Regenerated.
2327 * generated/product_r4.c: Regenerated.
2328 * generated/product_r8.c: Regenerated.
2329 * generated/sum_c10.c: Regenerated.
2330 * generated/sum_c16.c: Regenerated.
2331 * generated/sum_c4.c: Regenerated.
2332 * generated/sum_c8.c: Regenerated.
2333 * generated/sum_i1.c: Regenerated.
2334 * generated/sum_i16.c: Regenerated.
2335 * generated/sum_i2.c: Regenerated.
2336 * generated/sum_i4.c: Regenerated.
2337 * generated/sum_i8.c: Regenerated.
2338 * generated/sum_r10.c: Regenerated.
2339 * generated/sum_r16.c: Regenerated.
2340 * generated/sum_r4.c: Regenerated.
2341 * generated/sum_r8.c: Regenerated.
2343 2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
2346 * intrinsics/pack_generic.c: Really commit.
2348 2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
2351 * intrinsics/pack_generic.c: If an extent of the source
2352 array is less then zero, set it to zero. Set the source
2353 pointer to NULL if the source size is zero. Set the total
2354 number of elements to zero if the vector has an extent
2355 less or equal to zero.
2356 * m4/pack.m4: Set the source pointer to NULL if the
2357 source array is zero-sized. Set the total number of
2358 elemements to zero if the vector has an extent less or
2360 * generated/pack_i1.c: Regenerated.
2361 * generated/pack_i2.c: Regenerated.
2362 * generated/pack_i4.c: Regenerated.
2363 * generated/pack_i8.c: Regenerated.
2364 * generated/pack_i16.c: Regenerated.
2365 * generated/pack_r4.c: Regenerated.
2366 * generated/pack_r8.c: Regenerated.
2367 * generated/pack_r10.c: Regenerated.
2368 * generated/pack_r16.c: Regenerated.
2369 * generated/pack_c4.c: Regenerated.
2370 * generated/pack_c8.c: Regenerated.
2371 * generated/pack_c10.c: Regenerated.
2372 * generated/pack_c16.c: Regenerated.
2374 2008-05-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2377 * runtime/error.c (show_locus): Provide modified error message when
2378 filename has not yet been associated with a unit number.
2379 * io/open.c (encoding_opt[]): Comment out "utf-8" option and add TODO.
2381 2008-04-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2383 * intrinsics/selected_char_kind.c: New file.
2384 * gfortran.map (GFORTRAN_1.1): Add _gfortran_selected_char_kind.
2385 * Makefile.am: Add intrinsics/selected_char_kind.c.
2386 * Makefile.in: Regenerate.
2388 2008-04-30 Thomas Koenig <tkoenig@gcc.gnu.org>
2391 * ifunction.m4 (SCALAR_ARRAY_FUNCTION): Use correct
2392 implementation for multi-dimensional return arrays when
2394 * generated/maxloc1_16_i1.c: Regenerated.
2395 * generated/maxloc1_16_i16.c: Regenerated.
2396 * generated/maxloc1_16_i2.c: Regenerated.
2397 * generated/maxloc1_16_i4.c: Regenerated.
2398 * generated/maxloc1_16_i8.c: Regenerated.
2399 * generated/maxloc1_16_r10.c: Regenerated.
2400 * generated/maxloc1_16_r16.c: Regenerated.
2401 * generated/maxloc1_16_r4.c: Regenerated.
2402 * generated/maxloc1_16_r8.c: Regenerated.
2403 * generated/maxloc1_4_i1.c: Regenerated.
2404 * generated/maxloc1_4_i16.c: Regenerated.
2405 * generated/maxloc1_4_i2.c: Regenerated.
2406 * generated/maxloc1_4_i4.c: Regenerated.
2407 * generated/maxloc1_4_i8.c: Regenerated.
2408 * generated/maxloc1_4_r10.c: Regenerated.
2409 * generated/maxloc1_4_r16.c: Regenerated.
2410 * generated/maxloc1_4_r4.c: Regenerated.
2411 * generated/maxloc1_4_r8.c: Regenerated.
2412 * generated/maxloc1_8_i1.c: Regenerated.
2413 * generated/maxloc1_8_i16.c: Regenerated.
2414 * generated/maxloc1_8_i2.c: Regenerated.
2415 * generated/maxloc1_8_i4.c: Regenerated.
2416 * generated/maxloc1_8_i8.c: Regenerated.
2417 * generated/maxloc1_8_r10.c: Regenerated.
2418 * generated/maxloc1_8_r16.c: Regenerated.
2419 * generated/maxloc1_8_r4.c: Regenerated.
2420 * generated/maxloc1_8_r8.c: Regenerated.
2421 * generated/maxval_i1.c: Regenerated.
2422 * generated/maxval_i16.c: Regenerated.
2423 * generated/maxval_i2.c: Regenerated.
2424 * generated/maxval_i4.c: Regenerated.
2425 * generated/maxval_i8.c: Regenerated.
2426 * generated/maxval_r10.c: Regenerated.
2427 * generated/maxval_r16.c: Regenerated.
2428 * generated/maxval_r4.c: Regenerated.
2429 * generated/maxval_r8.c: Regenerated.
2430 * generated/minloc1_16_i1.c: Regenerated.
2431 * generated/minloc1_16_i16.c: Regenerated.
2432 * generated/minloc1_16_i2.c: Regenerated.
2433 * generated/minloc1_16_i4.c: Regenerated.
2434 * generated/minloc1_16_i8.c: Regenerated.
2435 * generated/minloc1_16_r10.c: Regenerated.
2436 * generated/minloc1_16_r16.c: Regenerated.
2437 * generated/minloc1_16_r4.c: Regenerated.
2438 * generated/minloc1_16_r8.c: Regenerated.
2439 * generated/minloc1_4_i1.c: Regenerated.
2440 * generated/minloc1_4_i16.c: Regenerated.
2441 * generated/minloc1_4_i2.c: Regenerated.
2442 * generated/minloc1_4_i4.c: Regenerated.
2443 * generated/minloc1_4_i8.c: Regenerated.
2444 * generated/minloc1_4_r10.c: Regenerated.
2445 * generated/minloc1_4_r16.c: Regenerated.
2446 * generated/minloc1_4_r4.c: Regenerated.
2447 * generated/minloc1_4_r8.c: Regenerated.
2448 * generated/minloc1_8_i1.c: Regenerated.
2449 * generated/minloc1_8_i16.c: Regenerated.
2450 * generated/minloc1_8_i2.c: Regenerated.
2451 * generated/minloc1_8_i4.c: Regenerated.
2452 * generated/minloc1_8_i8.c: Regenerated.
2453 * generated/minloc1_8_r10.c: Regenerated.
2454 * generated/minloc1_8_r16.c: Regenerated.
2455 * generated/minloc1_8_r4.c: Regenerated.
2456 * generated/minloc1_8_r8.c: Regenerated.
2457 * generated/minval_i1.c: Regenerated.
2458 * generated/minval_i16.c: Regenerated.
2459 * generated/minval_i2.c: Regenerated.
2460 * generated/minval_i4.c: Regenerated.
2461 * generated/minval_i8.c: Regenerated.
2462 * generated/minval_r10.c: Regenerated.
2463 * generated/minval_r16.c: Regenerated.
2464 * generated/minval_r4.c: Regenerated.
2465 * generated/minval_r8.c: Regenerated.
2466 * generated/product_c10.c: Regenerated.
2467 * generated/product_c16.c: Regenerated.
2468 * generated/product_c4.c: Regenerated.
2469 * generated/product_c8.c: Regenerated.
2470 * generated/product_i1.c: Regenerated.
2471 * generated/product_i16.c: Regenerated.
2472 * generated/product_i2.c: Regenerated.
2473 * generated/product_i4.c: Regenerated.
2474 * generated/product_i8.c: Regenerated.
2475 * generated/product_r10.c: Regenerated.
2476 * generated/product_r16.c: Regenerated.
2477 * generated/product_r4.c: Regenerated.
2478 * generated/product_r8.c: Regenerated.
2479 * generated/sum_c10.c: Regenerated.
2480 * generated/sum_c16.c: Regenerated.
2481 * generated/sum_c4.c: Regenerated.
2482 * generated/sum_c8.c: Regenerated.
2483 * generated/sum_i1.c: Regenerated.
2484 * generated/sum_i16.c: Regenerated.
2485 * generated/sum_i2.c: Regenerated.
2486 * generated/sum_i4.c: Regenerated.
2487 * generated/sum_i8.c: Regenerated.
2488 * generated/sum_r10.c: Regenerated.
2489 * generated/sum_r16.c: Regenerated.
2490 * generated/sum_r4.c: Regenerated.
2491 * generated/sum_r8.c: Regenerated.
2493 2008-04-25 Thomas Koenig <tkoenig@gcc.gnu.org>
2496 * m4/reshape.m4: Fix typo in last commit.
2497 * generated/reshape_i4.c: Regererated.
2498 * generated/reshape_i8.c: Regenerated.
2499 * generated/reshape_i16.c: Regenerated.
2500 * generated/reshape_r4.c: Regenerated.
2501 * generated/reshape_r8.c: Regenerated.
2502 * generated/reshape_r10.c: Regenerated.
2503 * generated/reshape_r16.c: Regenerated.
2504 * generated/reshape_c4.c: Regenerated.
2505 * generated/reshape_c8.c: Regenerated.
2506 * generated/reshape_c10.c: Regenerated.
2507 * generated/reshape_c16.c: Regenerated.
2509 2008-04-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2511 * intrinsics/time_1.h (__time_1): Remove unused variable.
2513 2008-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
2516 * m4/matmul.m4: Only issue a runtime error if extents are
2518 * generated/matmul_i1.c: Regenerated.
2519 * generated/matmul_i2.c: Regenerated.
2520 * generated/matmul_i4.c: Regenerated.
2521 * generated/matmul_i8.c: Regenerated.
2522 * generated/matmul_i16.c: Regenerated.
2523 * generated/matmul_r4.c: Regenerated.
2524 * generated/matmul_r8.c: Regenerated.
2525 * generated/matmul_r10.c: Regenerated.
2526 * generated/matmul_r16.c: Regenerated.
2527 * generated/matmul_c4.c: Regenerated.
2528 * generated/matmul_c8.c: Regenerated.
2529 * generated/matmul_c10.c: Regenerated.
2530 * generated/matmul_c16.c: Regenerated.
2532 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2534 * acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY)
2535 (LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT)
2536 (LIBGFOR_CHECK_ATTRIBUTE_ALIAS, LIBGFOR_CHECK_SYNC_FETCH_AND_ADD)
2537 (LIBGFOR_GTHREAD_WEAK, LIBGFOR_CHECK_UNLINK_OPEN_FILE)
2538 (LIBGFOR_CHECK_CRLF, LIBGFOR_CHECK_FOR_BROKEN_ISFINITE)
2539 (LIBGFOR_CHECK_FOR_BROKEN_ISNAN)
2540 (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY, LIBGFOR_CHECK_WORKING_STAT)
2541 (LIBGFOR_CHECK_FPSETMASK, LIBGFOR_CHECK_MINGW_SNPRINTF):
2542 Fix cache variable names.
2543 * configure, Makefile.in: Regenerate.
2545 2008-04-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2548 * intrinsics/cshift0.c (cshift0): Avoid divide by zero.
2550 2008-04-20 Thomas Koenig <tkoenig@gcc.gnu.org>
2553 * intrinsics/reshape_generic.c (reshape_internal): If the size
2554 of the resized array is zero, as determined by the SHAPE
2555 argument, return early.
2556 * m4/reshape.m4: Likewise.
2557 * generated/reshape_i4.c: Regererated.
2558 * generated/reshape_i8.c: Regenerated.
2559 * generated/reshape_i16.c: Regenerated.
2560 * generated/reshape_r4.c: Regenerated.
2561 * generated/reshape_r8.c: Regenerated.
2562 * generated/reshape_r10.c: Regenerated.
2563 * generated/reshape_r16.c: Regenerated.
2564 * generated/reshape_c4.c: Regenerated.
2565 * generated/reshape_c8.c: Regenerated.
2566 * generated/reshape_c10.c: Regenerated.
2567 * generated/reshape_c16.c: Regenerated.
2569 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
2572 * aclocal.m4: Regenerate.
2573 * configure: Regenerate.
2575 2008-04-14 Thomas Koenig <tkoenig@gcc.gnu.org>
2578 * intrinsics/spread_generic.c (spread): Use spread_i2()
2579 for GFC_DTYPE_DERIVED_2 (fix typo from previous commit).
2581 2008-04-13 Thomas Koenig <tkoenig@gcc.gnu.org>
2582 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2586 configure.ac: Add test for uintptr_t.
2587 configure: Regenerated.
2588 config.h.in: Regenerated.
2589 * libgfortran.h: GFC_DTYPE_DERIVED_1: New macro.
2590 GFC_DTYPE_DERIVED_2: New macro.
2591 GFC_DTYPE_DERIVED_4: New macro.
2592 GFC_DTYPE_DERIVED_8: New macro.
2593 GFC_DTYPE_DERIVED_16: New macro.
2594 GFC_UNALIGNED_2: New macro.
2595 GFC_UNALIGNED_4: New macro.
2596 GFC_UNALIGNED_8: New macro.
2597 GFC_UNALIGNED_16: New macro.
2598 intptr_t: Define if we don't have it.
2599 uintptr_t: Likewise.
2600 * runtime/backtrace.c (show_backtrace): Use intptr_t.
2601 * intrinsics/signal.c (signal_sub): Likewise.
2602 (signal_sub_int): Likewise.
2603 (alarm_sub_int_i4): Likewise.
2604 * intrinsics/spread_generic.c (spread): Use the integer
2605 routines for handling derived types of sizes 1, 2, 4, 8 and 16
2606 if the alignment of all pointers is correct.
2607 (spread_scalar): Likewise.
2608 * intrinsics/pack_generic.c (pack): Likewise.
2609 Use GFD_DTYPE_TYPE_SIZE to avoid nested switch statements.
2610 * intrinsics/unpack_generic.c (unpack1): Likewise.
2611 (unpack0): Likewise.
2612 * runtime/in_pack_generic.c (internal_pack): Likewise.
2613 * runtime/in_unpack_generic.c (internal_unpack): Likewise.
2615 2008-04-09 Jakub Jelinek <jakub@redhat.com>
2617 * io/list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
2618 (nml_read_obj): Add nml_err_msg_size argument. Pass it down to
2619 recursive call. Use snprintf instead of sprintf when %s nl->var_name
2621 (nml_get_obj_data): Add nml_err_msg_size argument. Pass it down to
2622 nml_read_obj call. Use snprintf instead of sprintf when %s
2623 nl->var_name is used. Pass nml_err_msg to nml_parse_qualifier instead
2624 of parse_err_msg array. Append " for namelist variable " and
2626 (namelist_read): Increase size of nml_err_msg array to 200. Pass
2627 sizeof nml_err_msg as extra argument to nml_get_obj_data.
2629 2008-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2631 PR fortran/25829 28655
2632 * io/open.c (edit_modes): Set flags.async. (new_unit) Set flags.async
2633 and flags.status. (st_open): Initialize flags.async.
2634 * io/list_read.c (read_charactor): Use delim_status instead of
2636 * io/read.c (read_x): Use pad_status instead of flags.pad.
2637 * io/inquire.c (inquire_via_unit): Add new checks.
2638 (inquire_via_filename): Likewise.
2639 * io/io.h (st_parameter_inquire): Add new flags.
2640 (st_parameter_dt): Likewise.
2641 * io/unit.c (get_internal_unit): Set flags.async. (init_units): Set
2643 * io/transfer.c: Add delim and pad option arrays. (read_sf): Use
2644 pad_status instead of flags.pad. (read_block): Likewise.
2645 (data_transfer_init): Set flags.async and add checks.
2646 * io/write.c (write_character): Use delim_status.
2647 (list_formatted_write_scalar): Likewise. (nml_write_obj): Likewise.
2648 (namelist_write): Likewise.
2650 2008-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2652 PR fortran/25829 28655
2653 * gfortran.map: Add new symbol, _gfortran_st_wait.
2654 * libgfortran.h (st_paramter_common): Add new I/O parameters.
2655 * open.c (st_option decimal_opt[], st_option encoding_opt[],
2656 st_option round_opt[], st_option sign_opt[], st_option async_opt[]): New
2657 parameter option arrays. (edit_modes): Add checks for new parameters.
2658 (new_unit): Likewise. (st_open): Likewise.
2659 * list_read.c (CASE_SEPERATORS): Add ';' as a valid separator.
2660 (eat_separator): Handle deimal comma. (read_logical): Fix whitespace.
2661 (parse_real): Handle decimal comma. (read_real): Handle decimal comma.
2662 * read.c (read_a): Use decimal status flag to allow comma in place of a
2663 decimal point. (read_f): Allow comma as acceptable character in float.
2664 According to decimal flag, substitute a period for a comma.
2665 (read_x): If decimal status flag is comma, disable the read_comma flag,
2666 not allowing comma as a delimiter, an extension otherwise.
2667 * io.h: (unit_decimal, unit_encoding, unit_round, unit_sign,
2668 unit_async): New enumerators. Add all new I/O parameters.
2669 * unix.c (unix_stream, int_stream): Add io_mode asychronous I/O control.
2670 (move_pos_offset, fd_alloc_w_at): Fix some whitespace.
2671 (fd_sfree): Use new enumerator. (fd_read): Likewise.
2672 (fd_write): Likewise. (fd_close): Fix whitespace.
2673 (fd_open): Use new enumertors. (tempfile, regular_file,
2674 open_external): Fix whitespace. (output_stream, error_stream): Set
2675 method. (stream_offset): Fix whitespace.
2676 * transfer.c: (st_option decimal_opt[], sign_opt[], blank_opt[]): New
2677 option arrays. (formatted_transfer_scalar): Set sf_read_comma flag
2678 based on new decimal_status flag. (data_transfer_init): Initialize new
2679 parameters. Add checks for decimal, sign, and blank. (st_wait): New stub.
2680 * format.c: (format_lex): Add format specifiers DP, DC, and D.
2681 (parse_format_list): Parse the new specifiers.
2682 * write.c (write_decimal): Use new sign enumerators to set the sign.
2683 (write_complex): Handle decimal comma and semi-colon separator.
2684 (nml_write_obj): Likewise.
2685 * write_float.def: Revise sign enumerators. (calculate_sign): Use new
2686 sign enumerators. (output_float): Likewise. Use new decimal_status flag
2687 to set the decimal character to a point or a comma.
2689 2008-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
2693 * Makefile.am: Add new variable, i_spread_c, containing
2694 pack_i1.c, pack_i2.c, pack_i4.c, pack_i8.c, spread_i16.c,
2695 spread_r4.c, spread_r8.c, spread_r10.c, spread_r16.c,
2696 spread_c4.c, spread_c8.c, spread_c10.c, spread_c16.c.
2697 * Makefile.in: Regenerated.
2698 * libgfortran.h: Add prototypes for spread_i1, spread_i2,
2699 spread_i4, spread_i8, spread_i16, spread_r4, spread_r8,
2700 spread_c4, spread_c8, spread_c10, spread_c16,
2701 spread_scalar_i1, spread_scalar_i2, spread_scalar_i4,
2702 spread_scalar_i8, spread_scalar_i16, spread_scalar_r4
2703 spread_scalar_r8, spread_scalar_c4, spread_scalar_c8,
2704 spread_scalar_c10 and spread_scalar_c16.
2705 Add macros to isolate both type and size information
2706 from array descriptors with a single mask operation.
2707 * intrinsics/spread_generic.c: Add calls to specific
2709 * m4/spread.m4: New file.
2710 * generated/spread_i1.c: New file.
2711 * generated/spread_i2.c: New file.
2712 * generated/spread_i4.c: New file.
2713 * generated/spread_i8.c: New file.
2714 * generated/spread_i16.c: New file.
2715 * generated/spread_r4.c: New file.
2716 * generated/spread_r8.c: New file.
2717 * generated/spread_r10.c: New file.
2718 * generated/spread_r16.c: New file.
2719 * generated/spread_c4.c: New file.
2720 * generated/spread_c8.c: New file.
2721 * generated/spread_c10.c: New file.
2722 * generated/spread_c16.c: New file.
2724 2008-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2727 * io/transfer.c (write_buf): Don't pad the record, just return if the
2728 data is NULL. (next_record_w): If there are bytes left in the record
2729 for unformatted direct I/O, pad out the record with zero bytes.
2731 2008-03-28 Tobias Burnus <burnus@net-b.de>
2734 * intrinsics/associated.c (associated): Ignore different
2735 stride of pointer vs. target if only one element is referred.
2737 2008-03-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2739 * io/unix.c (fd_close): Do not close STDIN.
2741 2007-03-23 Thomas Koenig <tkoenig@gcc.gnu.org
2744 * Makefile.am: Add new variable, i_unpack_c, containing
2745 unpack_i1.c, unpack_i2.c, unpack_i4.c, unpack_i8.c,
2746 unpack_i16.c, unpack_r4.c, unpack_r8.c, unpack_r10.c,
2747 unpack_r16.c, unpack_c4.c, unpack_c8.c, unpack_c10.c
2749 Add i_unpack_c to gfor_built_src.
2750 Add rule to generate i_unpack_c from m4/unpack.m4.
2751 * Makefile.in: Regenerated.
2752 * libgfortran.h: Add prototypes for unpack0_i1, unpack0_i2,
2753 unpack0_i4, unpack0_i8, unpack0_i16, unpack0_r4, unpack0_r8,
2754 unpack0_r10, unpack0_r16, unpack0_c4, unpack0_c8, unpack0_c10,
2755 unpack0_c16, unpack1_i1, unpack1_i2, unpack1_i4, unpack1_i8,
2756 unpack1_i16, unpack1_r4, unpack1_r8, unpack1_r10, unpack1_r16,
2757 unpack1_c4, unpack1_c8, unpack1_c10 and unpack1_c16.
2758 * intrinsics/pack_generic.c (unpack1): Add calls to specific
2760 (unpack0): Add calls to specific unpack0 functions.
2761 * m4/unpack.m4: New file.
2762 * generated/unpack_i1.c: New file.
2763 * generated/unpack_i2.c: New file.
2764 * generated/unpack_i4.c: New file.
2765 * generated/unpack_i8.c: New file.
2766 * generated/unpack_i16.c: New file.
2767 * generated/unpack_r4.c: New file.
2768 * generated/unpack_r8.c: New file.
2769 * generated/unpack_r10.c: New file.
2770 * generated/unpack_r16.c: New file.
2771 * generated/unpack_c4.c: New file.
2772 * generated/unpack_c8.c: New file.
2773 * generated/unpack_c10.c: New file.
2774 * generated/unpack_c16.c: New file.
2776 2008-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2779 * io/transfer.c (data_transfer_init): Fix whitespace.
2780 (next_record_w): Truncate the file only if the stream
2781 position is short of the file end.
2783 2008-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2785 * intrinsics/pack_generic.c: Fix typo.
2787 2008-03-21 Janne Blomqvist <jb@gcc.gnu.org>
2789 * gfortran.map: Move erfc_scaled symbols to new symbol node
2790 GFORTRAN_1.1, thereby fixing ABI bug introduced in r132846.
2792 2008-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
2795 * runtime/in_pack_generic.c (internal_pack): Call correct
2796 function, pack_i16, for GFC_INTEGER_16.
2798 2008-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
2801 * Makefile.am: Add new variable, i_pack_c, containing
2802 pack_i1.c, pack_i2.c, pack_i4.c, pack_i8.c, pack_i16.c,
2803 pack_r4.c, pack_r8.c, pack_r10.c, pack_r16.c, pack_c4.c,
2804 pack_c8.c, pack_c10.c, pack_c16.c.
2805 Add m4/pack.m4 to m4_files.
2806 Add i_pack_c to gfor_built_src.
2807 Add rule to generate i_pack_c from m4/pack.m4.
2808 * Makefile.in: Regenerated.
2809 * libgfortran.h: Add prototypes for pack_i1, pack_i2, pack_i4,
2810 pack_i8, pack_i16, pack_r4, pack_r8, pack_c4, pack_c8,
2812 * intrinsics/pack_generic.c: Add calls to specific
2814 * m4/pack.m4: New file.
2815 * generated/pack_i1.c: New file.
2816 * generated/pack_i2.c: New file.
2817 * generated/pack_i4.c: New file.
2818 * generated/pack_i8.c: New file.
2819 * generated/pack_i16.c: New file.
2820 * generated/pack_r4.c: New file.
2821 * generated/pack_r8.c: New file.
2822 * generated/pack_r10.c: New file.
2823 * generated/pack_r16.c: New file.
2824 * generated/pack_c4.c: New file.
2825 * generated/pack_c8.c: New file.
2826 * generated/pack_c10.c: New file.
2827 * generated/pack_c16.c: New file.
2829 2008-03-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2832 * io/list_read.c (free_line): Clear the line buffer enable flag and
2833 reset the index into line_buffer, aka item_count.
2834 (next_char): Cleanup whitespace.
2835 (read_logical): Use unget_char to assure that the first character of the
2836 bad logical is saved in case it is part of an object name. Remove the
2837 clearing of index and flag that is now in free_line.
2838 (read_real): Likewise.
2840 2008-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
2843 * runtime/in_pack_generic.c (internal_pack): Fix typo in
2846 2008-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
2849 * Makefile.am (in_pack_c): Add in_pack_i1.c, in_pack_i2.c,
2850 in_pack_r4.c, in_pack_r8.c, in_pack_r10.c and in_pack_r16.c.
2851 (in_unpack_c): Add in_unpack_i1.c, in_unpack_i2.c,
2852 in_unpack_r4.c, in_unpack_r8.c, in_unpack_r10.c and
2854 * Makefile.in: Regenerate.
2855 * libgfortran.h: Add prototypes for internal_pack_1,
2856 internal_pack_2, internal_pack_16, internal_pack_r4,
2857 internal_pack_r8, internal_pack_r10, internal_pack_r16,
2858 internal_pack_c10 and internal_pack_c16. Add prototypes for
2859 internal_unpack_1, internal_unpack_2, internal_unpack_16,
2860 internal_unpack_r4, internal_unpack_r8, internal_unpack_r10,
2861 internal_unpack_r16, internal_unpack_c10 and
2862 internal_unpack_c16.
2863 * runtime/in_pack_generic.c (internal_pack): Use sizeof instead
2865 Add calls to internal_pack_1, internal_pack_2,
2866 internal_pack_16, internal_pack_r4, internal_pack_r8,
2867 internal_pack_r10, internal_pack_r16, internal_pack_c10 and
2869 * runtime/in_unpack_generic.c (internal_unpack): Use sizeof
2870 instead of hardwired sizes.
2871 Add calls to internal_unpack_1, internal_unpack_2,
2872 internal_unpack_16, internal_unpack_r4, internal_unpack_r8,
2873 internal_unpack_r10, internal_unpack_r16, internal_unpack_c10
2874 and internal_unpack_c16.
2875 * generated/in_pack_r4.c: New file.
2876 * generated/in_pack_i2.c: New file.
2877 * generated/in_unpack_i1.c: New file.
2878 * generated/in_pack_r10.c: New file.
2879 * generated/in_unpack_r4.c: New file.
2880 * generated/in_unpack_i2.c: New file.
2881 * generated/in_unpack_r16.c: New file.
2882 * generated/in_pack_r8.c: New file.
2883 * generated/in_unpack_r10.c: New file.
2884 * generated/in_unpack_r8.c: New file.
2885 * generated/in_pack_r16.c: New file.
2886 * generated/in_pack_i1.c: New file.
2888 2008-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2891 * io/list_read.c (eat_separator): If next character after eatline is '!'
2894 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2896 * aclocal.m4: Regenerate.
2897 * configure: Likewise.
2898 * Makefile.in: Likewise.
2900 2008-03-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2903 * intrinsics/erfc_scaled_inc.c: Only define the long double
2904 variant of erfc_scaled if expl is available.
2906 2008-03-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2909 * intrinsics/random.c (scramble_seed, unscramble_seed): New
2911 (random_seed_i4): Scramble the seed the user gives us before
2912 storing it, and unscramble it when we return it back later.
2914 2008-03-05 Hans-Peter Nilsson <hp@axis.com>
2917 * io/unix.c (fd_truncate): Fold s->special_file case into
2918 success case of ftruncate/chsize call instead of the failure case.
2919 Make failure case actually return failure. Properly update stream
2920 pointers on failure. Call runtime_error for targets without
2921 neither ftruncate nor chsize where such a call would be needed.
2923 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2926 * intrinsics/erfc_scaled_inc.c: New file.
2927 * intrinsics/erfc_scaled.c: New file.
2928 * gfortran.map (GFORTRAN_1.0): Add _gfortran_erfc_scaled_r*.
2929 * Makefile.am: Add intrinsics/erfc_scaled.c.
2930 * config.h.in: Regenerate.
2931 * configure: Regenerate.
2932 * Makefile.in: Regenerate.
2934 2008-03-01 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2937 * intrinsics/time_1.h (__time_1): Fix calculation of user_usec
2940 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
2943 * io/unit.c (destroy_unit_mutex): Call __gthread_mutex_destroy
2944 instead of macro kludge.
2946 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
2949 * Makefile.am: Add -fcx-fortran-rules to AM_CFLAGS for all of
2951 * Makefile.in: Regenerated.
2953 2008-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2955 * m4/ifunction_logical.m4: Add casts to get rid of warnings.
2956 * generated/all_l1.c: Regenerate.
2957 * generated/all_l2.c: Regenerate.
2958 * generated/all_l4.c: Regenerate.
2959 * generated/all_l8.c: Regenerate.
2960 * generated/all_l16.c: Regenerate.
2961 * generated/any_l1.c: Regenerate.
2962 * generated/any_l2.c: Regenerate.
2963 * generated/any_l4.c: Regenerate.
2964 * generated/any_l8.c: Regenerate.
2965 * generated/any_l16.c: Regenerate.
2966 * generated/count_1_l.c: Regenerate.
2967 * generated/count_2_l.c: Regenerate.
2968 * generated/count_4_l.c: Regenerate.
2969 * generated/count_8_l.c: Regenerate.
2970 * generated/count_16_l.c: Regenerate.
2972 2008-02-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
2975 * acinclude.m4: Don't use HAVE_MATH_H.
2976 * configure: Regenerate.
2978 2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2981 * io/transfer.c (next_record_w): Truncate after the last record for
2985 * io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.
2988 * io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
2989 is less than zero. (next_record_w): Use sseek to position the file to
2990 the max position reached.
2992 2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2995 * write_float.def (output_float): Add error checks for zero digits
2996 after decimal point in E and D format specifiers.
2998 2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
3001 * io/unit.c (destroy_unit_mutex): New function that uses
3002 __gthread_mutex_destroy_function or pthread_mutex_destroy after
3003 unlocking and before free_mem for final closure of I/O unit.
3004 (delete_root): Use new function.
3005 (free_internal_unit): Likewise.
3006 (close_unit_1): Likewise.
3008 2008-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
3011 * m4/shape.m4: Return 0 for extents <= 0.
3012 * generated/shape_i4.c: Regenerated.
3013 * generated/shape_i8.c: Regenerated.
3014 * generated/shape_i16.c: Regenerated.
3016 2008-01-27 Thomas Koenig <tkoenig@gcc.gnu.org>
3019 * m4/shape.m4: If return array is empty, return early.
3020 * generated/shape_i4.c: Regenerated.
3021 * generated/shape_i8.c: Regenerated.
3022 * generated/shape_i16.c: Regenerated.
3024 2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org>
3026 PR libfofortran/34887
3027 * io/transfer.c (next_record_w): Always move to the farthest
3028 position when completing the record (also when we are
3029 processing a slash edit descriptor).
3031 2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
3034 * io/transfer.c (write_buf): Handle case of zero sized array.
3035 (transfer_array): Set data pointer to NULL and size to zero. Then
3036 make a data transfer and return.
3038 2008-01-24 David Edelsohn <edelsohn@gnu.org>
3040 * configure: Regenerate.
3042 2008-01-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
3045 * io/inquire.c (inquire_via_unit): If a unit is opened, return values
3046 according to the open action for DIRECT, FORMATTED, and UNFORMATTED.
3047 (inquire_via_filename): Return "UNKNOWN" for SEQUENTIAL, DIRECT,
3048 FORAMATTED, and UNFORMATTED inquiries.
3049 * io/unix.c (inquire_sequential): Return "UNKNOWN" when appropriate
3050 for files that are not opened. (inquire_direct): Same.
3051 (inquire_formatted): Same.
3053 2008-01-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
3056 * io/transfer.c (formatted_transfer_scalar): Set max_pos to the greater
3057 of the current max_pos or the newly calculated position.
3059 2008-01-18 Tobias Burnus <burnus@net-b.de>
3061 * io/write.c (write_real): Increase default precision
3062 for REAL(16) by one.
3064 2008-01-16 Steven Bosscher <steven@gcc.gnu.org>
3067 * mk-kinds-h.sh: Compile with -S to avoid calling the assembler,
3068 to avoid piping the -fdump-parse-tree output to the assembler
3069 when configuring with -pipe.
3070 * mk-sik-inc.sh: Likewise.
3071 * mk-srk-inc.sh: Likewise.
3073 2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
3076 * gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
3077 _gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
3078 _gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
3079 _gfortran_count_8_l Removed _gfortran_count_16_l16,
3080 _gfortran_count_16_l4, _gfortran_count_16_l8,
3081 _gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
3082 _gfortran_count_8_l16, _gfortran_count_8_l4 and
3083 _gfortran_count_8_l8.
3084 * Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
3085 i_any_c. Added generated/all_l1. and generated/all_l2.c to
3086 i_all_c. Removed generated/count_4_l4.c, generated/count_8_l4.c,
3087 generated/count_16_l4.c, generated/count_4_l8.c,
3088 generated/count_8_l8.c, generated/count_16_l8.c,
3089 generated/count_4_l16.c, generated/count_8_l16.c, and
3090 generated/count_16_l16.c from i_count_c. Added count_1_l.c,
3091 count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
3092 i_count_c. I_M4_DEPS2 depends on ifunction_logical.m4, for
3093 any of the files generated from all.m4, any.m4 and count.m4.
3094 * Makefile.in: Regenerated.
3095 * m4/ifunction_logical.m4: New file. Use
3096 GFC_LOGICAL_1 pointer for access to source arrays.
3097 * m4/any.m4: Include ifunction_logical.m4 instead of
3098 ifunction.m4. Don't check atype_name.
3099 * m4/all.m4: Likewise.
3100 * m4/count.m4: Likewise.
3101 * generated/any_l1.c: New file.
3102 * generated/any_l2.c: New file.
3103 * generated/all_l1.c: New file.
3104 * generated/count_1_l.c: New file.
3105 * generated/count_2_l.c: New file.
3106 * generated/count_4_l.c: New file.
3107 * generated/count_8_l.c: New file.
3108 * generated/count_16_l.c: New file.
3109 * generated/any_l4.c: Regenerated.
3110 * generated/any_l8.c: Regenerated.
3111 * generated/any_l16.c: Regenerated.
3112 * generated/all_l4.c: Regenerated.
3113 * generated/all_l8.c: Regenerated.
3114 * generated/all_l16.c: Regenerated.
3115 * generated/count_4_l4.c: Removed.
3116 * generated/count_4_l8.c: Removed.
3117 * generated/count_4_l16.c: Removed.
3118 * generated/count_8_l4.c: Removed.
3119 * generated/count_8_l8.c: Removed.
3120 * generated/count_8_l16.c: Removed.
3121 * generated/count_16_l4.c: Removed.
3122 * generated/count_16_l8.c: Removed.
3123 * generated/count_16_l16.c: Removed.
3125 2008-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
3128 * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Use %ld
3129 in printf format for all bounds checking; cast all
3130 integer-like arguments to runtime_error() to long int.
3131 (`m'name`'rtype_qual`_'atype_code): Likewise.
3132 (`s'name`'rtype_qual`_'atype_code): Likewise.
3133 * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Likewise.
3134 (`m'name`'rtype_qual`_'atype_code): Likewise.
3135 (`s'name`'rtype_qual`_'atype_code): Likewise.
3136 * generated/all_l16.c: Regenerated.
3137 * generated/all_l4.c: Regenerated.
3138 * generated/all_l8.c: Regenerated.
3139 * generated/any_l16.c: Regenerated.
3140 * generated/any_l4.c: Regenerated.
3141 * generated/any_l8.c: Regenerated.
3142 * generated/count_16_l16.c: Regenerated.
3143 * generated/count_16_l4.c: Regenerated.
3144 * generated/count_16_l8.c: Regenerated.
3145 * generated/count_4_l16.c: Regenerated.
3146 * generated/count_4_l4.c: Regenerated.
3147 * generated/count_4_l8.c: Regenerated.
3148 * generated/count_8_l16.c: Regenerated.
3149 * generated/count_8_l4.c: Regenerated.
3150 * generated/count_8_l8.c: Regenerated.
3151 * generated/maxloc0_16_i1.c: Regenerated.
3152 * generated/maxloc0_16_i16.c: Regenerated.
3153 * generated/maxloc0_16_i2.c: Regenerated.
3154 * generated/maxloc0_16_i4.c: Regenerated.
3155 * generated/maxloc0_16_i8.c: Regenerated.
3156 * generated/maxloc0_16_r10.c: Regenerated.
3157 * generated/maxloc0_16_r16.c: Regenerated.
3158 * generated/maxloc0_16_r4.c: Regenerated.
3159 * generated/maxloc0_16_r8.c: Regenerated.
3160 * generated/maxloc0_4_i1.c: Regenerated.
3161 * generated/maxloc0_4_i16.c: Regenerated.
3162 * generated/maxloc0_4_i2.c: Regenerated.
3163 * generated/maxloc0_4_i4.c: Regenerated.
3164 * generated/maxloc0_4_i8.c: Regenerated.
3165 * generated/maxloc0_4_r10.c: Regenerated.
3166 * generated/maxloc0_4_r16.c: Regenerated.
3167 * generated/maxloc0_4_r4.c: Regenerated.
3168 * generated/maxloc0_4_r8.c: Regenerated.
3169 * generated/maxloc0_8_i1.c: Regenerated.
3170 * generated/maxloc0_8_i16.c: Regenerated.
3171 * generated/maxloc0_8_i2.c: Regenerated.
3172 * generated/maxloc0_8_i4.c: Regenerated.
3173 * generated/maxloc0_8_i8.c: Regenerated.
3174 * generated/maxloc0_8_r10.c: Regenerated.
3175 * generated/maxloc0_8_r16.c: Regenerated.
3176 * generated/maxloc0_8_r4.c: Regenerated.
3177 * generated/maxloc0_8_r8.c: Regenerated.
3178 * generated/maxloc1_16_i1.c: Regenerated.
3179 * generated/maxloc1_16_i16.c: Regenerated.
3180 * generated/maxloc1_16_i2.c: Regenerated.
3181 * generated/maxloc1_16_i4.c: Regenerated.
3182 * generated/maxloc1_16_i8.c: Regenerated.
3183 * generated/maxloc1_16_r10.c: Regenerated.
3184 * generated/maxloc1_16_r16.c: Regenerated.
3185 * generated/maxloc1_16_r4.c: Regenerated.
3186 * generated/maxloc1_16_r8.c: Regenerated.
3187 * generated/maxloc1_4_i1.c: Regenerated.
3188 * generated/maxloc1_4_i16.c: Regenerated.
3189 * generated/maxloc1_4_i2.c: Regenerated.
3190 * generated/maxloc1_4_i4.c: Regenerated.
3191 * generated/maxloc1_4_i8.c: Regenerated.
3192 * generated/maxloc1_4_r10.c: Regenerated.
3193 * generated/maxloc1_4_r16.c: Regenerated.
3194 * generated/maxloc1_4_r4.c: Regenerated.
3195 * generated/maxloc1_4_r8.c: Regenerated.
3196 * generated/maxloc1_8_i1.c: Regenerated.
3197 * generated/maxloc1_8_i16.c: Regenerated.
3198 * generated/maxloc1_8_i2.c: Regenerated.
3199 * generated/maxloc1_8_i4.c: Regenerated.
3200 * generated/maxloc1_8_i8.c: Regenerated.
3201 * generated/maxloc1_8_r10.c: Regenerated.
3202 * generated/maxloc1_8_r16.c: Regenerated.
3203 * generated/maxloc1_8_r4.c: Regenerated.
3204 * generated/maxloc1_8_r8.c: Regenerated.
3205 * generated/maxval_i1.c: Regenerated.
3206 * generated/maxval_i16.c: Regenerated.
3207 * generated/maxval_i2.c: Regenerated.
3208 * generated/maxval_i4.c: Regenerated.
3209 * generated/maxval_i8.c: Regenerated.
3210 * generated/maxval_r10.c: Regenerated.
3211 * generated/maxval_r16.c: Regenerated.
3212 * generated/maxval_r4.c: Regenerated.
3213 * generated/maxval_r8.c: Regenerated.
3214 * generated/minloc0_16_i1.c: Regenerated.
3215 * generated/minloc0_16_i16.c: Regenerated.
3216 * generated/minloc0_16_i2.c: Regenerated.
3217 * generated/minloc0_16_i4.c: Regenerated.
3218 * generated/minloc0_16_i8.c: Regenerated.
3219 * generated/minloc0_16_r10.c: Regenerated.
3220 * generated/minloc0_16_r16.c: Regenerated.
3221 * generated/minloc0_16_r4.c: Regenerated.
3222 * generated/minloc0_16_r8.c: Regenerated.
3223 * generated/minloc0_4_i1.c: Regenerated.
3224 * generated/minloc0_4_i16.c: Regenerated.
3225 * generated/minloc0_4_i2.c: Regenerated.
3226 * generated/minloc0_4_i4.c: Regenerated.
3227 * generated/minloc0_4_i8.c: Regenerated.
3228 * generated/minloc0_4_r10.c: Regenerated.
3229 * generated/minloc0_4_r16.c: Regenerated.
3230 * generated/minloc0_4_r4.c: Regenerated.
3231 * generated/minloc0_4_r8.c: Regenerated.
3232 * generated/minloc0_8_i1.c: Regenerated.
3233 * generated/minloc0_8_i16.c: Regenerated.
3234 * generated/minloc0_8_i2.c: Regenerated.
3235 * generated/minloc0_8_i4.c: Regenerated.
3236 * generated/minloc0_8_i8.c: Regenerated.
3237 * generated/minloc0_8_r10.c: Regenerated.
3238 * generated/minloc0_8_r16.c: Regenerated.
3239 * generated/minloc0_8_r4.c: Regenerated.
3240 * generated/minloc0_8_r8.c: Regenerated.
3241 * generated/minloc1_16_i1.c: Regenerated.
3242 * generated/minloc1_16_i16.c: Regenerated.
3243 * generated/minloc1_16_i2.c: Regenerated.
3244 * generated/minloc1_16_i4.c: Regenerated.
3245 * generated/minloc1_16_i8.c: Regenerated.
3246 * generated/minloc1_16_r10.c: Regenerated.
3247 * generated/minloc1_16_r16.c: Regenerated.
3248 * generated/minloc1_16_r4.c: Regenerated.
3249 * generated/minloc1_16_r8.c: Regenerated.
3250 * generated/minloc1_4_i1.c: Regenerated.
3251 * generated/minloc1_4_i16.c: Regenerated.
3252 * generated/minloc1_4_i2.c: Regenerated.
3253 * generated/minloc1_4_i4.c: Regenerated.
3254 * generated/minloc1_4_i8.c: Regenerated.
3255 * generated/minloc1_4_r10.c: Regenerated.
3256 * generated/minloc1_4_r16.c: Regenerated.
3257 * generated/minloc1_4_r4.c: Regenerated.
3258 * generated/minloc1_4_r8.c: Regenerated.
3259 * generated/minloc1_8_i1.c: Regenerated.
3260 * generated/minloc1_8_i16.c: Regenerated.
3261 * generated/minloc1_8_i2.c: Regenerated.
3262 * generated/minloc1_8_i4.c: Regenerated.
3263 * generated/minloc1_8_i8.c: Regenerated.
3264 * generated/minloc1_8_r10.c: Regenerated.
3265 * generated/minloc1_8_r16.c: Regenerated.
3266 * generated/minloc1_8_r4.c: Regenerated.
3267 * generated/minloc1_8_r8.c: Regenerated.
3268 * generated/minval_i1.c: Regenerated.
3269 * generated/minval_i16.c: Regenerated.
3270 * generated/minval_i2.c: Regenerated.
3271 * generated/minval_i4.c: Regenerated.
3272 * generated/minval_i8.c: Regenerated.
3273 * generated/minval_r10.c: Regenerated.
3274 * generated/minval_r16.c: Regenerated.
3275 * generated/minval_r4.c: Regenerated.
3276 * generated/minval_r8.c: Regenerated.
3277 * generated/product_c10.c: Regenerated.
3278 * generated/product_c16.c: Regenerated.
3279 * generated/product_c4.c: Regenerated.
3280 * generated/product_c8.c: Regenerated.
3281 * generated/product_i1.c: Regenerated.
3282 * generated/product_i16.c: Regenerated.
3283 * generated/product_i2.c: Regenerated.
3284 * generated/product_i4.c: Regenerated.
3285 * generated/product_i8.c: Regenerated.
3286 * generated/product_r10.c: Regenerated.
3287 * generated/product_r16.c: Regenerated.
3288 * generated/product_r4.c: Regenerated.
3289 * generated/product_r8.c: Regenerated.
3290 * generated/sum_c10.c: Regenerated.
3291 * generated/sum_c16.c: Regenerated.
3292 * generated/sum_c4.c: Regenerated.
3293 * generated/sum_c8.c: Regenerated.
3294 * generated/sum_i1.c: Regenerated.
3295 * generated/sum_i16.c: Regenerated.
3296 * generated/sum_i2.c: Regenerated.
3297 * generated/sum_i4.c: Regenerated.
3298 * generated/sum_i8.c: Regenerated.
3299 * generated/sum_r10.c: Regenerated.
3300 * generated/sum_r16.c: Regenerated.
3301 * generated/sum_r4.c: Regenerated.
3302 * generated/sum_r8.c: Regenerated.
3304 2008-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
3307 * m4/iparm.m4 (upcase): New macro (copied from the m4 manual).
3308 (u_name): New macro for the upper case name of the intrinsic.
3309 * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Add
3310 bounds checking and rank check, depending on
3311 compile_options.bounds_check.
3312 (`m'name`'rtype_qual`_'atype_code): Likewise.
3313 (`s'name`'rtype_qual`_'atype_code): Likewise.
3314 * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Add
3315 bounds checking and rank check, depending on
3316 compile_options.bounds_check.
3317 (`m'name`'rtype_qual`_'atype_code): Likewise.
3318 (`s'name`'rtype_qual`_'atype_code): Likewise.
3319 * generated/all_l16.c: Regenerated.
3320 * generated/all_l4.c: Regenerated.
3321 * generated/all_l8.c: Regenerated.
3322 * generated/any_l16.c: Regenerated.
3323 * generated/any_l4.c: Regenerated.
3324 * generated/any_l8.c: Regenerated.
3325 * generated/count_16_l16.c: Regenerated.
3326 * generated/count_16_l4.c: Regenerated.
3327 * generated/count_16_l8.c: Regenerated.
3328 * generated/count_4_l16.c: Regenerated.
3329 * generated/count_4_l4.c: Regenerated.
3330 * generated/count_4_l8.c: Regenerated.
3331 * generated/count_8_l16.c: Regenerated.
3332 * generated/count_8_l4.c: Regenerated.
3333 * generated/count_8_l8.c: Regenerated.
3334 * generated/maxloc0_16_i1.c: Regenerated.
3335 * generated/maxloc0_16_i16.c: Regenerated.
3336 * generated/maxloc0_16_i2.c: Regenerated.
3337 * generated/maxloc0_16_i4.c: Regenerated.
3338 * generated/maxloc0_16_i8.c: Regenerated.
3339 * generated/maxloc0_16_r10.c: Regenerated.
3340 * generated/maxloc0_16_r16.c: Regenerated.
3341 * generated/maxloc0_16_r4.c: Regenerated.
3342 * generated/maxloc0_16_r8.c: Regenerated.
3343 * generated/maxloc0_4_i1.c: Regenerated.
3344 * generated/maxloc0_4_i16.c: Regenerated.
3345 * generated/maxloc0_4_i2.c: Regenerated.
3346 * generated/maxloc0_4_i4.c: Regenerated.
3347 * generated/maxloc0_4_i8.c: Regenerated.
3348 * generated/maxloc0_4_r10.c: Regenerated.
3349 * generated/maxloc0_4_r16.c: Regenerated.
3350 * generated/maxloc0_4_r4.c: Regenerated.
3351 * generated/maxloc0_4_r8.c: Regenerated.
3352 * generated/maxloc0_8_i1.c: Regenerated.
3353 * generated/maxloc0_8_i16.c: Regenerated.
3354 * generated/maxloc0_8_i2.c: Regenerated.
3355 * generated/maxloc0_8_i4.c: Regenerated.
3356 * generated/maxloc0_8_i8.c: Regenerated.
3357 * generated/maxloc0_8_r10.c: Regenerated.
3358 * generated/maxloc0_8_r16.c: Regenerated.
3359 * generated/maxloc0_8_r4.c: Regenerated.
3360 * generated/maxloc0_8_r8.c: Regenerated.
3361 * generated/maxloc1_16_i1.c: Regenerated.
3362 * generated/maxloc1_16_i16.c: Regenerated.
3363 * generated/maxloc1_16_i2.c: Regenerated.
3364 * generated/maxloc1_16_i4.c: Regenerated.
3365 * generated/maxloc1_16_i8.c: Regenerated.
3366 * generated/maxloc1_16_r10.c: Regenerated.
3367 * generated/maxloc1_16_r16.c: Regenerated.
3368 * generated/maxloc1_16_r4.c: Regenerated.
3369 * generated/maxloc1_16_r8.c: Regenerated.
3370 * generated/maxloc1_4_i1.c: Regenerated.
3371 * generated/maxloc1_4_i16.c: Regenerated.
3372 * generated/maxloc1_4_i2.c: Regenerated.
3373 * generated/maxloc1_4_i4.c: Regenerated.
3374 * generated/maxloc1_4_i8.c: Regenerated.
3375 * generated/maxloc1_4_r10.c: Regenerated.
3376 * generated/maxloc1_4_r16.c: Regenerated.
3377 * generated/maxloc1_4_r4.c: Regenerated.
3378 * generated/maxloc1_4_r8.c: Regenerated.
3379 * generated/maxloc1_8_i1.c: Regenerated.
3380 * generated/maxloc1_8_i16.c: Regenerated.
3381 * generated/maxloc1_8_i2.c: Regenerated.
3382 * generated/maxloc1_8_i4.c: Regenerated.
3383 * generated/maxloc1_8_i8.c: Regenerated.
3384 * generated/maxloc1_8_r10.c: Regenerated.
3385 * generated/maxloc1_8_r16.c: Regenerated.
3386 * generated/maxloc1_8_r4.c: Regenerated.
3387 * generated/maxloc1_8_r8.c: Regenerated.
3388 * generated/maxval_i1.c: Regenerated.
3389 * generated/maxval_i16.c: Regenerated.
3390 * generated/maxval_i2.c: Regenerated.
3391 * generated/maxval_i4.c: Regenerated.
3392 * generated/maxval_i8.c: Regenerated.
3393 * generated/maxval_r10.c: Regenerated.
3394 * generated/maxval_r16.c: Regenerated.
3395 * generated/maxval_r4.c: Regenerated.
3396 * generated/maxval_r8.c: Regenerated.
3397 * generated/minloc0_16_i1.c: Regenerated.
3398 * generated/minloc0_16_i16.c: Regenerated.
3399 * generated/minloc0_16_i2.c: Regenerated.
3400 * generated/minloc0_16_i4.c: Regenerated.
3401 * generated/minloc0_16_i8.c: Regenerated.
3402 * generated/minloc0_16_r10.c: Regenerated.
3403 * generated/minloc0_16_r16.c: Regenerated.
3404 * generated/minloc0_16_r4.c: Regenerated.
3405 * generated/minloc0_16_r8.c: Regenerated.
3406 * generated/minloc0_4_i1.c: Regenerated.
3407 * generated/minloc0_4_i16.c: Regenerated.
3408 * generated/minloc0_4_i2.c: Regenerated.
3409 * generated/minloc0_4_i4.c: Regenerated.
3410 * generated/minloc0_4_i8.c: Regenerated.
3411 * generated/minloc0_4_r10.c: Regenerated.
3412 * generated/minloc0_4_r16.c: Regenerated.
3413 * generated/minloc0_4_r4.c: Regenerated.
3414 * generated/minloc0_4_r8.c: Regenerated.
3415 * generated/minloc0_8_i1.c: Regenerated.
3416 * generated/minloc0_8_i16.c: Regenerated.
3417 * generated/minloc0_8_i2.c: Regenerated.
3418 * generated/minloc0_8_i4.c: Regenerated.
3419 * generated/minloc0_8_i8.c: Regenerated.
3420 * generated/minloc0_8_r10.c: Regenerated.
3421 * generated/minloc0_8_r16.c: Regenerated.
3422 * generated/minloc0_8_r4.c: Regenerated.
3423 * generated/minloc0_8_r8.c: Regenerated.
3424 * generated/minloc1_16_i1.c: Regenerated.
3425 * generated/minloc1_16_i16.c: Regenerated.
3426 * generated/minloc1_16_i2.c: Regenerated.
3427 * generated/minloc1_16_i4.c: Regenerated.
3428 * generated/minloc1_16_i8.c: Regenerated.
3429 * generated/minloc1_16_r10.c: Regenerated.
3430 * generated/minloc1_16_r16.c: Regenerated.
3431 * generated/minloc1_16_r4.c: Regenerated.
3432 * generated/minloc1_16_r8.c: Regenerated.
3433 * generated/minloc1_4_i1.c: Regenerated.
3434 * generated/minloc1_4_i16.c: Regenerated.
3435 * generated/minloc1_4_i2.c: Regenerated.
3436 * generated/minloc1_4_i4.c: Regenerated.
3437 * generated/minloc1_4_i8.c: Regenerated.
3438 * generated/minloc1_4_r10.c: Regenerated.
3439 * generated/minloc1_4_r16.c: Regenerated.
3440 * generated/minloc1_4_r4.c: Regenerated.
3441 * generated/minloc1_4_r8.c: Regenerated.
3442 * generated/minloc1_8_i1.c: Regenerated.
3443 * generated/minloc1_8_i16.c: Regenerated.
3444 * generated/minloc1_8_i2.c: Regenerated.
3445 * generated/minloc1_8_i4.c: Regenerated.
3446 * generated/minloc1_8_i8.c: Regenerated.
3447 * generated/minloc1_8_r10.c: Regenerated.
3448 * generated/minloc1_8_r16.c: Regenerated.
3449 * generated/minloc1_8_r4.c: Regenerated.
3450 * generated/minloc1_8_r8.c: Regenerated.
3451 * generated/minval_i1.c: Regenerated.
3452 * generated/minval_i16.c: Regenerated.
3453 * generated/minval_i2.c: Regenerated.
3454 * generated/minval_i4.c: Regenerated.
3455 * generated/minval_i8.c: Regenerated.
3456 * generated/minval_r10.c: Regenerated.
3457 * generated/minval_r16.c: Regenerated.
3458 * generated/minval_r4.c: Regenerated.
3459 * generated/minval_r8.c: Regenerated.
3460 * generated/product_c10.c: Regenerated.
3461 * generated/product_c16.c: Regenerated.
3462 * generated/product_c4.c: Regenerated.
3463 * generated/product_c8.c: Regenerated.
3464 * generated/product_i1.c: Regenerated.
3465 * generated/product_i16.c: Regenerated.
3466 * generated/product_i2.c: Regenerated.
3467 * generated/product_i4.c: Regenerated.
3468 * generated/product_i8.c: Regenerated.
3469 * generated/product_r10.c: Regenerated.
3470 * generated/product_r16.c: Regenerated.
3471 * generated/product_r4.c: Regenerated.
3472 * generated/product_r8.c: Regenerated.
3473 * generated/sum_c10.c: Regenerated.
3474 * generated/sum_c16.c: Regenerated.
3475 * generated/sum_c4.c: Regenerated.
3476 * generated/sum_c8.c: Regenerated.
3477 * generated/sum_i1.c: Regenerated.
3478 * generated/sum_i16.c: Regenerated.
3479 * generated/sum_i2.c: Regenerated.
3480 * generated/sum_i4.c: Regenerated.
3481 * generated/sum_i8.c: Regenerated.
3482 * generated/sum_r10.c: Regenerated.
3483 * generated/sum_r16.c: Regenerated.
3484 * generated/sum_r4.c: Regenerated.
3485 * generated/sum_r8.c: Regenerated.
3487 2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
3490 * io/list_read.c (next_char): Only save the EOF condition for later if
3493 2008-01-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3496 * io/io.h: Adjust protoypes for open_internal(),
3497 next_array_record() and init_loop_spec().
3498 * io/list_read.c (next_char): Use argument "finished"
3499 of next_array_record to check for end on internal file.
3500 * io/unit.c: Calculate the offset for an array
3501 internal file and supply this informatin to open_internal().
3502 * io/unix.c (open_internal): Set the offset for the internal
3504 * io/transfer.c (init_loop_spec): Calculate the starting
3505 record in case of negative strides. Return size of 0 for
3507 (next_array_record): Use an extra flag to signal that the
3509 (next_record_r): Use the new flag to next_array_record().
3510 (next_record_w): Likewise.