1 2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
4 * io/unix.c (id_from_handle, id_from_path, id_from_fd): New
6 (compare_file_filename, find_file, find_file0): Use the new
9 2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
11 * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
12 * configure.ac: Don't call LIBGFOR_TARGET_ILP32.
13 * configure: Regenerate.
14 * config.h.in: Regenerate.
16 2007-09-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
19 * runtime/compile_options.c (set_options): Fix typo.
20 * runtime/main.c (store_exe_path): If getcwd is not available,
22 * intrinsics/getcwd.c: Same thing here.
23 * io/unix.c (fallback_access): New fallback function for access.
24 (fix_fd): Don't use dup if it's not available.
25 * configure.ac: Check for dup and getcwd.
26 * configure: Regenerate.
27 * config.h.in: Regenerate.
29 2007-09-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
31 * io/io.h: Include libgfortran.h first.
33 2007-09-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
36 * runtime/select.c (select_string): Initialize default_jump.
38 2007-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
41 * io/filepos.c (st_backspace): Don't truncate when already at the end
44 2007-09-07 Uros Bizjak <ubizjak@gmail.com>
46 * config/fpu-387.h: Include cpuid.h.
47 (set_fpu): Use __get_cpuid to check for SSE.
49 2007-09-06 Thomas Koenig <tkoenig@gcc.gnu.org>
52 * intrinsics/spread_generic.c(spread_internal): Enable
53 bounds checking by comparing extents if the bounds_check
54 option has been set. If any extent is <=0, return early.
56 2007-09-06 David Edelsohn <edelsohn@gnu.org>
58 * libgfortran.h: Include config.h first.
59 * io/io.h (struct stream): Rename truncate to trunc.
60 * io/unix.c (fd_open): Same.
61 (open_internal): Same.
63 2007-09-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
66 * io/write.c (nml_write_obj): Set the delimiter correctly before
67 calling write_character. (namelist_write): Clean up the code a little
68 and add comments to clarify what its doing.
70 2007-09-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
73 * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
74 new file write_float.def. Include write_float.def.
75 (extract_real): Delete. (calculate_sign): Delete.
76 (calculate_exp): Delete. (calculate_G_format): Delete.
77 (output_float): Delete. (write_float): Delete.
78 * io/write_float.def (calculate_sign): Added.
79 (output_float): Refactored to be independent of kind and added to this
80 file for inclusion. (write_infnan): New function to write "Infinite"
81 or "NaN" depending on flags passed, independent of kind.
82 (CALCULATE_EXP): New macro to build kind specific functions. Use it.
83 (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
84 (DTOA, DTOAL): Macros to implement "decimal to ascii".
85 (WRITE_FLOAT): New macro for kind specific write_float functions.
86 (write_float): Revised function to determine kind and use WRITE_FLOAT
87 to implement kind specific output.
89 2007-09-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
92 * io/list_read.c (read_character): Use DELIM_APOSTROPHE and
93 DELIM_QUOTE in check of first character in string.
95 2007-09-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
98 * libgfortran.h: Include gcc/fortran/libgfortran.h.
99 Remove M_PI, GFC_MAX_DIMENSIONS, GFC_DTYPE_*, GFC_NUM_RANK_BITS,
100 error_codes, GFC_STD_*, GFC_FPE_* and unit_convert.
101 * runtime/environ.c (variable_table): Use GFC_*_UNIT_NUMBER instead
102 of hardcoded constants.
103 (do_parse, init_unformatted): Use GFC_CONVERT_* macros instead of
105 * runtime/string.c (find_option): Use LIBERROR_BAD_OPTION instead
107 * runtime/error.c (translate_error, generate_error): Use
108 LIBERROR_* macros instead of ERROR_*.
109 * io/file_pos.c (formatted_backspace, unformatted_backspace,
110 st_backspace, st_rewind, st_flush): Rename macros.
111 * io/open.c (convert_opt, edit_modes, new_unit, already_open,
113 * io/close.c (st_close): Likewise.
114 * io/list_read.c (next_char, convert_integer, parse_repeat,
115 read_logical, read_integer, read_character, parse_real,
116 check_type, list_formatted_read_scalar, namelist_read,
117 nml_err_ret): Likewise.
118 * io/read.c (convert_real, read_l, read_decimal, read_radix,
120 * io/inquire.c (inquire_via_unit): Likewise.
121 * io/unit.c (get_internal_unit): Likewise.
122 * io/transfer.c (read_sf, read_block, read_block_direct,
123 write_block, write_buf, unformatted_read, unformatted_write,
124 formatted_transfer_scalar, us_read, us_write, data_transfer_init,
125 skip_record, next_record_r, write_us_marker, next_record_w_unf,
126 next_record_w, finalize_transfer, st_read, st_write_done):
128 * io/format.c (format_error): Likewise.
130 2007-08-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
132 * m4/minloc1.m4: Update copyright year and ajust headers order.
133 * m4/maxloc1.m4: Likewise.
134 * m4/in_pack.m4: Likewise.
135 * m4/sum.m4: Likewise.
136 * m4/fraction.m4: Likewise.
137 * m4/all.m4: Likewise.
138 * m4/set_exponent.m4: Likewise.
139 * m4/transpose.m4: Likewise.
140 * m4/eoshift1.m4: Likewise.
141 * m4/spacing.m4: Likewise.
142 * m4/eoshift3.m4: Likewise.
143 * m4/minval.m4: Likewise.
144 * m4/count.m4: Likewise.
145 * m4/maxval.m4: Likewise.
146 * m4/exponent.m4: Likewise.
147 * m4/shape.m4: Likewise.
148 * m4/head.m4: Likewise.
149 * m4/cshift1.m4: Likewise.
150 * m4/minloc0.m4: Likewise.
151 * m4/nearest.m4: Likewise.
152 * m4/maxloc0.m4: Likewise.
153 * m4/pow.m4: Likewise.
154 * m4/in_unpack.m4: Likewise.
155 * m4/matmull.m4: Likewise.
156 * m4/product.m4: Likewise.
157 * m4/reshape.m4: Likewise.
158 * m4/any.m4: Likewise.
159 * m4/rrspacing.m4: Likewise.
160 * m4/matmul.m4: Likewise.
161 * runtime/backtrace.c: Likewise.
162 * runtime/environ.c: Likewise.
163 * runtime/in_pack_generic.c: Likewise.
164 * runtime/compile_options.c: Likewise.
165 * runtime/in_unpack_generic.c: Likewise.
166 * runtime/main.c: Likewise.
167 * runtime/stop.c: Likewise.
168 * runtime/string.c: Likewise.
169 * runtime/memory.c: Likewise.
170 * runtime/error.c: Likewise.
171 * runtime/pause.c: Likewise.
172 * intrinsics/ierrno.c: Likewise.
173 * intrinsics/system_clock.c: Likewise.
174 * intrinsics/cshift0.c: Likewise.
175 * intrinsics/unlink.c: Likewise.
176 * intrinsics/ctime.c: Likewise.
177 * intrinsics/etime.c: Likewise.
178 * intrinsics/cpu_time.c: Likewise.
179 * intrinsics/malloc.c: Likewise.
180 * intrinsics/hostnm.c: Likewise.
181 * intrinsics/sleep.c: Likewise.
182 * intrinsics/exit.c: Likewise.
183 * intrinsics/perror.c: Likewise.
184 * intrinsics/transpose_generic.c: Likewise.
185 * intrinsics/pack_generic.c: Likewise.
186 * intrinsics/spread_generic.c: Likewise.
187 * intrinsics/stat.c: Likewise.
188 * intrinsics/string_intrinsics.c: Likewise.
189 * intrinsics/getcwd.c: Likewise.
190 * intrinsics/date_and_time.c: Likewise.
191 * intrinsics/unpack_generic.c: Likewise.
192 * intrinsics/move_alloc.c: Likewise.
193 * intrinsics/getlog.c: Likewise.
194 * intrinsics/eoshift0.c: Likewise.
195 * intrinsics/eoshift2.c: Likewise.
196 * intrinsics/reshape_generic.c: Likewise.
197 * intrinsics/system.c: Likewise.
198 * intrinsics/iso_c_binding.c: Likewise.
199 * intrinsics/env.c: Likewise.
200 * intrinsics/kill.c: Likewise.
201 * intrinsics/reshape_packed.c: Likewise.
202 * intrinsics/time.c: Likewise.
203 * intrinsics/gerror.c: Likewise.
204 * intrinsics/access.c: Likewise.
205 * intrinsics/fnum.c: Likewise.
206 * intrinsics/abort.c: Likewise.
207 * intrinsics/rename.c: Likewise.
208 * intrinsics/signal.c: Likewise.
209 * intrinsics/symlnk.c: Likewise.
210 * intrinsics/random.c: Likewise.
211 * intrinsics/umask.c: Likewise.
212 * intrinsics/getXid.c: Likewise.
213 * intrinsics/rand.c: Likewise.
214 * intrinsics/chdir.c: Likewise.
215 * intrinsics/chmod.c: Likewise.
216 * intrinsics/clock.c: Likewise.
217 * intrinsics/args.c: Likewise.
218 * intrinsics/link.c: Likewise.
219 * c99_protos.h: Likewise.
220 * config/fpu-387.h: Likewise.
221 * config/fpu-aix.h: Likewise.
222 * config/fpu-sysv.h: Likewise.
223 * config/fpu-generic.h: Likewise.
224 * config/fpu-glibc.h: Likewise.
225 * io/file_pos.c: Likewise.
226 * io/open.c: Likewise.
227 * io/size_from_kind.c: Likewise.
228 * io/close.c: Likewise.
229 * io/list_read.c: Likewise.
230 * io/read.c: Likewise.
231 * io/inquire.c: Likewise.
232 * io/unit.c: Likewise.
233 * io/unix.c: Likewise.
234 * io/transfer.c: Likewise.
235 * io/intrinsics.c: Likewise.
236 * io/format.c: Likewise.
237 * io/lock.c: Likewise.
238 * io/write.c: Likewise.
239 * io/write_float.def: Likewise.
241 * generated/minval_r8.c: Regenerate.
242 * generated/minloc1_16_r16.c: Regenerate.
243 * generated/maxloc1_4_r8.c: Regenerate.
244 * generated/sum_i8.c: Regenerate.
245 * generated/eoshift3_4.c: Regenerate.
246 * generated/transpose_c8.c: Regenerate.
247 * generated/any_l16.c: Regenerate.
248 * generated/eoshift1_8.c: Regenerate.
249 * generated/pow_r8_i8.c: Regenerate.
250 * generated/reshape_r16.c: Regenerate.
251 * generated/pow_i4_i16.c: Regenerate.
252 * generated/maxval_i2.c: Regenerate.
253 * generated/product_r4.c: Regenerate.
254 * generated/maxloc1_8_i4.c: Regenerate.
255 * generated/exponent_r16.c: Regenerate.
256 * generated/maxloc0_4_r4.c: Regenerate.
257 * generated/fraction_r16.c: Regenerate.
258 * generated/in_unpack_i8.c: Regenerate.
259 * generated/matmul_r8.c: Regenerate.
260 * generated/product_i2.c: Regenerate.
261 * generated/fraction_r4.c: Regenerate.
262 * generated/minloc0_4_r16.c: Regenerate.
263 * generated/reshape_c4.c: Regenerate.
264 * generated/minloc0_4_i1.c: Regenerate.
265 * generated/maxloc0_4_r16.c: Regenerate.
266 * generated/maxloc0_4_i2.c: Regenerate.
267 * generated/minloc1_8_r16.c: Regenerate.
268 * generated/maxloc1_8_r16.c: Regenerate.
269 * generated/set_exponent_r8.c: Regenerate.
270 * generated/in_unpack_i16.c: Regenerate.
271 * generated/transpose_c16.c: Regenerate.
272 * generated/maxloc0_8_i8.c: Regenerate.
273 * generated/pow_c4_i8.c: Regenerate.
274 * generated/sum_r16.c: Regenerate.
275 * generated/sum_i1.c: Regenerate.
276 * generated/minloc1_4_r8.c: Regenerate.
277 * generated/transpose_r10.c: Regenerate.
278 * generated/pow_i8_i4.c: Regenerate.
279 * generated/maxloc1_16_r16.c: Regenerate.
280 * generated/minloc1_16_i4.c: Regenerate.
281 * generated/maxloc1_16_i4.c: Regenerate.
282 * generated/minloc0_16_i8.c: Regenerate.
283 * generated/maxloc0_16_i8.c: Regenerate.
284 * generated/nearest_r8.c: Regenerate.
285 * generated/spacing_r16.c: Regenerate.
286 * generated/transpose_i8.c: Regenerate.
287 * generated/count_16_l16.c: Regenerate.
288 * generated/maxval_r16.c: Regenerate.
289 * generated/count_8_l8.c: Regenerate.
290 * generated/product_c10.c: Regenerate.
291 * generated/minloc1_8_i4.c: Regenerate.
292 * generated/minloc0_16_i16.c: Regenerate.
293 * generated/matmul_r16.c: Regenerate.
294 * generated/eoshift1_16.c: Regenerate.
295 * generated/minloc0_4_r4.c: Regenerate.
296 * generated/pow_c16_i16.c: Regenerate.
297 * generated/set_exponent_r10.c: Regenerate.
298 * generated/pow_i16_i16.c: Regenerate.
299 * generated/product_c4.c: Regenerate.
300 * generated/sum_r4.c: Regenerate.
301 * generated/pow_c16_i4.c: Regenerate.
302 * generated/rrspacing_r10.c: Regenerate.
303 * generated/in_pack_c16.c: Regenerate.
304 * generated/minloc0_4_i2.c: Regenerate.
305 * generated/maxloc0_8_i1.c: Regenerate.
306 * generated/reshape_i4.c: Regenerate.
307 * generated/minloc0_8_i8.c: Regenerate.
308 * generated/matmul_c8.c: Regenerate.
309 * generated/spacing_r4.c: Regenerate.
310 * generated/in_pack_c4.c: Regenerate.
311 * generated/all_l16.c: Regenerate.
312 * generated/minloc1_16_r10.c: Regenerate.
313 * generated/sum_i2.c: Regenerate.
314 * generated/minloc0_16_i1.c: Regenerate.
315 * generated/reshape_c16.c: Regenerate.
316 * generated/maxloc0_16_i1.c: Regenerate.
317 * generated/maxloc1_8_r8.c: Regenerate.
318 * generated/minval_i16.c: Regenerate.
319 * generated/reshape_r10.c: Regenerate.
320 * generated/exponent_r10.c: Regenerate.
321 * generated/maxval_i4.c: Regenerate.
322 * generated/any_l4.c: Regenerate.
323 * generated/minval_i8.c: Regenerate.
324 * generated/maxloc1_4_i8.c: Regenerate.
325 * generated/fraction_r10.c: Regenerate.
326 * generated/maxloc0_16_i16.c: Regenerate.
327 * generated/shape_i4.c: Regenerate.
328 * generated/pow_r16_i8.c: Regenerate.
329 * generated/maxloc0_8_r4.c: Regenerate.
330 * generated/rrspacing_r8.c: Regenerate.
331 * generated/pow_c10_i4.c: Regenerate.
332 * generated/minloc1_4_i16.c: Regenerate.
333 * generated/minloc0_4_r10.c: Regenerate.
334 * generated/maxloc1_4_i16.c: Regenerate.
335 * generated/minloc0_8_i16.c: Regenerate.
336 * generated/maxloc0_4_r10.c: Regenerate.
337 * generated/maxloc0_8_i16.c: Regenerate.
338 * generated/minloc1_8_r10.c: Regenerate.
339 * generated/product_i4.c: Regenerate.
340 * generated/minloc0_16_r4.c: Regenerate.
341 * generated/sum_c16.c: Regenerate.
342 * generated/maxloc1_8_r10.c: Regenerate.
343 * generated/maxloc0_16_r4.c: Regenerate.
344 * generated/transpose_c10.c: Regenerate.
345 * generated/minloc1_16_r8.c: Regenerate.
346 * generated/minloc0_8_i1.c: Regenerate.
347 * generated/maxloc0_4_i4.c: Regenerate.
348 * generated/transpose_r4.c: Regenerate.
349 * generated/maxloc1_16_r8.c: Regenerate.
350 * generated/pow_i16_i8.c: Regenerate.
351 * generated/cshift1_4.c: Regenerate.
352 * generated/maxloc0_8_i2.c: Regenerate.
353 * generated/sum_r10.c: Regenerate.
354 * generated/nearest_r16.c: Regenerate.
355 * generated/sum_c4.c: Regenerate.
356 * generated/maxloc1_16_r10.c: Regenerate.
357 * generated/count_4_l16.c: Regenerate.
358 * generated/pow_c8_i8.c: Regenerate.
359 * generated/matmul_i8.c: Regenerate.
360 * generated/in_pack_i4.c: Regenerate.
361 * generated/pow_i4_i8.c: Regenerate.
362 * generated/minloc0_16_i2.c: Regenerate.
363 * generated/minloc1_8_r8.c: Regenerate.
364 * generated/maxloc0_16_i2.c: Regenerate.
365 * generated/exponent_r4.c: Regenerate.
366 * generated/spacing_r10.c: Regenerate.
367 * generated/matmul_c16.c: Regenerate.
368 * generated/pow_c4_i16.c: Regenerate.
369 * generated/maxval_r10.c: Regenerate.
370 * generated/count_4_l4.c: Regenerate.
371 * generated/shape_i16.c: Regenerate.
372 * generated/minval_i1.c: Regenerate.
373 * generated/maxloc1_4_i1.c: Regenerate.
374 * generated/matmul_r10.c: Regenerate.
375 * generated/minloc1_4_i8.c: Regenerate.
376 * generated/pow_r10_i8.c: Regenerate.
377 * generated/minloc0_8_r4.c: Regenerate.
378 * generated/in_unpack_c4.c: Regenerate.
379 * generated/matmul_l4.c: Regenerate.
380 * generated/product_i16.c: Regenerate.
381 * generated/minloc0_16_r16.c: Regenerate.
382 * generated/reshape_r8.c: Regenerate.
383 * generated/pow_r10_i16.c: Regenerate.
384 * generated/all_l4.c: Regenerate.
385 * generated/in_pack_c10.c: Regenerate.
386 * generated/minloc0_4_i4.c: Regenerate.
387 * generated/minloc0_8_i2.c: Regenerate.
388 * generated/matmul_i1.c: Regenerate.
389 * generated/reshape_c10.c: Regenerate.
390 * generated/minval_r4.c: Regenerate.
391 * generated/maxloc1_4_r4.c: Regenerate.
392 * generated/pow_r8_i16.c: Regenerate.
393 * generated/sum_i4.c: Regenerate.
394 * generated/maxval_r8.c: Regenerate.
395 * generated/count_16_l8.c: Regenerate.
396 * generated/transpose_c4.c: Regenerate.
397 * generated/eoshift1_4.c: Regenerate.
398 * generated/eoshift3_8.c: Regenerate.
399 * generated/minval_r16.c: Regenerate.
400 * generated/minloc1_4_i1.c: Regenerate.
401 * generated/minval_i2.c: Regenerate.
402 * generated/maxloc1_4_i2.c: Regenerate.
403 * generated/pow_i8_i16.c: Regenerate.
404 * generated/product_r8.c: Regenerate.
405 * generated/maxloc1_8_i8.c: Regenerate.
406 * generated/maxloc0_4_r8.c: Regenerate.
407 * generated/maxloc0_16_r16.c: Regenerate.
408 * generated/in_unpack_i4.c: Regenerate.
409 * generated/matmul_r4.c: Regenerate.
410 * generated/sum_c10.c: Regenerate.
411 * generated/minloc1_4_r16.c: Regenerate.
412 * generated/fraction_r8.c: Regenerate.
413 * generated/maxloc1_4_r16.c: Regenerate.
414 * generated/set_exponent_r4.c: Regenerate.
415 * generated/minloc0_8_r16.c: Regenerate.
416 * generated/in_unpack_c16.c: Regenerate.
417 * generated/reshape_c8.c: Regenerate.
418 * generated/maxloc0_8_r16.c: Regenerate.
419 * generated/nearest_r10.c: Regenerate.
420 * generated/maxloc0_8_i4.c: Regenerate.
421 * generated/pow_c4_i4.c: Regenerate.
422 * generated/matmul_i2.c: Regenerate.
423 * generated/minloc1_4_r4.c: Regenerate.
424 * generated/transpose_i16.c: Regenerate.
425 * generated/matmul_c10.c: Regenerate.
426 * generated/minloc0_16_i4.c: Regenerate.
427 * generated/maxloc0_16_i4.c: Regenerate.
428 * generated/pow_i8_i8.c: Regenerate.
429 * generated/nearest_r4.c: Regenerate.
430 * generated/minloc1_16_i8.c: Regenerate.
431 * generated/maxloc1_16_i8.c: Regenerate.
432 * generated/transpose_i4.c: Regenerate.
433 * generated/count_8_l4.c: Regenerate.
434 * generated/minloc1_4_i2.c: Regenerate.
435 * generated/matmul_l16.c: Regenerate.
436 * generated/maxloc1_8_i1.c: Regenerate.
437 * generated/minloc0_16_r10.c: Regenerate.
438 * generated/minloc1_8_i8.c: Regenerate.
439 * generated/minloc0_4_r8.c: Regenerate.
440 * generated/product_r16.c: Regenerate.
441 * generated/product_c8.c: Regenerate.
442 * generated/pow_r16_i16.c: Regenerate.
443 * generated/sum_r8.c: Regenerate.
444 * generated/pow_c16_i8.c: Regenerate.
445 * generated/in_pack_i16.c: Regenerate.
446 * generated/minloc0_8_i4.c: Regenerate.
447 * generated/matmul_c4.c: Regenerate.
448 * generated/minloc1_16_i16.c: Regenerate.
449 * generated/reshape_i8.c: Regenerate.
450 * generated/spacing_r8.c: Regenerate.
451 * generated/in_pack_c8.c: Regenerate.
452 * generated/maxloc1_8_r4.c: Regenerate.
453 * generated/minloc1_16_i1.c: Regenerate.
454 * generated/maxloc1_16_i1.c: Regenerate.
455 * generated/reshape_i16.c: Regenerate.
456 * generated/minval_r10.c: Regenerate.
457 * generated/pow_r4_i8.c: Regenerate.
458 * generated/minloc1_8_i1.c: Regenerate.
459 * generated/minval_i4.c: Regenerate.
460 * generated/maxloc1_4_i4.c: Regenerate.
461 * generated/maxloc1_8_i2.c: Regenerate.
462 * generated/maxval_i8.c: Regenerate.
463 * generated/eoshift3_16.c: Regenerate.
464 * generated/any_l8.c: Regenerate.
465 * generated/maxloc0_16_r10.c: Regenerate.
466 * generated/rrspacing_r4.c: Regenerate.
467 * generated/shape_i8.c: Regenerate.
468 * generated/maxloc0_8_r8.c: Regenerate.
469 * generated/minloc0_4_i16.c: Regenerate.
470 * generated/maxloc0_4_i16.c: Regenerate.
471 * generated/minloc1_4_r10.c: Regenerate.
472 * generated/minloc1_8_i16.c: Regenerate.
473 * generated/pow_c10_i8.c: Regenerate.
474 * generated/maxloc1_4_r10.c: Regenerate.
475 * generated/maxloc1_8_i16.c: Regenerate.
476 * generated/in_unpack_c10.c: Regenerate.
477 * generated/minloc0_8_r10.c: Regenerate.
478 * generated/maxloc0_8_r10.c: Regenerate.
479 * generated/minloc1_16_r4.c: Regenerate.
480 * generated/maxloc1_16_r4.c: Regenerate.
481 * generated/minloc0_16_r8.c: Regenerate.
482 * generated/pow_i16_i4.c: Regenerate.
483 * generated/product_i8.c: Regenerate.
484 * generated/maxloc0_16_r8.c: Regenerate.
485 * generated/sum_i16.c: Regenerate.
486 * generated/maxloc0_4_i8.c: Regenerate.
487 * generated/transpose_r8.c: Regenerate.
488 * generated/cshift1_8.c: Regenerate.
489 * generated/maxloc1_16_i16.c: Regenerate.
490 * generated/matmul_i4.c: Regenerate.
491 * generated/pow_c8_i4.c: Regenerate.
492 * generated/pow_i4_i4.c: Regenerate.
493 * generated/minloc1_8_r4.c: Regenerate.
494 * generated/sum_c8.c: Regenerate.
495 * generated/count_8_l16.c: Regenerate.
496 * generated/minloc1_16_i2.c: Regenerate.
497 * generated/maxloc1_16_i2.c: Regenerate.
498 * generated/in_pack_i8.c: Regenerate.
499 * generated/transpose_r16.c: Regenerate.
500 * generated/maxval_i16.c: Regenerate.
501 * generated/exponent_r8.c: Regenerate.
502 * generated/matmul_i16.c: Regenerate.
503 * generated/count_4_l8.c: Regenerate.
504 * generated/pow_c8_i16.c: Regenerate.
505 * generated/maxval_i1.c: Regenerate.
506 * generated/minloc1_4_i4.c: Regenerate.
507 * generated/minloc1_8_i2.c: Regenerate.
508 * generated/pow_c10_i16.c: Regenerate.
509 * generated/product_c16.c: Regenerate.
510 * generated/reshape_r4.c: Regenerate.
511 * generated/in_unpack_c8.c: Regenerate.
512 * generated/minloc0_8_r8.c: Regenerate.
513 * generated/matmul_l8.c: Regenerate.
514 * generated/product_r10.c: Regenerate.
515 * generated/set_exponent_r16.c: Regenerate.
516 * generated/cshift1_16.c: Regenerate.
517 * generated/product_i1.c: Regenerate.
518 * generated/all_l8.c: Regenerate.
519 * generated/maxloc0_4_i1.c: Regenerate.
520 * generated/rrspacing_r16.c: Regenerate.
521 * generated/minloc0_4_i8.c: Regenerate.
522 * generated/pow_r4_i16.c: Regenerate.
523 * generated/count_16_l4.c: Regenerate.
524 * generated/maxval_r4.c: Regenerate.
526 2007-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
529 * io/write.c: Revert changes from patch of 2007-08-27.
530 * io/write_float.def: Remove file, reverting addition.
532 2007-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
534 * runtime/memory.c (internal_realloc, allocate, allocate_array,
535 deallocate): Remove functions.
536 * gfortran.map (_gfortran_allocate, _gfortran_allocate_array,
537 _gfortran_deallocate, _gfortran_internal_realloc): Remove symbols.
538 * libgfortran.h (error_codes): Add comment.
540 2007-08-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
543 Revert previous patch.
545 2007-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
547 * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
548 new file write_float.def. Include write_float.def.
549 (extract_real): Delete. (calculate_sign): Delete.
550 (calculate_exp): Delete. (calculate_G_format): Delete.
551 (output_float): Delete. (write_float): Delete.
552 * io/write_float.def (calculate_sign): Added.
553 (output_float): Refactored to be independent of kind and added to this
554 file for inclusion. (write_infnan): New function to write "Infinite"
555 or "NaN" depending on flags passed, independent of kind.
556 (CALCULATE_EXP): New macro to build kind specific functions. Use it.
557 (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
558 (DTOA, DTOAL): Macros to implement "decimal to ascii".
559 (WRITE_FLOAT): New macro for kind specific write_float functions.
560 (write_float): Revised function to determine kind and use WRITE_FLOAT
561 to implement kind specific output.
563 2007-08-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
566 * io/inquire.c (inquire_via_unit): If inquiring by unit, check for
567 an error condition from the IOSTAT variable and set EXIST to false if
568 there was a bad unit number.
570 2007-08-24 Thomas Koenig <tkoenig@gcc.gnu.org>
573 * libgfortran.h: Remove GFOR_POINTER_L8_TO_L4 macro.
574 Add GFOR_POINTER_TO_L1 macro.
575 * m4/iforeach.m4(`m'name`'rtype_qual`_'atype_code):
576 Change argument 'mask' to gfc_array_l1. Adjust prototype.
577 Change mask pointer to GFC_LOGICAL_1. Multiply strides
579 * m4/ifunction.m4: Likewise.
580 * intrinsics/pack_generic.c(pack_internal): Likewise.
581 * intrinsics/unpack_generic.c(unpack_internal): Likewise.
582 * m4/matmull.m4: Switch to GFC_LOGICAL_1. Multiply strides by
583 kind of logical arguments a and b.
584 * generated/matmul_l16.c: Regenerated.
585 * generated/matmul_l4.c: Regenerated.
586 * generated/matmul_l8.c: Regenerated.
587 * generated/maxloc0_16_i1.c: Regenerated.
588 * generated/maxloc0_16_i16.c: Regenerated.
589 * generated/maxloc0_16_i2.c: Regenerated.
590 * generated/maxloc0_16_i4.c: Regenerated.
591 * generated/maxloc0_16_i8.c: Regenerated.
592 * generated/maxloc0_16_r10.c: Regenerated.
593 * generated/maxloc0_16_r16.c: Regenerated.
594 * generated/maxloc0_16_r4.c: Regenerated.
595 * generated/maxloc0_16_r8.c: Regenerated.
596 * generated/maxloc0_4_i1.c: Regenerated.
597 * generated/maxloc0_4_i16.c: Regenerated.
598 * generated/maxloc0_4_i2.c: Regenerated.
599 * generated/maxloc0_4_i4.c: Regenerated.
600 * generated/maxloc0_4_i8.c: Regenerated.
601 * generated/maxloc0_4_r10.c: Regenerated.
602 * generated/maxloc0_4_r16.c: Regenerated.
603 * generated/maxloc0_4_r4.c: Regenerated.
604 * generated/maxloc0_4_r8.c: Regenerated.
605 * generated/maxloc0_8_i1.c: Regenerated.
606 * generated/maxloc0_8_i16.c: Regenerated.
607 * generated/maxloc0_8_i2.c: Regenerated.
608 * generated/maxloc0_8_i4.c: Regenerated.
609 * generated/maxloc0_8_i8.c: Regenerated.
610 * generated/maxloc0_8_r10.c: Regenerated.
611 * generated/maxloc0_8_r16.c: Regenerated.
612 * generated/maxloc0_8_r4.c: Regenerated.
613 * generated/maxloc0_8_r8.c: Regenerated.
614 * generated/maxloc1_16_i1.c: Regenerated.
615 * generated/maxloc1_16_i16.c: Regenerated.
616 * generated/maxloc1_16_i2.c: Regenerated.
617 * generated/maxloc1_16_i4.c: Regenerated.
618 * generated/maxloc1_16_i8.c: Regenerated.
619 * generated/maxloc1_16_r10.c: Regenerated.
620 * generated/maxloc1_16_r16.c: Regenerated.
621 * generated/maxloc1_16_r4.c: Regenerated.
622 * generated/maxloc1_16_r8.c: Regenerated.
623 * generated/maxloc1_4_i1.c: Regenerated.
624 * generated/maxloc1_4_i16.c: Regenerated.
625 * generated/maxloc1_4_i2.c: Regenerated.
626 * generated/maxloc1_4_i4.c: Regenerated.
627 * generated/maxloc1_4_i8.c: Regenerated.
628 * generated/maxloc1_4_r10.c: Regenerated.
629 * generated/maxloc1_4_r16.c: Regenerated.
630 * generated/maxloc1_4_r4.c: Regenerated.
631 * generated/maxloc1_4_r8.c: Regenerated.
632 * generated/maxloc1_8_i1.c: Regenerated.
633 * generated/maxloc1_8_i16.c: Regenerated.
634 * generated/maxloc1_8_i2.c: Regenerated.
635 * generated/maxloc1_8_i4.c: Regenerated.
636 * generated/maxloc1_8_i8.c: Regenerated.
637 * generated/maxloc1_8_r10.c: Regenerated.
638 * generated/maxloc1_8_r16.c: Regenerated.
639 * generated/maxloc1_8_r4.c: Regenerated.
640 * generated/maxloc1_8_r8.c: Regenerated.
641 * generated/maxval_i1.c: Regenerated.
642 * generated/maxval_i16.c: Regenerated.
643 * generated/maxval_i2.c: Regenerated.
644 * generated/maxval_i4.c: Regenerated.
645 * generated/maxval_i8.c: Regenerated.
646 * generated/maxval_r10.c: Regenerated.
647 * generated/maxval_r16.c: Regenerated.
648 * generated/maxval_r4.c: Regenerated.
649 * generated/maxval_r8.c: Regenerated.
650 * generated/minloc0_16_i1.c: Regenerated.
651 * generated/minloc0_16_i16.c: Regenerated.
652 * generated/minloc0_16_i2.c: Regenerated.
653 * generated/minloc0_16_i4.c: Regenerated.
654 * generated/minloc0_16_i8.c: Regenerated.
655 * generated/minloc0_16_r10.c: Regenerated.
656 * generated/minloc0_16_r16.c: Regenerated.
657 * generated/minloc0_16_r4.c: Regenerated.
658 * generated/minloc0_16_r8.c: Regenerated.
659 * generated/minloc0_4_i1.c: Regenerated.
660 * generated/minloc0_4_i16.c: Regenerated.
661 * generated/minloc0_4_i2.c: Regenerated.
662 * generated/minloc0_4_i4.c: Regenerated.
663 * generated/minloc0_4_i8.c: Regenerated.
664 * generated/minloc0_4_r10.c: Regenerated.
665 * generated/minloc0_4_r16.c: Regenerated.
666 * generated/minloc0_4_r4.c: Regenerated.
667 * generated/minloc0_4_r8.c: Regenerated.
668 * generated/minloc0_8_i1.c: Regenerated.
669 * generated/minloc0_8_i16.c: Regenerated.
670 * generated/minloc0_8_i2.c: Regenerated.
671 * generated/minloc0_8_i4.c: Regenerated.
672 * generated/minloc0_8_i8.c: Regenerated.
673 * generated/minloc0_8_r10.c: Regenerated.
674 * generated/minloc0_8_r16.c: Regenerated.
675 * generated/minloc0_8_r4.c: Regenerated.
676 * generated/minloc0_8_r8.c: Regenerated.
677 * generated/minloc1_16_i1.c: Regenerated.
678 * generated/minloc1_16_i16.c: Regenerated.
679 * generated/minloc1_16_i2.c: Regenerated.
680 * generated/minloc1_16_i4.c: Regenerated.
681 * generated/minloc1_16_i8.c: Regenerated.
682 * generated/minloc1_16_r10.c: Regenerated.
683 * generated/minloc1_16_r16.c: Regenerated.
684 * generated/minloc1_16_r4.c: Regenerated.
685 * generated/minloc1_16_r8.c: Regenerated.
686 * generated/minloc1_4_i1.c: Regenerated.
687 * generated/minloc1_4_i16.c: Regenerated.
688 * generated/minloc1_4_i2.c: Regenerated.
689 * generated/minloc1_4_i4.c: Regenerated.
690 * generated/minloc1_4_i8.c: Regenerated.
691 * generated/minloc1_4_r10.c: Regenerated.
692 * generated/minloc1_4_r16.c: Regenerated.
693 * generated/minloc1_4_r4.c: Regenerated.
694 * generated/minloc1_4_r8.c: Regenerated.
695 * generated/minloc1_8_i1.c: Regenerated.
696 * generated/minloc1_8_i16.c: Regenerated.
697 * generated/minloc1_8_i2.c: Regenerated.
698 * generated/minloc1_8_i4.c: Regenerated.
699 * generated/minloc1_8_i8.c: Regenerated.
700 * generated/minloc1_8_r10.c: Regenerated.
701 * generated/minloc1_8_r16.c: Regenerated.
702 * generated/minloc1_8_r4.c: Regenerated.
703 * generated/minloc1_8_r8.c: Regenerated.
704 * generated/minval_i1.c: Regenerated.
705 * generated/minval_i16.c: Regenerated.
706 * generated/minval_i2.c: Regenerated.
707 * generated/minval_i4.c: Regenerated.
708 * generated/minval_i8.c: Regenerated.
709 * generated/minval_r10.c: Regenerated.
710 * generated/minval_r16.c: Regenerated.
711 * generated/minval_r4.c: Regenerated.
712 * generated/minval_r8.c: Regenerated.
713 * generated/product_c10.c: Regenerated.
714 * generated/product_c16.c: Regenerated.
715 * generated/product_c4.c: Regenerated.
716 * generated/product_c8.c: Regenerated.
717 * generated/product_i1.c: Regenerated.
718 * generated/product_i16.c: Regenerated.
719 * generated/product_i2.c: Regenerated.
720 * generated/product_i4.c: Regenerated.
721 * generated/product_i8.c: Regenerated.
722 * generated/product_r10.c: Regenerated.
723 * generated/product_r16.c: Regenerated.
724 * generated/product_r4.c: Regenerated.
725 * generated/product_r8.c: Regenerated.
726 * generated/sum_c10.c: Regenerated.
727 * generated/sum_c16.c: Regenerated.
728 * generated/sum_c4.c: Regenerated.
729 * generated/sum_c8.c: Regenerated.
730 * generated/sum_i1.c: Regenerated.
731 * generated/sum_i16.c: Regenerated.
732 * generated/sum_i2.c: Regenerated.
733 * generated/sum_i4.c: Regenerated.
734 * generated/sum_i8.c: Regenerated.
735 * generated/sum_r10.c: Regenerated.
736 * generated/sum_r16.c: Regenerated.
737 * generated/sum_r4.c: Regenerated.
738 * generated/sum_r8.c: Regenerated.
740 2007-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
743 * acinclude.m4 (LIBGFOR_CHECK_MINGW_SNPRINTF): New check.
744 * configure.ac: Use LIBGFOR_CHECK_MINGW_SNPRINTF.
745 * libgfortran.h: If HAVE_MINGW_SNPRINTF is true, use __mingw_snprintf
747 * config.h.in: Regenerate.
748 * configure: Regenerate.
750 2007-08-22 Bernhard Fischer <rep.dot.nop@gmail.com>
752 * libgfortran/Makefile.am (AM_CPPFLAGS): Commentary typo fix.
754 2007-08-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
757 * intrinsics/string_intrinsics.c (string_trim, string_minmax): Fix
758 the zero-length result case.
760 2007-08-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
763 * intrinsics/random.c (random_seed_i8): Fix code logic.
765 2007-08-13 Danny Smith <dannysmit@users.sourceforge.net>
767 * acinclude.m4 (GTHREAD_USE_WEAK) Define to 0 for mingw32.
768 * configure: Regenerate.
770 2007-08-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
774 * intrinsics/random.c (random_seed): Rename into random_seed_i4.
775 (random_seed_i8): New function.
776 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_random_seed,
777 add _gfortran_random_seed_i4 and _gfortran_random_seed_i8.
778 * libgfortran.h (iexport_proto): Replace random_seed by
779 random_seed_i4 and random_seed_i8.
780 * runtime/main.c (init): Call the new random_seed_i4.
782 2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
783 Tobias Burnus <burnus@gcc.gnu.org>
786 * runtime/backtrace.c (show_backtrace): Skip _gfortrani_handler
787 when displaying backtrace.
788 * runtime/compile_options.c: Include <signal.h>.
789 (handler): New function.
790 (set_options): Set signal handlers for backtrace.
791 * libgfortran.h (handler): Add prototype.
793 2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
795 * intrinsics/string_intrinsics.c (compare_string): Return an int.
796 * libgfortran.h (compare_string): Likewise.
798 2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
801 * runtime/error.c (runtime_error_at): Add a variable number of
803 * libgfortran.h (runtime_error_at): Update prototype.
805 2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
808 * intrinsics/associated.c: Change return type of associated into
811 2007-08-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
814 * io/list_read.c (find_nml_name): Check for a space after a namelist
817 2007-08-09 Tobias Burnus <burnus@net-b.de>
820 * io/format.c (next_char): Treat '\t' as ' ' in format specification.
822 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
825 * intrinsics/signal.c: Create specific versions of alarm_sub and
826 alarm_sub_int according to the integer kind of the last argument.
827 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_alarm_sub and
828 _gfortran_alarm_sub_int, add _gfortran_alarm_sub_i4,
829 _gfortran_alarm_sub_i8, _gfortran_alarm_sub_int_i4 and
830 _gfortran_alarm_sub_int_i8.
832 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
835 * intrinsics/string_intrinsics.c (string_minmax): New function
837 * gfortran.map (GFORTRAN_1.0): Add _gfortran_string_minmax
839 2007-08-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
842 * intrinsics/c99_functions.c (roundl): Provide fallback
843 implementation for systems without ceill.
844 * c99_protos.h (roundl): Define prototype in all cases.
846 2007-08-03 Thomas Koenig <tkoenig@gcc.gnu.org>
849 * io/unix.c: If there is no vsnprintf, use vsprintf and issue
850 a fatal error when a buffer overrun occurs.
852 2007-08-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
855 * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
856 llroundf,llround,llroundl): New functions.
857 * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
858 llroundl): New prototypes.
859 * configure.ac: Check for lroundf, lround, lroundl, llroundf,
860 llround and llroundl.
861 * configure: Regenerate.
862 * Makefile.in: Regenerate.
863 * config.h.in: Regenerate.
865 2007-07-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
867 * libgfortran.h: Include <stdarg.h>.
869 2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
873 * configure.ac: Added checks for presence of stdio.h and
874 stdarg.h. Test presence of vsnprintf().
875 * configure: Regenerated.
876 * config.h.in: Regenerated.
877 * libgfortran.h: Include <stdio.h>. Add printf attribute to
878 prototype of runtime_error. Remove prototype for st_sprintf.
879 Add prototype for st_vprintf.
880 * runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
881 * runtime/error.c (st_sprintf): Remove.
882 (runtime_error): Rewrite as a variadic function. Call
884 * intrinsics/pack_generic.c: Output extents of LHS and RHS for
886 * io/open.c (new_unit): Replace st_sprintf by sprintf.
887 * io/list_read.c (convert_integer): Likewise.
888 (parse_repeat): Likewise.
889 (read_logical): Likewise.
890 (read_character): Likewise.
891 (parse_real): Likewise.
892 (read_real): Likewise.
893 (check_type): Likewise.
894 (nml_parse_qualifyer): Likewise.
895 (nml_read_obj): Likewise.
896 (nml_get_ojb_data): Likewise.
897 * io/unix.c (init_error_stream): Remove.
898 (tempfile): Replace st_sprintf by sprintf.
899 (st_vprintf): New function.
900 (st_printf): Rewrite to call st_vprintf.
901 * io/transfer.c (require_type): Replace st_sprintf by sprintf.
902 * io/format.c (format_error): Likewise.
903 * io/write.c (nml_write_obj): Likewise.
905 2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>
907 * io/transfer.c (st_set_nml_var_dim): Use index_type instead of
908 GFC_INTEGER_4 for array descriptor triplets.
910 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
912 * io/unix.c (stream_ttyname): Mark argument as potentialy unused.
914 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
917 * runtime/select.c (select_string): Adjust prototype and function
918 so that the return value is an integer, not a pointer.
920 2007-07-24 Tobias Burnus <burnus@net-b.de>
922 * libgfortran.h: Add bounds_check to compile_options_t.
924 2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
927 * libgfortran.h: Add bounds_check to compile_options_t.
928 * runtime/compile_options.c (set_options): Add handling
929 of compile_options.bounds_check.
930 * intrinsics/pack_generic.c (pack_internal): Also determine
931 the number of elements if compile_options.bounds_check is
932 true. Raise runtime error if a different array shape is
935 2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
938 * intrinsics/iso_c_binding.c (c_funloc): Remove.
939 * intrinsics/iso_c_binding.h: Remove c_funloc.
940 * gfortran.map: Ditto.
942 2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
944 * io/read.c (convert_real): Generate error only on EINVAL.
946 2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
949 * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
950 for character/string arguments.
951 * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
952 the optional SHAPE arg to be any valid integer kind.
953 * libgfortran/gfortran.map: Add c_f_pointer_s0.
954 * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
956 * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
957 c_f_pointer for complex and logical types.
958 * libgfortran/gfortran.map: Add c_f_pointer versions for logical
961 2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
964 * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
965 * libgfortran/intrinsics/iso_c_binding.h: Ditto.
966 * libgfortran/gfortran.map: Ditto.
968 2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
969 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
972 * runtime/compile_options.c (set_std): Remove.
973 (set_options): New function.
974 (init_compile_options): Add initialization for -fsign-zero option.
975 * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
976 _gfortran_set_options.
977 * libgfortran.h (compile_options_t): Add sign_zero field.
978 * io/write.c (output_float): Use the sign bit of the value to determine
979 if a negative sign should be emitted for zero values. Do not emit the
980 negative sign for zero if -fno-sign-zero was set during compile.
982 2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
985 * io/unix.c (unix_stream): Move buffer pointer adjacent to
987 * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
988 bytes_used to zero. Fix off by one error in calculation of pos and
989 skips. Eliminate duplicate pending_spaces check.
991 2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
994 * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
995 TOPOS arguments are C int.
997 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1000 * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
1001 (fd_alloc): If the number of bytes needed is greater than the default
1002 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer
1003 if necessary. (fd_sfree): Restore use of buffer pointer.
1004 (fd_close): Likewise. (fd_open): Likewise.
1005 (init_error_stream): Likewise.
1007 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
1010 * m4/matmul.m4: When the dimension of b is incorrect,
1011 raise a runtime error instead of a failed assertion.
1012 * generated/matmul_i1.c: Regenerated.
1013 * generated/matmul_i2.c: Regenerated.
1014 * generated/matmul_i4.c: Regenerated.
1015 * generated/matmul_i8.c: Regenerated.
1016 * generated/matmul_i16.c: Regenerated.
1017 * generated/matmul_r4.c: Regenerated.
1018 * generated/matmul_r8.c: Regenerated.
1019 * generated/matmul_r10.c: Regenerated.
1020 * generated/matmul_r16.c: Regenerated.
1022 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1024 PR libgfortran/32678
1025 * io/transfer.c (formatted_transfer_scalar): Don't allow
1026 pending_spaces to go negative.
1028 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
1031 * intrinsics/unpack_generic.c: If the destination array is
1032 empty, return early.
1034 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1036 * aclocal.m4: Regenerated.
1038 2007-07-04 David Edelsohn <edelsohn@gnu.org>
1040 * configure.ac: SUBST CFLAGS.
1041 * configure: Regenerate.
1043 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
1045 * libgfortran.h: Mark internal_malloc_size as a malloc function.
1046 * runtime/memory.c (internal_realloc_size): Remove.
1047 (internal_realloc): Call realloc directly instead of
1048 internal_realloc_size.
1049 (allocate_size): Remove.
1050 (allocate): Call malloc directly instead of allocate_size, mark as
1053 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
1055 Restore collateral damage from ISO C Binding merge.
1057 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1059 PR libgfortran/32456
1060 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
1063 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
1065 * Makefile.in: Regenerated with automake 1.9.6.
1067 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
1069 * Makefile.in: Remove extraneous kill.lo rule.
1071 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
1074 * generated/pow_r*_i4.c: Removed.
1076 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
1078 * Makefile.in: Add support for iso_c_generated_procs.c and
1080 * Makefile.am: Ditto.
1081 * intrinsics/iso_c_generated_procs.c: New file containing helper
1083 * intrinsics/iso_c_binding.c: Ditto.
1084 * intrinsics/iso_c_binding.h: New file
1085 * gfortran.map: Include the __iso_c_binding_c_* functions.
1086 * libgfortran.h: define GFC_NUM_RANK_BITS.
1088 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
1091 * Makefile.am: Don't generate real**int4 pow functions.
1092 * gfortran.map: Remove real**int4 pow symbols.
1093 * Makefile.in: Regenerated.
1095 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1097 PR libgfortran/32554
1098 * io/write.c (output_float): Set edigits to a fixed size, avoiding
1099 variation in field width calculation and eliminate buffer overrun.
1101 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
1103 * runtime/memory.c (internal_realloc): Use index_type for size
1104 argument instead of GFC_INTEGER_4.
1105 (allocate_array): Likewise.
1106 (allocate): Likewise, add ifdef around unnecessary check.
1107 (internal_reallo64): Remove.
1108 (allocate_array64): Remove.
1109 (allocate64): Remove.
1110 * gfortran.map: Remove symbols for 64-bit allocation functions.
1112 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1114 PR libgfortran/32456
1115 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
1118 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
1121 * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
1122 (show_backtrace): Rename strcasestr to local_strcasestr.
1124 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1126 PR libgfortran/32456
1127 * runtime/error.c (show_locus): Update to emit the unit number
1128 and file name involved with the error. Use new function
1130 * libgfortran.h (filename_from_unit): Declare new function.
1131 * io/unit.c (init_units): Set the unit file name for stdin, stdout,
1132 and stderr for use later in error reporting.
1133 (filename_from_unit): Add this new function.
1135 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1137 PR libgfortran/32446
1138 * io/write.c (output_float): Calculate ndigits correctly for large
1139 numbered formats that must pad zeros before the decimal point.
1141 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1144 * runtime/backtrace.c (show_backtrace): Only use snprintf if
1147 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1149 PR libgfortran/32235
1150 * io/transfer.c (st_read): Remove test for end of file condition.
1151 (next_record_r): Add test for end of file condition.
1153 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
1155 * configure: Regenerate.
1157 2007-05-28 Tobias Burnus <burnus@net-b.de>
1160 * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
1161 (allocate,allocate64): Use stat variable if present.
1163 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
1165 * runtime/string.c (compare0): Use gfc_charlen_type instead of
1167 (fstrlen): Likewise.
1168 (find_option): Likewise.
1169 (fstrcpy): Use gfc_charlen_type instead of int, return length.
1170 (cf_strcpy): Likewise.
1171 * libgfortran.h: Change string prototypes to use gfc_charlen_type.
1172 * io/open.c (new_unit): Use snprintf if available.
1173 * io/list_read.c (nml_touch_nodes): Use memcpy instead of
1175 (nml_read_obj): Likewise.
1176 * io/transfer.c (st_set_nml_var): Likewise.
1177 * io/write.c (output_float): Use snprintf if available.
1178 (nml_write_obj) Use memcpy instead of strcpy/strcat.
1180 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
1182 * io/unix.c (unix_stream): Rearrange struct members, remove
1184 (int_stream): New struct.
1185 (fd_alloc): Always use existing buffer, never reallocate.
1186 (fd_sfree): Remove check for buffer != small_buffer.
1187 (fd_close): Likewise.
1188 (mem_alloc_r_at): Change to use int_stream.
1189 (mem_alloc_w_at): Likewise.
1190 (mem_read): Likewise.
1191 (mem_write): Likewise.
1192 (mem_set): Likewise.
1193 (mem_truncate): Likewise.
1194 (mem_close): Likewise.
1195 (mem_sfree): Likewise.
1196 (empty_internal_buffer): Likewise.
1197 (open_internal): Likewise.
1199 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1201 * io/transfer.c (unformatted_read): Use size from front end
1202 eliminating use of size_from_real_kind.
1203 (unformatted_write): Ditto.
1205 2007-05-23 Steve Ellcey <sje@cup.hp.com>
1207 * Makefile.in: Regenerate.
1208 * configure: Regenerate.
1209 * aclocal.m4: Regenerate.
1211 2007-05-22 Tobias Burnus <burnus@net-b.de>
1213 * libgfortran.h: Mark stop_numeric as noreturn.
1215 2007-05-22 Tobias Burnus <burnus@net-b.de>
1217 PR libgfortran/31295
1218 * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
1219 * intrinsics/eoshift2.c (eoshift2): Ditto.
1221 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1224 * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
1225 shift of bit-size number of bits.
1227 2007-05-17 Tobias Burnus <burnus@net-b.de>
1230 * runtime/environ.c (mark_range): Fix setting default convert unit.
1232 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1235 * intrinsics/string_intrinsics.c (string_trim): Set result to null if
1236 string length is zero.
1238 2007-05-15 Tobias Burnus <burnus@net-b.de>
1241 * io/transfer.c (unformatted_read): Use proper size for real(10).
1242 (unformatted_write): Ditto.
1244 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1247 * runtime/memory.c (internal_malloc, internal_malloc64,
1248 internal_free): Remove.
1249 * runtime/error.c (os_error): Export function.
1250 * intrinsics/move_alloc.c: Include stdlib.h.
1251 (move_alloc): Call free instead of internal_free.
1252 (move_alloc_c): Wrap long lines.
1253 * libgfortran.h (os_error): Export prototype.
1254 (internal_free): Remove prototype.
1255 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
1256 _gfortran_internal_malloc and _gfortran_internal_malloc64.
1257 Add _gfortran_os_error.
1259 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1262 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
1264 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1267 * intrinsics/system.c (system_sub): Call flush_all_units.
1268 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
1269 * libgfortran.h (flush_all_units): Add prototype.
1271 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1274 * runtime/error.c (runtime_error_at): New function.
1275 (generate_error): Export this function.
1276 * gfortran.map: Add _gfortran_generate_error and
1277 _gfortran_runtime_error_at.
1278 * libgfortran.h: Add comment to reference error codes in front end.
1279 (library_start): Locate prototype with library_end macro and add
1280 a new comment. Add prototype for runtime_error_at. Export prototype
1282 * io/lock.c (library_start): Fix check for error condition.
1283 * io/transfer.c (data_transfer_init): Add library check.
1285 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
1288 * io/intrinsics.c (fseek_sub): New.
1289 * io/unix.c (fd_fseek): Change logical and physical offsets only
1291 * gfortran.map (fseek_sub): New.
1293 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1296 * io/transfer.c (transfer_character): Avoid passing a NULL
1297 pointer as source to the transfer routines, if the string length
1300 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1303 * io/list_read.c (next_char): Fix whitespace.
1304 * io/io.h: Remove prototypes and define macros for is_array_io,
1305 is_stream_io, and is_internal_unit.
1306 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
1308 * io/transfer.c (read_sf): Change handling of internal_unit to make a
1309 single call to salloc_r and use memcpy to transfer the data.
1311 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1314 * io/file_pos.c (st_backspace): Set flags.position for end of file
1315 condition and use new function update_position.
1316 (st_endfile): Use new function update_position.
1317 * io/io.h: Add prototype for new function.
1318 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
1320 * io/unit.c (update_position): New function to update position info
1322 * io/transfer.c (next_record): Fix typo and use new function.
1324 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1327 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
1328 getlogin if they are available.
1329 * configure.ac: Add checks for getpwuid and geteuid.
1330 * configure: Regenerate.
1331 * config.h.in: Regenerate.
1333 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
1335 * configure: Regenerate using autoconf 2.59.
1336 * Makefile.in: Likewise.
1337 * config.h.in: Likewise.
1339 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
1342 * configure.ac: New test to determine if symbol versioning is
1344 * Makefile.am: Use result of above test to add appropriate linker
1346 * gfortran.map: New file.
1347 * configure: Regenerated.
1348 * Makefile.in: Regenerated.
1349 * config.h.in: Regenerated.
1351 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
1354 * io/transfer.c (read_block_direct): Instead of calling us_read,
1355 set dtp->u.p.current_unit->current_record = 0 so that pre_position
1356 will read the record marker.
1357 (data_transfer_init): For different error conditions, call
1358 generate_error, then return.
1360 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1362 * runtime/main.c (please_free_exe_path_when_done): New variable.
1363 (store_exe_path): Initialize character buffer, and mark whether
1364 exe_path should be free'd by the library destructor function.
1365 (cleanup): Only free exe_path if needed.
1367 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1368 Tobias Burnus <burnus@net-b.de>
1372 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
1373 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
1374 array structures we pass to unpack_internal.
1376 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1378 * io/open.c (test_endfile): Revert changes for 31052, restoring this
1381 2007-04-14 Steve Ellcey <sje@cup.hp.com>
1383 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
1384 * Makefile.in: Regenerate.
1386 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
1388 * configure: Regenerate.
1390 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1392 * intrinsics/cpu_time.c: Don't include headers already included
1393 by libgfortran.h. Protect inclusion of sys/times.h.
1394 * configure.ac: Remove unneeded checks for finit, stdio.h,
1395 stddef.h, math.h and sys/params.h.
1396 * config/fpu-aix.h: Don't include headers already included by
1398 * config/fpu-sysv.h: Likewise.
1399 * io/write.c: Likewise.
1400 * m4/minloc1.m4: Likewise.
1401 * m4/maxloc1.m4: Likewise.
1402 * m4/fraction.m4: Likewise.
1403 * m4/set_exponent.m4: Likewise.
1404 * m4/spacing.m4: Likewise.
1405 * m4/minval.m4: Likewise.
1406 * m4/maxval.m4: Likewise.
1407 * m4/exponent.m4: Likewise.
1408 * m4/nearest.m4: Likewise.
1409 * m4/minloc0.m4: Likewise.
1410 * m4/maxloc0.m4: Likewise.
1411 * m4/rrspacing.m4: Likewise.
1412 * runtime/main.c: Likewise.
1413 * runtime/error.c: Likewise.
1414 * intrinsics/system_clock.c: Likewise.
1415 * intrinsics/etime.c: Likewise.
1416 * intrinsics/stat.c: Likewise.
1417 * intrinsics/date_and_time.c: Likewise.
1418 * intrinsics/env.c: Likewise.
1419 * intrinsics/kill.c: Likewise.
1420 * intrinsics/getXid.c: Likewise.
1421 * intrinsics/chmod.c: Likewise.
1422 * intrinsics/args.c: Likewise.
1423 * intrinsics/c99_functions.c: Likewise.
1424 * generated/minval_r8.c: Regenerate.
1425 * generated/maxloc1_4_r8.c: Regenerate.
1426 * generated/minloc1_16_r16.c: Regenerate.
1427 * generated/maxval_i2.c: Regenerate.
1428 * generated/maxloc1_8_i4.c: Regenerate.
1429 * generated/exponent_r16.c: Regenerate.
1430 * generated/maxloc0_4_r4.c: Regenerate.
1431 * generated/fraction_r16.c: Regenerate.
1432 * generated/fraction_r4.c: Regenerate.
1433 * generated/minloc0_4_r16.c: Regenerate.
1434 * generated/minloc0_4_i1.c: Regenerate.
1435 * generated/maxloc0_4_r16.c: Regenerate.
1436 * generated/maxloc0_4_i2.c: Regenerate.
1437 * generated/minloc1_8_r16.c: Regenerate.
1438 * generated/maxloc1_8_r16.c: Regenerate.
1439 * generated/set_exponent_r8.c: Regenerate.
1440 * generated/maxloc0_8_i8.c: Regenerate.
1441 * generated/minloc1_4_r8.c: Regenerate.
1442 * generated/maxloc1_16_r16.c: Regenerate.
1443 * generated/minloc1_16_i4.c: Regenerate.
1444 * generated/maxloc1_16_i4.c: Regenerate.
1445 * generated/minloc0_16_i8.c: Regenerate.
1446 * generated/maxloc0_16_i8.c: Regenerate.
1447 * generated/nearest_r8.c: Regenerate.
1448 * generated/spacing_r16.c: Regenerate.
1449 * generated/maxval_r16.c: Regenerate.
1450 * generated/minloc1_8_i4.c: Regenerate.
1451 * generated/minloc0_16_i16.c: Regenerate.
1452 * generated/minloc0_4_r4.c: Regenerate.
1453 * generated/set_exponent_r10.c: Regenerate.
1454 * generated/rrspacing_r10.c: Regenerate.
1455 * generated/minloc0_4_i2.c: Regenerate.
1456 * generated/maxloc0_8_i1.c: Regenerate.
1457 * generated/minloc0_8_i8.c: Regenerate.
1458 * generated/spacing_r4.c: Regenerate.
1459 * generated/minloc1_16_r10.c: Regenerate.
1460 * generated/minloc0_16_i1.c: Regenerate.
1461 * generated/maxloc0_16_i1.c: Regenerate.
1462 * generated/maxloc1_8_r8.c: Regenerate.
1463 * generated/minval_i16.c: Regenerate.
1464 * generated/exponent_r10.c: Regenerate.
1465 * generated/maxval_i4.c: Regenerate.
1466 * generated/minval_i8.c: Regenerate.
1467 * generated/maxloc1_4_i8.c: Regenerate.
1468 * generated/fraction_r10.c: Regenerate.
1469 * generated/maxloc0_16_i16.c: Regenerate.
1470 * generated/maxloc0_8_r4.c: Regenerate.
1471 * generated/rrspacing_r8.c: Regenerate.
1472 * generated/minloc1_4_i16.c: Regenerate.
1473 * generated/minloc0_4_r10.c: Regenerate.
1474 * generated/maxloc1_4_i16.c: Regenerate.
1475 * generated/minloc0_8_i16.c: Regenerate.
1476 * generated/maxloc0_4_r10.c: Regenerate.
1477 * generated/maxloc0_8_i16.c: Regenerate.
1478 * generated/minloc1_8_r10.c: Regenerate.
1479 * generated/minloc0_16_r4.c: Regenerate.
1480 * generated/maxloc1_8_r10.c: Regenerate.
1481 * generated/maxloc0_16_r4.c: Regenerate.
1482 * generated/minloc1_16_r8.c: Regenerate.
1483 * generated/minloc0_8_i1.c: Regenerate.
1484 * generated/maxloc0_4_i4.c: Regenerate.
1485 * generated/maxloc1_16_r8.c: Regenerate.
1486 * generated/maxloc0_8_i2.c: Regenerate.
1487 * generated/nearest_r16.c: Regenerate.
1488 * generated/maxloc1_16_r10.c: Regenerate.
1489 * generated/minloc0_16_i2.c: Regenerate.
1490 * generated/minloc1_8_r8.c: Regenerate.
1491 * generated/maxloc0_16_i2.c: Regenerate.
1492 * generated/exponent_r4.c: Regenerate.
1493 * generated/spacing_r10.c: Regenerate.
1494 * generated/maxval_r10.c: Regenerate.
1495 * generated/minval_i1.c: Regenerate.
1496 * generated/maxloc1_4_i1.c: Regenerate.
1497 * generated/minloc1_4_i8.c: Regenerate.
1498 * generated/minloc0_8_r4.c: Regenerate.
1499 * generated/minloc0_16_r16.c: Regenerate.
1500 * generated/minloc0_4_i4.c: Regenerate.
1501 * generated/minloc0_8_i2.c: Regenerate.
1502 * generated/minval_r4.c: Regenerate.
1503 * generated/maxloc1_4_r4.c: Regenerate.
1504 * generated/maxval_r8.c: Regenerate.
1505 * generated/minval_r16.c: Regenerate.
1506 * generated/minloc1_4_i1.c: Regenerate.
1507 * generated/minval_i2.c: Regenerate.
1508 * generated/maxloc1_4_i2.c: Regenerate.
1509 * generated/maxloc1_8_i8.c: Regenerate.
1510 * generated/maxloc0_4_r8.c: Regenerate.
1511 * generated/maxloc0_16_r16.c: Regenerate.
1512 * generated/minloc1_4_r16.c: Regenerate.
1513 * generated/fraction_r8.c: Regenerate.
1514 * generated/maxloc1_4_r16.c: Regenerate.
1515 * generated/set_exponent_r4.c: Regenerate.
1516 * generated/minloc0_8_r16.c: Regenerate.
1517 * generated/maxloc0_8_r16.c: Regenerate.
1518 * generated/nearest_r10.c: Regenerate.
1519 * generated/maxloc0_8_i4.c: Regenerate.
1520 * generated/minloc1_4_r4.c: Regenerate.
1521 * generated/minloc0_16_i4.c: Regenerate.
1522 * generated/maxloc0_16_i4.c: Regenerate.
1523 * generated/nearest_r4.c: Regenerate.
1524 * generated/minloc1_16_i8.c: Regenerate.
1525 * generated/maxloc1_16_i8.c: Regenerate.
1526 * generated/minloc1_4_i2.c: Regenerate.
1527 * generated/maxloc1_8_i1.c: Regenerate.
1528 * generated/minloc0_16_r10.c: Regenerate.
1529 * generated/minloc1_8_i8.c: Regenerate.
1530 * generated/minloc0_4_r8.c: Regenerate.
1531 * generated/minloc0_8_i4.c: Regenerate.
1532 * generated/minloc1_16_i16.c: Regenerate.
1533 * generated/spacing_r8.c: Regenerate.
1534 * generated/maxloc1_8_r4.c: Regenerate.
1535 * generated/minloc1_16_i1.c: Regenerate.
1536 * generated/maxloc1_16_i1.c: Regenerate.
1537 * generated/minval_r10.c: Regenerate.
1538 * generated/minval_i4.c: Regenerate.
1539 * generated/minloc1_8_i1.c: Regenerate.
1540 * generated/maxloc1_4_i4.c: Regenerate.
1541 * generated/maxloc1_8_i2.c: Regenerate.
1542 * generated/maxval_i8.c: Regenerate.
1543 * generated/maxloc0_16_r10.c: Regenerate.
1544 * generated/rrspacing_r4.c: Regenerate.
1545 * generated/minloc0_4_i16.c: Regenerate.
1546 * generated/maxloc0_8_r8.c: Regenerate.
1547 * generated/maxloc0_4_i16.c: Regenerate.
1548 * generated/minloc1_4_r10.c: Regenerate.
1549 * generated/minloc1_8_i16.c: Regenerate.
1550 * generated/maxloc1_4_r10.c: Regenerate.
1551 * generated/minloc0_8_r10.c: Regenerate.
1552 * generated/maxloc1_8_i16.c: Regenerate.
1553 * generated/maxloc0_8_r10.c: Regenerate.
1554 * generated/minloc1_16_r4.c: Regenerate.
1555 * generated/maxloc1_16_r4.c: Regenerate.
1556 * generated/minloc0_16_r8.c: Regenerate.
1557 * generated/maxloc0_16_r8.c: Regenerate.
1558 * generated/maxloc0_4_i8.c: Regenerate.
1559 * generated/maxloc1_16_i16.c: Regenerate.
1560 * generated/minloc1_8_r4.c: Regenerate.
1561 * generated/minloc1_16_i2.c: Regenerate.
1562 * generated/maxloc1_16_i2.c: Regenerate.
1563 * generated/maxval_i16.c: Regenerate.
1564 * generated/exponent_r8.c: Regenerate.
1565 * generated/minloc1_4_i4.c: Regenerate.
1566 * generated/maxval_i1.c: Regenerate.
1567 * generated/minloc1_8_i2.c: Regenerate.
1568 * generated/minloc0_8_r8.c: Regenerate.
1569 * generated/set_exponent_r16.c: Regenerate.
1570 * generated/maxloc0_4_i1.c: Regenerate.
1571 * generated/rrspacing_r16.c: Regenerate.
1572 * generated/minloc0_4_i8.c: Regenerate.
1573 * generated/maxval_r4.c: Regenerate.
1574 * configure: Regenerate.
1575 * config.h.in: Regenerate.
1577 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1580 * io/format.c (parse_format_list): Fix parsing.
1582 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1585 intrinsics/string_intrinsics.c (string_repeat): Remove.
1587 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1590 * io/open.c (test_endfile): Delete this function.
1591 (edit_modes): Delete call to test_endfile.
1592 (new_unit): Likewise.
1593 * io/io.h: Delete prototype for test_endfile.
1594 * io/transfer.c (next_record_r): Remove use of test_endfile.
1595 (st_read): Add test for end file condition and adjust status.
1597 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1600 * io/transfer.c (read_block_direct): Do not generate error when reading
1601 past EOF on a short record that is less than the RECL= specified.
1603 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1606 * io/unit.c (close_unit_1): If there are bytes previously written from
1607 ADVANCE="no", move to the end before closing.
1609 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1612 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
1613 if stat() and fstat() library functions are available. When lstat()
1614 is not available, use stat() instead.
1615 * configure.ac: Add checks for stat, fstat and lstat.
1616 * configure: Regenerate.
1617 * config.h.in: Regenerate.
1619 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1622 * io/transfer.c (next_record_r): Do not call test_endfile if in
1625 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1628 * io/io.h: Add saved_pos to gfc_unit structure.
1629 * io/open.c (new_unit): Initialize saved_pos.
1630 * io/transfer.c (data_transfer_init): Set max_pos to value in
1632 (next_record_w): Fix whitespace.
1633 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
1634 later use. If not ADVANCE="no" set saved_pos to zero.
1636 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
1639 * intrinsics/reshape_generic.c (reshape_internal): Increment
1642 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1645 * file_pos.c: Update Copyright year.
1646 * io/open.c (test_endfile): Restore test_endfile to fix SPEC
1647 regression. Update Copyright year.
1649 * io/unix.c (is_special): Add missing type for this function.
1650 Update Copyright year.
1651 * io/transfer.c (next_record_r): Restore test_endfile.
1652 (st_read): Fix whitespace. Update Copyright year
1654 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1656 * configure.ac: Add missing check for gettimeofday.
1657 * config.h.in: Renegerate.
1658 * configure: Regenerate.
1660 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1663 * io/file_position (st_rewind): Fix comments. Remove use of
1664 test_endfile. Don't seek if already at 0 position. Use new is_special
1665 function to set endfile state.
1666 * io/open.c (test_endfile): Delete this function.
1667 * io/io.h: Delete prototype for test_endfile. Add prototype
1669 * io/unix.c (is_special): New function. Fix whitespace.
1670 * io/transfer.c (next_record_r): Remove use of test_endfile.
1672 2007-03-16 David Edelsohn <edelsohn@gnu.org>
1674 * runtime/main.c: Include "config.h" first.
1676 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1679 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
1681 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1683 * runtime/backtrace.c: New file.
1684 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
1685 environment variable.
1686 * runtime/compile_options.c (set_std): Add new argument.
1687 * runtime/main.c (store_exe_path, full_exe_path): New functions.
1688 * runtime/error.c (sys_exit): Add call to show_backtrace.
1689 * libgfortran.h (options_t): New backtrace field.
1690 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
1691 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
1692 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
1694 * Makefile.am: Add runtime/backtrace.c.
1695 * fmain.c (main): Add call to store_exe_path.
1696 * Makefile.in: Renegerate.
1697 * config.h.in: Renegerate.
1698 * configure: Regenerate.
1700 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1703 * io/transfer.c (formatted_transfer_scalar): Adjust position for
1704 pending spaces when in writing mode. Clean up some formatting.
1706 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
1709 * all.m4: Quote everything, except for m4 macros.
1711 * count.m4: Likewise.
1712 * cshift1.m4: Likewise.
1713 * eoshift1.m4: Likewise.
1714 * eoshift3.m4: Likewise.
1715 * exponent.m4: Likewise.
1716 * fraction.m4: Likewise.
1717 * in_pack.m4: Likewise.
1718 * in_unpack.m4: Likewise.
1719 * matmul.m4: Likewise.
1720 * matmull.m4: Likewise.
1721 * nearest.m4: Likewise.
1723 * product.m4: Likewise.
1724 * reshape.m4: Likewise.
1725 * rrspacing.m4: Likewise.
1726 * set_exponent.m4: Likewise.
1727 * shape.m4: Likewise.
1728 * spacing.m4: Likewise.
1729 * transpose.m4: Likewise.
1731 2007-03-14 Jakub Jelinek <jakub@redhat.com>
1733 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
1734 O_RDONLY even if errno is EROFS.
1736 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1739 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
1740 * io/transfer.c (next_record_w): Set bytes left to record length for
1741 sequential unformatted I/O.
1742 (next_record_r): Ditto.
1743 (read_block_direct): Fix test for exceeding bytes_left.
1745 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
1748 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
1751 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
1754 * m4/pow_m4: Use appropriate unsigned int type for u.
1755 * generated/pow_c10_i16.c: Regenerated.
1756 * generated/pow_c10_i4.c: Regenerated.
1757 * generated/pow_c10_i8.c: Regenerated.
1758 * generated/pow_c16_i16.c: Regenerated.
1759 * generated/pow_c16_i4.c: Regenerated.
1760 * generated/pow_c16_i8.c: Regenerated.
1761 * generated/pow_c4_i16.c: Regenerated.
1762 * generated/pow_c4_i4.c: Regenerated.
1763 * generated/pow_c4_i8.c: Regenerated.
1764 * generated/pow_c8_i16.c: Regenerated.
1765 * generated/pow_c8_i4.c: Regenerated.
1766 * generated/pow_c8_i8.c: Regenerated.
1767 * generated/pow_i16_i16.c: Regenerated.
1768 * generated/pow_i16_i4.c: Regenerated.
1769 * generated/pow_i16_i8.c: Regenerated.
1770 * generated/pow_i4_i16.c: Regenerated.
1771 * generated/pow_i4_i4.c: Regenerated.
1772 * generated/pow_i4_i8.c: Regenerated.
1773 * generated/pow_i8_i16.c: Regenerated.
1774 * generated/pow_i8_i4.c: Regenerated.
1775 * generated/pow_i8_i8.c: Regenerated.
1776 * generated/pow_r10_i16.c: Regenerated.
1777 * generated/pow_r10_i4.c: Regenerated.
1778 * generated/pow_r10_i8.c: Regenerated.
1779 * generated/pow_r16_i16.c: Regenerated.
1780 * generated/pow_r16_i4.c: Regenerated.
1781 * generated/pow_r16_i8.c: Regenerated.
1782 * generated/pow_r4_i16.c: Regenerated.
1783 * generated/pow_r4_i4.c: Regenerated.
1784 * generated/pow_r4_i8.c: Regenerated.
1785 * generated/pow_r8_i16.c: Regenerated.
1786 * generated/pow_r8_i4.c: Regenerated.
1787 * generated/pow_r8_i8.c: Regenerated.
1789 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1792 * intrinsics/pack_generic.c (pack_internal): Add special checks
1793 for zero-sized arrays.
1795 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1797 * Makefile.am: Add dummy install-pdf target.
1798 * Makefile.in: Regenerate
1800 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1803 * io/listread.c (namelist_read): Eat comment line.
1805 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1808 * io/write.c (output_float): Add condition of format F only for
1809 special case rounding with zero precision.
1811 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
1815 * Makefile.am: Add $(srcdir) too all files in generated/.
1816 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
1817 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
1819 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
1820 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
1822 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
1823 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
1824 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
1826 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
1827 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
1829 (i_minval_c): Add minval_i1.c and minval_i2.c.
1830 (i_sum_c): Add sum_i1.c and sum_i2.c.
1831 (i_product_c): Add product_i1.c and product_i2.c.
1832 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
1833 (gfor_built_specific_src): Remove $(srcdir) from target.
1834 (gfor_bulit_specific2_src): Likewise.
1835 Makefile.in: Regenerated.
1836 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
1837 Add gfc_array_i1 and gfc_array_i2.
1838 * generated/matmul_i1.c: New file.
1839 * generated/matmul_i2.c: New file.
1840 * generated/maxloc0_16_i1.c: New file.
1841 * generated/maxloc0_16_i2.c: New file.
1842 * generated/maxloc0_4_i1.c: New file.
1843 * generated/maxloc0_4_i2.c: New file.
1844 * generated/maxloc0_8_i1.c: New file.
1845 * generated/maxloc0_8_i2.c: New file.
1846 * generated/maxloc1_16_i1.c: New file.
1847 * generated/maxloc1_16_i2.c: New file.
1848 * generated/maxloc1_4_i1.c: New file.
1849 * generated/maxloc1_4_i2.c: New file.
1850 * generated/maxloc1_8_i1.c: New file.
1851 * generated/maxloc1_8_i2.c: New file.
1852 * generated/maxval_i1.c: New file.
1853 * generated/maxval_i2.c: New file.
1854 * generated/minloc0_16_i1.c: New file.
1855 * generated/minloc0_16_i2.c: New file.
1856 * generated/minloc0_4_i1.c: New file.
1857 * generated/minloc0_4_i2.c: New file.
1858 * generated/minloc0_8_i1.c: New file.
1859 * generated/minloc0_8_i2.c: New file.
1860 * generated/minloc1_16_i1.c: New file.
1861 * generated/minloc1_16_i2.c: New file.
1862 * generated/minloc1_4_i1.c: New file.
1863 * generated/minloc1_4_i2.c: New file.
1864 * generated/minloc1_8_i1.c: New file.
1865 * generated/minloc1_8_i2.c: New file.
1866 * generated/minval_i1.c: New file.
1867 * generated/minval_i2.c: New file.
1868 * generated/product_i1.c: New file.
1869 * generated/product_i2.c: New file.
1870 * generated/sum_i1.c: New file.
1871 * generated/sum_i2.c: New file.
1873 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1875 * runtime/memory.c (deallocate): Correct comment.
1877 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1879 * Makefile.am: Use $(M4) instead of m4.
1880 * Makefile.in: Regenerate.
1882 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1884 * Makefile.am: Remove $(srcdir) from assorted targets
1886 * Makefile.in: Regenerate.
1888 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
1889 Tobias Burnus <burnus@net-b.de>
1892 * m4/iparm.m4: Use HUGE-1 for most negative integer.
1893 * generated/maxloc1_8_i4.c: Regenerate.
1894 * generated/maxloc0_8_i8.c: Regenerate.
1895 * generated/maxloc1_16_i4.c: Regenerate.
1896 * generated/maxloc0_16_i8.c: Regenerate.
1897 * generated/maxval_i4.c: Regenerate.
1898 * generated/maxloc1_4_i8.c: Regenerate.
1899 * generated/maxloc0_16_i16.c: Regenerate.
1900 * generated/maxloc1_4_i16.c: Regenerate.
1901 * generated/maxloc0_8_i16.c: Regenerate.
1902 * generated/maxloc0_4_i4.c: Regenerate.
1903 * generated/maxloc1_8_i8.c: Regenerate.
1904 * generated/maxloc0_8_i4.c: Regenerate.
1905 * generated/maxloc0_16_i4.c: Regenerate.
1906 * generated/maxloc1_16_i8.c: Regenerate.
1907 * generated/maxloc1_4_i4.c: Regenerate.
1908 * generated/maxval_i8.c: Regenerate.
1909 * generated/maxloc0_4_i16.c: Regenerate.
1910 * generated/maxloc1_8_i16.c: Regenerate.
1911 * generated/maxloc0_4_i8.c: Regenerate.
1912 * generated/maxloc1_16_i16.c: Regenerate.
1913 * generated/maxval_i16.c: Regenerate.
1915 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1918 * intrinsics/string_intrinsics.c (string_repeat): Don't check
1919 if ncopies is negative.
1921 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1924 * libgfortran.h: Do not prefix symbol name with
1925 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
1927 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
1931 * io/transfer.c (init_loop_spec, next_array_record): Change to
1932 lbound rather than unity base.
1934 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1936 * runtime/error.c: Include sys/time.h before sys/resource.h.
1938 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
1941 * intrinsics/string_intrinsics.c(compare_string): Make
1942 sure that comparisons are done unsigned.
1944 2007-01-21 Tobias Burnus <burnus@net-b.de>
1947 * intrinsics/date_and_time.c (date_and_time): Fix case where time
1949 * configure.ac: Remove AC_TRY_RUN test for timezone in
1951 * acinclude.m4: Ditto.
1952 * configure: Regenerate.
1953 * config.h.in: Regenerate.
1955 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1957 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
1958 * m4/specific2.m4: Likewise.
1959 * m4/specific.m4: Likewise.
1960 * intrinsics/f2c_specifics.F90: Likewise.
1961 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
1962 * intrinsics/selected_real_kind.f90: Likewise.
1963 * intrinsics/dprod_r8.f90: Likewise.
1964 * Makefile.am: Add -fallow-leading-underscore to the
1965 gfor_specific_src files, as well as selected_real_kind.F90
1966 and selected_int_kind.F90
1967 * Makefile.in: Regenerate.
1968 * generated/_sqrt_c8.F90: Regenerate.
1969 * generated/_sign_r16.F90: Regenerate.
1970 * generated/_log_c16.F90: Regenerate.
1971 * generated/_sin_c10.F90: Regenerate.
1972 * generated/_tanh_r4.F90: Regenerate.
1973 * generated/_tanh_r8.F90: Regenerate.
1974 * generated/_log10_r10.F90: Regenerate.
1975 * generated/_aimag_c4.F90: Regenerate.
1976 * generated/_sign_r4.F90: Regenerate.
1977 * generated/_aimag_c8.F90: Regenerate.
1978 * generated/_sign_r8.F90: Regenerate.
1979 * generated/_mod_i4.F90: Regenerate.
1980 * generated/_cos_r16.F90: Regenerate.
1981 * generated/_aint_r10.F90: Regenerate.
1982 * generated/_mod_i8.F90: Regenerate.
1983 * generated/_abs_i16.F90: Regenerate.
1984 * generated/_sqrt_c10.F90: Regenerate.
1985 * generated/_atan2_r4.F90: Regenerate.
1986 * generated/_cos_c4.F90: Regenerate.
1987 * generated/_atan_r16.F90: Regenerate.
1988 * generated/_tanh_r10.F90: Regenerate.
1989 * generated/_atan2_r8.F90: Regenerate.
1990 * generated/_cos_c8.F90: Regenerate.
1991 * generated/_exp_r4.F90: Regenerate.
1992 * generated/_log_r10.F90: Regenerate.
1993 * generated/_exp_r8.F90: Regenerate.
1994 * generated/_abs_r4.F90: Regenerate.
1995 * generated/_abs_r8.F90: Regenerate.
1996 * generated/_sin_r16.F90: Regenerate.
1997 * generated/_tan_r4.F90: Regenerate.
1998 * generated/_tan_r8.F90: Regenerate.
1999 * generated/_sign_i4.F90: Regenerate.
2000 * generated/_sign_i8.F90: Regenerate.
2001 * generated/_exp_c16.F90: Regenerate.
2002 * generated/_sqrt_r16.F90: Regenerate.
2003 * generated/_conjg_c4.F90: Regenerate.
2004 * generated/_conjg_c8.F90: Regenerate.
2005 * generated/_dim_r16.F90: Regenerate.
2006 * generated/_mod_r10.F90: Regenerate.
2007 * generated/_abs_c10.F90: Regenerate.
2008 * generated/_conjg_c16.F90: Regenerate.
2009 * generated/_tan_r16.F90: Regenerate.
2010 * generated/_asinh_r10.F90: Regenerate.
2011 * generated/_abs_i4.F90: Regenerate.
2012 * generated/_abs_i8.F90: Regenerate.
2013 * generated/_acos_r10.F90: Regenerate.
2014 * generated/_exp_r10.F90: Regenerate.
2015 * generated/_acosh_r16.F90: Regenerate.
2016 * generated/_atan2_r16.F90: Regenerate.
2017 * generated/_cos_c16.F90: Regenerate.
2018 * generated/_mod_i16.F90: Regenerate.
2019 * generated/_asin_r4.F90: Regenerate.
2020 * generated/_anint_r16.F90: Regenerate.
2021 * generated/_asin_r8.F90: Regenerate.
2022 * generated/_aimag_c10.F90: Regenerate.
2023 * generated/_exp_c4.F90: Regenerate.
2024 * generated/_sinh_r10.F90: Regenerate.
2025 * generated/_exp_c8.F90: Regenerate.
2026 * generated/_log10_r4.F90: Regenerate.
2027 * generated/_log10_r8.F90: Regenerate.
2028 * generated/_abs_c4.F90: Regenerate.
2029 * generated/_abs_r16.F90: Regenerate.
2030 * generated/_abs_c8.F90: Regenerate.
2031 * generated/_asin_r10.F90: Regenerate.
2032 * generated/_sign_r10.F90: Regenerate.
2033 * generated/_atanh_r16.F90: Regenerate.
2034 * generated/_log_c10.F90: Regenerate.
2035 * generated/_cosh_r16.F90: Regenerate.
2036 * generated/_sin_c16.F90: Regenerate.
2037 * generated/_cos_r10.F90: Regenerate.
2038 * generated/_log10_r16.F90: Regenerate.
2039 * generated/_aint_r16.F90: Regenerate.
2040 * generated/_acos_r4.F90: Regenerate.
2041 * generated/_acos_r8.F90: Regenerate.
2042 * generated/_sqrt_c16.F90: Regenerate.
2043 * generated/_acosh_r4.F90: Regenerate.
2044 * generated/_atan_r10.F90: Regenerate.
2045 * generated/_acosh_r8.F90: Regenerate.
2046 * generated/_sign_i16.F90: Regenerate.
2047 * generated/_tanh_r16.F90: Regenerate.
2048 * generated/_log_r4.F90: Regenerate.
2049 * generated/_log_r8.F90: Regenerate.
2050 * generated/_sin_r4.F90: Regenerate.
2051 * generated/_sin_r8.F90: Regenerate.
2052 * generated/_log_r16.F90: Regenerate.
2053 * generated/_sin_r10.F90: Regenerate.
2054 * generated/_sqrt_r4.F90: Regenerate.
2055 * generated/_exp_c10.F90: Regenerate.
2056 * generated/_sqrt_r8.F90: Regenerate.
2057 * generated/_asinh_r4.F90: Regenerate.
2058 * generated/_sqrt_r10.F90: Regenerate.
2059 * generated/_asinh_r8.F90: Regenerate.
2060 * generated/_dim_r4.F90: Regenerate.
2061 * generated/_dim_r8.F90: Regenerate.
2062 * generated/_dim_r10.F90: Regenerate.
2063 * generated/_cosh_r4.F90: Regenerate.
2064 * generated/_conjg_c10.F90: Regenerate.
2065 * generated/_tan_r10.F90: Regenerate.
2066 * generated/_cosh_r8.F90: Regenerate.
2067 * generated/_mod_r16.F90: Regenerate.
2068 * generated/_abs_c16.F90: Regenerate.
2069 * generated/_cos_r4.F90: Regenerate.
2070 * generated/_asinh_r16.F90: Regenerate.
2071 * generated/_cos_r8.F90: Regenerate.
2072 * generated/_atanh_r4.F90: Regenerate.
2073 * generated/_atanh_r8.F90: Regenerate.
2074 * generated/_acos_r16.F90: Regenerate.
2075 * generated/_anint_r4.F90: Regenerate.
2076 * generated/_acosh_r10.F90: Regenerate.
2077 * generated/_anint_r8.F90: Regenerate.
2078 * generated/_exp_r16.F90: Regenerate.
2079 * generated/_mod_r4.F90: Regenerate.
2080 * generated/_cos_c10.F90: Regenerate.
2081 * generated/_atan2_r10.F90: Regenerate.
2082 * generated/_dim_i16.F90: Regenerate.
2083 * generated/_mod_r8.F90: Regenerate.
2084 * generated/_anint_r10.F90: Regenerate.
2085 * generated/_aint_r4.F90: Regenerate.
2086 * generated/_aint_r8.F90: Regenerate.
2087 * generated/_dim_i4.F90: Regenerate.
2088 * generated/_sinh_r4.F90: Regenerate.
2089 * generated/_log_c4.F90: Regenerate.
2090 * generated/_dim_i8.F90: Regenerate.
2091 * generated/_sinh_r8.F90: Regenerate.
2092 * generated/_log_c8.F90: Regenerate.
2093 * generated/_sin_c4.F90: Regenerate.
2094 * generated/_sin_c8.F90: Regenerate.
2095 * generated/misc_specifics.F90: Regenerate.
2096 * generated/_abs_r10.F90: Regenerate.
2097 * generated/_aimag_c16.F90: Regenerate.
2098 * generated/_atan_r4.F90: Regenerate.
2099 * generated/_sinh_r16.F90: Regenerate.
2100 * generated/_atan_r8.F90: Regenerate.
2101 * generated/_atanh_r10.F90: Regenerate.
2102 * generated/_cosh_r10.F90: Regenerate.
2103 * generated/_sqrt_c4.F90: Regenerate.
2104 * generated/_asin_r16.F90: Regenerate.
2106 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
2109 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
2110 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
2111 * configure: Regenerate.
2112 * config.h.in: Regenerate because it was forgottent in the last
2115 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
2116 Tobias Burnus <burnus@net-b.de>
2119 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
2120 environment variable.
2121 * runtime/compile_options.c (set_std): Add new argument.
2122 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
2124 * libgfortran.h (options_t): New dump_core and backtrace members.
2125 (sys_exit): Move prototype.
2126 * io/unix.c (sys_exit): Move to runtime/error.c.
2127 * configure.ac: Add check for getrlimit.
2128 * configure: Regenerate.
2130 2007-01-17 Tom Tromey <tromey@redhat.com>
2132 PR libfortran/27107:
2133 * aclocal.m4, configure, Makefile.in: Rebuilt.
2134 * configure.ac: Enable automake dependency tracking. Update
2135 minimum automake version.
2137 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
2140 * runtime/environ.c: Don't include io/io.h.
2141 * runtime/string.c: Don't include io/io.h.
2142 (compare0): Add cast to avoid warning.
2143 * runtime/error.c: Don't include io/io.h.
2144 (st_printf): Move to io/unix.c.
2145 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
2146 * intrinsics/fget.c: Likewise.
2147 * intrinsics/ftell.c: Likewise.
2148 * intrinsics/tty.c: Likewise.
2149 * libgfortran.h (DEFAULT_RECL, notification_std,
2150 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
2151 DEFAULT_TEMPDIR): New declarations.
2152 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
2153 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
2154 Move to libgfortran.h.
2155 * io/unix.c: Add io/unix.h content.
2156 (st_printf): New function.
2157 * io/intrinsics.c: New file.
2158 * io/unix.h: Remove, contents moved into unix.c.
2159 * libtool-version: Update library version to 3.0.0.
2160 * configure.ac: Update library version to 0.3.
2161 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
2162 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
2163 * Makefile.in: Regenerate.
2164 * configure: Regenerate.
2166 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2169 * io/list_read.c (finish_separator): Don't call next_record.
2170 (list_formatted_read_scalar): Clean up some comments and whitespace.
2171 (nml_read_obj): Whitespace fix.
2173 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2176 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
2177 s->file_length == -1.
2178 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
2179 (fd_seek): If not seekable, just return success.
2180 (fd_truncate): If not seekable, no need to truncate. Return failure
2181 if seek fails and the stream is not a pipe.
2182 (fd_to_stream): Make test for non-seekable file more robust.
2184 2007-01-01 Steven G. Kargl <kargls@comcast.net>
2186 * ChangeLog: Copied to ...
2187 * ChangeLog-2006: here.