1 2004-11-05 Andreas Schwab <schwab@suse.de>
3 * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
4 AC_PROG_F77, F77 and FFLAGS.
5 * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
6 FCCOMPILE instead of F77COMPILE.
7 * configure, Makefile.in: Regenerate.
9 2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
11 * acinclude.m4: Properly quote AC_CACHE_CHECK.
12 * Makefile.am: Add in ACLOCAL_AMFLAGS.
13 * aclocal.m4, configure, Makefile.in: Regenerate.
15 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
17 * config.h.in: Regenerate.
18 * configure: Regenerate.
19 * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
20 * io/unix.c (S_IRGRP): Define if undefined.
24 (tempfile): Use mktemp if mkstemp missing, fix typos.
26 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
28 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
30 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
32 * intrinsics/rand.c (irand): Handle NULL argument.
34 2004-10-07 Paul Brook <paul@codesourcery.com>
36 * io/transfer.c (finalize_transfer): Free internal streams.
37 * io/unix.c (mem_close): Free stream object.
39 2004-10-07 Paul Brook <paul@codesourcery.com>
41 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
44 2004-10-06 Paul Brook <paul@codesourcery.com>
47 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
49 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
51 * intrinsics/mvbits.c: Commit the file.
53 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
56 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
57 if not done by caller.
58 (__pack_s): New function.
59 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
60 allocating zero memory.
63 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
64 * Makefile.in: Regenerate.
65 * intrinsics/mvbits.h: New file.
68 * intrinsics/system.c: New file.
69 * Makefile.am: Add dependency for the new file.
70 * Makefile.in: Regenerate.
72 2004-10-04 Paul Brook <paul@codesourcery.com>
73 Bud Davis <bdavis9659@comcast.net>
77 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
79 * io/write.c (output_float): Don't output minus zero.
81 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
83 * intrinsics/abort.c ("libgfortran.h"): Move.
84 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
85 * intrinsics/write.c ("libgfortran.h"): Same.
87 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
90 * config.h.in (HAVE_POWF): Undefine.
91 * configure.ac: Check for 'powf' in library.
92 * configure: Regenerate.
93 * intrinsics/c99_functions.c (powf): New function.
95 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
97 * intrinsics/etime.c (etime_): New function.
99 2004-09-21 Steven G. Kargl <kargls@comcast.net>
101 * libgfortran.h: define gfc_alloca()
102 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
104 2004-09-21 Bud Davis <bdavis9659@comcast.net>
107 * io/list_read.c (namelist_read): ignore spaces after
108 the '=' for namelist reads.
110 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
112 * config.h.in: Regenerate.
113 * configure: Regenerate.
114 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
115 * unix.c: Include stdio.h.
116 (HAVE_SYS_MMAN_H): Check.
117 (PROT_READ, PROT_WRITE): Provide default definitions.
119 2004-09-15 Steven G. Kargl <kargls@comcast.net>
121 * intrincics/getcwd.c: New file.
122 * Makefile.am: Add getcwd.c.
123 * Makefile.in: Regenerated.
125 2004-09-15 Steven G. Kargl <kargls@comcast.net>
126 Paul Brook <paul@codesourcery.com>
128 * intrinsics/env.c (getenv, get_environmental_variable): Remove
129 trailing white space. Use alloca. Honour trim_name.
131 2004-09-13 Bud Davis <bdavis9659@comcast.net>
135 * io/list_read.c (list_formatted_read): Handle trailing spaces
138 2004-09-06 Steven G. Kargl <kargls@comcast.net>
140 * io/write.c (output_float): Typo in comment. Remove debugging
141 printf. Fix format for FP of form 1e10.
143 2004-09-03 Richard Henderson <rth@redhat.com>
145 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
146 copy_loop_double, copy_loop_ldouble): New.
147 (__cshift0): Make shift type ssize_t. Use % operator instead of
148 div. Use specialized versions of copy loop depending on the shape.
150 2004-09-02 Paul Brook <paul@codesourcery.com>
152 * io/format.c (parse_format_list): Set repeat count for P descriptors.
153 * write.c (output_float): Fix condition. Correctly handle nonzero
156 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
158 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
159 * mk-srk-inc.sh: Likewise.
161 2004-09-01 Paul Brook <paul@codesourcery.com>
163 * runtime/error.c (generate_error): Set both iostat and
166 2004-08-31 Paul Brook <paul@codesourcery.com>
169 * io/list_read.c (next_char): Don't signal EOF for internal files.
170 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
172 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
174 * io/unit.c: Separate copyright years by ','.
175 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
176 Remove blank line in beginning of function.
177 (get_unit): Simplify code.
179 2004-08-31 Paul Brook <paul@codesourcery.com>
181 * io/unit.c (get_unit): Remove superfluous if.
183 2004-08-31 Paul Brook <paul@codesourcery.com>
185 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
186 (finalize_transfer): Move setjmp after namlist IO.
187 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
189 2004-08-31 Paul Brook <paul@codesourcery.com>
191 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
193 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
195 * libgfortran.h: Replace 'gfc_strlen_type' by
196 'gfc_charlen_type'. Update comment accordingly.
197 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
198 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
200 2004-08-31 Paul Brook <paul@codesourcery.com>
202 * libgfortran.h: Add comments.
204 2004-08-30 Richard Henderson <rth@redhat.com>
206 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
207 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
208 (selected_int_kind.inc selected_real_kind.inc): New rules.
209 * Makefile.in: Regenerate.
210 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
211 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
212 include table of detected kinds.
213 * intrinsics/selected_real_kind.f90: Similarly.
215 2004-08-29 Steven G. Kargl <kargls@comcast.net>
216 Paul Brook <paul@codesourcery.com>
218 * intrinsics/bessel.c: New file.
219 * intrinsics/erf.c: New file.
220 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
221 * configure.ac: Test for C99 Bessel and Error functions.
222 * Makefile.in: Regenerate.
223 * config.h.in: Regenerate.
224 * configure: Regenerate.
226 2004-08-29 Steven G. Kargl <kargls@comcast.net>
227 Paul Brook <paul@codesourcery.com>
229 * Makefile.am: Add intrinsics/getXid.c.
230 * configure.ac: Add tests for get{g,p,u}id.
231 * config.h.in: Regenerate.
232 * Makefile.in: Regenerate.
233 * configure: Regenerate.
235 2004-08-28 Paul Brook <paul@codesourcery.com>
238 * libgfortran.h (rtoa): Remove prototype.
239 * runtime/error.c (rtoa): Remove.
240 * io/write.c (calculate_G_format): Don't add blanks if E format is
241 used. Add correct number of blanks when exponent width is specified.
242 (output_float): Rewrite.
244 2004-08-27 Paul Brook <paul@codesourcery.com>
246 * io/rewind.c (st_rewind): Reset unit to read mode.
248 2004-08-27 Bud Davis <bdavis9659@comcast.net>
251 * io/io.h: created typedef for unit_mode.
252 * io/io.h (gfc_unit): added mode to unit structure.
253 * io/transfer.c (data_transfer_init): flush if a write then
254 read is done on a unit (direct access files).
255 * io/rewind.c (st_rewind): Used unit mode instead of global.
257 2004-08-24 Bud Davis <bdavis9659@comcast.net>
260 * runtime/error.c (itoa): keep from overflowing during
261 mod operation by using unsigned variable.
263 2004-08-24 Bud Davis <bdavis9659@comcast.net>
266 * runtime/string_intrinsics.c (string_index):check for
267 substring longer than string.
269 2004-08-24 David Edelsohn <edelsohn@gnu.org>
271 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
272 * Makefile.in: Rebuilt.
274 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
276 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
277 Fix formatting issues, update copyright years.
279 2004-08-21 Bud Davis <bdavis9659@comcast.net>
282 * io/transfer.c (next_record_w): Do not blank pad.
283 * io/transfer.c (next_record): Take into account partial records.
285 2004-08-18 Victor Leikehman <lei@il.ibm.com>
288 * io/transfer.c (st_set_nml_var)
289 * io/write.c (namelist_write): Allow var_name and var_name_len to be
290 null. For strings, use string_length field instead of len.
291 * io/io.h (struct namelist_type): New field string_length.
292 (st_set_nml_var_char): New argument string_length.
294 2004-08-13 Bud Davis <bdavis9659@comcast.net>
297 * io/open.c (st_open): use flags instead of the unit structure.
299 2004-08-10 Victor Leikehman <lei@il.ibm.com>
301 * io/list_read.c (namelist_read): Convert variable names
302 to lower case, so that mixed-case names are recognized.
303 Don't read beyond terminating slash.
305 2004-08-09 Richard Henderson <rth@redhat.com>
306 Roger Sayle <roger@eyesopen.com>
308 * intrinsics/c99_functions.c (nextafterf): New implementation that
309 works correctly with denormalized numbers.
311 2004-08-09 Victor Leikehman <lei@il.ibm.com>
313 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
314 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
315 Allocate space if return value has NULL in its data field.
316 * generated/*.c: Regenerate.
318 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
320 * intrinsics/env.c: New file.
321 * Makefile.am: Add env.c to build.
322 * Makefile.in: Regenerate.
324 2004-08-05 Victor Leikehman <lei@il.ibm.com>
327 * io/read.c (read_radix): Understand letters f and F as hex digits.
329 2004-08-04 Victor Leikehman <lei@il.ibm.com>
331 * libgfortran.h (array_t, size0) New declarations.
332 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
333 space if return value descriptor has NULL in its data field,
334 and initialize bounds and stride.
335 * intrinsics/size.c (array_t, size0): Declarations moved to
337 * generated/*.c: Regenerate.
339 2004-08-03 Roger Sayle <roger@eyesopen.com>
342 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
343 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
344 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
345 * config.h.in: Regenerate.
346 * configure: Regenerate.
348 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
349 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
350 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
351 implementations for targets that don't support C99 float functions.
353 2004-08-01 Roger Sayle <roger@eyesopen.com>
355 * io/write.c (write_float): Use the slightly more portable isnan
356 in preference to isinf.
358 2004-07-18 Bud Davis <bdavis9659@comcast.net>
360 * configure.ac: Add check for LFS support.
361 * configure: Regenerate
363 2004-07-11 Paul Brook <paul@codesourcery.com>
366 * m4/cexp.m4 (carg): Return -pi to pi.
367 * generated/exp_c?.c: Regenerate.
369 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
372 * libgfortran/io/write.c: (write_float): Added length check.
373 Remove pointless memset calls.
375 2004-07-04 Bud Davis <bdavis9659@comcast.net>
376 Paul Brook <paul@codesourcery.com>
379 * io/transfer.c(us_write): set recl for seq unform writes to max size.
380 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
381 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
383 * io/unix.c(is_seekable): set based upon the file/device, not the
384 method being used to access it (fd or mmap).
385 * io/unix.c(fd_flush): don't set file_size if !seekable.
386 * io/unix.c(fd_truncate: ditto.
388 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
389 Paul Brook <paul@codesourcery.com>
393 * libgfortran.h (gfc_strlen_type): Define.
394 * intrinsics/args.c (getarg): Rename ...
395 (getarg_i4): ... to this.
396 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
397 get_command_i4, get_command_i8): New functions.
399 2004-07-04 Matthias Klose <doko@debian.org>
401 * libtool-version: New.
402 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
403 * Makefile.in: Regenerate.
404 * configure.ac: Remove libtool_VERSION macro
405 * configure: Regenerate
407 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
408 Steven Bosscher <stevenb@suse.de>
410 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
413 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
414 Paul Brook <paul@codesourcery.com>
416 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
418 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
420 2004-06-27 Bud Davis <bdavis9659@comcast.net>
423 * io/write.c (write_float): check signbit for Infinity.
425 2004-06-26 Bud Davis <bdavis9659@comcast.net>
428 * unix.c(regular_file): create file if it does not exist.
430 2004-06-24 Andrew Pinski <apinski@apple.com>
432 * configure.ac: Remove check for libmx.
433 * configure: Regenerate.
435 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
438 * inquire.c (st_inquire): Add comment
439 * io.h (st_parameter): Add iolength.
440 (st_iolength, st_iolength_done): Declare.
441 * transfer.c (iolength_transfer, iolength_transfer_init,
442 st_iolength, st_iolength_done): New functions.
444 2004-06-21 Steven G. Kargl <kargls@comcast.net>
446 * etime.c (etime_sub): Remove array rank check;
447 Add check for sufficient space.
449 2004-06-19 Bud Davis <bdavis9659@comcast.net>
452 * io/list_read.c(set_value): fixed spelling.
454 2004-06-19 Bud Davis <bdavis9659@comcast.net>
457 * io/list_read.c(set_value): don't copy if the string is null.
459 2004-06-14 Bud Davis <bdavis9659@comcast.net>
462 * intrinsics/c99_functions.c: Use fpclassify if it exists.
464 2004-06-13 Paul Brook <paul@codesourcery.com>
466 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
467 * configure.ac: Add checks for nextafter and nextafterf.
468 * Makefile.in, config.h.in, configure: Regenerate.
469 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
470 * intrinsics/rand.c (rand): Use normalize_r4_i4.
471 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
472 (random_r8): Use normalize_r8_i8.
473 * runtime/normalize.c: New file.
475 2004-06-13 Steven G. Kargl <kargls@comcast.net>
476 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
478 * random.c: Fix several spelling and formatting mistakes in
480 (random_r8): Fix loop to make random numbers range in [0,1(.
483 2004-06-13 Steven G. Kargl <kargls@comcast.net>
485 * random.c (random_r4): Burn a random number.
486 (random_r8): fix infinite loop.
488 2004-06-12 Bud Davis <bdavis9659@comcast.net>
489 Steve Kargl <sgk@troutmask.apl.washington.edu>
492 * intrinsics/c99_functions.c: New file.
493 * Makefile.am: Add new file.
494 * configure.ac: Added test for round/roundf.
495 * Makefile.in: Regenerate.
496 * configure: Regenerate.
497 * configure.h.in: Regenerate.
499 2004-06-12 Steven G. Kargl <kargls@comcast.net>
501 * Makefile.am: Add rand.c and etime.c
502 * Makefile.in: Regenerated.
503 * aclocal.in: Regenerated.
504 * cpu_time.c (second_sub, second): New functions.
505 * rand.c (irand, rand, srand): New file.
506 * etime.c (etime_sub, etime): New file.
508 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
509 Steven Bosscher <stevenb@suse.de>
512 * intrinsics/date_and_time.c: New file.
513 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
514 * Makefile.in, aclocal.m4: Regenerate.
515 * libgfortran.h: Prototype date_and_time().
517 2004-06-12 Bud Davis <bdavis9659@comcast.net>
520 * intrinsics/args.c: Implement GETARG and IARGC.
521 * Makefile.am: Add it.
522 * Makefile.in: Regenerate.
524 2004-06-12 Bud Davis <bdavis9659@comcast.net>
527 * io/write.c(write_float): Format inf and nan IAW F2003.
529 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
532 * io/transfer.c (formatted_transfer): position is unique
533 for T and TL edit descriptors.
534 (data_transfer_init): set record length to size of internal
537 2004-06-09 Bud Davis <bdavis9659@comcast.net>
540 * io/backspace.c(st_backspace): call correct routine for
541 formatted and un-formatted units.
543 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
546 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
547 (lib_LTLIBRARIES): Rename to ...
548 (toolexeclib_LTLIBRARIES): this for multilib support.
549 * configure.in: Rename to ...
550 * configure.ac: this. Update to modern autoconf style, enable
551 multilibs, support --enable-version-specific-runtime-libs.
552 * Makefile.in: Regenerated.
553 * configure: Regenerated.
554 * aclocal.m4: Regenerated.
556 2004-05-30 Steven G. Kargl <kargls@comcast.net>
558 * libgfortran.h (random_seed): Update prototype.
559 * intrinsics/random.c: Disable old implementation and add new one.
561 2004-05-30 Andreas Jaeger <aj@suse.de>
563 * intrinsics/random.c: Include unistd.h for close and read
564 prototypes, remove unneeded inclusion of assert.h.
566 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
567 unneeded inclusion of assert.h.
569 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
572 * intrinsics/associated.c: Remove enum.
573 (associated): Replace TRUE/FALSE by 1/0.
575 2004-05-23 Steven G. Kargl <kargls@comcast.net>
577 * random.c (random_seed): Use correct variable.
579 2004-05-22 Steven G. Kargl <kargls@comcast.net>
581 * intrinsics/system_clock: New file.
582 * Makefile.am: Add intrinsics/system_clock.c.
583 * Makefile.in: Regenerate.
585 2004-05-21 Roger Sayle <roger@eyesopen.com>
587 * io/format.c (parse_format_list): Allow the comma after a string
588 literal to be optional.
590 2004-05-18 Paul Brook <paul@codesourcery.com>
591 Feng Wang <fengwang@nudt.edu.cn>
593 * Makefile.am (i_pow_c): Set it. Add build rule.
594 (gfor_built_src): Use it.
595 (m4_files): add m4/pow.m4.
596 * Makefile.in: Regenerate.
597 * m4/pow.m4: New file.
598 * generated/pow_*.c: Regenerate.
600 2004-05-18 Paul Brook <paul@codesourcery.com>
602 * Makefile.am: Remove references to types.m4.
603 * m4/iparm.m4: Merge with types.m4.
604 * m4/types.m4: Remove.
605 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
606 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
607 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
608 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
609 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
610 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
611 Update to use new iparm.m4.
612 * generated/*.c: Regenerate.
614 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
617 * gfortran.h (offset_t): Rename to ...
618 (gfc_offset): ... this.
619 * io/backspace.c (formatted_backspace, unformatted_backspace),
620 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
621 transfer.c (us_read, us_write, next_record_r, next_record_w),
622 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
623 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
624 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
625 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
626 occurences of offset_t by gfc_offset.
628 2004-05-16 Paul Brook <paul@codesourcery.com>
630 * io/format.c (write_real): Don't include padding in format.
632 2004-05-16 Paul Brook <paul@codesourcery.com>
634 * io/format.c (format_lex): Make c an int.
636 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
637 Paul Brook <paul@codesourcery.com>
639 * io/write.c (write_logical): Don't print extra blank.
640 (write_integer): Base field width on kind.
641 (list_formatted_write): Output initial blank.
643 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
645 * io/io.h (flush): Add prototype.
646 * io/transfer.c (finalize_transfer): Flush partial records.
647 * io/unix.c (flush): New function.
649 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
652 * io/io.h (unit_t): Rename to ...
654 (unit_root, current_unit, find_file, find_unit, get_unit): Now
656 (delete_file, insert_unit, close_unit): Argument now of type
658 * backspace.c (st_backspace), close.c (st_close), endfile.c
659 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
660 (test_endfile, edit_modes, new_unit, already_open, st_open),
661 rewind.c (st_rewind), transfer.c (current_unit), unit.c
662 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
663 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
664 get_unit, init_units, close_unit), unix.c (find_file0,
665 find_file, delete_file): Replace all occurences of unit_t by
668 2004-05-15 Bud Davis <bdavis9659@comcast.net>
671 * io/write.c (write_a): right justify A edit output.
673 2004-05-14 Bud Davis <bdavis9659@comcast.net>
676 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
677 * runtime/main.c(init): Call random_seed as part of MAIN init.
679 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
681 * io/format.c: (parse_format_list): No comma is required after
684 2004-05-13 Bud Davis <bdavis9659@comcast.net>
687 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
689 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
690 Steven Bosscher <stevenb@suse.de>
693 * libgfortran.h: Include <inttypes.h> if available.
695 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
697 * io/unix.c (MAP_FAILED): Define if missing.
698 (mmap_alloc): Cast MAP_FAILED to char *.
699 (mmap_open): Likewise.
701 2004-04-26 Bud Davis <bdavis9659@comcast.net>
703 * generated/_abs_i8.f90: New file.
704 * generated/_abs_c4.f90: New file.
705 * generated/_abs_c8.f90: New file.
706 * Makefile.am: Add them.
707 * Makefile.in: Regenerate.
709 2004-04-26 Bud Davis <bdavis9659@comcast.net>
712 * generated/_abs_i4.f90: New file.
713 * Makefile.am: Add it.
714 * Makefile.in: Regenerate.
716 2004-04-25 Bud Davis <bdavis9659@comcast.net>
719 * io/list_read.c(list_formatted_read): finish consuming the
720 spaces and seperators at eoln to get ready for next item.
722 2004-04-23 Bud Davis <bdavis9659@comcast.net>
725 * io/read.c(read_a): Handle field width > destination and no field width.
727 2004-04-22 Bud Davis <bdavis9659@comcast.net>
730 * io/format.c (format_item): gracefully handle a ')'
731 when it is the first character encountered in the string.
733 2004-04-11 Bud Davis <bdavis9659@comcast.net>
736 * io/transfer.c (next_record): Update last_record when
737 more than one record is written to a direct access file
738 with one write statement.
740 2004-04-11 Bud Davis <bdavis9659@comcast.net>
743 * io/transfer.c (next_record_w) : No '\n' if internal.
744 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
746 2004-04-11 Bud Davis <bdavis9659@comcast.net>
748 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
749 Will need to change this later to support direct access files > 2gb.
751 2004-04-03 Bud Davis <bdavis9659@comcast.net>
754 * io/transfer.c (next_record_r) : Skip to next record.
756 2004-04-03 Bud Davis <bdavis9659@comcast.net>
759 * io/transfer.c (next_record): Update last_record for DIRECT
761 2004-04-03 Bud Davis <bdavis9659@comcast.net>
764 * io/unix.c (find_file0): Use fd field of struct
766 2004-04-03 Bud Davis <bdavis9659@comcast.net>
769 * io/inquire.c (inquire_via_unit): Changed return string for
770 BLANK=NULL. Use correct variable for ACTION.
772 2004-04-01 Bud Davis <bdavis9659@comcast.net>
775 * io/read.c (read_f): Allow a decimal without a leading digit.
776 * io/write.c (output_float): remove a leading '0' to keep from
777 overflowing the field (F edit descriptor).
779 2004-04-01 Bud Davis <bdavis9659@comcast.net>
782 * io/open.c (new_unit),
783 * io/io.h : new_unit is now visible
784 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
785 * io/transfer.c (data_transfer_init): remove compile warnings.
786 * io/rewind.c (st_rewind): ftruncate if writing.
788 2004-03-24 Bud Davis <bdavis9659@comcast.net>
790 * write.c (write_l): Use extract_int for 'L' edit descriptor.
792 2004-03-24 Bud Davis <bdavis9659@comcast.net>
795 * io/io.h (global_t):
796 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
797 Move eof_jmp to a global structure.
798 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
800 2004-03-24 Bud Davis <bdavis9659@comcast.net>
802 * m4/cexp.m4 (csqrt): Actually use the passed value.
803 * generated/exp_c?.c: Regenerate.
805 2004-03-24 Bud Davis <bdavis9659@comcast.net>
808 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
809 * open.c (new_unit): Moved test for positioned direct access error.
810 (init_units): Corrected calculation of max records.
812 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
814 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
815 * Makefile.in: Regenerate.
816 * m4/dotprodc.m4: New file. Implement complex dot_product.
817 * m4/dotprod.m4: Delete the complex implementation.
818 * generated/dotprod_*: Update.
820 2004-02-07 Bud Davis <bdavis9659@comcast.net>
822 * transfer.c (write_constant_string): Do not delete H's in hollerith
825 2004-01-05 Andrew Pinski <apinski@apple.com>
827 * configure.in: Check for csin in -lmx also.
828 * configure: Regenerate.
830 2004-01-01 Paul Brook <paul@codesourcery.com>
832 * io/list_read.c (find_nml_node): Make static.
833 (match_namelist_name): Ditto.
834 * io/read.c (convert_precision_real): Make static, fix spelling.
835 * io/transfer.c (extract_real): Remove unused prototype.
836 (st_set_nml_var): Make static.
837 * io/write.c (extract_real): Make static.
839 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
841 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
843 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
845 * io/transfer.c (data_transfer_init): Give a runtime error for list
846 formatted reads and writes from/to files opened for unformatted IO.
848 2003-11-30 Paul Brook <paul@nowt.org>
850 * runtime/memory.c (push_context): Remove.
851 (pop_context): Remove.
852 * libgfortran.h: Remove prototypes.
854 2003-11-27 Paul Brook <paul@nowt.org>
856 * runtime/memory.c (deallocate): Nullify pointer after freeing.
858 2003-11-27 Paul Brook <paul@nowt.org>
860 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
861 * libgfortran.h: Ditto.
862 * m4/in_pack.m4: Ditto.
863 * runtime/in_pack_generic.c: Ditto.
864 * runtime/memory.c: Ditto.
866 2003-11-26 Richard Henderson <rth@redhat.com>
868 * m4/exponent.m4, m4/fraction.m4: New.
869 * m4/nearest.m4, m4/set_exponent.m4: New.
870 * generated/*: Update.
871 * Makefile.am: Add them.
872 (AM_CFLAGS): New. Use -std=gnu99.
873 * Makefile.in: Regenerate.
875 2003-11-08 Paul Brook <paul@nowt.org>
878 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
879 * m4/maxloc1.m4: Ditto.
880 * m4/minloc0.m4: Ditto.
881 * m4/minloc1.m4: Ditto.
882 * m4/ifunction.m4: Set return value for zero sized arrays.
883 * m4/iforeach.m4: Ditto.
884 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
885 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
886 * generated/*: Update.
888 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
891 * io/list_read.c (eat_spaces): Treat tab as space.
893 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
895 * intrinsics/random.c: Add reference to paper containing algorithm.
896 (random_seed): Extra error checking and proper handling of arrays.
897 (arandom_r4, arandom_r8): Implement.
899 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
902 * runtime/memory.c (allocate_size): Allow allocation
903 of zero-sized objects.
905 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
908 * open.c (new_unit): Open without a file name opens
909 a file with name fort.<unit>.
911 2003-10-12 Feng Wang <wf_cs@yahoo.com>
913 * intrinsics/cshift0.c: New file.
914 * m4/cshift1.m4: New file
915 * generated/cshift*.c: New files.
916 * Makefile.am: Add them.
917 * Makefile.in: Regenerate.
919 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
921 * io/list_read.c (read_character): Remove unwanted call to free_saved.
923 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
925 * intrinsics/string_intrinsics.c (string_trim): New function.
926 (string_repeat): New function.
928 2003-10-11 Paul Brook <paul@nowt.org>
930 * intrinsics/dprod_r8.f90: New file.
931 * Makefile.am (gfor_specific_src): Add it.
932 (gfor_built_specific_src): Rename from gfor_build_specific_c.
934 (gfor_specific2_src): Rename from gfor_built_specific2_c.
936 * Makefile.in: Regenerate.
937 * generated/_aint_*.f90: New files.
938 * generated/_anint*.f90: New files.
939 * generated/_atan2*.f90: New files.
940 * generated/_mod*.f90: New files.
942 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
944 * intrinsics/selected_kind.f90: New file.
945 * Makefile.am: Add it.
946 * Makefile.in: regenerate.
948 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
949 Paul Brook <paul@nowt.org>
951 * intrinsics/random.c: New file.
952 * Makefile.am (gfor_hemper_src): Add it.
953 (gfor_specific_c): Fix typo.
955 2003-09-19 Paul Brook <paul@nowt.org>
957 * All: rename g95->gfc.
959 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
961 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
963 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
965 * io/write.c (write_float): Dectection of positive infinite number,
966 Not a Number(NaN) and negative infinite number.
967 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
968 output a very_very small number ( < 0.1e-100 ).
970 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
972 * libgfortran.h (xtoa, itoa): Parameter modified.
973 * io/io.h (namelist_info): Declaration to support namelist I/O
974 (st_parameter): Add namelist related component
975 (ionml, empty_internal_buffer, st_set_nml_var_int,
976 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
977 st_set_nml_var_log): Declaration
978 (set_integer, set_integer): Parameter changed
979 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
981 (parse_format_list): Fix bug about FMT_SLASH
982 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
983 newly allocated saved_string
984 (next_char): Add detection of End_Of_Line support
985 (convert_integer): Now can process 64 bits interger
986 (read_real): Bug fixed
987 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
988 (match_namelist_name): New implemention
989 * io/lock.c (ionml): New global variable
990 (library_end): Free memory in ionml
991 * io/open.c (st_open): Variable initializtion
992 * io/read.c (max_value): 64 bits interger support
993 (convert_precsion_real): New procedure to replace "strtod" with more
995 (read_f, read_radix): Input bug fix
996 * io/transfer.c: (sf_seen_eor): New static variable
997 (read_sf): Zeroize base buffer; fix bugs: single read statement can
998 not get input in mutli line when read from stdin
999 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1001 (data_transfer_init): Clear internal buffer for Internel File I/O.
1002 Internal File now worked. Detect some error condition for namelist.
1004 (next_record_w): Internal file and Namelist I/O support.
1005 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1006 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1007 * io/unit.c (implicit_unit): Deletion
1008 (get_unit): Now cannot open a unit implicitly.
1009 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1011 (mem_alloc_r_at): Internal file I/O support added
1012 (empty_internal_buffer): New function
1013 * io/write.c (extract_int): Support 64 bits interger processing
1014 (output_float): Varibale initialization
1015 (write_float): Infinite real number detection.
1016 (write_int): 64 bits integer I/O support
1017 (write_decimal): New function to output decimal number
1018 (otoa, btoa): Better implemention and 64 bits interger support
1019 (namelist_write): New function
1020 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1023 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1025 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1026 get_mem ): Add attribute.
1027 * intrinsics/spread_generic.c (__spread): Fix spelling.
1028 * io/inquire.c (inquire_via_filename): Add const.
1029 * io/io.h (sys_exit): Add attribute.
1030 * io/io.h (move_pos_offset): Add move_pos_offset.
1031 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1032 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1033 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1034 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1035 write_z): Add const.
1036 * io/read.c (convert_real): Add const.
1037 * io/transfer.c (type_name): Add const.
1038 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1039 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1040 inquire_read, inquire_write, inquire_readwrite): Add const.
1041 * io/write.c (output_float): Remove unused variable.
1042 * io/write.c (write_a, extract_int, extract_real, output_float,
1043 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1044 write_e, write_f, write_en, write_es, write_logical, write_integer,
1045 write_character, write_real, write_complex): Add const.
1046 * runtime/error.c (rtoa): Remove unused variable.
1047 * runtime/select.c (select_string): Add const.
1048 * runtime/stop.c (stop_string): Add const.
1050 2003-08-10 Paul Brook <paul@nowt.org>
1052 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1053 (FFLAGS): Add -fno-underscoring.
1054 * Makefile.in: Regenerate.
1055 * intrinsics/abort.c: New file.
1057 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1059 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1060 * libgfortran.h (init, cleanup): Remove declarations.
1061 (set_args): Add declaration.
1062 * runtime/main.c (init, cleanup): Make them static, and give them
1063 the constructor and destructor attributes.
1064 (set_args): New function.
1066 2003-08-10 Paul Brook <paul@nowt.org>
1068 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1069 on which string is longest.
1071 2003-08-10 Paul Brook <paul@nowt.org>
1073 * Makefile.am (EXTRA_DIST): Remove old files.
1074 * Makefile.in: Regenerate.
1076 2003-07-26 Paul Brook <paul@nowt.org>
1078 Rename library to libgfortran.
1079 * libgfortran.h: Change prefix to _libgfortran_.
1081 2003-07-24 Paul Brook <paul@nowt.org>
1083 * configure.in: Don't pull in system libtool. Use toplevel
1086 2003-07-22 Paul Brook <paul@nowt.org>
1088 Regenerate all configury files.
1090 2003-07-09 Chun Huang <compiler@sohu.com>
1092 * intrinsics/string_intrinsic.c (string_scan): New function.
1093 (string_verify): New function.
1095 2003-06-25 Paul Brook <paul@nowt.org>
1097 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1098 (mem_seek): Don't bother setting physical_offset.
1100 2003-06-20 Paul Brook <paul@nowt.org>
1102 * libgfor.h (stop_numeric): Declare.
1103 * runtime/pause.c: New file.
1104 * Makefile.am: Add it.
1106 2003-06-08 Paul Brook <paul@nowt.org>
1108 * m4/cexp.m4 (cabs): Use correct typed version.
1109 (csqrt): New function.
1111 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1113 Spotted by Benjamin and Tobias:
1114 * io/list_read.c: Add Separator '\t'.
1115 (parse_real, read_real): Accept real values starting with an optional
1116 sign follows a decimal point.
1118 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1120 * Makefile.am: Don't put cmath objects in subdir.
1121 * configure.in: Rename MATHOBJ to MATH_OBJ.
1123 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1125 * intrinsics/associated.c: New file.
1126 * Makefile.am: Add it. Regenerate Makefile.in.
1127 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1128 G95_DESCRIPTOR_DTYPE.
1130 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1132 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1133 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1134 the scale_factor to 0 for F editing.
1136 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1138 * libgfor.h: Only include stdint.h if it exists.
1140 2003-05-07 Paul Brook <paul@nowt.org>
1142 * libgfor.h: Use stdint.h types.
1143 * intrinsics/ishift.c: Ditto.
1144 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1146 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1148 * libgfor.h (offsetof): Define if nobody else does.
1149 * runtime/memory.c (HEADER_SIZE): Use it.
1151 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1153 * configure.in: Require autoconf 2.54.
1155 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1156 Paul Brook <paul@nowt.org>
1158 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1160 * m4/transpose.m4: New file.
1161 * Makefile.am: Add them.
1162 Regenerate generated files.
1164 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1166 * io/format.c (parse_format_list): Allow 'X' without integer
1167 prefix. This is an extension. Interpretation is '1X'.
1169 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1171 * io/format.c (parse_format_list): Allow '0P'.
1173 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1175 * Makefile.in: Re-regenerate for automake 1.7.3.
1177 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1179 Port implementation for CHARACTER SELECT from Andy's tree.
1180 * runtime/select.c: New file
1181 * Makefile.am: Add it.
1182 * Makefile.in: Regenerate.
1184 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1186 * io/transfer.c (formatted_transfer): Modified
1187 * io/unix.c (move_pos_offset): New Function.
1188 * io/format.c (parse_format_list): Modified.
1190 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1192 * io/write.c (write_float,write_real): New implemention of
1193 FMT_G and default float editing.
1194 (calculate_exp,calculate_G_format,output_float): New Function.
1195 (write_float,write_real,write_logical): Modified
1196 * libgfor.h (default_rtoa): Remove Declaration.
1197 * runtime/error.c (default_rtoa): Remove Function.
1199 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1202 * io/write.c (extract_real): Add missing break statement.
1204 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1206 * cpu_time.c: Make sure we have a definition of HZ. Don't
1207 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1209 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1210 Paul Brook <paul@nowt.org>
1212 * configure.in: Check for process time headers and GETTIMEOFDAY.
1213 * makefile.am: Add intrinsics/cpu_time.c.
1214 * acinclude.m4: New file.
1215 * intrinsics/cpu_time.c: New file.
1216 * m4/dotprodl.m4: Fix typo.
1217 Regenerate generated files.
1219 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1221 * io/write.c (extract_real): Ouput floating point value.
1222 (write_float): New Function.
1223 (write_e, write_f, write_en, write_es): Modified
1224 * io/transfer.c (formatted_transfer): Modified.
1225 * libgfor.h (default_rtoa): Declaration.
1226 (rtoa): Declaration.
1227 * runtime/error.c (default_rtoa): New Function.
1228 (rtoa): New Function.
1230 2003-04-05 Paul Brook <paul@nowt.org>
1232 * intrinsics/spread_generic.c: New file.
1233 * Makefile.am: Add it. Regenerate Makefile.in.
1235 2003-03-29 Paul Brook <paul@nowt.org>
1237 * intrinsics/pack_generic.c: New file.
1238 * intrinsics/unpack_generic.c: New file.
1239 * Makefile.am: Add them. Regenerate Makefile.in.
1241 2003-03-25 Paul Brook <paul@nowt.org>
1243 * intrinsics/eoshift0.c: New file.
1244 * intrinsics/eoshift2.c: New file.
1245 * m4/eoshift1.m4: New file.
1246 * m4/eoshift3.m4: New file.
1247 * Makefile.am: Add them.
1248 * in_unpack_generic.c: Initialize src.
1249 Regenerate generated files.
1251 2003-03-14 Paul Brook <paul@nowt.org>
1253 * m4/shape.m4: Work properly with array temporaries.
1254 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1255 * runtime/in_pack_generic.c: Ditto.
1257 2003-03-12 Paul Brook <paul@nowt.org>
1259 * m4/shape.m4: Work properly with noncontiguous arrays.
1261 2003-03-08 Paul Brook <paul@nowt.org>
1263 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1264 * runtime/in_pack_generic.c: Ditto.
1266 2003-02-08 Paul Brook <paul@nowt.org>
1268 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1269 * io/close.c (st_close): Return void.
1270 * io/open.c (st_open): Return void.
1271 * libgfor.h (g95_array_char): Declare.
1272 (internal_malloc_size): Ditto.
1273 (internal_pack*, internal_unpack*): Ditto.
1274 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1276 * m4/in_unpack.m4: Include file fixes.
1277 * m4/reshape.m4: Increment the correct source pointer.
1278 * Makefile.am (maxloc): Fix typo.
1279 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1280 storage if neccessary. Fix logic for packed arrays.
1281 * runtime/in_unpack_generic.c: Call optimized functions.
1282 * runtime/main.c: Use runtime_error to report errors.
1283 * memory.c (internal_malloc_size): Make non-static.
1285 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1287 * reshape_packed.c, lock.c: Add #include <string.h>.
1288 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1289 environ.c, error.c, memory.c, string.c: Add const.
1290 * error.c (show_locus): Add void.
1292 2003-02-21 Paul Brook <paul@nowt.org>
1294 * m4/in_pack.m4: Avoid returning const * parameter.
1295 * Makefile.am: Only regenerate files in maintainer mode.
1297 2003-02-20 Paul Brook <paul@nowt.org>
1299 Add array repacking support functions.
1300 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1301 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1302 * Makefile.am: Build them. Regenerate configury files.
1303 * generated/: New directory for generated files (need to move
1304 everything else there).
1306 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1308 * m4/cexp.m4: Fix typo.
1310 2003-01-26 Paul Brook <paul@nowt.org>
1312 * intrinsics/: Add missing generated files.
1314 2003-01-26 Paul Brook <paul@nowt.org>
1316 * Makefile.am: Put -I before the filename.
1318 2003-01-24 Paul Brook <paul@nowt.org>
1320 * configure.in: Add AM_MAINTAINER_MODE.
1322 2003-01-23 Paul Brook <paul@nowt.org>
1324 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1326 Also regenerate other configury files.
1328 2003-01-21 Paul Brook <paul@nowt.org>
1330 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1332 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1334 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1335 Don't include "alloca.h".
1337 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1339 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1340 * Makefile.am: Adjust file name.
1341 * Makefile.in: Regenerate.
1342 * gfortypes.h: Kill, include everything in...
1343 * libgfor.h: ...here. Include config.h
1344 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1345 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1346 intrinsics/reshape_packed.c, intrinsics/size.c,
1347 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1348 for prefix for all functions instead of hardcoded.
1350 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1352 * io/lock.c (library_end): Propagate library return
1355 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1357 Port fixes from Andy's tree:
1358 * io/read.c (read_decimal): Reverse sense of overflow
1359 comparison during integer reads.
1360 * io/format.c (revert): Fix comment.
1361 (next_format): Fix format revision.
1362 * io/unix.c: Fix and simplify mmap version of stream
1365 2003-01-11 Paul Brook <paul@nowt.org>
1367 * configure, Makefile.in: Regenerate.
1369 2003-01-11 Paul Brook <paul@nowt.org>
1371 * runtime/stop.c: Rewrite.
1373 2003-01-08 Paul Brook <paul@nowt.org>
1375 * configure, Makefile.in: Regenerate.
1377 2003-01-05 Paul Brook <paul@nowt.org>
1379 * (*.m4) Move to m4/.
1380 * intrinsics/string.c (_gfor_string_index): New Function.
1382 2002-12-29 Paul Brook <paul@nowt.org>
1384 * intrinsics/reshape.*: New files.
1385 * gcc_config.patch: Update to new GCC configure system.
1387 2002-10-10 Paul Brook <paul@nowt.org>
1389 * intrinsics/size.c: New file.
1390 * intrinsics/shape.m4: New file.
1391 * Makefile.am: Add above files.
1393 2002-10-02 Paul Brook <paul@nowt.org>
1395 * fmain.c (main): Move here.
1396 * libgfor.c: From here.
1397 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1398 * Makefile.am: Build libgforbegin.
1399 * gcc_config.patch: Remove stray -march=athlon.
1400 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1401 * ifunction.m4: Move variable declarations to allow compilation with
1403 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1404 * README: Document use of patch -p1.
1406 2002-09-12 Paul Brook <paul@nowt.org>
1408 * math/*: Add complex math library functions.
1409 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1410 * Makefile.am: Add details for above.
1411 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1413 2002-09-09 Paul Brook <paul@nowt.org>
1415 * libgfor.c (determine_endianness): Use an array rather than a struct.
1416 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1418 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1420 * libgfor.c: Add fatal signal handler.
1421 Romove superfluous abort() calls.
1423 2002-09-07 Paul Brook <paul@nowt.org>
1425 * Makefile.am, intrinsics: Major rewrite.
1427 2002-09-02 Paul Brook <paul@nowt.org>
1429 * Makefile.am: Added -I$(srcdir) to m4 rule.
1431 2002-08-30 Paul Brook <paul@nowt.org>
1433 * io/*: Integrated libgforio.
1434 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1435 intrinsics in the intrisics directory.
1436 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1437 filename. Add 'and' and 'all' intrinsics.
1439 2002-08-17 Paul Brook <paul@nowt.org>
1441 * ALL: First release as more than just a single file