1 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
5 (fd_alloc): If the number of bytes needed is greater than the default
6 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer if
7 necessary. (fd_sfree): Restore use of buffer pointer.
8 (fd_close): Likewise. (fd_open): Likewise.
9 (init_error_stream): Likewise.
11 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
14 * m4/matmul.m4: When the dimension of b is incorrect,
15 raise a runtime error instead of a failed assertion.
16 * generated/matmul_i1.c: Regenerated.
17 * generated/matmul_i2.c: Regenerated.
18 * generated/matmul_i4.c: Regenerated.
19 * generated/matmul_i8.c: Regenerated.
20 * generated/matmul_i16.c: Regenerated.
21 * generated/matmul_r4.c: Regenerated.
22 * generated/matmul_r8.c: Regenerated.
23 * generated/matmul_r10.c: Regenerated.
24 * generated/matmul_r16.c: Regenerated.
26 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
29 * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
32 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
35 * intrinsics/unpack_generic.c: If the destination array is
38 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
40 * aclocal.m4: Regenerated.
42 2007-07-04 David Edelsohn <edelsohn@gnu.org>
44 * configure.ac: SUBST CFLAGS.
45 * configure: Regenerate.
47 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
49 * libgfortran.h: Mark internal_malloc_size as a malloc function.
50 * runtime/memory.c (internal_realloc_size): Remove.
51 (internal_realloc): Call realloc directly instead of
52 internal_realloc_size.
53 (allocate_size): Remove.
54 (allocate): Call malloc directly instead of allocate_size, mark as
57 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
59 Restore collateral damage from ISO C Binding merge.
61 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
64 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
68 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
70 * Makefile.in: Regenerated with automake 1.9.6.
72 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
74 * Makefile.in: Remove extraneous kill.lo rule.
76 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
79 * generated/pow_r*_i4.c: Removed.
81 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
83 * Makefile.in: Add support for iso_c_generated_procs.c and
86 * intrinsics/iso_c_generated_procs.c: New file containing helper
88 * intrinsics/iso_c_binding.c: Ditto.
89 * intrinsics/iso_c_binding.h: New file
90 * gfortran.map: Include the __iso_c_binding_c_* functions.
91 * libgfortran.h: define GFC_NUM_RANK_BITS.
93 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
96 * Makefile.am: Don't generate real**int4 pow functions.
97 * gfortran.map: Remove real**int4 pow symbols.
98 * Makefile.in: Regenerated.
100 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
103 * io/write.c (output_float): Set edigits to a fixed size, avoiding
104 variation in field width calculation and eliminate buffer overrun.
106 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
108 * runtime/memory.c (internal_realloc): Use index_type for size
109 argument instead of GFC_INTEGER_4.
110 (allocate_array): Likewise.
111 (allocate): Likewise, add ifdef around unnecessary check.
112 (internal_reallo64): Remove.
113 (allocate_array64): Remove.
114 (allocate64): Remove.
115 * gfortran.map: Remove symbols for 64-bit allocation functions.
117 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
120 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
123 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
126 * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
127 (show_backtrace): Rename strcasestr to local_strcasestr.
129 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
132 * runtime/error.c (show_locus): Update to emit the unit number
133 and file name involved with the error. Use new function
135 * libgfortran.h (filename_from_unit): Declare new function.
136 * io/unit.c (init_units): Set the unit file name for stdin, stdout,
137 and stderr for use later in error reporting.
138 (filename_from_unit): Add this new function.
140 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
143 * io/write.c (output_float): Calculate ndigits correctly for large
144 numbered formats that must pad zeros before the decimal point.
146 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
149 * runtime/backtrace.c (show_backtrace): Only use snprintf if
152 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
155 * io/transfer.c (st_read): Remove test for end of file condition.
156 (next_record_r): Add test for end of file condition.
158 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
160 * configure: Regenerate.
162 2007-05-28 Tobias Burnus <burnus@net-b.de>
165 * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
166 (allocate,allocate64): Use stat variable if present.
168 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
170 * runtime/string.c (compare0): Use gfc_charlen_type instead of
173 (find_option): Likewise.
174 (fstrcpy): Use gfc_charlen_type instead of int, return length.
175 (cf_strcpy): Likewise.
176 * libgfortran.h: Change string prototypes to use gfc_charlen_type.
177 * io/open.c (new_unit): Use snprintf if available.
178 * io/list_read.c (nml_touch_nodes): Use memcpy instead of
180 (nml_read_obj): Likewise.
181 * io/transfer.c (st_set_nml_var): Likewise.
182 * io/write.c (output_float): Use snprintf if available.
183 (nml_write_obj) Use memcpy instead of strcpy/strcat.
185 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
187 * io/unix.c (unix_stream): Rearrange struct members, remove
189 (int_stream): New struct.
190 (fd_alloc): Always use existing buffer, never reallocate.
191 (fd_sfree): Remove check for buffer != small_buffer.
192 (fd_close): Likewise.
193 (mem_alloc_r_at): Change to use int_stream.
194 (mem_alloc_w_at): Likewise.
195 (mem_read): Likewise.
196 (mem_write): Likewise.
198 (mem_truncate): Likewise.
199 (mem_close): Likewise.
200 (mem_sfree): Likewise.
201 (empty_internal_buffer): Likewise.
202 (open_internal): Likewise.
204 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
206 * io/transfer.c (unformatted_read): Use size from front end eliminating
207 use of size_from_real_kind. (unformatted_write): Ditto.
209 2007-05-23 Steve Ellcey <sje@cup.hp.com>
211 * Makefile.in: Regenerate.
212 * configure: Regenerate.
213 * aclocal.m4: Regenerate.
215 2007-05-22 Tobias Burnus <burnus@net-b.de>
217 * libgfortran.h: Mark stop_numeric as noreturn.
219 2007-05-22 Tobias Burnus <burnus@net-b.de>
222 * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
223 * intrinsics/eoshift2.c (eoshift2): Ditto.
225 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
228 * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
229 shift of bit-size number of bits.
231 2007-05-17 Tobias Burnus <burnus@net-b.de>
234 * runtime/environ.c (mark_range): Fix setting default convert unit.
236 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
239 * intrinsics/string_intrinsics.c (string_trim): Set result to null if
240 string length is zero.
242 2007-05-15 Tobias Burnus <burnus@net-b.de>
245 * io/transfer.c (unformatted_read): Use proper size for real(10).
246 (unformatted_write): Ditto.
248 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
251 * runtime/memory.c (internal_malloc, internal_malloc64,
252 internal_free): Remove.
253 * runtime/error.c (os_error): Export function.
254 * intrinsics/move_alloc.c: Include stdlib.h.
255 (move_alloc): Call free instead of internal_free.
256 (move_alloc_c): Wrap long lines.
257 * libgfortran.h (os_error): Export prototype.
258 (internal_free): Remove prototype.
259 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
260 _gfortran_internal_malloc and _gfortran_internal_malloc64.
261 Add _gfortran_os_error.
263 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
266 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
268 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
271 * intrinsics/system.c (system_sub): Call flush_all_units.
272 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
273 * libgfortran.h (flush_all_units): Add prototype.
275 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
278 * runtime/error.c (runtime_error_at): New function.
279 (generate_error): Export this function.
280 * gfortran.map: Add _gfortran_generate_error and
281 _gfortran_runtime_error_at.
282 * libgfortran.h: Add comment to reference error codes in front end.
283 (library_start): Locate prototype with library_end macro and add
284 a new comment. Add prototype for runtime_error_at. Export prototype for
286 * io/lock.c (library_start): Fix check for error condition.
287 * io/transfer.c (data_transfer_init): Add library check.
289 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
292 * io/intrinsics.c (fseek_sub): New.
293 * io/unix.c (fd_fseek): Change logical and physical offsets only
295 * gfortran.map (fseek_sub): New.
297 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
300 * io/transfer.c (transfer_character): Avoid passing a NULL
301 pointer as source to the transfer routines, if the string length
304 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
307 * io/list_read.c (next_char): Fix whitespace.
308 * io/io.h: Remove prototypes and define macros for is_array_io,
309 is_stream_io, and is_internal_unit.
310 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
312 * io/transfer.c (read_sf): Change handling of internal_unit to make a
313 single call to salloc_r and use memcpy to transfer the data.
315 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
318 * io/file_pos.c (st_backspace): Set flags.position for end of file
319 condition and use new function update_position.
320 (st_endfile): Use new function update_position.
321 * io/io.h: Add prototype for new function.
322 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
324 * io/unit.c (update_position): New function to update position info
326 * io/transfer.c (next_record): Fix typo and use new function.
328 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
331 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
332 getlogin if they are available.
333 * configure.ac: Add checks for getpwuid and geteuid.
334 * configure: Regenerate.
335 * config.h.in: Regenerate.
337 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
339 * configure: Regenerate using autoconf 2.59.
340 * Makefile.in: Likewise.
341 * config.h.in: Likewise.
343 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
346 * configure.ac: New test to determine if symbol versioning is
348 * Makefile.am: Use result of above test to add appropriate linker
350 * gfortran.map: New file.
351 * configure: Regenerated.
352 * Makefile.in: Regenerated.
353 * config.h.in: Regenerated.
355 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
358 * io/transfer.c (read_block_direct): Instead of calling us_read,
359 set dtp->u.p.current_unit->current_record = 0 so that pre_position
360 will read the record marker.
361 (data_transfer_init): For different error conditions, call
362 generate_error, then return.
364 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
366 * runtime/main.c (please_free_exe_path_when_done): New variable.
367 (store_exe_path): Initialize character buffer, and mark whether
368 exe_path should be free'd by the library destructor function.
369 (cleanup): Only free exe_path if needed.
371 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
372 Tobias Burnus <burnus@net-b.de>
376 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
377 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
378 array structures we pass to unpack_internal.
380 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
382 * io/open.c (test_endfile): Revert changes for 31052, restoring this
385 2007-04-14 Steve Ellcey <sje@cup.hp.com>
387 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
388 * Makefile.in: Regenerate.
390 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
392 * configure: Regenerate.
394 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
396 * intrinsics/cpu_time.c: Don't include headers already included
397 by libgfortran.h. Protect inclusion of sys/times.h.
398 * configure.ac: Remove unneeded checks for finit, stdio.h,
399 stddef.h, math.h and sys/params.h.
400 * config/fpu-aix.h: Don't include headers already included by
402 * config/fpu-sysv.h: Likewise.
403 * io/write.c: Likewise.
404 * m4/minloc1.m4: Likewise.
405 * m4/maxloc1.m4: Likewise.
406 * m4/fraction.m4: Likewise.
407 * m4/set_exponent.m4: Likewise.
408 * m4/spacing.m4: Likewise.
409 * m4/minval.m4: Likewise.
410 * m4/maxval.m4: Likewise.
411 * m4/exponent.m4: Likewise.
412 * m4/nearest.m4: Likewise.
413 * m4/minloc0.m4: Likewise.
414 * m4/maxloc0.m4: Likewise.
415 * m4/rrspacing.m4: Likewise.
416 * runtime/main.c: Likewise.
417 * runtime/error.c: Likewise.
418 * intrinsics/system_clock.c: Likewise.
419 * intrinsics/etime.c: Likewise.
420 * intrinsics/stat.c: Likewise.
421 * intrinsics/date_and_time.c: Likewise.
422 * intrinsics/env.c: Likewise.
423 * intrinsics/kill.c: Likewise.
424 * intrinsics/getXid.c: Likewise.
425 * intrinsics/chmod.c: Likewise.
426 * intrinsics/args.c: Likewise.
427 * intrinsics/c99_functions.c: Likewise.
428 * generated/minval_r8.c: Regenerate.
429 * generated/maxloc1_4_r8.c: Regenerate.
430 * generated/minloc1_16_r16.c: Regenerate.
431 * generated/maxval_i2.c: Regenerate.
432 * generated/maxloc1_8_i4.c: Regenerate.
433 * generated/exponent_r16.c: Regenerate.
434 * generated/maxloc0_4_r4.c: Regenerate.
435 * generated/fraction_r16.c: Regenerate.
436 * generated/fraction_r4.c: Regenerate.
437 * generated/minloc0_4_r16.c: Regenerate.
438 * generated/minloc0_4_i1.c: Regenerate.
439 * generated/maxloc0_4_r16.c: Regenerate.
440 * generated/maxloc0_4_i2.c: Regenerate.
441 * generated/minloc1_8_r16.c: Regenerate.
442 * generated/maxloc1_8_r16.c: Regenerate.
443 * generated/set_exponent_r8.c: Regenerate.
444 * generated/maxloc0_8_i8.c: Regenerate.
445 * generated/minloc1_4_r8.c: Regenerate.
446 * generated/maxloc1_16_r16.c: Regenerate.
447 * generated/minloc1_16_i4.c: Regenerate.
448 * generated/maxloc1_16_i4.c: Regenerate.
449 * generated/minloc0_16_i8.c: Regenerate.
450 * generated/maxloc0_16_i8.c: Regenerate.
451 * generated/nearest_r8.c: Regenerate.
452 * generated/spacing_r16.c: Regenerate.
453 * generated/maxval_r16.c: Regenerate.
454 * generated/minloc1_8_i4.c: Regenerate.
455 * generated/minloc0_16_i16.c: Regenerate.
456 * generated/minloc0_4_r4.c: Regenerate.
457 * generated/set_exponent_r10.c: Regenerate.
458 * generated/rrspacing_r10.c: Regenerate.
459 * generated/minloc0_4_i2.c: Regenerate.
460 * generated/maxloc0_8_i1.c: Regenerate.
461 * generated/minloc0_8_i8.c: Regenerate.
462 * generated/spacing_r4.c: Regenerate.
463 * generated/minloc1_16_r10.c: Regenerate.
464 * generated/minloc0_16_i1.c: Regenerate.
465 * generated/maxloc0_16_i1.c: Regenerate.
466 * generated/maxloc1_8_r8.c: Regenerate.
467 * generated/minval_i16.c: Regenerate.
468 * generated/exponent_r10.c: Regenerate.
469 * generated/maxval_i4.c: Regenerate.
470 * generated/minval_i8.c: Regenerate.
471 * generated/maxloc1_4_i8.c: Regenerate.
472 * generated/fraction_r10.c: Regenerate.
473 * generated/maxloc0_16_i16.c: Regenerate.
474 * generated/maxloc0_8_r4.c: Regenerate.
475 * generated/rrspacing_r8.c: Regenerate.
476 * generated/minloc1_4_i16.c: Regenerate.
477 * generated/minloc0_4_r10.c: Regenerate.
478 * generated/maxloc1_4_i16.c: Regenerate.
479 * generated/minloc0_8_i16.c: Regenerate.
480 * generated/maxloc0_4_r10.c: Regenerate.
481 * generated/maxloc0_8_i16.c: Regenerate.
482 * generated/minloc1_8_r10.c: Regenerate.
483 * generated/minloc0_16_r4.c: Regenerate.
484 * generated/maxloc1_8_r10.c: Regenerate.
485 * generated/maxloc0_16_r4.c: Regenerate.
486 * generated/minloc1_16_r8.c: Regenerate.
487 * generated/minloc0_8_i1.c: Regenerate.
488 * generated/maxloc0_4_i4.c: Regenerate.
489 * generated/maxloc1_16_r8.c: Regenerate.
490 * generated/maxloc0_8_i2.c: Regenerate.
491 * generated/nearest_r16.c: Regenerate.
492 * generated/maxloc1_16_r10.c: Regenerate.
493 * generated/minloc0_16_i2.c: Regenerate.
494 * generated/minloc1_8_r8.c: Regenerate.
495 * generated/maxloc0_16_i2.c: Regenerate.
496 * generated/exponent_r4.c: Regenerate.
497 * generated/spacing_r10.c: Regenerate.
498 * generated/maxval_r10.c: Regenerate.
499 * generated/minval_i1.c: Regenerate.
500 * generated/maxloc1_4_i1.c: Regenerate.
501 * generated/minloc1_4_i8.c: Regenerate.
502 * generated/minloc0_8_r4.c: Regenerate.
503 * generated/minloc0_16_r16.c: Regenerate.
504 * generated/minloc0_4_i4.c: Regenerate.
505 * generated/minloc0_8_i2.c: Regenerate.
506 * generated/minval_r4.c: Regenerate.
507 * generated/maxloc1_4_r4.c: Regenerate.
508 * generated/maxval_r8.c: Regenerate.
509 * generated/minval_r16.c: Regenerate.
510 * generated/minloc1_4_i1.c: Regenerate.
511 * generated/minval_i2.c: Regenerate.
512 * generated/maxloc1_4_i2.c: Regenerate.
513 * generated/maxloc1_8_i8.c: Regenerate.
514 * generated/maxloc0_4_r8.c: Regenerate.
515 * generated/maxloc0_16_r16.c: Regenerate.
516 * generated/minloc1_4_r16.c: Regenerate.
517 * generated/fraction_r8.c: Regenerate.
518 * generated/maxloc1_4_r16.c: Regenerate.
519 * generated/set_exponent_r4.c: Regenerate.
520 * generated/minloc0_8_r16.c: Regenerate.
521 * generated/maxloc0_8_r16.c: Regenerate.
522 * generated/nearest_r10.c: Regenerate.
523 * generated/maxloc0_8_i4.c: Regenerate.
524 * generated/minloc1_4_r4.c: Regenerate.
525 * generated/minloc0_16_i4.c: Regenerate.
526 * generated/maxloc0_16_i4.c: Regenerate.
527 * generated/nearest_r4.c: Regenerate.
528 * generated/minloc1_16_i8.c: Regenerate.
529 * generated/maxloc1_16_i8.c: Regenerate.
530 * generated/minloc1_4_i2.c: Regenerate.
531 * generated/maxloc1_8_i1.c: Regenerate.
532 * generated/minloc0_16_r10.c: Regenerate.
533 * generated/minloc1_8_i8.c: Regenerate.
534 * generated/minloc0_4_r8.c: Regenerate.
535 * generated/minloc0_8_i4.c: Regenerate.
536 * generated/minloc1_16_i16.c: Regenerate.
537 * generated/spacing_r8.c: Regenerate.
538 * generated/maxloc1_8_r4.c: Regenerate.
539 * generated/minloc1_16_i1.c: Regenerate.
540 * generated/maxloc1_16_i1.c: Regenerate.
541 * generated/minval_r10.c: Regenerate.
542 * generated/minval_i4.c: Regenerate.
543 * generated/minloc1_8_i1.c: Regenerate.
544 * generated/maxloc1_4_i4.c: Regenerate.
545 * generated/maxloc1_8_i2.c: Regenerate.
546 * generated/maxval_i8.c: Regenerate.
547 * generated/maxloc0_16_r10.c: Regenerate.
548 * generated/rrspacing_r4.c: Regenerate.
549 * generated/minloc0_4_i16.c: Regenerate.
550 * generated/maxloc0_8_r8.c: Regenerate.
551 * generated/maxloc0_4_i16.c: Regenerate.
552 * generated/minloc1_4_r10.c: Regenerate.
553 * generated/minloc1_8_i16.c: Regenerate.
554 * generated/maxloc1_4_r10.c: Regenerate.
555 * generated/minloc0_8_r10.c: Regenerate.
556 * generated/maxloc1_8_i16.c: Regenerate.
557 * generated/maxloc0_8_r10.c: Regenerate.
558 * generated/minloc1_16_r4.c: Regenerate.
559 * generated/maxloc1_16_r4.c: Regenerate.
560 * generated/minloc0_16_r8.c: Regenerate.
561 * generated/maxloc0_16_r8.c: Regenerate.
562 * generated/maxloc0_4_i8.c: Regenerate.
563 * generated/maxloc1_16_i16.c: Regenerate.
564 * generated/minloc1_8_r4.c: Regenerate.
565 * generated/minloc1_16_i2.c: Regenerate.
566 * generated/maxloc1_16_i2.c: Regenerate.
567 * generated/maxval_i16.c: Regenerate.
568 * generated/exponent_r8.c: Regenerate.
569 * generated/minloc1_4_i4.c: Regenerate.
570 * generated/maxval_i1.c: Regenerate.
571 * generated/minloc1_8_i2.c: Regenerate.
572 * generated/minloc0_8_r8.c: Regenerate.
573 * generated/set_exponent_r16.c: Regenerate.
574 * generated/maxloc0_4_i1.c: Regenerate.
575 * generated/rrspacing_r16.c: Regenerate.
576 * generated/minloc0_4_i8.c: Regenerate.
577 * generated/maxval_r4.c: Regenerate.
578 * configure: Regenerate.
579 * config.h.in: Regenerate.
581 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
584 * io/format.c (parse_format_list): Fix parsing.
586 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
589 intrinsics/string_intrinsics.c (string_repeat): Remove.
591 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
594 * io/open.c (test_endfile): Delete this function.
595 (edit_modes): Delete call to test_endfile.
596 (new_unit): Likewise.
597 * io/io.h: Delete prototype for test_endfile.
598 * io/transfer.c (next_record_r): Remove use of test_endfile.
599 (st_read): Add test for end file condition and adjust status.
601 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
604 * io/transfer.c (read_block_direct): Do not generate error when reading
605 past EOF on a short record that is less than the RECL= specified.
607 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
610 * io/unit.c (close_unit_1): If there are bytes previously written from
611 ADVANCE="no", move to the end before closing.
613 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
616 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
617 if stat() and fstat() library functions are available. When lstat()
618 is not available, use stat() instead.
619 * configure.ac: Add checks for stat, fstat and lstat.
620 * configure: Regenerate.
621 * config.h.in: Regenerate.
623 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
626 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
629 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
632 * io/io.h: Add saved_pos to gfc_unit structure.
633 * io/open.c (new_unit): Initialize saved_pos.
634 * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
635 (next_record_w): Fix whitespace.
636 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
637 later use. If not ADVANCE="no" set saved_pos to zero.
639 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
642 * intrinsics/reshape_generic.c (reshape_internal): Increment
645 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
648 * file_pos.c: Update Copyright year.
649 * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
650 Update Copyright year.
652 * io/unix.c (is_special): Add missing type for this function.
653 Update Copyright year.
654 * io/transfer.c (next_record_r): Restore test_endfile.
655 (st_read): Fix whitespace. Update Copyright year
657 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
659 * configure.ac: Add missing check for gettimeofday.
660 * config.h.in: Renegerate.
661 * configure: Regenerate.
663 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
666 * io/file_position (st_rewind): Fix comments. Remove use of
667 test_endfile. Don't seek if already at 0 position. Use new is_special
668 function to set endfile state.
669 * io/open.c (test_endfile): Delete this function.
670 * io/io.h: Delete prototype for test_endfile. Add prototype
672 * io/unix.c (is_special): New function. Fix whitespace.
673 * io/transfer.c (next_record_r): Remove use of test_endfile.
675 2007-03-16 David Edelsohn <edelsohn@gnu.org>
677 * runtime/main.c: Include "config.h" first.
679 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
682 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
684 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
686 * runtime/backtrace.c: New file.
687 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
688 environment variable.
689 * runtime/compile_options.c (set_std): Add new argument.
690 * runtime/main.c (store_exe_path, full_exe_path): New functions.
691 * runtime/error.c (sys_exit): Add call to show_backtrace.
692 * libgfortran.h (options_t): New backtrace field.
693 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
694 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
695 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
697 * Makefile.am: Add runtime/backtrace.c.
698 * fmain.c (main): Add call to store_exe_path.
699 * Makefile.in: Renegerate.
700 * config.h.in: Renegerate.
701 * configure: Regenerate.
703 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
706 * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
707 spaces when in writing mode. Clean up some formatting.
709 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
712 * all.m4: Quote everything, except for m4 macros.
714 * count.m4: Likewise.
715 * cshift1.m4: Likewise.
716 * eoshift1.m4: Likewise.
717 * eoshift3.m4: Likewise.
718 * exponent.m4: Likewise.
719 * fraction.m4: Likewise.
720 * in_pack.m4: Likewise.
721 * in_unpack.m4: Likewise.
722 * matmul.m4: Likewise.
723 * matmull.m4: Likewise.
724 * nearest.m4: Likewise.
726 * product.m4: Likewise.
727 * reshape.m4: Likewise.
728 * rrspacing.m4: Likewise.
729 * set_exponent.m4: Likewise.
730 * shape.m4: Likewise.
731 * spacing.m4: Likewise.
732 * transpose.m4: Likewise.
734 2007-03-14 Jakub Jelinek <jakub@redhat.com>
736 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
737 O_RDONLY even if errno is EROFS.
739 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
742 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
743 * io/transfer.c (next_record_w): Set bytes left to record length for
744 sequential unformatted I/O.
745 (next_record_r): Ditto.
746 (read_block_direct): Fix test for exceeding bytes_left.
748 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
751 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
754 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
757 * m4/pow_m4: Use appropriate unsigned int type for u.
758 * generated/pow_c10_i16.c: Regenerated.
759 * generated/pow_c10_i4.c: Regenerated.
760 * generated/pow_c10_i8.c: Regenerated.
761 * generated/pow_c16_i16.c: Regenerated.
762 * generated/pow_c16_i4.c: Regenerated.
763 * generated/pow_c16_i8.c: Regenerated.
764 * generated/pow_c4_i16.c: Regenerated.
765 * generated/pow_c4_i4.c: Regenerated.
766 * generated/pow_c4_i8.c: Regenerated.
767 * generated/pow_c8_i16.c: Regenerated.
768 * generated/pow_c8_i4.c: Regenerated.
769 * generated/pow_c8_i8.c: Regenerated.
770 * generated/pow_i16_i16.c: Regenerated.
771 * generated/pow_i16_i4.c: Regenerated.
772 * generated/pow_i16_i8.c: Regenerated.
773 * generated/pow_i4_i16.c: Regenerated.
774 * generated/pow_i4_i4.c: Regenerated.
775 * generated/pow_i4_i8.c: Regenerated.
776 * generated/pow_i8_i16.c: Regenerated.
777 * generated/pow_i8_i4.c: Regenerated.
778 * generated/pow_i8_i8.c: Regenerated.
779 * generated/pow_r10_i16.c: Regenerated.
780 * generated/pow_r10_i4.c: Regenerated.
781 * generated/pow_r10_i8.c: Regenerated.
782 * generated/pow_r16_i16.c: Regenerated.
783 * generated/pow_r16_i4.c: Regenerated.
784 * generated/pow_r16_i8.c: Regenerated.
785 * generated/pow_r4_i16.c: Regenerated.
786 * generated/pow_r4_i4.c: Regenerated.
787 * generated/pow_r4_i8.c: Regenerated.
788 * generated/pow_r8_i16.c: Regenerated.
789 * generated/pow_r8_i4.c: Regenerated.
790 * generated/pow_r8_i8.c: Regenerated.
792 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
795 * intrinsics/pack_generic.c (pack_internal): Add special checks
796 for zero-sized arrays.
798 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
800 * Makefile.am: Add dummy install-pdf target.
801 * Makefile.in: Regenerate
803 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
806 * io/listread.c (namelist_read): Eat comment line.
808 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
811 * io/write.c (output_float): Add condition of format F only for
812 special case rounding with zero precision.
814 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
818 * Makefile.am: Add $(srcdir) too all files in generated/.
819 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
820 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
822 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
823 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
825 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
826 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
827 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
829 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
830 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
832 (i_minval_c): Add minval_i1.c and minval_i2.c.
833 (i_sum_c): Add sum_i1.c and sum_i2.c.
834 (i_product_c): Add product_i1.c and product_i2.c.
835 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
836 (gfor_built_specific_src): Remove $(srcdir) from target.
837 (gfor_bulit_specific2_src): Likewise.
838 Makefile.in: Regenerated.
839 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
840 Add gfc_array_i1 and gfc_array_i2.
841 * generated/matmul_i1.c: New file.
842 * generated/matmul_i2.c: New file.
843 * generated/maxloc0_16_i1.c: New file.
844 * generated/maxloc0_16_i2.c: New file.
845 * generated/maxloc0_4_i1.c: New file.
846 * generated/maxloc0_4_i2.c: New file.
847 * generated/maxloc0_8_i1.c: New file.
848 * generated/maxloc0_8_i2.c: New file.
849 * generated/maxloc1_16_i1.c: New file.
850 * generated/maxloc1_16_i2.c: New file.
851 * generated/maxloc1_4_i1.c: New file.
852 * generated/maxloc1_4_i2.c: New file.
853 * generated/maxloc1_8_i1.c: New file.
854 * generated/maxloc1_8_i2.c: New file.
855 * generated/maxval_i1.c: New file.
856 * generated/maxval_i2.c: New file.
857 * generated/minloc0_16_i1.c: New file.
858 * generated/minloc0_16_i2.c: New file.
859 * generated/minloc0_4_i1.c: New file.
860 * generated/minloc0_4_i2.c: New file.
861 * generated/minloc0_8_i1.c: New file.
862 * generated/minloc0_8_i2.c: New file.
863 * generated/minloc1_16_i1.c: New file.
864 * generated/minloc1_16_i2.c: New file.
865 * generated/minloc1_4_i1.c: New file.
866 * generated/minloc1_4_i2.c: New file.
867 * generated/minloc1_8_i1.c: New file.
868 * generated/minloc1_8_i2.c: New file.
869 * generated/minval_i1.c: New file.
870 * generated/minval_i2.c: New file.
871 * generated/product_i1.c: New file.
872 * generated/product_i2.c: New file.
873 * generated/sum_i1.c: New file.
874 * generated/sum_i2.c: New file.
876 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
878 * runtime/memory.c (deallocate): Correct comment.
880 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
882 * Makefile.am: Use $(M4) instead of m4.
883 * Makefile.in: Regenerate.
885 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
887 * Makefile.am: Remove $(srcdir) from assorted targets
889 * Makefile.in: Regenerate.
891 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
892 Tobias Burnus <burnus@net-b.de>
895 * m4/iparm.m4: Use HUGE-1 for most negative integer.
896 * generated/maxloc1_8_i4.c: Regenerate.
897 * generated/maxloc0_8_i8.c: Regenerate.
898 * generated/maxloc1_16_i4.c: Regenerate.
899 * generated/maxloc0_16_i8.c: Regenerate.
900 * generated/maxval_i4.c: Regenerate.
901 * generated/maxloc1_4_i8.c: Regenerate.
902 * generated/maxloc0_16_i16.c: Regenerate.
903 * generated/maxloc1_4_i16.c: Regenerate.
904 * generated/maxloc0_8_i16.c: Regenerate.
905 * generated/maxloc0_4_i4.c: Regenerate.
906 * generated/maxloc1_8_i8.c: Regenerate.
907 * generated/maxloc0_8_i4.c: Regenerate.
908 * generated/maxloc0_16_i4.c: Regenerate.
909 * generated/maxloc1_16_i8.c: Regenerate.
910 * generated/maxloc1_4_i4.c: Regenerate.
911 * generated/maxval_i8.c: Regenerate.
912 * generated/maxloc0_4_i16.c: Regenerate.
913 * generated/maxloc1_8_i16.c: Regenerate.
914 * generated/maxloc0_4_i8.c: Regenerate.
915 * generated/maxloc1_16_i16.c: Regenerate.
916 * generated/maxval_i16.c: Regenerate.
918 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
921 * intrinsics/string_intrinsics.c (string_repeat): Don't check
922 if ncopies is negative.
924 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
927 * libgfortran.h: Do not prefix symbol name with
928 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
930 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
934 * io/transfer.c (init_loop_spec, next_array_record): Change to
935 lbound rather than unity base.
937 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
939 * runtime/error.c: Include sys/time.h before sys/resource.h.
941 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
944 * intrinsics/string_intrinsics.c(compare_string): Make
945 sure that comparisons are done unsigned.
947 2007-01-21 Tobias Burnus <burnus@net-b.de>
950 * intrinsics/date_and_time.c (date_and_time): Fix case where time
952 * configure.ac: Remove AC_TRY_RUN test for timezone in
954 * acinclude.m4: Ditto.
955 * configure: Regenerate.
956 * config.h.in: Regenerate.
958 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
960 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
961 * m4/specific2.m4: Likewise.
962 * m4/specific.m4: Likewise.
963 * intrinsics/f2c_specifics.F90: Likewise.
964 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
965 * intrinsics/selected_real_kind.f90: Likewise.
966 * intrinsics/dprod_r8.f90: Likewise.
967 * Makefile.am: Add -fallow-leading-underscore to the
968 gfor_specific_src files, as well as selected_real_kind.F90
969 and selected_int_kind.F90
970 * Makefile.in: Regenerate.
971 * generated/_sqrt_c8.F90: Regenerate.
972 * generated/_sign_r16.F90: Regenerate.
973 * generated/_log_c16.F90: Regenerate.
974 * generated/_sin_c10.F90: Regenerate.
975 * generated/_tanh_r4.F90: Regenerate.
976 * generated/_tanh_r8.F90: Regenerate.
977 * generated/_log10_r10.F90: Regenerate.
978 * generated/_aimag_c4.F90: Regenerate.
979 * generated/_sign_r4.F90: Regenerate.
980 * generated/_aimag_c8.F90: Regenerate.
981 * generated/_sign_r8.F90: Regenerate.
982 * generated/_mod_i4.F90: Regenerate.
983 * generated/_cos_r16.F90: Regenerate.
984 * generated/_aint_r10.F90: Regenerate.
985 * generated/_mod_i8.F90: Regenerate.
986 * generated/_abs_i16.F90: Regenerate.
987 * generated/_sqrt_c10.F90: Regenerate.
988 * generated/_atan2_r4.F90: Regenerate.
989 * generated/_cos_c4.F90: Regenerate.
990 * generated/_atan_r16.F90: Regenerate.
991 * generated/_tanh_r10.F90: Regenerate.
992 * generated/_atan2_r8.F90: Regenerate.
993 * generated/_cos_c8.F90: Regenerate.
994 * generated/_exp_r4.F90: Regenerate.
995 * generated/_log_r10.F90: Regenerate.
996 * generated/_exp_r8.F90: Regenerate.
997 * generated/_abs_r4.F90: Regenerate.
998 * generated/_abs_r8.F90: Regenerate.
999 * generated/_sin_r16.F90: Regenerate.
1000 * generated/_tan_r4.F90: Regenerate.
1001 * generated/_tan_r8.F90: Regenerate.
1002 * generated/_sign_i4.F90: Regenerate.
1003 * generated/_sign_i8.F90: Regenerate.
1004 * generated/_exp_c16.F90: Regenerate.
1005 * generated/_sqrt_r16.F90: Regenerate.
1006 * generated/_conjg_c4.F90: Regenerate.
1007 * generated/_conjg_c8.F90: Regenerate.
1008 * generated/_dim_r16.F90: Regenerate.
1009 * generated/_mod_r10.F90: Regenerate.
1010 * generated/_abs_c10.F90: Regenerate.
1011 * generated/_conjg_c16.F90: Regenerate.
1012 * generated/_tan_r16.F90: Regenerate.
1013 * generated/_asinh_r10.F90: Regenerate.
1014 * generated/_abs_i4.F90: Regenerate.
1015 * generated/_abs_i8.F90: Regenerate.
1016 * generated/_acos_r10.F90: Regenerate.
1017 * generated/_exp_r10.F90: Regenerate.
1018 * generated/_acosh_r16.F90: Regenerate.
1019 * generated/_atan2_r16.F90: Regenerate.
1020 * generated/_cos_c16.F90: Regenerate.
1021 * generated/_mod_i16.F90: Regenerate.
1022 * generated/_asin_r4.F90: Regenerate.
1023 * generated/_anint_r16.F90: Regenerate.
1024 * generated/_asin_r8.F90: Regenerate.
1025 * generated/_aimag_c10.F90: Regenerate.
1026 * generated/_exp_c4.F90: Regenerate.
1027 * generated/_sinh_r10.F90: Regenerate.
1028 * generated/_exp_c8.F90: Regenerate.
1029 * generated/_log10_r4.F90: Regenerate.
1030 * generated/_log10_r8.F90: Regenerate.
1031 * generated/_abs_c4.F90: Regenerate.
1032 * generated/_abs_r16.F90: Regenerate.
1033 * generated/_abs_c8.F90: Regenerate.
1034 * generated/_asin_r10.F90: Regenerate.
1035 * generated/_sign_r10.F90: Regenerate.
1036 * generated/_atanh_r16.F90: Regenerate.
1037 * generated/_log_c10.F90: Regenerate.
1038 * generated/_cosh_r16.F90: Regenerate.
1039 * generated/_sin_c16.F90: Regenerate.
1040 * generated/_cos_r10.F90: Regenerate.
1041 * generated/_log10_r16.F90: Regenerate.
1042 * generated/_aint_r16.F90: Regenerate.
1043 * generated/_acos_r4.F90: Regenerate.
1044 * generated/_acos_r8.F90: Regenerate.
1045 * generated/_sqrt_c16.F90: Regenerate.
1046 * generated/_acosh_r4.F90: Regenerate.
1047 * generated/_atan_r10.F90: Regenerate.
1048 * generated/_acosh_r8.F90: Regenerate.
1049 * generated/_sign_i16.F90: Regenerate.
1050 * generated/_tanh_r16.F90: Regenerate.
1051 * generated/_log_r4.F90: Regenerate.
1052 * generated/_log_r8.F90: Regenerate.
1053 * generated/_sin_r4.F90: Regenerate.
1054 * generated/_sin_r8.F90: Regenerate.
1055 * generated/_log_r16.F90: Regenerate.
1056 * generated/_sin_r10.F90: Regenerate.
1057 * generated/_sqrt_r4.F90: Regenerate.
1058 * generated/_exp_c10.F90: Regenerate.
1059 * generated/_sqrt_r8.F90: Regenerate.
1060 * generated/_asinh_r4.F90: Regenerate.
1061 * generated/_sqrt_r10.F90: Regenerate.
1062 * generated/_asinh_r8.F90: Regenerate.
1063 * generated/_dim_r4.F90: Regenerate.
1064 * generated/_dim_r8.F90: Regenerate.
1065 * generated/_dim_r10.F90: Regenerate.
1066 * generated/_cosh_r4.F90: Regenerate.
1067 * generated/_conjg_c10.F90: Regenerate.
1068 * generated/_tan_r10.F90: Regenerate.
1069 * generated/_cosh_r8.F90: Regenerate.
1070 * generated/_mod_r16.F90: Regenerate.
1071 * generated/_abs_c16.F90: Regenerate.
1072 * generated/_cos_r4.F90: Regenerate.
1073 * generated/_asinh_r16.F90: Regenerate.
1074 * generated/_cos_r8.F90: Regenerate.
1075 * generated/_atanh_r4.F90: Regenerate.
1076 * generated/_atanh_r8.F90: Regenerate.
1077 * generated/_acos_r16.F90: Regenerate.
1078 * generated/_anint_r4.F90: Regenerate.
1079 * generated/_acosh_r10.F90: Regenerate.
1080 * generated/_anint_r8.F90: Regenerate.
1081 * generated/_exp_r16.F90: Regenerate.
1082 * generated/_mod_r4.F90: Regenerate.
1083 * generated/_cos_c10.F90: Regenerate.
1084 * generated/_atan2_r10.F90: Regenerate.
1085 * generated/_dim_i16.F90: Regenerate.
1086 * generated/_mod_r8.F90: Regenerate.
1087 * generated/_anint_r10.F90: Regenerate.
1088 * generated/_aint_r4.F90: Regenerate.
1089 * generated/_aint_r8.F90: Regenerate.
1090 * generated/_dim_i4.F90: Regenerate.
1091 * generated/_sinh_r4.F90: Regenerate.
1092 * generated/_log_c4.F90: Regenerate.
1093 * generated/_dim_i8.F90: Regenerate.
1094 * generated/_sinh_r8.F90: Regenerate.
1095 * generated/_log_c8.F90: Regenerate.
1096 * generated/_sin_c4.F90: Regenerate.
1097 * generated/_sin_c8.F90: Regenerate.
1098 * generated/misc_specifics.F90: Regenerate.
1099 * generated/_abs_r10.F90: Regenerate.
1100 * generated/_aimag_c16.F90: Regenerate.
1101 * generated/_atan_r4.F90: Regenerate.
1102 * generated/_sinh_r16.F90: Regenerate.
1103 * generated/_atan_r8.F90: Regenerate.
1104 * generated/_atanh_r10.F90: Regenerate.
1105 * generated/_cosh_r10.F90: Regenerate.
1106 * generated/_sqrt_c4.F90: Regenerate.
1107 * generated/_asin_r16.F90: Regenerate.
1109 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1112 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
1113 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
1114 * configure: Regenerate.
1115 * config.h.in: Regenerate because it was forgottent in the last
1118 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1119 Tobias Burnus <burnus@net-b.de>
1122 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
1123 environment variable.
1124 * runtime/compile_options.c (set_std): Add new argument.
1125 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
1127 * libgfortran.h (options_t): New dump_core and backtrace members.
1128 (sys_exit): Move prototype.
1129 * io/unix.c (sys_exit): Move to runtime/error.c.
1130 * configure.ac: Add check for getrlimit.
1131 * configure: Regenerate.
1133 2007-01-17 Tom Tromey <tromey@redhat.com>
1135 PR libfortran/27107:
1136 * aclocal.m4, configure, Makefile.in: Rebuilt.
1137 * configure.ac: Enable automake dependency tracking. Update
1138 minimum automake version.
1140 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1143 * runtime/environ.c: Don't include io/io.h.
1144 * runtime/string.c: Don't include io/io.h.
1145 (compare0): Add cast to avoid warning.
1146 * runtime/error.c: Don't include io/io.h.
1147 (st_printf): Move to io/unix.c.
1148 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
1149 * intrinsics/fget.c: Likewise.
1150 * intrinsics/ftell.c: Likewise.
1151 * intrinsics/tty.c: Likewise.
1152 * libgfortran.h (DEFAULT_RECL, notification_std,
1153 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
1154 DEFAULT_TEMPDIR): New declarations.
1155 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
1156 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
1157 Move to libgfortran.h.
1158 * io/unix.c: Add io/unix.h content.
1159 (st_printf): New function.
1160 * io/intrinsics.c: New file.
1161 * io/unix.h: Remove, contents moved into unix.c.
1162 * libtool-version: Update library version to 3.0.0.
1163 * configure.ac: Update library version to 0.3.
1164 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
1165 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
1166 * Makefile.in: Regenerate.
1167 * configure: Regenerate.
1169 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1172 * io/list_read.c (finish_separator): Don't call next_record.
1173 (list_formatted_read_scalar): Clean up some comments and whitespace.
1174 (nml_read_obj): Whitespace fix.
1176 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1179 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
1180 s->file_length == -1.
1181 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
1182 (fd_seek): If not seekable, just return success.
1183 (fd_truncate): If not seekable, no need to truncate. Return failure if
1184 seek fails and the stream is not a pipe.
1185 (fd_to_stream): Make test for non-seekable file more robust.
1187 2007-01-01 Steven G. Kargl <kargls@comcast.net>
1189 * ChangeLog: Copied to ...
1190 * ChangeLog-2006: here.