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