1 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
4 * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
5 * io/transfer.c (next_record_w): Set bytes left to record length for
6 sequential unformatted I/O.
7 (next_record_r): Ditto.
8 (read_block_direct): Fix test for exceeding bytes_left.
10 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
13 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
16 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
19 * m4/pow_m4: Use appropriate unsigned int type for u.
20 * generated/pow_c10_i16.c: Regenerated.
21 * generated/pow_c10_i4.c: Regenerated.
22 * generated/pow_c10_i8.c: Regenerated.
23 * generated/pow_c16_i16.c: Regenerated.
24 * generated/pow_c16_i4.c: Regenerated.
25 * generated/pow_c16_i8.c: Regenerated.
26 * generated/pow_c4_i16.c: Regenerated.
27 * generated/pow_c4_i4.c: Regenerated.
28 * generated/pow_c4_i8.c: Regenerated.
29 * generated/pow_c8_i16.c: Regenerated.
30 * generated/pow_c8_i4.c: Regenerated.
31 * generated/pow_c8_i8.c: Regenerated.
32 * generated/pow_i16_i16.c: Regenerated.
33 * generated/pow_i16_i4.c: Regenerated.
34 * generated/pow_i16_i8.c: Regenerated.
35 * generated/pow_i4_i16.c: Regenerated.
36 * generated/pow_i4_i4.c: Regenerated.
37 * generated/pow_i4_i8.c: Regenerated.
38 * generated/pow_i8_i16.c: Regenerated.
39 * generated/pow_i8_i4.c: Regenerated.
40 * generated/pow_i8_i8.c: Regenerated.
41 * generated/pow_r10_i16.c: Regenerated.
42 * generated/pow_r10_i4.c: Regenerated.
43 * generated/pow_r10_i8.c: Regenerated.
44 * generated/pow_r16_i16.c: Regenerated.
45 * generated/pow_r16_i4.c: Regenerated.
46 * generated/pow_r16_i8.c: Regenerated.
47 * generated/pow_r4_i16.c: Regenerated.
48 * generated/pow_r4_i4.c: Regenerated.
49 * generated/pow_r4_i8.c: Regenerated.
50 * generated/pow_r8_i16.c: Regenerated.
51 * generated/pow_r8_i4.c: Regenerated.
52 * generated/pow_r8_i8.c: Regenerated.
54 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
57 * intrinsics/pack_generic.c (pack_internal): Add special checks
58 for zero-sized arrays.
60 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
62 * Makefile.am: Add dummy install-pdf target.
63 * Makefile.in: Regenerate
65 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
68 * io/listread.c (namelist_read): Eat comment line.
70 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
73 * io/write.c (output_float): Add condition of format F only for
74 special case rounding with zero precision.
76 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
80 * Makefile.am: Add $(srcdir) too all files in generated/.
81 (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
82 maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
84 (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
85 maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
87 (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
88 (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
89 minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
91 (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
92 minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
94 (i_minval_c): Add minval_i1.c and minval_i2.c.
95 (i_sum_c): Add sum_i1.c and sum_i2.c.
96 (i_product_c): Add product_i1.c and product_i2.c.
97 (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
98 (gfor_built_specific_src): Remove $(srcdir) from target.
99 (gfor_bulit_specific2_src): Likewise.
100 Makefile.in: Regenerated.
101 libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
102 Add gfc_array_i1 and gfc_array_i2.
103 * generated/matmul_i1.c: New file.
104 * generated/matmul_i2.c: New file.
105 * generated/maxloc0_16_i1.c: New file.
106 * generated/maxloc0_16_i2.c: New file.
107 * generated/maxloc0_4_i1.c: New file.
108 * generated/maxloc0_4_i2.c: New file.
109 * generated/maxloc0_8_i1.c: New file.
110 * generated/maxloc0_8_i2.c: New file.
111 * generated/maxloc1_16_i1.c: New file.
112 * generated/maxloc1_16_i2.c: New file.
113 * generated/maxloc1_4_i1.c: New file.
114 * generated/maxloc1_4_i2.c: New file.
115 * generated/maxloc1_8_i1.c: New file.
116 * generated/maxloc1_8_i2.c: New file.
117 * generated/maxval_i1.c: New file.
118 * generated/maxval_i2.c: New file.
119 * generated/minloc0_16_i1.c: New file.
120 * generated/minloc0_16_i2.c: New file.
121 * generated/minloc0_4_i1.c: New file.
122 * generated/minloc0_4_i2.c: New file.
123 * generated/minloc0_8_i1.c: New file.
124 * generated/minloc0_8_i2.c: New file.
125 * generated/minloc1_16_i1.c: New file.
126 * generated/minloc1_16_i2.c: New file.
127 * generated/minloc1_4_i1.c: New file.
128 * generated/minloc1_4_i2.c: New file.
129 * generated/minloc1_8_i1.c: New file.
130 * generated/minloc1_8_i2.c: New file.
131 * generated/minval_i1.c: New file.
132 * generated/minval_i2.c: New file.
133 * generated/product_i1.c: New file.
134 * generated/product_i2.c: New file.
135 * generated/sum_i1.c: New file.
136 * generated/sum_i2.c: New file.
138 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
140 * runtime/memory.c (deallocate): Correct comment.
142 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
144 * Makefile.am: Use $(M4) instead of m4.
145 * Makefile.in: Regenerate.
147 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
149 * Makefile.am: Remove $(srcdir) from assorted targets
151 * Makefile.in: Regenerate.
153 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
154 Tobias Burnus <burnus@net-b.de>
157 * m4/iparm.m4: Use HUGE-1 for most negative integer.
158 * generated/maxloc1_8_i4.c: Regenerate.
159 * generated/maxloc0_8_i8.c: Regenerate.
160 * generated/maxloc1_16_i4.c: Regenerate.
161 * generated/maxloc0_16_i8.c: Regenerate.
162 * generated/maxval_i4.c: Regenerate.
163 * generated/maxloc1_4_i8.c: Regenerate.
164 * generated/maxloc0_16_i16.c: Regenerate.
165 * generated/maxloc1_4_i16.c: Regenerate.
166 * generated/maxloc0_8_i16.c: Regenerate.
167 * generated/maxloc0_4_i4.c: Regenerate.
168 * generated/maxloc1_8_i8.c: Regenerate.
169 * generated/maxloc0_8_i4.c: Regenerate.
170 * generated/maxloc0_16_i4.c: Regenerate.
171 * generated/maxloc1_16_i8.c: Regenerate.
172 * generated/maxloc1_4_i4.c: Regenerate.
173 * generated/maxval_i8.c: Regenerate.
174 * generated/maxloc0_4_i16.c: Regenerate.
175 * generated/maxloc1_8_i16.c: Regenerate.
176 * generated/maxloc0_4_i8.c: Regenerate.
177 * generated/maxloc1_16_i16.c: Regenerate.
178 * generated/maxval_i16.c: Regenerate.
180 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
183 * intrinsics/string_intrinsics.c (string_repeat): Don't check
184 if ncopies is negative.
186 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
189 * libgfortran.h: Do not prefix symbol name with
190 __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
192 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
196 * io/transfer.c (init_loop_spec, next_array_record): Change to
197 lbound rather than unity base.
199 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
201 * runtime/error.c: Include sys/time.h before sys/resource.h.
203 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
206 * intrinsics/string_intrinsics.c(compare_string): Make
207 sure that comparisons are done unsigned.
209 2007-01-21 Tobias Burnus <burnus@net-b.de>
212 * intrinsics/date_and_time.c (date_and_time): Fix case where time
214 * configure.ac: Remove AC_TRY_RUN test for timezone in
216 * acinclude.m4: Ditto.
217 * configure: Regenerate.
218 * config.h.in: Regenerate.
220 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
222 * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
223 * m4/specific2.m4: Likewise.
224 * m4/specific.m4: Likewise.
225 * intrinsics/f2c_specifics.F90: Likewise.
226 * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
227 * intrinsics/selected_real_kind.f90: Likewise.
228 * intrinsics/dprod_r8.f90: Likewise.
229 * Makefile.am: Add -fallow-leading-underscore to the
230 gfor_specific_src files, as well as selected_real_kind.F90
231 and selected_int_kind.F90
232 * Makefile.in: Regenerate.
233 * generated/_sqrt_c8.F90: Regenerate.
234 * generated/_sign_r16.F90: Regenerate.
235 * generated/_log_c16.F90: Regenerate.
236 * generated/_sin_c10.F90: Regenerate.
237 * generated/_tanh_r4.F90: Regenerate.
238 * generated/_tanh_r8.F90: Regenerate.
239 * generated/_log10_r10.F90: Regenerate.
240 * generated/_aimag_c4.F90: Regenerate.
241 * generated/_sign_r4.F90: Regenerate.
242 * generated/_aimag_c8.F90: Regenerate.
243 * generated/_sign_r8.F90: Regenerate.
244 * generated/_mod_i4.F90: Regenerate.
245 * generated/_cos_r16.F90: Regenerate.
246 * generated/_aint_r10.F90: Regenerate.
247 * generated/_mod_i8.F90: Regenerate.
248 * generated/_abs_i16.F90: Regenerate.
249 * generated/_sqrt_c10.F90: Regenerate.
250 * generated/_atan2_r4.F90: Regenerate.
251 * generated/_cos_c4.F90: Regenerate.
252 * generated/_atan_r16.F90: Regenerate.
253 * generated/_tanh_r10.F90: Regenerate.
254 * generated/_atan2_r8.F90: Regenerate.
255 * generated/_cos_c8.F90: Regenerate.
256 * generated/_exp_r4.F90: Regenerate.
257 * generated/_log_r10.F90: Regenerate.
258 * generated/_exp_r8.F90: Regenerate.
259 * generated/_abs_r4.F90: Regenerate.
260 * generated/_abs_r8.F90: Regenerate.
261 * generated/_sin_r16.F90: Regenerate.
262 * generated/_tan_r4.F90: Regenerate.
263 * generated/_tan_r8.F90: Regenerate.
264 * generated/_sign_i4.F90: Regenerate.
265 * generated/_sign_i8.F90: Regenerate.
266 * generated/_exp_c16.F90: Regenerate.
267 * generated/_sqrt_r16.F90: Regenerate.
268 * generated/_conjg_c4.F90: Regenerate.
269 * generated/_conjg_c8.F90: Regenerate.
270 * generated/_dim_r16.F90: Regenerate.
271 * generated/_mod_r10.F90: Regenerate.
272 * generated/_abs_c10.F90: Regenerate.
273 * generated/_conjg_c16.F90: Regenerate.
274 * generated/_tan_r16.F90: Regenerate.
275 * generated/_asinh_r10.F90: Regenerate.
276 * generated/_abs_i4.F90: Regenerate.
277 * generated/_abs_i8.F90: Regenerate.
278 * generated/_acos_r10.F90: Regenerate.
279 * generated/_exp_r10.F90: Regenerate.
280 * generated/_acosh_r16.F90: Regenerate.
281 * generated/_atan2_r16.F90: Regenerate.
282 * generated/_cos_c16.F90: Regenerate.
283 * generated/_mod_i16.F90: Regenerate.
284 * generated/_asin_r4.F90: Regenerate.
285 * generated/_anint_r16.F90: Regenerate.
286 * generated/_asin_r8.F90: Regenerate.
287 * generated/_aimag_c10.F90: Regenerate.
288 * generated/_exp_c4.F90: Regenerate.
289 * generated/_sinh_r10.F90: Regenerate.
290 * generated/_exp_c8.F90: Regenerate.
291 * generated/_log10_r4.F90: Regenerate.
292 * generated/_log10_r8.F90: Regenerate.
293 * generated/_abs_c4.F90: Regenerate.
294 * generated/_abs_r16.F90: Regenerate.
295 * generated/_abs_c8.F90: Regenerate.
296 * generated/_asin_r10.F90: Regenerate.
297 * generated/_sign_r10.F90: Regenerate.
298 * generated/_atanh_r16.F90: Regenerate.
299 * generated/_log_c10.F90: Regenerate.
300 * generated/_cosh_r16.F90: Regenerate.
301 * generated/_sin_c16.F90: Regenerate.
302 * generated/_cos_r10.F90: Regenerate.
303 * generated/_log10_r16.F90: Regenerate.
304 * generated/_aint_r16.F90: Regenerate.
305 * generated/_acos_r4.F90: Regenerate.
306 * generated/_acos_r8.F90: Regenerate.
307 * generated/_sqrt_c16.F90: Regenerate.
308 * generated/_acosh_r4.F90: Regenerate.
309 * generated/_atan_r10.F90: Regenerate.
310 * generated/_acosh_r8.F90: Regenerate.
311 * generated/_sign_i16.F90: Regenerate.
312 * generated/_tanh_r16.F90: Regenerate.
313 * generated/_log_r4.F90: Regenerate.
314 * generated/_log_r8.F90: Regenerate.
315 * generated/_sin_r4.F90: Regenerate.
316 * generated/_sin_r8.F90: Regenerate.
317 * generated/_log_r16.F90: Regenerate.
318 * generated/_sin_r10.F90: Regenerate.
319 * generated/_sqrt_r4.F90: Regenerate.
320 * generated/_exp_c10.F90: Regenerate.
321 * generated/_sqrt_r8.F90: Regenerate.
322 * generated/_asinh_r4.F90: Regenerate.
323 * generated/_sqrt_r10.F90: Regenerate.
324 * generated/_asinh_r8.F90: Regenerate.
325 * generated/_dim_r4.F90: Regenerate.
326 * generated/_dim_r8.F90: Regenerate.
327 * generated/_dim_r10.F90: Regenerate.
328 * generated/_cosh_r4.F90: Regenerate.
329 * generated/_conjg_c10.F90: Regenerate.
330 * generated/_tan_r10.F90: Regenerate.
331 * generated/_cosh_r8.F90: Regenerate.
332 * generated/_mod_r16.F90: Regenerate.
333 * generated/_abs_c16.F90: Regenerate.
334 * generated/_cos_r4.F90: Regenerate.
335 * generated/_asinh_r16.F90: Regenerate.
336 * generated/_cos_r8.F90: Regenerate.
337 * generated/_atanh_r4.F90: Regenerate.
338 * generated/_atanh_r8.F90: Regenerate.
339 * generated/_acos_r16.F90: Regenerate.
340 * generated/_anint_r4.F90: Regenerate.
341 * generated/_acosh_r10.F90: Regenerate.
342 * generated/_anint_r8.F90: Regenerate.
343 * generated/_exp_r16.F90: Regenerate.
344 * generated/_mod_r4.F90: Regenerate.
345 * generated/_cos_c10.F90: Regenerate.
346 * generated/_atan2_r10.F90: Regenerate.
347 * generated/_dim_i16.F90: Regenerate.
348 * generated/_mod_r8.F90: Regenerate.
349 * generated/_anint_r10.F90: Regenerate.
350 * generated/_aint_r4.F90: Regenerate.
351 * generated/_aint_r8.F90: Regenerate.
352 * generated/_dim_i4.F90: Regenerate.
353 * generated/_sinh_r4.F90: Regenerate.
354 * generated/_log_c4.F90: Regenerate.
355 * generated/_dim_i8.F90: Regenerate.
356 * generated/_sinh_r8.F90: Regenerate.
357 * generated/_log_c8.F90: Regenerate.
358 * generated/_sin_c4.F90: Regenerate.
359 * generated/_sin_c8.F90: Regenerate.
360 * generated/misc_specifics.F90: Regenerate.
361 * generated/_abs_r10.F90: Regenerate.
362 * generated/_aimag_c16.F90: Regenerate.
363 * generated/_atan_r4.F90: Regenerate.
364 * generated/_sinh_r16.F90: Regenerate.
365 * generated/_atan_r8.F90: Regenerate.
366 * generated/_atanh_r10.F90: Regenerate.
367 * generated/_cosh_r10.F90: Regenerate.
368 * generated/_sqrt_c4.F90: Regenerate.
369 * generated/_asin_r16.F90: Regenerate.
371 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
374 * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
375 * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
376 * configure: Regenerate.
377 * config.h.in: Regenerate because it was forgottent in the last
380 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
381 Tobias Burnus <burnus@net-b.de>
384 * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
385 environment variable.
386 * runtime/compile_options.c (set_std): Add new argument.
387 * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
389 * libgfortran.h (options_t): New dump_core and backtrace members.
390 (sys_exit): Move prototype.
391 * io/unix.c (sys_exit): Move to runtime/error.c.
392 * configure.ac: Add check for getrlimit.
393 * configure: Regenerate.
395 2007-01-17 Tom Tromey <tromey@redhat.com>
397 PR libgfortran/27107:
398 * aclocal.m4, configure, Makefile.in: Rebuilt.
399 * configure.ac: Enable automake dependency tracking. Update
400 minimum automake version.
402 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
405 * runtime/environ.c: Don't include io/io.h.
406 * runtime/string.c: Don't include io/io.h.
407 (compare0): Add cast to avoid warning.
408 * runtime/error.c: Don't include io/io.h.
409 (st_printf): Move to io/unix.c.
410 * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
411 * intrinsics/fget.c: Likewise.
412 * intrinsics/ftell.c: Likewise.
413 * intrinsics/tty.c: Likewise.
414 * libgfortran.h (DEFAULT_RECL, notification_std,
415 get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
416 DEFAULT_TEMPDIR): New declarations.
417 * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
418 IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
419 Move to libgfortran.h.
420 * io/unix.c: Add io/unix.h content.
421 (st_printf): New function.
422 * io/intrinsics.c: New file.
423 * io/unix.h: Remove, contents moved into unix.c.
424 * libtool-version: Update library version to 3.0.0.
425 * configure.ac: Update library version to 0.3.
426 * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
427 intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
428 * Makefile.in: Regenerate.
429 * configure: Regenerate.
431 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
434 * io/list_read.c (finish_separator): Don't call next_record.
435 (list_formatted_read_scalar): Clean up some comments and whitespace.
436 (nml_read_obj): Whitespace fix.
438 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
441 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
442 s->file_length == -1.
443 (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
444 (fd_seek): If not seekable, just return success.
445 (fd_truncate): If not seekable, no need to truncate. Return failure if
446 seek fails and the stream is not a pipe.
447 (fd_to_stream): Make test for non-seekable file more robust.
449 2007-01-01 Steven G. Kargl <kargls@comcast.net>
451 * ChangeLog: Copied to ...
452 * ChangeLog-2006: here.