1 2007-08-09 Tobias Burnus <burnus@net-b.de>
4 * io/format.c (next_char): Treat '\t' as ' ' in format specification.
6 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
9 * intrinsics/signal.c: Create specific versions of alarm_sub and
10 alarm_sub_int according to the integer kind of the last argument.
11 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_alarm_sub and
12 _gfortran_alarm_sub_int, add _gfortran_alarm_sub_i4,
13 _gfortran_alarm_sub_i8, _gfortran_alarm_sub_int_i4 and
14 _gfortran_alarm_sub_int_i8.
16 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
19 * intrinsics/string_intrinsics.c (string_minmax): New function
21 * gfortran.map (GFORTRAN_1.0): Add _gfortran_string_minmax
23 2007-08-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
26 * intrinsics/c99_functions.c (roundl): Provide fallback
27 implementation for systems without ceill.
28 * c99_protos.h (roundl): Define prototype in all cases.
30 2007-08-03 Thomas Koenig <tkoenig@gcc.gnu.org>
33 * io/unix.c: If there is no vsnprintf, use vsprintf and issue
34 a fatal error when a buffer overrun occurs.
36 2007-08-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
39 * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
40 llroundf,llround,llroundl): New functions.
41 * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
42 llroundl): New prototypes.
43 * configure.ac: Check for lroundf, lround, lroundl, llroundf,
45 * configure: Regenerate.
46 * Makefile.in: Regenerate.
47 * config.h.in: Regenerate.
49 2007-07-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
51 * libgfortran.h: Include <stdarg.h>.
53 2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
57 * configure.ac: Added checks for presence of stdio.h and
58 stdarg.h. Test presence of vsnprintf().
59 * configure: Regenerated.
60 * config.h.in: Regenerated.
61 * libgfortran.h: Include <stdio.h>. Add printf attribute to
62 prototype of runtime_error. Remove prototype for st_sprintf.
63 Add prototype for st_vprintf.
64 * runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
65 * runtime/error.c (st_sprintf): Remove.
66 (runtime_error): Rewrite as a variadic function. Call
68 * intrinsics/pack_generic.c: Output extents of LHS and RHS for
70 * io/open.c (new_unit): Replace st_sprintf by sprintf.
71 * io/list_read.c (convert_integer): Likewise.
72 (parse_repeat): Likewise.
73 (read_logical): Likewise.
74 (read_character): Likewise.
75 (parse_real): Likewise.
76 (read_real): Likewise.
77 (check_type): Likewise.
78 (nml_parse_qualifyer): Likewise.
79 (nml_read_obj): Likewise.
80 (nml_get_ojb_data): Likewise.
81 * io/unix.c (init_error_stream): Remove.
82 (tempfile): Replace st_sprintf by sprintf.
83 (st_vprintf): New function.
84 (st_printf): Rewrite to call st_vprintf.
85 * io/transfer.c (require_type): Replace st_sprintf by sprintf.
86 * io/format.c (format_error): Likewise.
87 * io/write.c (nml_write_obj): Likewise.
89 2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>
91 * io/transfer.c (st_set_nml_var_dim): Use index_type instead of
92 GFC_INTEGER_4 for array descriptor triplets.
94 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
96 * io/unix.c (stream_ttyname): Mark argument as potentialy unused.
98 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
101 * runtime/select.c (select_string): Adjust prototype and function
102 so that the return value is an integer, not a pointer.
104 2007-07-24 Tobias Burnus <burnus@net-b.de>
106 * libgfortran.h: Add bounds_check to compile_options_t.
108 2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
111 * libgfortran.h: Add bounds_check to compile_options_t.
112 * runtime/compile_options.c (set_options): Add handling
113 of compile_options.bounds_check.
114 * intrinsics/pack_generic.c (pack_internal): Also determine
115 the number of elements if compile_options.bounds_check is
116 true. Raise runtime error if a different array shape is
119 2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
122 * intrinsics/iso_c_binding.c (c_funloc): Remove.
123 * intrinsics/iso_c_binding.h: Remove c_funloc.
124 * gfortran.map: Ditto.
126 2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
128 * io/read.c (convert_real): Generate error only on EINVAL.
130 2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
133 * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
134 for character/string arguments.
135 * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
136 the optional SHAPE arg to be any valid integer kind.
137 * libgfortran/gfortran.map: Add c_f_pointer_s0.
138 * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
140 * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
141 c_f_pointer for complex and logical types.
142 * libgfortran/gfortran.map: Add c_f_pointer versions for logical
145 2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
148 * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
149 * libgfortran/intrinsics/iso_c_binding.h: Ditto.
150 * libgfortran/gfortran.map: Ditto.
152 2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
153 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
156 * runtime/compile_options.c (set_std): Remove.
157 (set_options): New function.
158 (init_compile_options): Add initialization for -fsign-zero option.
159 * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
160 _gfortran_set_options.
161 * libgfortran.h (compile_options_t): Add sign_zero field.
162 * io/write.c (output_float): Use the sign bit of the value to determine
163 if a negative sign should be emitted for zero values. Do not emit the
164 negative sign for zero if -fno-sign-zero was set during compile.
166 2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
169 * io/unix.c (unix_stream): Move buffer pointer adjacent to small_buffer.
170 * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
171 bytes_used to zero. Fix off by one error in calculation of pos and
172 skips. Eliminate duplicate pending_spaces check.
174 2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
177 * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
178 TOPOS arguments are C int.
180 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
183 * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
184 (fd_alloc): If the number of bytes needed is greater than the default
185 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer if
186 necessary. (fd_sfree): Restore use of buffer pointer.
187 (fd_close): Likewise. (fd_open): Likewise.
188 (init_error_stream): Likewise.
190 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
193 * m4/matmul.m4: When the dimension of b is incorrect,
194 raise a runtime error instead of a failed assertion.
195 * generated/matmul_i1.c: Regenerated.
196 * generated/matmul_i2.c: Regenerated.
197 * generated/matmul_i4.c: Regenerated.
198 * generated/matmul_i8.c: Regenerated.
199 * generated/matmul_i16.c: Regenerated.
200 * generated/matmul_r4.c: Regenerated.
201 * generated/matmul_r8.c: Regenerated.
202 * generated/matmul_r10.c: Regenerated.
203 * generated/matmul_r16.c: Regenerated.
205 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
208 * io/transfer.c (formatted_transfer_scalar): Don't allow pending_spaces
211 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
214 * intrinsics/unpack_generic.c: If the destination array is
217 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
219 * aclocal.m4: Regenerated.
221 2007-07-04 David Edelsohn <edelsohn@gnu.org>
223 * configure.ac: SUBST CFLAGS.
224 * configure: Regenerate.
226 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
228 * libgfortran.h: Mark internal_malloc_size as a malloc function.
229 * runtime/memory.c (internal_realloc_size): Remove.
230 (internal_realloc): Call realloc directly instead of
231 internal_realloc_size.
232 (allocate_size): Remove.
233 (allocate): Call malloc directly instead of allocate_size, mark as
236 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
238 Restore collateral damage from ISO C Binding merge.
240 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
243 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
246 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
248 * Makefile.in: Regenerated with automake 1.9.6.
250 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
252 * Makefile.in: Remove extraneous kill.lo rule.
254 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
257 * generated/pow_r*_i4.c: Removed.
259 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
261 * Makefile.in: Add support for iso_c_generated_procs.c and
263 * Makefile.am: Ditto.
264 * intrinsics/iso_c_generated_procs.c: New file containing helper
266 * intrinsics/iso_c_binding.c: Ditto.
267 * intrinsics/iso_c_binding.h: New file
268 * gfortran.map: Include the __iso_c_binding_c_* functions.
269 * libgfortran.h: define GFC_NUM_RANK_BITS.
271 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
274 * Makefile.am: Don't generate real**int4 pow functions.
275 * gfortran.map: Remove real**int4 pow symbols.
276 * Makefile.in: Regenerated.
278 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
281 * io/write.c (output_float): Set edigits to a fixed size, avoiding
282 variation in field width calculation and eliminate buffer overrun.
284 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
286 * runtime/memory.c (internal_realloc): Use index_type for size
287 argument instead of GFC_INTEGER_4.
288 (allocate_array): Likewise.
289 (allocate): Likewise, add ifdef around unnecessary check.
290 (internal_reallo64): Remove.
291 (allocate_array64): Remove.
292 (allocate64): Remove.
293 * gfortran.map: Remove symbols for 64-bit allocation functions.
295 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
298 * io/unit.c (filename_from_unit): Don't use find_unit, instead search
301 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
304 * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
305 (show_backtrace): Rename strcasestr to local_strcasestr.
307 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
310 * runtime/error.c (show_locus): Update to emit the unit number
311 and file name involved with the error. Use new function
313 * libgfortran.h (filename_from_unit): Declare new function.
314 * io/unit.c (init_units): Set the unit file name for stdin, stdout,
315 and stderr for use later in error reporting.
316 (filename_from_unit): Add this new function.
318 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
321 * io/write.c (output_float): Calculate ndigits correctly for large
322 numbered formats that must pad zeros before the decimal point.
324 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
327 * runtime/backtrace.c (show_backtrace): Only use snprintf if
330 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
333 * io/transfer.c (st_read): Remove test for end of file condition.
334 (next_record_r): Add test for end of file condition.
336 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
338 * configure: Regenerate.
340 2007-05-28 Tobias Burnus <burnus@net-b.de>
343 * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
344 (allocate,allocate64): Use stat variable if present.
346 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
348 * runtime/string.c (compare0): Use gfc_charlen_type instead of
351 (find_option): Likewise.
352 (fstrcpy): Use gfc_charlen_type instead of int, return length.
353 (cf_strcpy): Likewise.
354 * libgfortran.h: Change string prototypes to use gfc_charlen_type.
355 * io/open.c (new_unit): Use snprintf if available.
356 * io/list_read.c (nml_touch_nodes): Use memcpy instead of
358 (nml_read_obj): Likewise.
359 * io/transfer.c (st_set_nml_var): Likewise.
360 * io/write.c (output_float): Use snprintf if available.
361 (nml_write_obj) Use memcpy instead of strcpy/strcat.
363 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
365 * io/unix.c (unix_stream): Rearrange struct members, remove
367 (int_stream): New struct.
368 (fd_alloc): Always use existing buffer, never reallocate.
369 (fd_sfree): Remove check for buffer != small_buffer.
370 (fd_close): Likewise.
371 (mem_alloc_r_at): Change to use int_stream.
372 (mem_alloc_w_at): Likewise.
373 (mem_read): Likewise.
374 (mem_write): Likewise.
376 (mem_truncate): Likewise.
377 (mem_close): Likewise.
378 (mem_sfree): Likewise.
379 (empty_internal_buffer): Likewise.
380 (open_internal): Likewise.
382 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
384 * io/transfer.c (unformatted_read): Use size from front end eliminating
385 use of size_from_real_kind. (unformatted_write): Ditto.
387 2007-05-23 Steve Ellcey <sje@cup.hp.com>
389 * Makefile.in: Regenerate.
390 * configure: Regenerate.
391 * aclocal.m4: Regenerate.
393 2007-05-22 Tobias Burnus <burnus@net-b.de>
395 * libgfortran.h: Mark stop_numeric as noreturn.
397 2007-05-22 Tobias Burnus <burnus@net-b.de>
400 * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
401 * intrinsics/eoshift2.c (eoshift2): Ditto.
403 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
406 * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
407 shift of bit-size number of bits.
409 2007-05-17 Tobias Burnus <burnus@net-b.de>
412 * runtime/environ.c (mark_range): Fix setting default convert unit.
414 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
417 * intrinsics/string_intrinsics.c (string_trim): Set result to null if
418 string length is zero.
420 2007-05-15 Tobias Burnus <burnus@net-b.de>
423 * io/transfer.c (unformatted_read): Use proper size for real(10).
424 (unformatted_write): Ditto.
426 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
429 * runtime/memory.c (internal_malloc, internal_malloc64,
430 internal_free): Remove.
431 * runtime/error.c (os_error): Export function.
432 * intrinsics/move_alloc.c: Include stdlib.h.
433 (move_alloc): Call free instead of internal_free.
434 (move_alloc_c): Wrap long lines.
435 * libgfortran.h (os_error): Export prototype.
436 (internal_free): Remove prototype.
437 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
438 _gfortran_internal_malloc and _gfortran_internal_malloc64.
439 Add _gfortran_os_error.
441 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
444 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
446 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
449 * intrinsics/system.c (system_sub): Call flush_all_units.
450 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
451 * libgfortran.h (flush_all_units): Add prototype.
453 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
456 * runtime/error.c (runtime_error_at): New function.
457 (generate_error): Export this function.
458 * gfortran.map: Add _gfortran_generate_error and
459 _gfortran_runtime_error_at.
460 * libgfortran.h: Add comment to reference error codes in front end.
461 (library_start): Locate prototype with library_end macro and add
462 a new comment. Add prototype for runtime_error_at. Export prototype for
464 * io/lock.c (library_start): Fix check for error condition.
465 * io/transfer.c (data_transfer_init): Add library check.
467 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
470 * io/intrinsics.c (fseek_sub): New.
471 * io/unix.c (fd_fseek): Change logical and physical offsets only
473 * gfortran.map (fseek_sub): New.
475 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
478 * io/transfer.c (transfer_character): Avoid passing a NULL
479 pointer as source to the transfer routines, if the string length
482 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
485 * io/list_read.c (next_char): Fix whitespace.
486 * io/io.h: Remove prototypes and define macros for is_array_io,
487 is_stream_io, and is_internal_unit.
488 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
490 * io/transfer.c (read_sf): Change handling of internal_unit to make a
491 single call to salloc_r and use memcpy to transfer the data.
493 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
496 * io/file_pos.c (st_backspace): Set flags.position for end of file
497 condition and use new function update_position.
498 (st_endfile): Use new function update_position.
499 * io/io.h: Add prototype for new function.
500 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
502 * io/unit.c (update_position): New function to update position info
504 * io/transfer.c (next_record): Fix typo and use new function.
506 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
509 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
510 getlogin if they are available.
511 * configure.ac: Add checks for getpwuid and geteuid.
512 * configure: Regenerate.
513 * config.h.in: Regenerate.
515 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
517 * configure: Regenerate using autoconf 2.59.
518 * Makefile.in: Likewise.
519 * config.h.in: Likewise.
521 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
524 * configure.ac: New test to determine if symbol versioning is
526 * Makefile.am: Use result of above test to add appropriate linker
528 * gfortran.map: New file.
529 * configure: Regenerated.
530 * Makefile.in: Regenerated.
531 * config.h.in: Regenerated.
533 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
536 * io/transfer.c (read_block_direct): Instead of calling us_read,
537 set dtp->u.p.current_unit->current_record = 0 so that pre_position
538 will read the record marker.
539 (data_transfer_init): For different error conditions, call
540 generate_error, then return.
542 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
544 * runtime/main.c (please_free_exe_path_when_done): New variable.
545 (store_exe_path): Initialize character buffer, and mark whether
546 exe_path should be free'd by the library destructor function.
547 (cleanup): Only free exe_path if needed.
549 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
550 Tobias Burnus <burnus@net-b.de>
554 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
555 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
556 array structures we pass to unpack_internal.
558 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
560 * io/open.c (test_endfile): Revert changes for 31052, restoring this
563 2007-04-14 Steve Ellcey <sje@cup.hp.com>
565 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
566 * Makefile.in: Regenerate.
568 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
570 * configure: Regenerate.
572 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
574 * intrinsics/cpu_time.c: Don't include headers already included
575 by libgfortran.h. Protect inclusion of sys/times.h.
576 * configure.ac: Remove unneeded checks for finit, stdio.h,
577 stddef.h, math.h and sys/params.h.
578 * config/fpu-aix.h: Don't include headers already included by
580 * config/fpu-sysv.h: Likewise.
581 * io/write.c: Likewise.
582 * m4/minloc1.m4: Likewise.
583 * m4/maxloc1.m4: Likewise.
584 * m4/fraction.m4: Likewise.
585 * m4/set_exponent.m4: Likewise.
586 * m4/spacing.m4: Likewise.
587 * m4/minval.m4: Likewise.
588 * m4/maxval.m4: Likewise.
589 * m4/exponent.m4: Likewise.
590 * m4/nearest.m4: Likewise.
591 * m4/minloc0.m4: Likewise.
592 * m4/maxloc0.m4: Likewise.
593 * m4/rrspacing.m4: Likewise.
594 * runtime/main.c: Likewise.
595 * runtime/error.c: Likewise.
596 * intrinsics/system_clock.c: Likewise.
597 * intrinsics/etime.c: Likewise.
598 * intrinsics/stat.c: Likewise.
599 * intrinsics/date_and_time.c: Likewise.
600 * intrinsics/env.c: Likewise.
601 * intrinsics/kill.c: Likewise.
602 * intrinsics/getXid.c: Likewise.
603 * intrinsics/chmod.c: Likewise.
604 * intrinsics/args.c: Likewise.
605 * intrinsics/c99_functions.c: Likewise.
606 * generated/minval_r8.c: Regenerate.
607 * generated/maxloc1_4_r8.c: Regenerate.
608 * generated/minloc1_16_r16.c: Regenerate.
609 * generated/maxval_i2.c: Regenerate.
610 * generated/maxloc1_8_i4.c: Regenerate.
611 * generated/exponent_r16.c: Regenerate.
612 * generated/maxloc0_4_r4.c: Regenerate.
613 * generated/fraction_r16.c: Regenerate.
614 * generated/fraction_r4.c: Regenerate.
615 * generated/minloc0_4_r16.c: Regenerate.
616 * generated/minloc0_4_i1.c: Regenerate.
617 * generated/maxloc0_4_r16.c: Regenerate.
618 * generated/maxloc0_4_i2.c: Regenerate.
619 * generated/minloc1_8_r16.c: Regenerate.
620 * generated/maxloc1_8_r16.c: Regenerate.
621 * generated/set_exponent_r8.c: Regenerate.
622 * generated/maxloc0_8_i8.c: Regenerate.
623 * generated/minloc1_4_r8.c: Regenerate.
624 * generated/maxloc1_16_r16.c: Regenerate.
625 * generated/minloc1_16_i4.c: Regenerate.
626 * generated/maxloc1_16_i4.c: Regenerate.
627 * generated/minloc0_16_i8.c: Regenerate.
628 * generated/maxloc0_16_i8.c: Regenerate.
629 * generated/nearest_r8.c: Regenerate.
630 * generated/spacing_r16.c: Regenerate.
631 * generated/maxval_r16.c: Regenerate.
632 * generated/minloc1_8_i4.c: Regenerate.
633 * generated/minloc0_16_i16.c: Regenerate.
634 * generated/minloc0_4_r4.c: Regenerate.
635 * generated/set_exponent_r10.c: Regenerate.
636 * generated/rrspacing_r10.c: Regenerate.
637 * generated/minloc0_4_i2.c: Regenerate.
638 * generated/maxloc0_8_i1.c: Regenerate.
639 * generated/minloc0_8_i8.c: Regenerate.
640 * generated/spacing_r4.c: Regenerate.
641 * generated/minloc1_16_r10.c: Regenerate.
642 * generated/minloc0_16_i1.c: Regenerate.
643 * generated/maxloc0_16_i1.c: Regenerate.
644 * generated/maxloc1_8_r8.c: Regenerate.
645 * generated/minval_i16.c: Regenerate.
646 * generated/exponent_r10.c: Regenerate.
647 * generated/maxval_i4.c: Regenerate.
648 * generated/minval_i8.c: Regenerate.
649 * generated/maxloc1_4_i8.c: Regenerate.
650 * generated/fraction_r10.c: Regenerate.
651 * generated/maxloc0_16_i16.c: Regenerate.
652 * generated/maxloc0_8_r4.c: Regenerate.
653 * generated/rrspacing_r8.c: Regenerate.
654 * generated/minloc1_4_i16.c: Regenerate.
655 * generated/minloc0_4_r10.c: Regenerate.
656 * generated/maxloc1_4_i16.c: Regenerate.
657 * generated/minloc0_8_i16.c: Regenerate.
658 * generated/maxloc0_4_r10.c: Regenerate.
659 * generated/maxloc0_8_i16.c: Regenerate.
660 * generated/minloc1_8_r10.c: Regenerate.
661 * generated/minloc0_16_r4.c: Regenerate.
662 * generated/maxloc1_8_r10.c: Regenerate.
663 * generated/maxloc0_16_r4.c: Regenerate.
664 * generated/minloc1_16_r8.c: Regenerate.
665 * generated/minloc0_8_i1.c: Regenerate.
666 * generated/maxloc0_4_i4.c: Regenerate.
667 * generated/maxloc1_16_r8.c: Regenerate.
668 * generated/maxloc0_8_i2.c: Regenerate.
669 * generated/nearest_r16.c: Regenerate.
670 * generated/maxloc1_16_r10.c: Regenerate.
671 * generated/minloc0_16_i2.c: Regenerate.
672 * generated/minloc1_8_r8.c: Regenerate.
673 * generated/maxloc0_16_i2.c: Regenerate.
674 * generated/exponent_r4.c: Regenerate.
675 * generated/spacing_r10.c: Regenerate.
676 * generated/maxval_r10.c: Regenerate.
677 * generated/minval_i1.c: Regenerate.
678 * generated/maxloc1_4_i1.c: Regenerate.
679 * generated/minloc1_4_i8.c: Regenerate.
680 * generated/minloc0_8_r4.c: Regenerate.
681 * generated/minloc0_16_r16.c: Regenerate.
682 * generated/minloc0_4_i4.c: Regenerate.
683 * generated/minloc0_8_i2.c: Regenerate.
684 * generated/minval_r4.c: Regenerate.
685 * generated/maxloc1_4_r4.c: Regenerate.
686 * generated/maxval_r8.c: Regenerate.
687 * generated/minval_r16.c: Regenerate.
688 * generated/minloc1_4_i1.c: Regenerate.
689 * generated/minval_i2.c: Regenerate.
690 * generated/maxloc1_4_i2.c: Regenerate.
691 * generated/maxloc1_8_i8.c: Regenerate.
692 * generated/maxloc0_4_r8.c: Regenerate.
693 * generated/maxloc0_16_r16.c: Regenerate.
694 * generated/minloc1_4_r16.c: Regenerate.
695 * generated/fraction_r8.c: Regenerate.
696 * generated/maxloc1_4_r16.c: Regenerate.
697 * generated/set_exponent_r4.c: Regenerate.
698 * generated/minloc0_8_r16.c: Regenerate.
699 * generated/maxloc0_8_r16.c: Regenerate.
700 * generated/nearest_r10.c: Regenerate.
701 * generated/maxloc0_8_i4.c: Regenerate.
702 * generated/minloc1_4_r4.c: Regenerate.
703 * generated/minloc0_16_i4.c: Regenerate.
704 * generated/maxloc0_16_i4.c: Regenerate.
705 * generated/nearest_r4.c: Regenerate.
706 * generated/minloc1_16_i8.c: Regenerate.
707 * generated/maxloc1_16_i8.c: Regenerate.
708 * generated/minloc1_4_i2.c: Regenerate.
709 * generated/maxloc1_8_i1.c: Regenerate.
710 * generated/minloc0_16_r10.c: Regenerate.
711 * generated/minloc1_8_i8.c: Regenerate.
712 * generated/minloc0_4_r8.c: Regenerate.
713 * generated/minloc0_8_i4.c: Regenerate.
714 * generated/minloc1_16_i16.c: Regenerate.
715 * generated/spacing_r8.c: Regenerate.
716 * generated/maxloc1_8_r4.c: Regenerate.
717 * generated/minloc1_16_i1.c: Regenerate.
718 * generated/maxloc1_16_i1.c: Regenerate.
719 * generated/minval_r10.c: Regenerate.
720 * generated/minval_i4.c: Regenerate.
721 * generated/minloc1_8_i1.c: Regenerate.
722 * generated/maxloc1_4_i4.c: Regenerate.
723 * generated/maxloc1_8_i2.c: Regenerate.
724 * generated/maxval_i8.c: Regenerate.
725 * generated/maxloc0_16_r10.c: Regenerate.
726 * generated/rrspacing_r4.c: Regenerate.
727 * generated/minloc0_4_i16.c: Regenerate.
728 * generated/maxloc0_8_r8.c: Regenerate.
729 * generated/maxloc0_4_i16.c: Regenerate.
730 * generated/minloc1_4_r10.c: Regenerate.
731 * generated/minloc1_8_i16.c: Regenerate.
732 * generated/maxloc1_4_r10.c: Regenerate.
733 * generated/minloc0_8_r10.c: Regenerate.
734 * generated/maxloc1_8_i16.c: Regenerate.
735 * generated/maxloc0_8_r10.c: Regenerate.
736 * generated/minloc1_16_r4.c: Regenerate.
737 * generated/maxloc1_16_r4.c: Regenerate.
738 * generated/minloc0_16_r8.c: Regenerate.
739 * generated/maxloc0_16_r8.c: Regenerate.
740 * generated/maxloc0_4_i8.c: Regenerate.
741 * generated/maxloc1_16_i16.c: Regenerate.
742 * generated/minloc1_8_r4.c: Regenerate.
743 * generated/minloc1_16_i2.c: Regenerate.
744 * generated/maxloc1_16_i2.c: Regenerate.
745 * generated/maxval_i16.c: Regenerate.
746 * generated/exponent_r8.c: Regenerate.
747 * generated/minloc1_4_i4.c: Regenerate.
748 * generated/maxval_i1.c: Regenerate.
749 * generated/minloc1_8_i2.c: Regenerate.
750 * generated/minloc0_8_r8.c: Regenerate.
751 * generated/set_exponent_r16.c: Regenerate.
752 * generated/maxloc0_4_i1.c: Regenerate.
753 * generated/rrspacing_r16.c: Regenerate.
754 * generated/minloc0_4_i8.c: Regenerate.
755 * generated/maxval_r4.c: Regenerate.
756 * configure: Regenerate.
757 * config.h.in: Regenerate.
759 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
762 * io/format.c (parse_format_list): Fix parsing.
764 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
767 intrinsics/string_intrinsics.c (string_repeat): Remove.
769 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
772 * io/open.c (test_endfile): Delete this function.
773 (edit_modes): Delete call to test_endfile.
774 (new_unit): Likewise.
775 * io/io.h: Delete prototype for test_endfile.
776 * io/transfer.c (next_record_r): Remove use of test_endfile.
777 (st_read): Add test for end file condition and adjust status.
779 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
782 * io/transfer.c (read_block_direct): Do not generate error when reading
783 past EOF on a short record that is less than the RECL= specified.
785 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
788 * io/unit.c (close_unit_1): If there are bytes previously written from
789 ADVANCE="no", move to the end before closing.
791 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
794 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
795 if stat() and fstat() library functions are available. When lstat()
796 is not available, use stat() instead.
797 * configure.ac: Add checks for stat, fstat and lstat.
798 * configure: Regenerate.
799 * config.h.in: Regenerate.
801 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
804 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
807 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
810 * io/io.h: Add saved_pos to gfc_unit structure.
811 * io/open.c (new_unit): Initialize saved_pos.
812 * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
813 (next_record_w): Fix whitespace.
814 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
815 later use. If not ADVANCE="no" set saved_pos to zero.
817 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
820 * intrinsics/reshape_generic.c (reshape_internal): Increment
823 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
826 * file_pos.c: Update Copyright year.
827 * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
828 Update Copyright year.
830 * io/unix.c (is_special): Add missing type for this function.
831 Update Copyright year.
832 * io/transfer.c (next_record_r): Restore test_endfile.
833 (st_read): Fix whitespace. Update Copyright year
835 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
837 * configure.ac: Add missing check for gettimeofday.
838 * config.h.in: Renegerate.
839 * configure: Regenerate.
841 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
844 * io/file_position (st_rewind): Fix comments. Remove use of
845 test_endfile. Don't seek if already at 0 position. Use new is_special
846 function to set endfile state.
847 * io/open.c (test_endfile): Delete this function.
848 * io/io.h: Delete prototype for test_endfile. Add prototype
850 * io/unix.c (is_special): New function. Fix whitespace.
851 * io/transfer.c (next_record_r): Remove use of test_endfile.
853 2007-03-16 David Edelsohn <edelsohn@gnu.org>
855 * runtime/main.c: Include "config.h" first.
857 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
860 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
862 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
864 * runtime/backtrace.c: New file.
865 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
866 environment variable.
867 * runtime/compile_options.c (set_std): Add new argument.
868 * runtime/main.c (store_exe_path, full_exe_path): New functions.
869 * runtime/error.c (sys_exit): Add call to show_backtrace.
870 * libgfortran.h (options_t): New backtrace field.
871 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
872 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
873 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
875 * Makefile.am: Add runtime/backtrace.c.
876 * fmain.c (main): Add call to store_exe_path.
877 * Makefile.in: Renegerate.
878 * config.h.in: Renegerate.
879 * configure: Regenerate.
881 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
884 * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
885 spaces when in writing mode. Clean up some formatting.
887 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
890 * all.m4: Quote everything, except for m4 macros.
892 * count.m4: Likewise.
893 * cshift1.m4: Likewise.
894 * eoshift1.m4: Likewise.
895 * eoshift3.m4: Likewise.
896 * exponent.m4: Likewise.
897 * fraction.m4: Likewise.
898 * in_pack.m4: Likewise.
899 * in_unpack.m4: Likewise.
900 * matmul.m4: Likewise.
901 * matmull.m4: Likewise.
902 * nearest.m4: Likewise.
904 * product.m4: Likewise.
905 * reshape.m4: Likewise.
906 * rrspacing.m4: Likewise.
907 * set_exponent.m4: Likewise.
908 * shape.m4: Likewise.
909 * spacing.m4: Likewise.
910 * transpose.m4: Likewise.
912 2007-03-14 Jakub Jelinek <jakub@redhat.com>
914 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
915 O_RDONLY even if errno is EROFS.
917 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
920 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
921 * io/transfer.c (next_record_w): Set bytes left to record length for
922 sequential unformatted I/O.
923 (next_record_r): Ditto.
924 (read_block_direct): Fix test for exceeding bytes_left.
926 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
929 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
932 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
935 * m4/pow_m4: Use appropriate unsigned int type for u.
936 * generated/pow_c10_i16.c: Regenerated.
937 * generated/pow_c10_i4.c: Regenerated.
938 * generated/pow_c10_i8.c: Regenerated.
939 * generated/pow_c16_i16.c: Regenerated.
940 * generated/pow_c16_i4.c: Regenerated.
941 * generated/pow_c16_i8.c: Regenerated.
942 * generated/pow_c4_i16.c: Regenerated.
943 * generated/pow_c4_i4.c: Regenerated.
944 * generated/pow_c4_i8.c: Regenerated.
945 * generated/pow_c8_i16.c: Regenerated.
946 * generated/pow_c8_i4.c: Regenerated.
947 * generated/pow_c8_i8.c: Regenerated.
948 * generated/pow_i16_i16.c: Regenerated.
949 * generated/pow_i16_i4.c: Regenerated.
950 * generated/pow_i16_i8.c: Regenerated.
951 * generated/pow_i4_i16.c: Regenerated.
952 * generated/pow_i4_i4.c: Regenerated.
953 * generated/pow_i4_i8.c: Regenerated.
954 * generated/pow_i8_i16.c: Regenerated.
955 * generated/pow_i8_i4.c: Regenerated.
956 * generated/pow_i8_i8.c: Regenerated.
957 * generated/pow_r10_i16.c: Regenerated.
958 * generated/pow_r10_i4.c: Regenerated.
959 * generated/pow_r10_i8.c: Regenerated.
960 * generated/pow_r16_i16.c: Regenerated.
961 * generated/pow_r16_i4.c: Regenerated.
962 * generated/pow_r16_i8.c: Regenerated.
963 * generated/pow_r4_i16.c: Regenerated.
964 * generated/pow_r4_i4.c: Regenerated.
965 * generated/pow_r4_i8.c: Regenerated.
966 * generated/pow_r8_i16.c: Regenerated.
967 * generated/pow_r8_i4.c: Regenerated.
968 * generated/pow_r8_i8.c: Regenerated.
970 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
973 * intrinsics/pack_generic.c (pack_internal): Add special checks
974 for zero-sized arrays.
976 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
978 * Makefile.am: Add dummy install-pdf target.
979 * Makefile.in: Regenerate
981 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
984 * io/listread.c (namelist_read): Eat comment line.
986 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
989 * io/write.c (output_float): Add condition of format F only for
990 special case rounding with zero precision.
992 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
996 * Makefile.am: Add $(srcdir) too all files in generated/.
997 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
998 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
1000 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
1001 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
1003 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
1004 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
1005 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
1007 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
1008 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
1010 (i_minval_c): Add minval_i1.c and minval_i2.c.
1011 (i_sum_c): Add sum_i1.c and sum_i2.c.
1012 (i_product_c): Add product_i1.c and product_i2.c.
1013 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
1014 (gfor_built_specific_src): Remove $(srcdir) from target.
1015 (gfor_bulit_specific2_src): Likewise.
1016 Makefile.in: Regenerated.
1017 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
1018 Add gfc_array_i1 and gfc_array_i2.
1019 * generated/matmul_i1.c: New file.
1020 * generated/matmul_i2.c: New file.
1021 * generated/maxloc0_16_i1.c: New file.
1022 * generated/maxloc0_16_i2.c: New file.
1023 * generated/maxloc0_4_i1.c: New file.
1024 * generated/maxloc0_4_i2.c: New file.
1025 * generated/maxloc0_8_i1.c: New file.
1026 * generated/maxloc0_8_i2.c: New file.
1027 * generated/maxloc1_16_i1.c: New file.
1028 * generated/maxloc1_16_i2.c: New file.
1029 * generated/maxloc1_4_i1.c: New file.
1030 * generated/maxloc1_4_i2.c: New file.
1031 * generated/maxloc1_8_i1.c: New file.
1032 * generated/maxloc1_8_i2.c: New file.
1033 * generated/maxval_i1.c: New file.
1034 * generated/maxval_i2.c: New file.
1035 * generated/minloc0_16_i1.c: New file.
1036 * generated/minloc0_16_i2.c: New file.
1037 * generated/minloc0_4_i1.c: New file.
1038 * generated/minloc0_4_i2.c: New file.
1039 * generated/minloc0_8_i1.c: New file.
1040 * generated/minloc0_8_i2.c: New file.
1041 * generated/minloc1_16_i1.c: New file.
1042 * generated/minloc1_16_i2.c: New file.
1043 * generated/minloc1_4_i1.c: New file.
1044 * generated/minloc1_4_i2.c: New file.
1045 * generated/minloc1_8_i1.c: New file.
1046 * generated/minloc1_8_i2.c: New file.
1047 * generated/minval_i1.c: New file.
1048 * generated/minval_i2.c: New file.
1049 * generated/product_i1.c: New file.
1050 * generated/product_i2.c: New file.
1051 * generated/sum_i1.c: New file.
1052 * generated/sum_i2.c: New file.
1054 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1056 * runtime/memory.c (deallocate): Correct comment.
1058 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1060 * Makefile.am: Use $(M4) instead of m4.
1061 * Makefile.in: Regenerate.
1063 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
1065 * Makefile.am: Remove $(srcdir) from assorted targets
1067 * Makefile.in: Regenerate.
1069 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
1070 Tobias Burnus <burnus@net-b.de>
1073 * m4/iparm.m4: Use HUGE-1 for most negative integer.
1074 * generated/maxloc1_8_i4.c: Regenerate.
1075 * generated/maxloc0_8_i8.c: Regenerate.
1076 * generated/maxloc1_16_i4.c: Regenerate.
1077 * generated/maxloc0_16_i8.c: Regenerate.
1078 * generated/maxval_i4.c: Regenerate.
1079 * generated/maxloc1_4_i8.c: Regenerate.
1080 * generated/maxloc0_16_i16.c: Regenerate.
1081 * generated/maxloc1_4_i16.c: Regenerate.
1082 * generated/maxloc0_8_i16.c: Regenerate.
1083 * generated/maxloc0_4_i4.c: Regenerate.
1084 * generated/maxloc1_8_i8.c: Regenerate.
1085 * generated/maxloc0_8_i4.c: Regenerate.
1086 * generated/maxloc0_16_i4.c: Regenerate.
1087 * generated/maxloc1_16_i8.c: Regenerate.
1088 * generated/maxloc1_4_i4.c: Regenerate.
1089 * generated/maxval_i8.c: Regenerate.
1090 * generated/maxloc0_4_i16.c: Regenerate.
1091 * generated/maxloc1_8_i16.c: Regenerate.
1092 * generated/maxloc0_4_i8.c: Regenerate.
1093 * generated/maxloc1_16_i16.c: Regenerate.
1094 * generated/maxval_i16.c: Regenerate.
1096 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1099 * intrinsics/string_intrinsics.c (string_repeat): Don't check
1100 if ncopies is negative.
1102 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1105 * libgfortran.h: Do not prefix symbol name with
1106 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
1108 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
1112 * io/transfer.c (init_loop_spec, next_array_record): Change to
1113 lbound rather than unity base.
1115 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1117 * runtime/error.c: Include sys/time.h before sys/resource.h.
1119 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
1122 * intrinsics/string_intrinsics.c(compare_string): Make
1123 sure that comparisons are done unsigned.
1125 2007-01-21 Tobias Burnus <burnus@net-b.de>
1128 * intrinsics/date_and_time.c (date_and_time): Fix case where time
1130 * configure.ac: Remove AC_TRY_RUN test for timezone in
1132 * acinclude.m4: Ditto.
1133 * configure: Regenerate.
1134 * config.h.in: Regenerate.
1136 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1138 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
1139 * m4/specific2.m4: Likewise.
1140 * m4/specific.m4: Likewise.
1141 * intrinsics/f2c_specifics.F90: Likewise.
1142 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
1143 * intrinsics/selected_real_kind.f90: Likewise.
1144 * intrinsics/dprod_r8.f90: Likewise.
1145 * Makefile.am: Add -fallow-leading-underscore to the
1146 gfor_specific_src files, as well as selected_real_kind.F90
1147 and selected_int_kind.F90
1148 * Makefile.in: Regenerate.
1149 * generated/_sqrt_c8.F90: Regenerate.
1150 * generated/_sign_r16.F90: Regenerate.
1151 * generated/_log_c16.F90: Regenerate.
1152 * generated/_sin_c10.F90: Regenerate.
1153 * generated/_tanh_r4.F90: Regenerate.
1154 * generated/_tanh_r8.F90: Regenerate.
1155 * generated/_log10_r10.F90: Regenerate.
1156 * generated/_aimag_c4.F90: Regenerate.
1157 * generated/_sign_r4.F90: Regenerate.
1158 * generated/_aimag_c8.F90: Regenerate.
1159 * generated/_sign_r8.F90: Regenerate.
1160 * generated/_mod_i4.F90: Regenerate.
1161 * generated/_cos_r16.F90: Regenerate.
1162 * generated/_aint_r10.F90: Regenerate.
1163 * generated/_mod_i8.F90: Regenerate.
1164 * generated/_abs_i16.F90: Regenerate.
1165 * generated/_sqrt_c10.F90: Regenerate.
1166 * generated/_atan2_r4.F90: Regenerate.
1167 * generated/_cos_c4.F90: Regenerate.
1168 * generated/_atan_r16.F90: Regenerate.
1169 * generated/_tanh_r10.F90: Regenerate.
1170 * generated/_atan2_r8.F90: Regenerate.
1171 * generated/_cos_c8.F90: Regenerate.
1172 * generated/_exp_r4.F90: Regenerate.
1173 * generated/_log_r10.F90: Regenerate.
1174 * generated/_exp_r8.F90: Regenerate.
1175 * generated/_abs_r4.F90: Regenerate.
1176 * generated/_abs_r8.F90: Regenerate.
1177 * generated/_sin_r16.F90: Regenerate.
1178 * generated/_tan_r4.F90: Regenerate.
1179 * generated/_tan_r8.F90: Regenerate.
1180 * generated/_sign_i4.F90: Regenerate.
1181 * generated/_sign_i8.F90: Regenerate.
1182 * generated/_exp_c16.F90: Regenerate.
1183 * generated/_sqrt_r16.F90: Regenerate.
1184 * generated/_conjg_c4.F90: Regenerate.
1185 * generated/_conjg_c8.F90: Regenerate.
1186 * generated/_dim_r16.F90: Regenerate.
1187 * generated/_mod_r10.F90: Regenerate.
1188 * generated/_abs_c10.F90: Regenerate.
1189 * generated/_conjg_c16.F90: Regenerate.
1190 * generated/_tan_r16.F90: Regenerate.
1191 * generated/_asinh_r10.F90: Regenerate.
1192 * generated/_abs_i4.F90: Regenerate.
1193 * generated/_abs_i8.F90: Regenerate.
1194 * generated/_acos_r10.F90: Regenerate.
1195 * generated/_exp_r10.F90: Regenerate.
1196 * generated/_acosh_r16.F90: Regenerate.
1197 * generated/_atan2_r16.F90: Regenerate.
1198 * generated/_cos_c16.F90: Regenerate.
1199 * generated/_mod_i16.F90: Regenerate.
1200 * generated/_asin_r4.F90: Regenerate.
1201 * generated/_anint_r16.F90: Regenerate.
1202 * generated/_asin_r8.F90: Regenerate.
1203 * generated/_aimag_c10.F90: Regenerate.
1204 * generated/_exp_c4.F90: Regenerate.
1205 * generated/_sinh_r10.F90: Regenerate.
1206 * generated/_exp_c8.F90: Regenerate.
1207 * generated/_log10_r4.F90: Regenerate.
1208 * generated/_log10_r8.F90: Regenerate.
1209 * generated/_abs_c4.F90: Regenerate.
1210 * generated/_abs_r16.F90: Regenerate.
1211 * generated/_abs_c8.F90: Regenerate.
1212 * generated/_asin_r10.F90: Regenerate.
1213 * generated/_sign_r10.F90: Regenerate.
1214 * generated/_atanh_r16.F90: Regenerate.
1215 * generated/_log_c10.F90: Regenerate.
1216 * generated/_cosh_r16.F90: Regenerate.
1217 * generated/_sin_c16.F90: Regenerate.
1218 * generated/_cos_r10.F90: Regenerate.
1219 * generated/_log10_r16.F90: Regenerate.
1220 * generated/_aint_r16.F90: Regenerate.
1221 * generated/_acos_r4.F90: Regenerate.
1222 * generated/_acos_r8.F90: Regenerate.
1223 * generated/_sqrt_c16.F90: Regenerate.
1224 * generated/_acosh_r4.F90: Regenerate.
1225 * generated/_atan_r10.F90: Regenerate.
1226 * generated/_acosh_r8.F90: Regenerate.
1227 * generated/_sign_i16.F90: Regenerate.
1228 * generated/_tanh_r16.F90: Regenerate.
1229 * generated/_log_r4.F90: Regenerate.
1230 * generated/_log_r8.F90: Regenerate.
1231 * generated/_sin_r4.F90: Regenerate.
1232 * generated/_sin_r8.F90: Regenerate.
1233 * generated/_log_r16.F90: Regenerate.
1234 * generated/_sin_r10.F90: Regenerate.
1235 * generated/_sqrt_r4.F90: Regenerate.
1236 * generated/_exp_c10.F90: Regenerate.
1237 * generated/_sqrt_r8.F90: Regenerate.
1238 * generated/_asinh_r4.F90: Regenerate.
1239 * generated/_sqrt_r10.F90: Regenerate.
1240 * generated/_asinh_r8.F90: Regenerate.
1241 * generated/_dim_r4.F90: Regenerate.
1242 * generated/_dim_r8.F90: Regenerate.
1243 * generated/_dim_r10.F90: Regenerate.
1244 * generated/_cosh_r4.F90: Regenerate.
1245 * generated/_conjg_c10.F90: Regenerate.
1246 * generated/_tan_r10.F90: Regenerate.
1247 * generated/_cosh_r8.F90: Regenerate.
1248 * generated/_mod_r16.F90: Regenerate.
1249 * generated/_abs_c16.F90: Regenerate.
1250 * generated/_cos_r4.F90: Regenerate.
1251 * generated/_asinh_r16.F90: Regenerate.
1252 * generated/_cos_r8.F90: Regenerate.
1253 * generated/_atanh_r4.F90: Regenerate.
1254 * generated/_atanh_r8.F90: Regenerate.
1255 * generated/_acos_r16.F90: Regenerate.
1256 * generated/_anint_r4.F90: Regenerate.
1257 * generated/_acosh_r10.F90: Regenerate.
1258 * generated/_anint_r8.F90: Regenerate.
1259 * generated/_exp_r16.F90: Regenerate.
1260 * generated/_mod_r4.F90: Regenerate.
1261 * generated/_cos_c10.F90: Regenerate.
1262 * generated/_atan2_r10.F90: Regenerate.
1263 * generated/_dim_i16.F90: Regenerate.
1264 * generated/_mod_r8.F90: Regenerate.
1265 * generated/_anint_r10.F90: Regenerate.
1266 * generated/_aint_r4.F90: Regenerate.
1267 * generated/_aint_r8.F90: Regenerate.
1268 * generated/_dim_i4.F90: Regenerate.
1269 * generated/_sinh_r4.F90: Regenerate.
1270 * generated/_log_c4.F90: Regenerate.
1271 * generated/_dim_i8.F90: Regenerate.
1272 * generated/_sinh_r8.F90: Regenerate.
1273 * generated/_log_c8.F90: Regenerate.
1274 * generated/_sin_c4.F90: Regenerate.
1275 * generated/_sin_c8.F90: Regenerate.
1276 * generated/misc_specifics.F90: Regenerate.
1277 * generated/_abs_r10.F90: Regenerate.
1278 * generated/_aimag_c16.F90: Regenerate.
1279 * generated/_atan_r4.F90: Regenerate.
1280 * generated/_sinh_r16.F90: Regenerate.
1281 * generated/_atan_r8.F90: Regenerate.
1282 * generated/_atanh_r10.F90: Regenerate.
1283 * generated/_cosh_r10.F90: Regenerate.
1284 * generated/_sqrt_c4.F90: Regenerate.
1285 * generated/_asin_r16.F90: Regenerate.
1287 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1290 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
1291 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
1292 * configure: Regenerate.
1293 * config.h.in: Regenerate because it was forgottent in the last
1296 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1297 Tobias Burnus <burnus@net-b.de>
1300 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
1301 environment variable.
1302 * runtime/compile_options.c (set_std): Add new argument.
1303 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
1305 * libgfortran.h (options_t): New dump_core and backtrace members.
1306 (sys_exit): Move prototype.
1307 * io/unix.c (sys_exit): Move to runtime/error.c.
1308 * configure.ac: Add check for getrlimit.
1309 * configure: Regenerate.
1311 2007-01-17 Tom Tromey <tromey@redhat.com>
1313 PR libfortran/27107:
1314 * aclocal.m4, configure, Makefile.in: Rebuilt.
1315 * configure.ac: Enable automake dependency tracking. Update
1316 minimum automake version.
1318 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
1321 * runtime/environ.c: Don't include io/io.h.
1322 * runtime/string.c: Don't include io/io.h.
1323 (compare0): Add cast to avoid warning.
1324 * runtime/error.c: Don't include io/io.h.
1325 (st_printf): Move to io/unix.c.
1326 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
1327 * intrinsics/fget.c: Likewise.
1328 * intrinsics/ftell.c: Likewise.
1329 * intrinsics/tty.c: Likewise.
1330 * libgfortran.h (DEFAULT_RECL, notification_std,
1331 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
1332 DEFAULT_TEMPDIR): New declarations.
1333 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
1334 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
1335 Move to libgfortran.h.
1336 * io/unix.c: Add io/unix.h content.
1337 (st_printf): New function.
1338 * io/intrinsics.c: New file.
1339 * io/unix.h: Remove, contents moved into unix.c.
1340 * libtool-version: Update library version to 3.0.0.
1341 * configure.ac: Update library version to 0.3.
1342 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
1343 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
1344 * Makefile.in: Regenerate.
1345 * configure: Regenerate.
1347 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1350 * io/list_read.c (finish_separator): Don't call next_record.
1351 (list_formatted_read_scalar): Clean up some comments and whitespace.
1352 (nml_read_obj): Whitespace fix.
1354 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
1357 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
1358 s->file_length == -1.
1359 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
1360 (fd_seek): If not seekable, just return success.
1361 (fd_truncate): If not seekable, no need to truncate. Return failure if
1362 seek fails and the stream is not a pipe.
1363 (fd_to_stream): Make test for non-seekable file more robust.
1365 2007-01-01 Steven G. Kargl <kargls@comcast.net>
1367 * ChangeLog: Copied to ...
1368 * ChangeLog-2006: here.