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