1 2007-05-15 Tobias Burnus <burnus@net-b.de>
4 * io/transfer.c (unformatted_read): Use proper size for real(10).
5 (unformatted_write): Ditto.
7 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
10 * runtime/memory.c (internal_malloc, internal_malloc64,
11 internal_free): Remove.
12 * runtime/error.c (os_error): Export function.
13 * intrinsics/move_alloc.c: Include stdlib.h.
14 (move_alloc): Call free instead of internal_free.
15 (move_alloc_c): Wrap long lines.
16 * libgfortran.h (os_error): Export prototype.
17 (internal_free): Remove prototype.
18 * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
19 _gfortran_internal_malloc and _gfortran_internal_malloc64.
20 Add _gfortran_os_error.
22 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
25 * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
27 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
30 * intrinsics/system.c (system_sub): Call flush_all_units.
31 * io/io.h (flush_all_units): Move prototype to libgfortran.h.
32 * libgfortran.h (flush_all_units): Add prototype.
34 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
37 * runtime/error.c (runtime_error_at): New function.
38 (generate_error): Export this function.
39 * gfortran.map: Add _gfortran_generate_error and
40 _gfortran_runtime_error_at.
41 * libgfortran.h: Add comment to reference error codes in front end.
42 (library_start): Locate prototype with library_end macro and add
43 a new comment. Add prototype for runtime_error_at. Export prototype for
45 * io/lock.c (library_start): Fix check for error condition.
46 * io/transfer.c (data_transfer_init): Add library check.
48 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
51 * io/intrinsics.c (fseek_sub): New.
52 * io/unix.c (fd_fseek): Change logical and physical offsets only
54 * gfortran.map (fseek_sub): New.
56 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
59 * io/transfer.c (transfer_character): Avoid passing a NULL
60 pointer as source to the transfer routines, if the string length
63 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
66 * io/list_read.c (next_char): Fix whitespace.
67 * io/io.h: Remove prototypes and define macros for is_array_io,
68 is_stream_io, and is_internal_unit.
69 * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
71 * io/transfer.c (read_sf): Change handling of internal_unit to make a
72 single call to salloc_r and use memcpy to transfer the data.
74 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
77 * io/file_pos.c (st_backspace): Set flags.position for end of file
78 condition and use new function update_position.
79 (st_endfile): Use new function update_position.
80 * io/io.h: Add prototype for new function.
81 * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
83 * io/unit.c (update_position): New function to update position info
85 * io/transfer.c (next_record): Fix typo and use new function.
87 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
90 * intrinsics/getlog.c: Use getpwuid and geteuid instead of
91 getlogin if they are available.
92 * configure.ac: Add checks for getpwuid and geteuid.
93 * configure: Regenerate.
94 * config.h.in: Regenerate.
96 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
98 * configure: Regenerate using autoconf 2.59.
99 * Makefile.in: Likewise.
100 * config.h.in: Likewise.
102 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
105 * configure.ac: New test to determine if symbol versioning is
107 * Makefile.am: Use result of above test to add appropriate linker
109 * gfortran.map: New file.
110 * configure: Regenerated.
111 * Makefile.in: Regenerated.
112 * config.h.in: Regenerated.
114 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
117 * io/transfer.c (read_block_direct): Instead of calling us_read,
118 set dtp->u.p.current_unit->current_record = 0 so that pre_position
119 will read the record marker.
120 (data_transfer_init): For different error conditions, call
121 generate_error, then return.
123 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
125 * runtime/main.c (please_free_exe_path_when_done): New variable.
126 (store_exe_path): Initialize character buffer, and mark whether
127 exe_path should be free'd by the library destructor function.
128 (cleanup): Only free exe_path if needed.
130 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
131 Tobias Burnus <burnus@net-b.de>
135 * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
136 * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
137 array structures we pass to unpack_internal.
139 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
141 * io/open.c (test_endfile): Revert changes for 31052, restoring this
144 2007-04-14 Steve Ellcey <sje@cup.hp.com>
146 * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
147 * Makefile.in: Regenerate.
149 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
151 * configure: Regenerate.
153 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
155 * intrinsics/cpu_time.c: Don't include headers already included
156 by libgfortran.h. Protect inclusion of sys/times.h.
157 * configure.ac: Remove unneeded checks for finit, stdio.h,
158 stddef.h, math.h and sys/params.h.
159 * config/fpu-aix.h: Don't include headers already included by
161 * config/fpu-sysv.h: Likewise.
162 * io/write.c: Likewise.
163 * m4/minloc1.m4: Likewise.
164 * m4/maxloc1.m4: Likewise.
165 * m4/fraction.m4: Likewise.
166 * m4/set_exponent.m4: Likewise.
167 * m4/spacing.m4: Likewise.
168 * m4/minval.m4: Likewise.
169 * m4/maxval.m4: Likewise.
170 * m4/exponent.m4: Likewise.
171 * m4/nearest.m4: Likewise.
172 * m4/minloc0.m4: Likewise.
173 * m4/maxloc0.m4: Likewise.
174 * m4/rrspacing.m4: Likewise.
175 * runtime/main.c: Likewise.
176 * runtime/error.c: Likewise.
177 * intrinsics/system_clock.c: Likewise.
178 * intrinsics/etime.c: Likewise.
179 * intrinsics/stat.c: Likewise.
180 * intrinsics/date_and_time.c: Likewise.
181 * intrinsics/env.c: Likewise.
182 * intrinsics/kill.c: Likewise.
183 * intrinsics/getXid.c: Likewise.
184 * intrinsics/chmod.c: Likewise.
185 * intrinsics/args.c: Likewise.
186 * intrinsics/c99_functions.c: Likewise.
187 * generated/minval_r8.c: Regenerate.
188 * generated/maxloc1_4_r8.c: Regenerate.
189 * generated/minloc1_16_r16.c: Regenerate.
190 * generated/maxval_i2.c: Regenerate.
191 * generated/maxloc1_8_i4.c: Regenerate.
192 * generated/exponent_r16.c: Regenerate.
193 * generated/maxloc0_4_r4.c: Regenerate.
194 * generated/fraction_r16.c: Regenerate.
195 * generated/fraction_r4.c: Regenerate.
196 * generated/minloc0_4_r16.c: Regenerate.
197 * generated/minloc0_4_i1.c: Regenerate.
198 * generated/maxloc0_4_r16.c: Regenerate.
199 * generated/maxloc0_4_i2.c: Regenerate.
200 * generated/minloc1_8_r16.c: Regenerate.
201 * generated/maxloc1_8_r16.c: Regenerate.
202 * generated/set_exponent_r8.c: Regenerate.
203 * generated/maxloc0_8_i8.c: Regenerate.
204 * generated/minloc1_4_r8.c: Regenerate.
205 * generated/maxloc1_16_r16.c: Regenerate.
206 * generated/minloc1_16_i4.c: Regenerate.
207 * generated/maxloc1_16_i4.c: Regenerate.
208 * generated/minloc0_16_i8.c: Regenerate.
209 * generated/maxloc0_16_i8.c: Regenerate.
210 * generated/nearest_r8.c: Regenerate.
211 * generated/spacing_r16.c: Regenerate.
212 * generated/maxval_r16.c: Regenerate.
213 * generated/minloc1_8_i4.c: Regenerate.
214 * generated/minloc0_16_i16.c: Regenerate.
215 * generated/minloc0_4_r4.c: Regenerate.
216 * generated/set_exponent_r10.c: Regenerate.
217 * generated/rrspacing_r10.c: Regenerate.
218 * generated/minloc0_4_i2.c: Regenerate.
219 * generated/maxloc0_8_i1.c: Regenerate.
220 * generated/minloc0_8_i8.c: Regenerate.
221 * generated/spacing_r4.c: Regenerate.
222 * generated/minloc1_16_r10.c: Regenerate.
223 * generated/minloc0_16_i1.c: Regenerate.
224 * generated/maxloc0_16_i1.c: Regenerate.
225 * generated/maxloc1_8_r8.c: Regenerate.
226 * generated/minval_i16.c: Regenerate.
227 * generated/exponent_r10.c: Regenerate.
228 * generated/maxval_i4.c: Regenerate.
229 * generated/minval_i8.c: Regenerate.
230 * generated/maxloc1_4_i8.c: Regenerate.
231 * generated/fraction_r10.c: Regenerate.
232 * generated/maxloc0_16_i16.c: Regenerate.
233 * generated/maxloc0_8_r4.c: Regenerate.
234 * generated/rrspacing_r8.c: Regenerate.
235 * generated/minloc1_4_i16.c: Regenerate.
236 * generated/minloc0_4_r10.c: Regenerate.
237 * generated/maxloc1_4_i16.c: Regenerate.
238 * generated/minloc0_8_i16.c: Regenerate.
239 * generated/maxloc0_4_r10.c: Regenerate.
240 * generated/maxloc0_8_i16.c: Regenerate.
241 * generated/minloc1_8_r10.c: Regenerate.
242 * generated/minloc0_16_r4.c: Regenerate.
243 * generated/maxloc1_8_r10.c: Regenerate.
244 * generated/maxloc0_16_r4.c: Regenerate.
245 * generated/minloc1_16_r8.c: Regenerate.
246 * generated/minloc0_8_i1.c: Regenerate.
247 * generated/maxloc0_4_i4.c: Regenerate.
248 * generated/maxloc1_16_r8.c: Regenerate.
249 * generated/maxloc0_8_i2.c: Regenerate.
250 * generated/nearest_r16.c: Regenerate.
251 * generated/maxloc1_16_r10.c: Regenerate.
252 * generated/minloc0_16_i2.c: Regenerate.
253 * generated/minloc1_8_r8.c: Regenerate.
254 * generated/maxloc0_16_i2.c: Regenerate.
255 * generated/exponent_r4.c: Regenerate.
256 * generated/spacing_r10.c: Regenerate.
257 * generated/maxval_r10.c: Regenerate.
258 * generated/minval_i1.c: Regenerate.
259 * generated/maxloc1_4_i1.c: Regenerate.
260 * generated/minloc1_4_i8.c: Regenerate.
261 * generated/minloc0_8_r4.c: Regenerate.
262 * generated/minloc0_16_r16.c: Regenerate.
263 * generated/minloc0_4_i4.c: Regenerate.
264 * generated/minloc0_8_i2.c: Regenerate.
265 * generated/minval_r4.c: Regenerate.
266 * generated/maxloc1_4_r4.c: Regenerate.
267 * generated/maxval_r8.c: Regenerate.
268 * generated/minval_r16.c: Regenerate.
269 * generated/minloc1_4_i1.c: Regenerate.
270 * generated/minval_i2.c: Regenerate.
271 * generated/maxloc1_4_i2.c: Regenerate.
272 * generated/maxloc1_8_i8.c: Regenerate.
273 * generated/maxloc0_4_r8.c: Regenerate.
274 * generated/maxloc0_16_r16.c: Regenerate.
275 * generated/minloc1_4_r16.c: Regenerate.
276 * generated/fraction_r8.c: Regenerate.
277 * generated/maxloc1_4_r16.c: Regenerate.
278 * generated/set_exponent_r4.c: Regenerate.
279 * generated/minloc0_8_r16.c: Regenerate.
280 * generated/maxloc0_8_r16.c: Regenerate.
281 * generated/nearest_r10.c: Regenerate.
282 * generated/maxloc0_8_i4.c: Regenerate.
283 * generated/minloc1_4_r4.c: Regenerate.
284 * generated/minloc0_16_i4.c: Regenerate.
285 * generated/maxloc0_16_i4.c: Regenerate.
286 * generated/nearest_r4.c: Regenerate.
287 * generated/minloc1_16_i8.c: Regenerate.
288 * generated/maxloc1_16_i8.c: Regenerate.
289 * generated/minloc1_4_i2.c: Regenerate.
290 * generated/maxloc1_8_i1.c: Regenerate.
291 * generated/minloc0_16_r10.c: Regenerate.
292 * generated/minloc1_8_i8.c: Regenerate.
293 * generated/minloc0_4_r8.c: Regenerate.
294 * generated/minloc0_8_i4.c: Regenerate.
295 * generated/minloc1_16_i16.c: Regenerate.
296 * generated/spacing_r8.c: Regenerate.
297 * generated/maxloc1_8_r4.c: Regenerate.
298 * generated/minloc1_16_i1.c: Regenerate.
299 * generated/maxloc1_16_i1.c: Regenerate.
300 * generated/minval_r10.c: Regenerate.
301 * generated/minval_i4.c: Regenerate.
302 * generated/minloc1_8_i1.c: Regenerate.
303 * generated/maxloc1_4_i4.c: Regenerate.
304 * generated/maxloc1_8_i2.c: Regenerate.
305 * generated/maxval_i8.c: Regenerate.
306 * generated/maxloc0_16_r10.c: Regenerate.
307 * generated/rrspacing_r4.c: Regenerate.
308 * generated/minloc0_4_i16.c: Regenerate.
309 * generated/maxloc0_8_r8.c: Regenerate.
310 * generated/maxloc0_4_i16.c: Regenerate.
311 * generated/minloc1_4_r10.c: Regenerate.
312 * generated/minloc1_8_i16.c: Regenerate.
313 * generated/maxloc1_4_r10.c: Regenerate.
314 * generated/minloc0_8_r10.c: Regenerate.
315 * generated/maxloc1_8_i16.c: Regenerate.
316 * generated/maxloc0_8_r10.c: Regenerate.
317 * generated/minloc1_16_r4.c: Regenerate.
318 * generated/maxloc1_16_r4.c: Regenerate.
319 * generated/minloc0_16_r8.c: Regenerate.
320 * generated/maxloc0_16_r8.c: Regenerate.
321 * generated/maxloc0_4_i8.c: Regenerate.
322 * generated/maxloc1_16_i16.c: Regenerate.
323 * generated/minloc1_8_r4.c: Regenerate.
324 * generated/minloc1_16_i2.c: Regenerate.
325 * generated/maxloc1_16_i2.c: Regenerate.
326 * generated/maxval_i16.c: Regenerate.
327 * generated/exponent_r8.c: Regenerate.
328 * generated/minloc1_4_i4.c: Regenerate.
329 * generated/maxval_i1.c: Regenerate.
330 * generated/minloc1_8_i2.c: Regenerate.
331 * generated/minloc0_8_r8.c: Regenerate.
332 * generated/set_exponent_r16.c: Regenerate.
333 * generated/maxloc0_4_i1.c: Regenerate.
334 * generated/rrspacing_r16.c: Regenerate.
335 * generated/minloc0_4_i8.c: Regenerate.
336 * generated/maxval_r4.c: Regenerate.
337 * configure: Regenerate.
338 * config.h.in: Regenerate.
340 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
343 * io/format.c (parse_format_list): Fix parsing.
345 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
348 intrinsics/string_intrinsics.c (string_repeat): Remove.
350 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
353 * io/open.c (test_endfile): Delete this function.
354 (edit_modes): Delete call to test_endfile.
355 (new_unit): Likewise.
356 * io/io.h: Delete prototype for test_endfile.
357 * io/transfer.c (next_record_r): Remove use of test_endfile.
358 (st_read): Add test for end file condition and adjust status.
360 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
363 * io/transfer.c (read_block_direct): Do not generate error when reading
364 past EOF on a short record that is less than the RECL= specified.
366 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
369 * io/unit.c (close_unit_1): If there are bytes previously written from
370 ADVANCE="no", move to the end before closing.
372 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
375 * intrinsics/stat.c: Only provide STAT and FSTAT library routines
376 if stat() and fstat() library functions are available. When lstat()
377 is not available, use stat() instead.
378 * configure.ac: Add checks for stat, fstat and lstat.
379 * configure: Regenerate.
380 * config.h.in: Regenerate.
382 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
385 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist
388 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
391 * io/io.h: Add saved_pos to gfc_unit structure.
392 * io/open.c (new_unit): Initialize saved_pos.
393 * io/transfer.c (data_transfer_init): Set max_pos to value in saved_pos.
394 (next_record_w): Fix whitespace.
395 (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
396 later use. If not ADVANCE="no" set saved_pos to zero.
398 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
401 * intrinsics/reshape_generic.c (reshape_internal): Increment
404 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
407 * file_pos.c: Update Copyright year.
408 * io/open.c (test_endfile): Restore test_endfile to fix SPEC regression.
409 Update Copyright year.
411 * io/unix.c (is_special): Add missing type for this function.
412 Update Copyright year.
413 * io/transfer.c (next_record_r): Restore test_endfile.
414 (st_read): Fix whitespace. Update Copyright year
416 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
418 * configure.ac: Add missing check for gettimeofday.
419 * config.h.in: Renegerate.
420 * configure: Regenerate.
422 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
425 * io/file_position (st_rewind): Fix comments. Remove use of
426 test_endfile. Don't seek if already at 0 position. Use new is_special
427 function to set endfile state.
428 * io/open.c (test_endfile): Delete this function.
429 * io/io.h: Delete prototype for test_endfile. Add prototype
431 * io/unix.c (is_special): New function. Fix whitespace.
432 * io/transfer.c (next_record_r): Remove use of test_endfile.
434 2007-03-16 David Edelsohn <edelsohn@gnu.org>
436 * runtime/main.c: Include "config.h" first.
438 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
441 * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
443 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
445 * runtime/backtrace.c: New file.
446 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
447 environment variable.
448 * runtime/compile_options.c (set_std): Add new argument.
449 * runtime/main.c (store_exe_path, full_exe_path): New functions.
450 * runtime/error.c (sys_exit): Add call to show_backtrace.
451 * libgfortran.h (options_t): New backtrace field.
452 (store_exe_path, full_exe_path, show_backtrace): New prototypes.
453 * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
454 close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
456 * Makefile.am: Add runtime/backtrace.c.
457 * fmain.c (main): Add call to store_exe_path.
458 * Makefile.in: Renegerate.
459 * config.h.in: Renegerate.
460 * configure: Regenerate.
462 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
465 * io/transfer.c (formatted_transfer_scalar): Adjust position for pending
466 spaces when in writing mode. Clean up some formatting.
468 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
471 * all.m4: Quote everything, except for m4 macros.
473 * count.m4: Likewise.
474 * cshift1.m4: Likewise.
475 * eoshift1.m4: Likewise.
476 * eoshift3.m4: Likewise.
477 * exponent.m4: Likewise.
478 * fraction.m4: Likewise.
479 * in_pack.m4: Likewise.
480 * in_unpack.m4: Likewise.
481 * matmul.m4: Likewise.
482 * matmull.m4: Likewise.
483 * nearest.m4: Likewise.
485 * product.m4: Likewise.
486 * reshape.m4: Likewise.
487 * rrspacing.m4: Likewise.
488 * set_exponent.m4: Likewise.
489 * shape.m4: Likewise.
490 * spacing.m4: Likewise.
491 * transpose.m4: Likewise.
493 2007-03-14 Jakub Jelinek <jakub@redhat.com>
495 * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
496 O_RDONLY even if errno is EROFS.
498 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
501 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
502 * io/transfer.c (next_record_w): Set bytes left to record length for
503 sequential unformatted I/O.
504 (next_record_r): Ditto.
505 (read_block_direct): Fix test for exceeding bytes_left.
507 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
510 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
513 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
516 * m4/pow_m4: Use appropriate unsigned int type for u.
517 * generated/pow_c10_i16.c: Regenerated.
518 * generated/pow_c10_i4.c: Regenerated.
519 * generated/pow_c10_i8.c: Regenerated.
520 * generated/pow_c16_i16.c: Regenerated.
521 * generated/pow_c16_i4.c: Regenerated.
522 * generated/pow_c16_i8.c: Regenerated.
523 * generated/pow_c4_i16.c: Regenerated.
524 * generated/pow_c4_i4.c: Regenerated.
525 * generated/pow_c4_i8.c: Regenerated.
526 * generated/pow_c8_i16.c: Regenerated.
527 * generated/pow_c8_i4.c: Regenerated.
528 * generated/pow_c8_i8.c: Regenerated.
529 * generated/pow_i16_i16.c: Regenerated.
530 * generated/pow_i16_i4.c: Regenerated.
531 * generated/pow_i16_i8.c: Regenerated.
532 * generated/pow_i4_i16.c: Regenerated.
533 * generated/pow_i4_i4.c: Regenerated.
534 * generated/pow_i4_i8.c: Regenerated.
535 * generated/pow_i8_i16.c: Regenerated.
536 * generated/pow_i8_i4.c: Regenerated.
537 * generated/pow_i8_i8.c: Regenerated.
538 * generated/pow_r10_i16.c: Regenerated.
539 * generated/pow_r10_i4.c: Regenerated.
540 * generated/pow_r10_i8.c: Regenerated.
541 * generated/pow_r16_i16.c: Regenerated.
542 * generated/pow_r16_i4.c: Regenerated.
543 * generated/pow_r16_i8.c: Regenerated.
544 * generated/pow_r4_i16.c: Regenerated.
545 * generated/pow_r4_i4.c: Regenerated.
546 * generated/pow_r4_i8.c: Regenerated.
547 * generated/pow_r8_i16.c: Regenerated.
548 * generated/pow_r8_i4.c: Regenerated.
549 * generated/pow_r8_i8.c: Regenerated.
551 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
554 * intrinsics/pack_generic.c (pack_internal): Add special checks
555 for zero-sized arrays.
557 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
559 * Makefile.am: Add dummy install-pdf target.
560 * Makefile.in: Regenerate
562 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
565 * io/listread.c (namelist_read): Eat comment line.
567 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
570 * io/write.c (output_float): Add condition of format F only for
571 special case rounding with zero precision.
573 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
577 * Makefile.am: Add $(srcdir) too all files in generated/.
578 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
579 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
581 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
582 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
584 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
585 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
586 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
588 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
589 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
591 (i_minval_c): Add minval_i1.c and minval_i2.c.
592 (i_sum_c): Add sum_i1.c and sum_i2.c.
593 (i_product_c): Add product_i1.c and product_i2.c.
594 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
595 (gfor_built_specific_src): Remove $(srcdir) from target.
596 (gfor_bulit_specific2_src): Likewise.
597 Makefile.in: Regenerated.
598 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
599 Add gfc_array_i1 and gfc_array_i2.
600 * generated/matmul_i1.c: New file.
601 * generated/matmul_i2.c: New file.
602 * generated/maxloc0_16_i1.c: New file.
603 * generated/maxloc0_16_i2.c: New file.
604 * generated/maxloc0_4_i1.c: New file.
605 * generated/maxloc0_4_i2.c: New file.
606 * generated/maxloc0_8_i1.c: New file.
607 * generated/maxloc0_8_i2.c: New file.
608 * generated/maxloc1_16_i1.c: New file.
609 * generated/maxloc1_16_i2.c: New file.
610 * generated/maxloc1_4_i1.c: New file.
611 * generated/maxloc1_4_i2.c: New file.
612 * generated/maxloc1_8_i1.c: New file.
613 * generated/maxloc1_8_i2.c: New file.
614 * generated/maxval_i1.c: New file.
615 * generated/maxval_i2.c: New file.
616 * generated/minloc0_16_i1.c: New file.
617 * generated/minloc0_16_i2.c: New file.
618 * generated/minloc0_4_i1.c: New file.
619 * generated/minloc0_4_i2.c: New file.
620 * generated/minloc0_8_i1.c: New file.
621 * generated/minloc0_8_i2.c: New file.
622 * generated/minloc1_16_i1.c: New file.
623 * generated/minloc1_16_i2.c: New file.
624 * generated/minloc1_4_i1.c: New file.
625 * generated/minloc1_4_i2.c: New file.
626 * generated/minloc1_8_i1.c: New file.
627 * generated/minloc1_8_i2.c: New file.
628 * generated/minval_i1.c: New file.
629 * generated/minval_i2.c: New file.
630 * generated/product_i1.c: New file.
631 * generated/product_i2.c: New file.
632 * generated/sum_i1.c: New file.
633 * generated/sum_i2.c: New file.
635 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
637 * runtime/memory.c (deallocate): Correct comment.
639 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
641 * Makefile.am: Use $(M4) instead of m4.
642 * Makefile.in: Regenerate.
644 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
646 * Makefile.am: Remove $(srcdir) from assorted targets
648 * Makefile.in: Regenerate.
650 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
651 Tobias Burnus <burnus@net-b.de>
654 * m4/iparm.m4: Use HUGE-1 for most negative integer.
655 * generated/maxloc1_8_i4.c: Regenerate.
656 * generated/maxloc0_8_i8.c: Regenerate.
657 * generated/maxloc1_16_i4.c: Regenerate.
658 * generated/maxloc0_16_i8.c: Regenerate.
659 * generated/maxval_i4.c: Regenerate.
660 * generated/maxloc1_4_i8.c: Regenerate.
661 * generated/maxloc0_16_i16.c: Regenerate.
662 * generated/maxloc1_4_i16.c: Regenerate.
663 * generated/maxloc0_8_i16.c: Regenerate.
664 * generated/maxloc0_4_i4.c: Regenerate.
665 * generated/maxloc1_8_i8.c: Regenerate.
666 * generated/maxloc0_8_i4.c: Regenerate.
667 * generated/maxloc0_16_i4.c: Regenerate.
668 * generated/maxloc1_16_i8.c: Regenerate.
669 * generated/maxloc1_4_i4.c: Regenerate.
670 * generated/maxval_i8.c: Regenerate.
671 * generated/maxloc0_4_i16.c: Regenerate.
672 * generated/maxloc1_8_i16.c: Regenerate.
673 * generated/maxloc0_4_i8.c: Regenerate.
674 * generated/maxloc1_16_i16.c: Regenerate.
675 * generated/maxval_i16.c: Regenerate.
677 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
680 * intrinsics/string_intrinsics.c (string_repeat): Don't check
681 if ncopies is negative.
683 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
686 * libgfortran.h: Do not prefix symbol name with
687 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
689 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
693 * io/transfer.c (init_loop_spec, next_array_record): Change to
694 lbound rather than unity base.
696 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
698 * runtime/error.c: Include sys/time.h before sys/resource.h.
700 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
703 * intrinsics/string_intrinsics.c(compare_string): Make
704 sure that comparisons are done unsigned.
706 2007-01-21 Tobias Burnus <burnus@net-b.de>
709 * intrinsics/date_and_time.c (date_and_time): Fix case where time
711 * configure.ac: Remove AC_TRY_RUN test for timezone in
713 * acinclude.m4: Ditto.
714 * configure: Regenerate.
715 * config.h.in: Regenerate.
717 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
719 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
720 * m4/specific2.m4: Likewise.
721 * m4/specific.m4: Likewise.
722 * intrinsics/f2c_specifics.F90: Likewise.
723 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
724 * intrinsics/selected_real_kind.f90: Likewise.
725 * intrinsics/dprod_r8.f90: Likewise.
726 * Makefile.am: Add -fallow-leading-underscore to the
727 gfor_specific_src files, as well as selected_real_kind.F90
728 and selected_int_kind.F90
729 * Makefile.in: Regenerate.
730 * generated/_sqrt_c8.F90: Regenerate.
731 * generated/_sign_r16.F90: Regenerate.
732 * generated/_log_c16.F90: Regenerate.
733 * generated/_sin_c10.F90: Regenerate.
734 * generated/_tanh_r4.F90: Regenerate.
735 * generated/_tanh_r8.F90: Regenerate.
736 * generated/_log10_r10.F90: Regenerate.
737 * generated/_aimag_c4.F90: Regenerate.
738 * generated/_sign_r4.F90: Regenerate.
739 * generated/_aimag_c8.F90: Regenerate.
740 * generated/_sign_r8.F90: Regenerate.
741 * generated/_mod_i4.F90: Regenerate.
742 * generated/_cos_r16.F90: Regenerate.
743 * generated/_aint_r10.F90: Regenerate.
744 * generated/_mod_i8.F90: Regenerate.
745 * generated/_abs_i16.F90: Regenerate.
746 * generated/_sqrt_c10.F90: Regenerate.
747 * generated/_atan2_r4.F90: Regenerate.
748 * generated/_cos_c4.F90: Regenerate.
749 * generated/_atan_r16.F90: Regenerate.
750 * generated/_tanh_r10.F90: Regenerate.
751 * generated/_atan2_r8.F90: Regenerate.
752 * generated/_cos_c8.F90: Regenerate.
753 * generated/_exp_r4.F90: Regenerate.
754 * generated/_log_r10.F90: Regenerate.
755 * generated/_exp_r8.F90: Regenerate.
756 * generated/_abs_r4.F90: Regenerate.
757 * generated/_abs_r8.F90: Regenerate.
758 * generated/_sin_r16.F90: Regenerate.
759 * generated/_tan_r4.F90: Regenerate.
760 * generated/_tan_r8.F90: Regenerate.
761 * generated/_sign_i4.F90: Regenerate.
762 * generated/_sign_i8.F90: Regenerate.
763 * generated/_exp_c16.F90: Regenerate.
764 * generated/_sqrt_r16.F90: Regenerate.
765 * generated/_conjg_c4.F90: Regenerate.
766 * generated/_conjg_c8.F90: Regenerate.
767 * generated/_dim_r16.F90: Regenerate.
768 * generated/_mod_r10.F90: Regenerate.
769 * generated/_abs_c10.F90: Regenerate.
770 * generated/_conjg_c16.F90: Regenerate.
771 * generated/_tan_r16.F90: Regenerate.
772 * generated/_asinh_r10.F90: Regenerate.
773 * generated/_abs_i4.F90: Regenerate.
774 * generated/_abs_i8.F90: Regenerate.
775 * generated/_acos_r10.F90: Regenerate.
776 * generated/_exp_r10.F90: Regenerate.
777 * generated/_acosh_r16.F90: Regenerate.
778 * generated/_atan2_r16.F90: Regenerate.
779 * generated/_cos_c16.F90: Regenerate.
780 * generated/_mod_i16.F90: Regenerate.
781 * generated/_asin_r4.F90: Regenerate.
782 * generated/_anint_r16.F90: Regenerate.
783 * generated/_asin_r8.F90: Regenerate.
784 * generated/_aimag_c10.F90: Regenerate.
785 * generated/_exp_c4.F90: Regenerate.
786 * generated/_sinh_r10.F90: Regenerate.
787 * generated/_exp_c8.F90: Regenerate.
788 * generated/_log10_r4.F90: Regenerate.
789 * generated/_log10_r8.F90: Regenerate.
790 * generated/_abs_c4.F90: Regenerate.
791 * generated/_abs_r16.F90: Regenerate.
792 * generated/_abs_c8.F90: Regenerate.
793 * generated/_asin_r10.F90: Regenerate.
794 * generated/_sign_r10.F90: Regenerate.
795 * generated/_atanh_r16.F90: Regenerate.
796 * generated/_log_c10.F90: Regenerate.
797 * generated/_cosh_r16.F90: Regenerate.
798 * generated/_sin_c16.F90: Regenerate.
799 * generated/_cos_r10.F90: Regenerate.
800 * generated/_log10_r16.F90: Regenerate.
801 * generated/_aint_r16.F90: Regenerate.
802 * generated/_acos_r4.F90: Regenerate.
803 * generated/_acos_r8.F90: Regenerate.
804 * generated/_sqrt_c16.F90: Regenerate.
805 * generated/_acosh_r4.F90: Regenerate.
806 * generated/_atan_r10.F90: Regenerate.
807 * generated/_acosh_r8.F90: Regenerate.
808 * generated/_sign_i16.F90: Regenerate.
809 * generated/_tanh_r16.F90: Regenerate.
810 * generated/_log_r4.F90: Regenerate.
811 * generated/_log_r8.F90: Regenerate.
812 * generated/_sin_r4.F90: Regenerate.
813 * generated/_sin_r8.F90: Regenerate.
814 * generated/_log_r16.F90: Regenerate.
815 * generated/_sin_r10.F90: Regenerate.
816 * generated/_sqrt_r4.F90: Regenerate.
817 * generated/_exp_c10.F90: Regenerate.
818 * generated/_sqrt_r8.F90: Regenerate.
819 * generated/_asinh_r4.F90: Regenerate.
820 * generated/_sqrt_r10.F90: Regenerate.
821 * generated/_asinh_r8.F90: Regenerate.
822 * generated/_dim_r4.F90: Regenerate.
823 * generated/_dim_r8.F90: Regenerate.
824 * generated/_dim_r10.F90: Regenerate.
825 * generated/_cosh_r4.F90: Regenerate.
826 * generated/_conjg_c10.F90: Regenerate.
827 * generated/_tan_r10.F90: Regenerate.
828 * generated/_cosh_r8.F90: Regenerate.
829 * generated/_mod_r16.F90: Regenerate.
830 * generated/_abs_c16.F90: Regenerate.
831 * generated/_cos_r4.F90: Regenerate.
832 * generated/_asinh_r16.F90: Regenerate.
833 * generated/_cos_r8.F90: Regenerate.
834 * generated/_atanh_r4.F90: Regenerate.
835 * generated/_atanh_r8.F90: Regenerate.
836 * generated/_acos_r16.F90: Regenerate.
837 * generated/_anint_r4.F90: Regenerate.
838 * generated/_acosh_r10.F90: Regenerate.
839 * generated/_anint_r8.F90: Regenerate.
840 * generated/_exp_r16.F90: Regenerate.
841 * generated/_mod_r4.F90: Regenerate.
842 * generated/_cos_c10.F90: Regenerate.
843 * generated/_atan2_r10.F90: Regenerate.
844 * generated/_dim_i16.F90: Regenerate.
845 * generated/_mod_r8.F90: Regenerate.
846 * generated/_anint_r10.F90: Regenerate.
847 * generated/_aint_r4.F90: Regenerate.
848 * generated/_aint_r8.F90: Regenerate.
849 * generated/_dim_i4.F90: Regenerate.
850 * generated/_sinh_r4.F90: Regenerate.
851 * generated/_log_c4.F90: Regenerate.
852 * generated/_dim_i8.F90: Regenerate.
853 * generated/_sinh_r8.F90: Regenerate.
854 * generated/_log_c8.F90: Regenerate.
855 * generated/_sin_c4.F90: Regenerate.
856 * generated/_sin_c8.F90: Regenerate.
857 * generated/misc_specifics.F90: Regenerate.
858 * generated/_abs_r10.F90: Regenerate.
859 * generated/_aimag_c16.F90: Regenerate.
860 * generated/_atan_r4.F90: Regenerate.
861 * generated/_sinh_r16.F90: Regenerate.
862 * generated/_atan_r8.F90: Regenerate.
863 * generated/_atanh_r10.F90: Regenerate.
864 * generated/_cosh_r10.F90: Regenerate.
865 * generated/_sqrt_c4.F90: Regenerate.
866 * generated/_asin_r16.F90: Regenerate.
868 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
871 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
872 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
873 * configure: Regenerate.
874 * config.h.in: Regenerate because it was forgottent in the last
877 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
878 Tobias Burnus <burnus@net-b.de>
881 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
882 environment variable.
883 * runtime/compile_options.c (set_std): Add new argument.
884 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
886 * libgfortran.h (options_t): New dump_core and backtrace members.
887 (sys_exit): Move prototype.
888 * io/unix.c (sys_exit): Move to runtime/error.c.
889 * configure.ac: Add check for getrlimit.
890 * configure: Regenerate.
892 2007-01-17 Tom Tromey <tromey@redhat.com>
895 * aclocal.m4, configure, Makefile.in: Rebuilt.
896 * configure.ac: Enable automake dependency tracking. Update
897 minimum automake version.
899 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
902 * runtime/environ.c: Don't include io/io.h.
903 * runtime/string.c: Don't include io/io.h.
904 (compare0): Add cast to avoid warning.
905 * runtime/error.c: Don't include io/io.h.
906 (st_printf): Move to io/unix.c.
907 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
908 * intrinsics/fget.c: Likewise.
909 * intrinsics/ftell.c: Likewise.
910 * intrinsics/tty.c: Likewise.
911 * libgfortran.h (DEFAULT_RECL, notification_std,
912 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
913 DEFAULT_TEMPDIR): New declarations.
914 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
915 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
916 Move to libgfortran.h.
917 * io/unix.c: Add io/unix.h content.
918 (st_printf): New function.
919 * io/intrinsics.c: New file.
920 * io/unix.h: Remove, contents moved into unix.c.
921 * libtool-version: Update library version to 3.0.0.
922 * configure.ac: Update library version to 0.3.
923 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
924 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
925 * Makefile.in: Regenerate.
926 * configure: Regenerate.
928 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
931 * io/list_read.c (finish_separator): Don't call next_record.
932 (list_formatted_read_scalar): Clean up some comments and whitespace.
933 (nml_read_obj): Whitespace fix.
935 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
938 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
939 s->file_length == -1.
940 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
941 (fd_seek): If not seekable, just return success.
942 (fd_truncate): If not seekable, no need to truncate. Return failure if
943 seek fails and the stream is not a pipe.
944 (fd_to_stream): Make test for non-seekable file more robust.
946 2007-01-01 Steven G. Kargl <kargls@comcast.net>
948 * ChangeLog: Copied to ...
949 * ChangeLog-2006: here.