1 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
3 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
5 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
7 * intrinsics/rand.c (irand): Handle NULL argument.
9 2004-10-07 Paul Brook <paul@codesourcery.com>
11 * io/transfer.c (finalize_transfer): Free internal streams.
12 * io/unix.c (mem_close): Free stream object.
14 2004-10-07 Paul Brook <paul@codesourcery.com>
16 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
19 2004-10-06 Paul Brook <paul@codesourcery.com>
22 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
24 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
26 * intrinsics/mvbits.c: Commit the file.
28 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
31 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
32 if not done by caller.
33 (__pack_s): New function.
34 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
35 allocating zero memory.
38 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
39 * Makefile.in: Regenerate.
40 * intrinsics/mvbits.h: New file.
43 * intrinsics/system.c: New file.
44 * Makefile.am: Add dependency for the new file.
45 * Makefile.in: Regenerate.
47 2004-10-04 Paul Brook <paul@codesourcery.com>
48 Bud Davis <bdavis9659@comcast.net>
52 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
54 * io/write.c (output_float): Don't output minus zero.
56 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
58 * intrinsics/abort.c ("libgfortran.h"): Move.
59 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
60 * intrinsics/write.c ("libgfortran.h"): Same.
62 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
65 * config.h.in (HAVE_POWF): Undefine.
66 * configure.ac: Check for 'powf' in library.
67 * configure: Regenerate.
68 * intrinsics/c99_functions.c (powf): New function.
70 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
72 * intrinsics/etime.c (etime_): New function.
74 2004-09-21 Steven G. Kargl <kargls@comcast.net>
76 * libgfortran.h: define gfc_alloca()
77 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
79 2004-09-21 Bud Davis <bdavis9659@comcast.net>
82 * io/list_read.c (namelist_read): ignore spaces after
83 the '=' for namelist reads.
85 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
87 * config.h.in: Regenerate.
88 * configure: Regenerate.
89 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
90 * unix.c: Include stdio.h.
91 (HAVE_SYS_MMAN_H): Check.
92 (PROT_READ, PROT_WRITE): Provide default definitions.
94 2004-09-15 Steven G. Kargl <kargls@comcast.net>
96 * intrincics/getcwd.c: New file.
97 * Makefile.am: Add getcwd.c.
98 * Makefile.in: Regenerated.
100 2004-09-15 Steven G. Kargl <kargls@comcast.net>
101 Paul Brook <paul@codesourcery.com>
103 * intrinsics/env.c (getenv, get_environmental_variable): Remove
104 trailing white space. Use alloca. Honour trim_name.
106 2004-09-13 Bud Davis <bdavis9659@comcast.net>
110 * io/list_read.c (list_formatted_read): Handle trailing spaces
113 2004-09-06 Steven G. Kargl <kargls@comcast.net>
115 * io/write.c (output_float): Typo in comment. Remove debugging
116 printf. Fix format for FP of form 1e10.
118 2004-09-03 Richard Henderson <rth@redhat.com>
120 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
121 copy_loop_double, copy_loop_ldouble): New.
122 (__cshift0): Make shift type ssize_t. Use % operator instead of
123 div. Use specialized versions of copy loop depending on the shape.
125 2004-09-02 Paul Brook <paul@codesourcery.com>
127 * io/format.c (parse_format_list): Set repeat count for P descriptors.
128 * write.c (output_float): Fix condition. Correctly handle nonzero
131 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
133 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
134 * mk-srk-inc.sh: Likewise.
136 2004-09-01 Paul Brook <paul@codesourcery.com>
138 * runtime/error.c (generate_error): Set both iostat and
141 2004-08-31 Paul Brook <paul@codesourcery.com>
144 * io/list_read.c (next_char): Don't signal EOF for internal files.
145 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
147 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
149 * io/unit.c: Separate copyright years by ','.
150 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
151 Remove blank line in beginning of function.
152 (get_unit): Simplify code.
154 2004-08-31 Paul Brook <paul@codesourcery.com>
156 * io/unit.c (get_unit): Remove superfluous if.
158 2004-08-31 Paul Brook <paul@codesourcery.com>
160 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
161 (finalize_transfer): Move setjmp after namlist IO.
162 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
164 2004-08-31 Paul Brook <paul@codesourcery.com>
166 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
168 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
170 * libgfortran.h: Replace 'gfc_strlen_type' by
171 'gfc_charlen_type'. Update comment accordingly.
172 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
173 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
175 2004-08-31 Paul Brook <paul@codesourcery.com>
177 * libgfortran.h: Add comments.
179 2004-08-30 Richard Henderson <rth@redhat.com>
181 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
182 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
183 (selected_int_kind.inc selected_real_kind.inc): New rules.
184 * Makefile.in: Regenerate.
185 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
186 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
187 include table of detected kinds.
188 * intrinsics/selected_real_kind.f90: Similarly.
190 2004-08-29 Steven G. Kargl <kargls@comcast.net>
191 Paul Brook <paul@codesourcery.com>
193 * intrinsics/bessel.c: New file.
194 * intrinsics/erf.c: New file.
195 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
196 * configure.ac: Test for C99 Bessel and Error functions.
197 * Makefile.in: Regenerate.
198 * config.h.in: Regenerate.
199 * configure: Regenerate.
201 2004-08-29 Steven G. Kargl <kargls@comcast.net>
202 Paul Brook <paul@codesourcery.com>
204 * Makefile.am: Add intrinsics/getXid.c.
205 * configure.ac: Add tests for get{g,p,u}id.
206 * config.h.in: Regenerate.
207 * Makefile.in: Regenerate.
208 * configure: Regenerate.
210 2004-08-28 Paul Brook <paul@codesourcery.com>
213 * libgfortran.h (rtoa): Remove prototype.
214 * runtime/error.c (rtoa): Remove.
215 * io/write.c (calculate_G_format): Don't add blanks if E format is
216 used. Add correct number of blanks when exponent width is specified.
217 (output_float): Rewrite.
219 2004-08-27 Paul Brook <paul@codesourcery.com>
221 * io/rewind.c (st_rewind): Reset unit to read mode.
223 2004-08-27 Bud Davis <bdavis9659@comcast.net>
226 * io/io.h: created typedef for unit_mode.
227 * io/io.h (gfc_unit): added mode to unit structure.
228 * io/transfer.c (data_transfer_init): flush if a write then
229 read is done on a unit (direct access files).
230 * io/rewind.c (st_rewind): Used unit mode instead of global.
232 2004-08-24 Bud Davis <bdavis9659@comcast.net>
235 * runtime/error.c (itoa): keep from overflowing during
236 mod operation by using unsigned variable.
238 2004-08-24 Bud Davis <bdavis9659@comcast.net>
241 * runtime/string_intrinsics.c (string_index):check for
242 substring longer than string.
244 2004-08-24 David Edelsohn <edelsohn@gnu.org>
246 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
247 * Makefile.in: Rebuilt.
249 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
251 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
252 Fix formatting issues, update copyright years.
254 2004-08-21 Bud Davis <bdavis9659@comcast.net>
257 * io/transfer.c (next_record_w): Do not blank pad.
258 * io/transfer.c (next_record): Take into account partial records.
260 2004-08-18 Victor Leikehman <lei@il.ibm.com>
263 * io/transfer.c (st_set_nml_var)
264 * io/write.c (namelist_write): Allow var_name and var_name_len to be
265 null. For strings, use string_length field instead of len.
266 * io/io.h (struct namelist_type): New field string_length.
267 (st_set_nml_var_char): New argument string_length.
269 2004-08-13 Bud Davis <bdavis9659@comcast.net>
272 * io/open.c (st_open): use flags instead of the unit structure.
274 2004-08-10 Victor Leikehman <lei@il.ibm.com>
276 * io/list_read.c (namelist_read): Convert variable names
277 to lower case, so that mixed-case names are recognized.
278 Don't read beyond terminating slash.
280 2004-08-09 Richard Henderson <rth@redhat.com>
281 Roger Sayle <roger@eyesopen.com>
283 * intrinsics/c99_functions.c (nextafterf): New implementation that
284 works correctly with denormalized numbers.
286 2004-08-09 Victor Leikehman <lei@il.ibm.com>
288 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
289 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
290 Allocate space if return value has NULL in its data field.
291 * generated/*.c: Regenerate.
293 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
295 * intrinsics/env.c: New file.
296 * Makefile.am: Add env.c to build.
297 * Makefile.in: Regenerate.
299 2004-08-05 Victor Leikehman <lei@il.ibm.com>
302 * io/read.c (read_radix): Understand letters f and F as hex digits.
304 2004-08-04 Victor Leikehman <lei@il.ibm.com>
306 * libgfortran.h (array_t, size0) New declarations.
307 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
308 space if return value descriptor has NULL in its data field,
309 and initialize bounds and stride.
310 * intrinsics/size.c (array_t, size0): Declarations moved to
312 * generated/*.c: Regenerate.
314 2004-08-03 Roger Sayle <roger@eyesopen.com>
317 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
318 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
319 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
320 * config.h.in: Regenerate.
321 * configure: Regenerate.
323 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
324 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
325 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
326 implementations for targets that don't support C99 float functions.
328 2004-08-01 Roger Sayle <roger@eyesopen.com>
330 * io/write.c (write_float): Use the slightly more portable isnan
331 in preference to isinf.
333 2004-07-18 Bud Davis <bdavis9659@comcast.net>
335 * configure.ac: Add check for LFS support.
336 * configure: Regenerate
338 2004-07-11 Paul Brook <paul@codesourcery.com>
341 * m4/cexp.m4 (carg): Return -pi to pi.
342 * generated/exp_c?.c: Regenerate.
344 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
347 * libgfortran/io/write.c: (write_float): Added length check.
348 Remove pointless memset calls.
350 2004-07-04 Bud Davis <bdavis9659@comcast.net>
351 Paul Brook <paul@codesourcery.com>
354 * io/transfer.c(us_write): set recl for seq unform writes to max size.
355 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
356 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
358 * io/unix.c(is_seekable): set based upon the file/device, not the
359 method being used to access it (fd or mmap).
360 * io/unix.c(fd_flush): don't set file_size if !seekable.
361 * io/unix.c(fd_truncate: ditto.
363 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
364 Paul Brook <paul@codesourcery.com>
368 * libgfortran.h (gfc_strlen_type): Define.
369 * intrinsics/args.c (getarg): Rename ...
370 (getarg_i4): ... to this.
371 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
372 get_command_i4, get_command_i8): New functions.
374 2004-07-04 Matthias Klose <doko@debian.org>
376 * libtool-version: New.
377 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
378 * Makefile.in: Regenerate.
379 * configure.ac: Remove libtool_VERSION macro
380 * configure: Regenerate
382 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
383 Steven Bosscher <stevenb@suse.de>
385 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
388 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
389 Paul Brook <paul@codesourcery.com>
391 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
393 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
395 2004-06-27 Bud Davis <bdavis9659@comcast.net>
398 * io/write.c (write_float): check signbit for Infinity.
400 2004-06-26 Bud Davis <bdavis9659@comcast.net>
403 * unix.c(regular_file): create file if it does not exist.
405 2004-06-24 Andrew Pinski <apinski@apple.com>
407 * configure.ac: Remove check for libmx.
408 * configure: Regenerate.
410 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
413 * inquire.c (st_inquire): Add comment
414 * io.h (st_parameter): Add iolength.
415 (st_iolength, st_iolength_done): Declare.
416 * transfer.c (iolength_transfer, iolength_transfer_init,
417 st_iolength, st_iolength_done): New functions.
419 2004-06-21 Steven G. Kargl <kargls@comcast.net>
421 * etime.c (etime_sub): Remove array rank check;
422 Add check for sufficient space.
424 2004-06-19 Bud Davis <bdavis9659@comcast.net>
427 * io/list_read.c(set_value): fixed spelling.
429 2004-06-19 Bud Davis <bdavis9659@comcast.net>
432 * io/list_read.c(set_value): don't copy if the string is null.
434 2004-06-14 Bud Davis <bdavis9659@comcast.net>
437 * intrinsics/c99_functions.c: Use fpclassify if it exists.
439 2004-06-13 Paul Brook <paul@codesourcery.com>
441 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
442 * configure.ac: Add checks for nextafter and nextafterf.
443 * Makefile.in, config.h.in, configure: Regenerate.
444 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
445 * intrinsics/rand.c (rand): Use normalize_r4_i4.
446 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
447 (random_r8): Use normalize_r8_i8.
448 * runtime/normalize.c: New file.
450 2004-06-13 Steven G. Kargl <kargls@comcast.net>
451 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
453 * random.c: Fix several spelling and formatting mistakes in
455 (random_r8): Fix loop to make random numbers range in [0,1(.
458 2004-06-13 Steven G. Kargl <kargls@comcast.net>
460 * random.c (random_r4): Burn a random number.
461 (random_r8): fix infinite loop.
463 2004-06-12 Bud Davis <bdavis9659@comcast.net>
464 Steve Kargl <sgk@troutmask.apl.washington.edu>
467 * intrinsics/c99_functions.c: New file.
468 * Makefile.am: Add new file.
469 * configure.ac: Added test for round/roundf.
470 * Makefile.in: Regenerate.
471 * configure: Regenerate.
472 * configure.h.in: Regenerate.
474 2004-06-12 Steven G. Kargl <kargls@comcast.net>
476 * Makefile.am: Add rand.c and etime.c
477 * Makefile.in: Regenerated.
478 * aclocal.in: Regenerated.
479 * cpu_time.c (second_sub, second): New functions.
480 * rand.c (irand, rand, srand): New file.
481 * etime.c (etime_sub, etime): New file.
483 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
484 Steven Bosscher <stevenb@suse.de>
487 * intrinsics/date_and_time.c: New file.
488 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
489 * Makefile.in, aclocal.m4: Regenerate.
490 * libgfortran.h: Prototype date_and_time().
492 2004-06-12 Bud Davis <bdavis9659@comcast.net>
495 * intrinsics/args.c: Implement GETARG and IARGC.
496 * Makefile.am: Add it.
497 * Makefile.in: Regenerate.
499 2004-06-12 Bud Davis <bdavis9659@comcast.net>
502 * io/write.c(write_float): Format inf and nan IAW F2003.
504 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
507 * io/transfer.c (formatted_transfer): position is unique
508 for T and TL edit descriptors.
509 (data_transfer_init): set record length to size of internal
512 2004-06-09 Bud Davis <bdavis9659@comcast.net>
515 * io/backspace.c(st_backspace): call correct routine for
516 formatted and un-formatted units.
518 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
521 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
522 (lib_LTLIBRARIES): Rename to ...
523 (toolexeclib_LTLIBRARIES): this for multilib support.
524 * configure.in: Rename to ...
525 * configure.ac: this. Update to modern autoconf style, enable
526 multilibs, support --enable-version-specific-runtime-libs.
527 * Makefile.in: Regenerated.
528 * configure: Regenerated.
529 * aclocal.m4: Regenerated.
531 2004-05-30 Steven G. Kargl <kargls@comcast.net>
533 * libgfortran.h (random_seed): Update prototype.
534 * intrinsics/random.c: Disable old implementation and add new one.
536 2004-05-30 Andreas Jaeger <aj@suse.de>
538 * intrinsics/random.c: Include unistd.h for close and read
539 prototypes, remove unneeded inclusion of assert.h.
541 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
542 unneeded inclusion of assert.h.
544 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
547 * intrinsics/associated.c: Remove enum.
548 (associated): Replace TRUE/FALSE by 1/0.
550 2004-05-23 Steven G. Kargl <kargls@comcast.net>
552 * random.c (random_seed): Use correct variable.
554 2004-05-22 Steven G. Kargl <kargls@comcast.net>
556 * intrinsics/system_clock: New file.
557 * Makefile.am: Add intrinsics/system_clock.c.
558 * Makefile.in: Regenerate.
560 2004-05-21 Roger Sayle <roger@eyesopen.com>
562 * io/format.c (parse_format_list): Allow the comma after a string
563 literal to be optional.
565 2004-05-18 Paul Brook <paul@codesourcery.com>
566 Feng Wang <fengwang@nudt.edu.cn>
568 * Makefile.am (i_pow_c): Set it. Add build rule.
569 (gfor_built_src): Use it.
570 (m4_files): add m4/pow.m4.
571 * Makefile.in: Regenerate.
572 * m4/pow.m4: New file.
573 * generated/pow_*.c: Regenerate.
575 2004-05-18 Paul Brook <paul@codesourcery.com>
577 * Makefile.am: Remove references to types.m4.
578 * m4/iparm.m4: Merge with types.m4.
579 * m4/types.m4: Remove.
580 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
581 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
582 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
583 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
584 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
585 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
586 Update to use new iparm.m4.
587 * generated/*.c: Regenerate.
589 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
592 * gfortran.h (offset_t): Rename to ...
593 (gfc_offset): ... this.
594 * io/backspace.c (formatted_backspace, unformatted_backspace),
595 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
596 transfer.c (us_read, us_write, next_record_r, next_record_w),
597 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
598 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
599 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
600 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
601 occurences of offset_t by gfc_offset.
603 2004-05-16 Paul Brook <paul@codesourcery.com>
605 * io/format.c (write_real): Don't include padding in format.
607 2004-05-16 Paul Brook <paul@codesourcery.com>
609 * io/format.c (format_lex): Make c an int.
611 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
612 Paul Brook <paul@codesourcery.com>
614 * io/write.c (write_logical): Don't print extra blank.
615 (write_integer): Base field width on kind.
616 (list_formatted_write): Output initial blank.
618 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
620 * io/io.h (flush): Add prototype.
621 * io/transfer.c (finalize_transfer): Flush partial records.
622 * io/unix.c (flush): New function.
624 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
627 * io/io.h (unit_t): Rename to ...
629 (unit_root, current_unit, find_file, find_unit, get_unit): Now
631 (delete_file, insert_unit, close_unit): Argument now of type
633 * backspace.c (st_backspace), close.c (st_close), endfile.c
634 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
635 (test_endfile, edit_modes, new_unit, already_open, st_open),
636 rewind.c (st_rewind), transfer.c (current_unit), unit.c
637 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
638 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
639 get_unit, init_units, close_unit), unix.c (find_file0,
640 find_file, delete_file): Replace all occurences of unit_t by
643 2004-05-15 Bud Davis <bdavis9659@comcast.net>
646 * io/write.c (write_a): right justify A edit output.
648 2004-05-14 Bud Davis <bdavis9659@comcast.net>
651 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
652 * runtime/main.c(init): Call random_seed as part of MAIN init.
654 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
656 * io/format.c: (parse_format_list): No comma is required after
659 2004-05-13 Bud Davis <bdavis9659@comcast.net>
662 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
664 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
665 Steven Bosscher <stevenb@suse.de>
668 * libgfortran.h: Include <inttypes.h> if available.
670 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
672 * io/unix.c (MAP_FAILED): Define if missing.
673 (mmap_alloc): Cast MAP_FAILED to char *.
674 (mmap_open): Likewise.
676 2004-04-26 Bud Davis <bdavis9659@comcast.net>
678 * generated/_abs_i8.f90: New file.
679 * generated/_abs_c4.f90: New file.
680 * generated/_abs_c8.f90: New file.
681 * Makefile.am: Add them.
682 * Makefile.in: Regenerate.
684 2004-04-26 Bud Davis <bdavis9659@comcast.net>
687 * generated/_abs_i4.f90: New file.
688 * Makefile.am: Add it.
689 * Makefile.in: Regenerate.
691 2004-04-25 Bud Davis <bdavis9659@comcast.net>
694 * io/list_read.c(list_formatted_read): finish consuming the
695 spaces and seperators at eoln to get ready for next item.
697 2004-04-23 Bud Davis <bdavis9659@comcast.net>
700 * io/read.c(read_a): Handle field width > destination and no field width.
702 2004-04-22 Bud Davis <bdavis9659@comcast.net>
705 * io/format.c (format_item): gracefully handle a ')'
706 when it is the first character encountered in the string.
708 2004-04-11 Bud Davis <bdavis9659@comcast.net>
711 * io/transfer.c (next_record): Update last_record when
712 more than one record is written to a direct access file
713 with one write statement.
715 2004-04-11 Bud Davis <bdavis9659@comcast.net>
718 * io/transfer.c (next_record_w) : No '\n' if internal.
719 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
721 2004-04-11 Bud Davis <bdavis9659@comcast.net>
723 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
724 Will need to change this later to support direct access files > 2gb.
726 2004-04-03 Bud Davis <bdavis9659@comcast.net>
729 * io/transfer.c (next_record_r) : Skip to next record.
731 2004-04-03 Bud Davis <bdavis9659@comcast.net>
734 * io/transfer.c (next_record): Update last_record for DIRECT
736 2004-04-03 Bud Davis <bdavis9659@comcast.net>
739 * io/unix.c (find_file0): Use fd field of struct
741 2004-04-03 Bud Davis <bdavis9659@comcast.net>
744 * io/inquire.c (inquire_via_unit): Changed return string for
745 BLANK=NULL. Use correct variable for ACTION.
747 2004-04-01 Bud Davis <bdavis9659@comcast.net>
750 * io/read.c (read_f): Allow a decimal without a leading digit.
751 * io/write.c (output_float): remove a leading '0' to keep from
752 overflowing the field (F edit descriptor).
754 2004-04-01 Bud Davis <bdavis9659@comcast.net>
757 * io/open.c (new_unit),
758 * io/io.h : new_unit is now visible
759 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
760 * io/transfer.c (data_transfer_init): remove compile warnings.
761 * io/rewind.c (st_rewind): ftruncate if writing.
763 2004-03-24 Bud Davis <bdavis9659@comcast.net>
765 * write.c (write_l): Use extract_int for 'L' edit descriptor.
767 2004-03-24 Bud Davis <bdavis9659@comcast.net>
770 * io/io.h (global_t):
771 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
772 Move eof_jmp to a global structure.
773 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
775 2004-03-24 Bud Davis <bdavis9659@comcast.net>
777 * m4/cexp.m4 (csqrt): Actually use the passed value.
778 * generated/exp_c?.c: Regenerate.
780 2004-03-24 Bud Davis <bdavis9659@comcast.net>
783 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
784 * open.c (new_unit): Moved test for positioned direct access error.
785 (init_units): Corrected calculation of max records.
787 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
789 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
790 * Makefile.in: Regenerate.
791 * m4/dotprodc.m4: New file. Implement complex dot_product.
792 * m4/dotprod.m4: Delete the complex implementation.
793 * generated/dotprod_*: Update.
795 2004-02-07 Bud Davis <bdavis9659@comcast.net>
797 * transfer.c (write_constant_string): Do not delete H's in hollerith
800 2004-01-05 Andrew Pinski <apinski@apple.com>
802 * configure.in: Check for csin in -lmx also.
803 * configure: Regenerate.
805 2004-01-01 Paul Brook <paul@codesourcery.com>
807 * io/list_read.c (find_nml_node): Make static.
808 (match_namelist_name): Ditto.
809 * io/read.c (convert_precision_real): Make static, fix spelling.
810 * io/transfer.c (extract_real): Remove unused prototype.
811 (st_set_nml_var): Make static.
812 * io/write.c (extract_real): Make static.
814 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
816 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
818 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
820 * io/transfer.c (data_transfer_init): Give a runtime error for list
821 formatted reads and writes from/to files opened for unformatted IO.
823 2003-11-30 Paul Brook <paul@nowt.org>
825 * runtime/memory.c (push_context): Remove.
826 (pop_context): Remove.
827 * libgfortran.h: Remove prototypes.
829 2003-11-27 Paul Brook <paul@nowt.org>
831 * runtime/memory.c (deallocate): Nullify pointer after freeing.
833 2003-11-27 Paul Brook <paul@nowt.org>
835 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
836 * libgfortran.h: Ditto.
837 * m4/in_pack.m4: Ditto.
838 * runtime/in_pack_generic.c: Ditto.
839 * runtime/memory.c: Ditto.
841 2003-11-26 Richard Henderson <rth@redhat.com>
843 * m4/exponent.m4, m4/fraction.m4: New.
844 * m4/nearest.m4, m4/set_exponent.m4: New.
845 * generated/*: Update.
846 * Makefile.am: Add them.
847 (AM_CFLAGS): New. Use -std=gnu99.
848 * Makefile.in: Regenerate.
850 2003-11-08 Paul Brook <paul@nowt.org>
853 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
854 * m4/maxloc1.m4: Ditto.
855 * m4/minloc0.m4: Ditto.
856 * m4/minloc1.m4: Ditto.
857 * m4/ifunction.m4: Set return value for zero sized arrays.
858 * m4/iforeach.m4: Ditto.
859 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
860 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
861 * generated/*: Update.
863 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
866 * io/list_read.c (eat_spaces): Treat tab as space.
868 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
870 * intrinsics/random.c: Add reference to paper containing algorithm.
871 (random_seed): Extra error checking and proper handling of arrays.
872 (arandom_r4, arandom_r8): Implement.
874 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
877 * runtime/memory.c (allocate_size): Allow allocation
878 of zero-sized objects.
880 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
883 * open.c (new_unit): Open without a file name opens
884 a file with name fort.<unit>.
886 2003-10-12 Feng Wang <wf_cs@yahoo.com>
888 * intrinsics/cshift0.c: New file.
889 * m4/cshift1.m4: New file
890 * generated/cshift*.c: New files.
891 * Makefile.am: Add them.
892 * Makefile.in: Regenerate.
894 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
896 * io/list_read.c (read_character): Remove unwanted call to free_saved.
898 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
900 * intrinsics/string_intrinsics.c (string_trim): New function.
901 (string_repeat): New function.
903 2003-10-11 Paul Brook <paul@nowt.org>
905 * intrinsics/dprod_r8.f90: New file.
906 * Makefile.am (gfor_specific_src): Add it.
907 (gfor_built_specific_src): Rename from gfor_build_specific_c.
909 (gfor_specific2_src): Rename from gfor_built_specific2_c.
911 * Makefile.in: Regenerate.
912 * generated/_aint_*.f90: New files.
913 * generated/_anint*.f90: New files.
914 * generated/_atan2*.f90: New files.
915 * generated/_mod*.f90: New files.
917 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
919 * intrinsics/selected_kind.f90: New file.
920 * Makefile.am: Add it.
921 * Makefile.in: regenerate.
923 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
924 Paul Brook <paul@nowt.org>
926 * intrinsics/random.c: New file.
927 * Makefile.am (gfor_hemper_src): Add it.
928 (gfor_specific_c): Fix typo.
930 2003-09-19 Paul Brook <paul@nowt.org>
932 * All: rename g95->gfc.
934 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
936 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
938 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
940 * io/write.c (write_float): Dectection of positive infinite number,
941 Not a Number(NaN) and negative infinite number.
942 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
943 output a very_very small number ( < 0.1e-100 ).
945 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
947 * libgfortran.h (xtoa, itoa): Parameter modified.
948 * io/io.h (namelist_info): Declaration to support namelist I/O
949 (st_parameter): Add namelist related component
950 (ionml, empty_internal_buffer, st_set_nml_var_int,
951 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
952 st_set_nml_var_log): Declaration
953 (set_integer, set_integer): Parameter changed
954 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
956 (parse_format_list): Fix bug about FMT_SLASH
957 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
958 newly allocated saved_string
959 (next_char): Add detection of End_Of_Line support
960 (convert_integer): Now can process 64 bits interger
961 (read_real): Bug fixed
962 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
963 (match_namelist_name): New implemention
964 * io/lock.c (ionml): New global variable
965 (library_end): Free memory in ionml
966 * io/open.c (st_open): Variable initializtion
967 * io/read.c (max_value): 64 bits interger support
968 (convert_precsion_real): New procedure to replace "strtod" with more
970 (read_f, read_radix): Input bug fix
971 * io/transfer.c: (sf_seen_eor): New static variable
972 (read_sf): Zeroize base buffer; fix bugs: single read statement can
973 not get input in mutli line when read from stdin
974 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
976 (data_transfer_init): Clear internal buffer for Internel File I/O.
977 Internal File now worked. Detect some error condition for namelist.
979 (next_record_w): Internal file and Namelist I/O support.
980 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
981 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
982 * io/unit.c (implicit_unit): Deletion
983 (get_unit): Now cannot open a unit implicitly.
984 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
986 (mem_alloc_r_at): Internal file I/O support added
987 (empty_internal_buffer): New function
988 * io/write.c (extract_int): Support 64 bits interger processing
989 (output_float): Varibale initialization
990 (write_float): Infinite real number detection.
991 (write_int): 64 bits integer I/O support
992 (write_decimal): New function to output decimal number
993 (otoa, btoa): Better implemention and 64 bits interger support
994 (namelist_write): New function
995 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
998 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1000 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1001 get_mem ): Add attribute.
1002 * intrinsics/spread_generic.c (__spread): Fix spelling.
1003 * io/inquire.c (inquire_via_filename): Add const.
1004 * io/io.h (sys_exit): Add attribute.
1005 * io/io.h (move_pos_offset): Add move_pos_offset.
1006 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1007 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1008 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1009 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1010 write_z): Add const.
1011 * io/read.c (convert_real): Add const.
1012 * io/transfer.c (type_name): Add const.
1013 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1014 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1015 inquire_read, inquire_write, inquire_readwrite): Add const.
1016 * io/write.c (output_float): Remove unused variable.
1017 * io/write.c (write_a, extract_int, extract_real, output_float,
1018 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1019 write_e, write_f, write_en, write_es, write_logical, write_integer,
1020 write_character, write_real, write_complex): Add const.
1021 * runtime/error.c (rtoa): Remove unused variable.
1022 * runtime/select.c (select_string): Add const.
1023 * runtime/stop.c (stop_string): Add const.
1025 2003-08-10 Paul Brook <paul@nowt.org>
1027 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1028 (FFLAGS): Add -fno-underscoring.
1029 * Makefile.in: Regenerate.
1030 * intrinsics/abort.c: New file.
1032 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1034 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1035 * libgfortran.h (init, cleanup): Remove declarations.
1036 (set_args): Add declaration.
1037 * runtime/main.c (init, cleanup): Make them static, and give them
1038 the constructor and destructor attributes.
1039 (set_args): New function.
1041 2003-08-10 Paul Brook <paul@nowt.org>
1043 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1044 on which string is longest.
1046 2003-08-10 Paul Brook <paul@nowt.org>
1048 * Makefile.am (EXTRA_DIST): Remove old files.
1049 * Makefile.in: Regenerate.
1051 2003-07-26 Paul Brook <paul@nowt.org>
1053 Rename library to libgfortran.
1054 * libgfortran.h: Change prefix to _libgfortran_.
1056 2003-07-24 Paul Brook <paul@nowt.org>
1058 * configure.in: Don't pull in system libtool. Use toplevel
1061 2003-07-22 Paul Brook <paul@nowt.org>
1063 Regenerate all configury files.
1065 2003-07-09 Chun Huang <compiler@sohu.com>
1067 * intrinsics/string_intrinsic.c (string_scan): New function.
1068 (string_verify): New function.
1070 2003-06-25 Paul Brook <paul@nowt.org>
1072 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1073 (mem_seek): Don't bother setting physical_offset.
1075 2003-06-20 Paul Brook <paul@nowt.org>
1077 * libgfor.h (stop_numeric): Declare.
1078 * runtime/pause.c: New file.
1079 * Makefile.am: Add it.
1081 2003-06-08 Paul Brook <paul@nowt.org>
1083 * m4/cexp.m4 (cabs): Use correct typed version.
1084 (csqrt): New function.
1086 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1088 Spotted by Benjamin and Tobias:
1089 * io/list_read.c: Add Separator '\t'.
1090 (parse_real, read_real): Accept real values starting with an optional
1091 sign follows a decimal point.
1093 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1095 * Makefile.am: Don't put cmath objects in subdir.
1096 * configure.in: Rename MATHOBJ to MATH_OBJ.
1098 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1100 * intrinsics/associated.c: New file.
1101 * Makefile.am: Add it. Regenerate Makefile.in.
1102 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1103 G95_DESCRIPTOR_DTYPE.
1105 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1107 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1108 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1109 the scale_factor to 0 for F editing.
1111 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1113 * libgfor.h: Only include stdint.h if it exists.
1115 2003-05-07 Paul Brook <paul@nowt.org>
1117 * libgfor.h: Use stdint.h types.
1118 * intrinsics/ishift.c: Ditto.
1119 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1121 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1123 * libgfor.h (offsetof): Define if nobody else does.
1124 * runtime/memory.c (HEADER_SIZE): Use it.
1126 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1128 * configure.in: Require autoconf 2.54.
1130 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1131 Paul Brook <paul@nowt.org>
1133 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1135 * m4/transpose.m4: New file.
1136 * Makefile.am: Add them.
1137 Regenerate generated files.
1139 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1141 * io/format.c (parse_format_list): Allow 'X' without integer
1142 prefix. This is an extension. Interpretation is '1X'.
1144 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1146 * io/format.c (parse_format_list): Allow '0P'.
1148 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1150 * Makefile.in: Re-regenerate for automake 1.7.3.
1152 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1154 Port implementation for CHARACTER SELECT from Andy's tree.
1155 * runtime/select.c: New file
1156 * Makefile.am: Add it.
1157 * Makefile.in: Regenerate.
1159 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1161 * io/transfer.c (formatted_transfer): Modified
1162 * io/unix.c (move_pos_offset): New Function.
1163 * io/format.c (parse_format_list): Modified.
1165 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1167 * io/write.c (write_float,write_real): New implemention of
1168 FMT_G and default float editing.
1169 (calculate_exp,calculate_G_format,output_float): New Function.
1170 (write_float,write_real,write_logical): Modified
1171 * libgfor.h (default_rtoa): Remove Declaration.
1172 * runtime/error.c (default_rtoa): Remove Function.
1174 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1177 * io/write.c (extract_real): Add missing break statement.
1179 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1181 * cpu_time.c: Make sure we have a definition of HZ. Don't
1182 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1184 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1185 Paul Brook <paul@nowt.org>
1187 * configure.in: Check for process time headers and GETTIMEOFDAY.
1188 * makefile.am: Add intrinsics/cpu_time.c.
1189 * acinclude.m4: New file.
1190 * intrinsics/cpu_time.c: New file.
1191 * m4/dotprodl.m4: Fix typo.
1192 Regenerate generated files.
1194 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1196 * io/write.c (extract_real): Ouput floating point value.
1197 (write_float): New Function.
1198 (write_e, write_f, write_en, write_es): Modified
1199 * io/transfer.c (formatted_transfer): Modified.
1200 * libgfor.h (default_rtoa): Declaration.
1201 (rtoa): Declaration.
1202 * runtime/error.c (default_rtoa): New Function.
1203 (rtoa): New Function.
1205 2003-04-05 Paul Brook <paul@nowt.org>
1207 * intrinsics/spread_generic.c: New file.
1208 * Makefile.am: Add it. Regenerate Makefile.in.
1210 2003-03-29 Paul Brook <paul@nowt.org>
1212 * intrinsics/pack_generic.c: New file.
1213 * intrinsics/unpack_generic.c: New file.
1214 * Makefile.am: Add them. Regenerate Makefile.in.
1216 2003-03-25 Paul Brook <paul@nowt.org>
1218 * intrinsics/eoshift0.c: New file.
1219 * intrinsics/eoshift2.c: New file.
1220 * m4/eoshift1.m4: New file.
1221 * m4/eoshift3.m4: New file.
1222 * Makefile.am: Add them.
1223 * in_unpack_generic.c: Initialize src.
1224 Regenerate generated files.
1226 2003-03-14 Paul Brook <paul@nowt.org>
1228 * m4/shape.m4: Work properly with array temporaries.
1229 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1230 * runtime/in_pack_generic.c: Ditto.
1232 2003-03-12 Paul Brook <paul@nowt.org>
1234 * m4/shape.m4: Work properly with noncontiguous arrays.
1236 2003-03-08 Paul Brook <paul@nowt.org>
1238 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1239 * runtime/in_pack_generic.c: Ditto.
1241 2003-02-08 Paul Brook <paul@nowt.org>
1243 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1244 * io/close.c (st_close): Return void.
1245 * io/open.c (st_open): Return void.
1246 * libgfor.h (g95_array_char): Declare.
1247 (internal_malloc_size): Ditto.
1248 (internal_pack*, internal_unpack*): Ditto.
1249 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1251 * m4/in_unpack.m4: Include file fixes.
1252 * m4/reshape.m4: Increment the correct source pointer.
1253 * Makefile.am (maxloc): Fix typo.
1254 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1255 storage if neccessary. Fix logic for packed arrays.
1256 * runtime/in_unpack_generic.c: Call optimized functions.
1257 * runtime/main.c: Use runtime_error to report errors.
1258 * memory.c (internal_malloc_size): Make non-static.
1260 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1262 * reshape_packed.c, lock.c: Add #include <string.h>.
1263 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1264 environ.c, error.c, memory.c, string.c: Add const.
1265 * error.c (show_locus): Add void.
1267 2003-02-21 Paul Brook <paul@nowt.org>
1269 * m4/in_pack.m4: Avoid returning const * parameter.
1270 * Makefile.am: Only regenerate files in maintainer mode.
1272 2003-02-20 Paul Brook <paul@nowt.org>
1274 Add array repacking support functions.
1275 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1276 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1277 * Makefile.am: Build them. Regenerate configury files.
1278 * generated/: New directory for generated files (need to move
1279 everything else there).
1281 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1283 * m4/cexp.m4: Fix typo.
1285 2003-01-26 Paul Brook <paul@nowt.org>
1287 * intrinsics/: Add missing generated files.
1289 2003-01-26 Paul Brook <paul@nowt.org>
1291 * Makefile.am: Put -I before the filename.
1293 2003-01-24 Paul Brook <paul@nowt.org>
1295 * configure.in: Add AM_MAINTAINER_MODE.
1297 2003-01-23 Paul Brook <paul@nowt.org>
1299 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1301 Also regenerate other configury files.
1303 2003-01-21 Paul Brook <paul@nowt.org>
1305 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1307 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1309 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1310 Don't include "alloca.h".
1312 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1314 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1315 * Makefile.am: Adjust file name.
1316 * Makefile.in: Regenerate.
1317 * gfortypes.h: Kill, include everything in...
1318 * libgfor.h: ...here. Include config.h
1319 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1320 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1321 intrinsics/reshape_packed.c, intrinsics/size.c,
1322 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1323 for prefix for all functions instead of hardcoded.
1325 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1327 * io/lock.c (library_end): Propagate library return
1330 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1332 Port fixes from Andy's tree:
1333 * io/read.c (read_decimal): Reverse sense of overflow
1334 comparison during integer reads.
1335 * io/format.c (revert): Fix comment.
1336 (next_format): Fix format revision.
1337 * io/unix.c: Fix and simplify mmap version of stream
1340 2003-01-11 Paul Brook <paul@nowt.org>
1342 * configure, Makefile.in: Regenerate.
1344 2003-01-11 Paul Brook <paul@nowt.org>
1346 * runtime/stop.c: Rewrite.
1348 2003-01-08 Paul Brook <paul@nowt.org>
1350 * configure, Makefile.in: Regenerate.
1352 2003-01-05 Paul Brook <paul@nowt.org>
1354 * (*.m4) Move to m4/.
1355 * intrinsics/string.c (_gfor_string_index): New Function.
1357 2002-12-29 Paul Brook <paul@nowt.org>
1359 * intrinsics/reshape.*: New files.
1360 * gcc_config.patch: Update to new GCC configure system.
1362 2002-10-10 Paul Brook <paul@nowt.org>
1364 * intrinsics/size.c: New file.
1365 * intrinsics/shape.m4: New file.
1366 * Makefile.am: Add above files.
1368 2002-10-02 Paul Brook <paul@nowt.org>
1370 * fmain.c (main): Move here.
1371 * libgfor.c: From here.
1372 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1373 * Makefile.am: Build libgforbegin.
1374 * gcc_config.patch: Remove stray -march=athlon.
1375 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1376 * ifunction.m4: Move variable declarations to allow compilation with
1378 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1379 * README: Document use of patch -p1.
1381 2002-09-12 Paul Brook <paul@nowt.org>
1383 * math/*: Add complex math library functions.
1384 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1385 * Makefile.am: Add details for above.
1386 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1388 2002-09-09 Paul Brook <paul@nowt.org>
1390 * libgfor.c (determine_endianness): Use an array rather than a struct.
1391 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1393 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1395 * libgfor.c: Add fatal signal handler.
1396 Romove superfluous abort() calls.
1398 2002-09-07 Paul Brook <paul@nowt.org>
1400 * Makefile.am, intrinsics: Major rewrite.
1402 2002-09-02 Paul Brook <paul@nowt.org>
1404 * Makefile.am: Added -I$(srcdir) to m4 rule.
1406 2002-08-30 Paul Brook <paul@nowt.org>
1408 * io/*: Integrated libgforio.
1409 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1410 intrinsics in the intrisics directory.
1411 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1412 filename. Add 'and' and 'all' intrinsics.
1414 2002-08-17 Paul Brook <paul@nowt.org>
1416 * ALL: First release as more than just a single file