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