1 2004-11-18 Victor Leikehman <lei@il.ibm.com>
3 * m4/matmul.m4: Loops reordered to improve cache behavior.
4 * generated/matmul_??.c: Regenerated.
6 2004-11-10 Paul Brook <paul@codesourcery.com>
9 * configure.ac: Check for strtof.
10 * configure: Regenerate.
11 * config.h.in: Regenerate.
12 * io/read.c (convert_real): Use strtof if available.
13 (convert_precision_real): Remove.
14 (read_f): Avoid poor exponentiation algorithm.
16 2004-11-05 Andreas Schwab <schwab@suse.de>
18 * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
19 AC_PROG_F77, F77 and FFLAGS.
20 * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
21 FCCOMPILE instead of F77COMPILE.
22 * configure, Makefile.in: Regenerate.
24 2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
26 * acinclude.m4: Properly quote AC_CACHE_CHECK.
27 * Makefile.am: Add in ACLOCAL_AMFLAGS.
28 * aclocal.m4, configure, Makefile.in: Regenerate.
30 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
32 * config.h.in: Regenerate.
33 * configure: Regenerate.
34 * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
35 * io/unix.c (S_IRGRP): Define if undefined.
39 (tempfile): Use mktemp if mkstemp missing, fix typos.
41 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
43 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
45 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
47 * intrinsics/rand.c (irand): Handle NULL argument.
49 2004-10-07 Paul Brook <paul@codesourcery.com>
51 * io/transfer.c (finalize_transfer): Free internal streams.
52 * io/unix.c (mem_close): Free stream object.
54 2004-10-07 Paul Brook <paul@codesourcery.com>
56 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
59 2004-10-06 Paul Brook <paul@codesourcery.com>
62 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
64 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
66 * intrinsics/mvbits.c: Commit the file.
68 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
71 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
72 if not done by caller.
73 (__pack_s): New function.
74 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
75 allocating zero memory.
78 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
79 * Makefile.in: Regenerate.
80 * intrinsics/mvbits.h: New file.
83 * intrinsics/system.c: New file.
84 * Makefile.am: Add dependency for the new file.
85 * Makefile.in: Regenerate.
87 2004-10-04 Paul Brook <paul@codesourcery.com>
88 Bud Davis <bdavis9659@comcast.net>
92 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
94 * io/write.c (output_float): Don't output minus zero.
96 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
98 * intrinsics/abort.c ("libgfortran.h"): Move.
99 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
100 * intrinsics/write.c ("libgfortran.h"): Same.
102 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
105 * config.h.in (HAVE_POWF): Undefine.
106 * configure.ac: Check for 'powf' in library.
107 * configure: Regenerate.
108 * intrinsics/c99_functions.c (powf): New function.
110 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
112 * intrinsics/etime.c (etime_): New function.
114 2004-09-21 Steven G. Kargl <kargls@comcast.net>
116 * libgfortran.h: define gfc_alloca()
117 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
119 2004-09-21 Bud Davis <bdavis9659@comcast.net>
122 * io/list_read.c (namelist_read): ignore spaces after
123 the '=' for namelist reads.
125 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
127 * config.h.in: Regenerate.
128 * configure: Regenerate.
129 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
130 * unix.c: Include stdio.h.
131 (HAVE_SYS_MMAN_H): Check.
132 (PROT_READ, PROT_WRITE): Provide default definitions.
134 2004-09-15 Steven G. Kargl <kargls@comcast.net>
136 * intrincics/getcwd.c: New file.
137 * Makefile.am: Add getcwd.c.
138 * Makefile.in: Regenerated.
140 2004-09-15 Steven G. Kargl <kargls@comcast.net>
141 Paul Brook <paul@codesourcery.com>
143 * intrinsics/env.c (getenv, get_environmental_variable): Remove
144 trailing white space. Use alloca. Honour trim_name.
146 2004-09-13 Bud Davis <bdavis9659@comcast.net>
150 * io/list_read.c (list_formatted_read): Handle trailing spaces
153 2004-09-06 Steven G. Kargl <kargls@comcast.net>
155 * io/write.c (output_float): Typo in comment. Remove debugging
156 printf. Fix format for FP of form 1e10.
158 2004-09-03 Richard Henderson <rth@redhat.com>
160 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
161 copy_loop_double, copy_loop_ldouble): New.
162 (__cshift0): Make shift type ssize_t. Use % operator instead of
163 div. Use specialized versions of copy loop depending on the shape.
165 2004-09-02 Paul Brook <paul@codesourcery.com>
167 * io/format.c (parse_format_list): Set repeat count for P descriptors.
168 * write.c (output_float): Fix condition. Correctly handle nonzero
171 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
173 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
174 * mk-srk-inc.sh: Likewise.
176 2004-09-01 Paul Brook <paul@codesourcery.com>
178 * runtime/error.c (generate_error): Set both iostat and
181 2004-08-31 Paul Brook <paul@codesourcery.com>
184 * io/list_read.c (next_char): Don't signal EOF for internal files.
185 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
187 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
189 * io/unit.c: Separate copyright years by ','.
190 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
191 Remove blank line in beginning of function.
192 (get_unit): Simplify code.
194 2004-08-31 Paul Brook <paul@codesourcery.com>
196 * io/unit.c (get_unit): Remove superfluous if.
198 2004-08-31 Paul Brook <paul@codesourcery.com>
200 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
201 (finalize_transfer): Move setjmp after namlist IO.
202 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
204 2004-08-31 Paul Brook <paul@codesourcery.com>
206 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
208 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
210 * libgfortran.h: Replace 'gfc_strlen_type' by
211 'gfc_charlen_type'. Update comment accordingly.
212 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
213 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
215 2004-08-31 Paul Brook <paul@codesourcery.com>
217 * libgfortran.h: Add comments.
219 2004-08-30 Richard Henderson <rth@redhat.com>
221 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
222 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
223 (selected_int_kind.inc selected_real_kind.inc): New rules.
224 * Makefile.in: Regenerate.
225 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
226 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
227 include table of detected kinds.
228 * intrinsics/selected_real_kind.f90: Similarly.
230 2004-08-29 Steven G. Kargl <kargls@comcast.net>
231 Paul Brook <paul@codesourcery.com>
233 * intrinsics/bessel.c: New file.
234 * intrinsics/erf.c: New file.
235 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
236 * configure.ac: Test for C99 Bessel and Error functions.
237 * Makefile.in: Regenerate.
238 * config.h.in: Regenerate.
239 * configure: Regenerate.
241 2004-08-29 Steven G. Kargl <kargls@comcast.net>
242 Paul Brook <paul@codesourcery.com>
244 * Makefile.am: Add intrinsics/getXid.c.
245 * configure.ac: Add tests for get{g,p,u}id.
246 * config.h.in: Regenerate.
247 * Makefile.in: Regenerate.
248 * configure: Regenerate.
250 2004-08-28 Paul Brook <paul@codesourcery.com>
253 * libgfortran.h (rtoa): Remove prototype.
254 * runtime/error.c (rtoa): Remove.
255 * io/write.c (calculate_G_format): Don't add blanks if E format is
256 used. Add correct number of blanks when exponent width is specified.
257 (output_float): Rewrite.
259 2004-08-27 Paul Brook <paul@codesourcery.com>
261 * io/rewind.c (st_rewind): Reset unit to read mode.
263 2004-08-27 Bud Davis <bdavis9659@comcast.net>
266 * io/io.h: created typedef for unit_mode.
267 * io/io.h (gfc_unit): added mode to unit structure.
268 * io/transfer.c (data_transfer_init): flush if a write then
269 read is done on a unit (direct access files).
270 * io/rewind.c (st_rewind): Used unit mode instead of global.
272 2004-08-24 Bud Davis <bdavis9659@comcast.net>
275 * runtime/error.c (itoa): keep from overflowing during
276 mod operation by using unsigned variable.
278 2004-08-24 Bud Davis <bdavis9659@comcast.net>
281 * runtime/string_intrinsics.c (string_index):check for
282 substring longer than string.
284 2004-08-24 David Edelsohn <edelsohn@gnu.org>
286 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
287 * Makefile.in: Rebuilt.
289 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
291 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
292 Fix formatting issues, update copyright years.
294 2004-08-21 Bud Davis <bdavis9659@comcast.net>
297 * io/transfer.c (next_record_w): Do not blank pad.
298 * io/transfer.c (next_record): Take into account partial records.
300 2004-08-18 Victor Leikehman <lei@il.ibm.com>
303 * io/transfer.c (st_set_nml_var)
304 * io/write.c (namelist_write): Allow var_name and var_name_len to be
305 null. For strings, use string_length field instead of len.
306 * io/io.h (struct namelist_type): New field string_length.
307 (st_set_nml_var_char): New argument string_length.
309 2004-08-13 Bud Davis <bdavis9659@comcast.net>
312 * io/open.c (st_open): use flags instead of the unit structure.
314 2004-08-10 Victor Leikehman <lei@il.ibm.com>
316 * io/list_read.c (namelist_read): Convert variable names
317 to lower case, so that mixed-case names are recognized.
318 Don't read beyond terminating slash.
320 2004-08-09 Richard Henderson <rth@redhat.com>
321 Roger Sayle <roger@eyesopen.com>
323 * intrinsics/c99_functions.c (nextafterf): New implementation that
324 works correctly with denormalized numbers.
326 2004-08-09 Victor Leikehman <lei@il.ibm.com>
328 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
329 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
330 Allocate space if return value has NULL in its data field.
331 * generated/*.c: Regenerate.
333 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
335 * intrinsics/env.c: New file.
336 * Makefile.am: Add env.c to build.
337 * Makefile.in: Regenerate.
339 2004-08-05 Victor Leikehman <lei@il.ibm.com>
342 * io/read.c (read_radix): Understand letters f and F as hex digits.
344 2004-08-04 Victor Leikehman <lei@il.ibm.com>
346 * libgfortran.h (array_t, size0) New declarations.
347 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
348 space if return value descriptor has NULL in its data field,
349 and initialize bounds and stride.
350 * intrinsics/size.c (array_t, size0): Declarations moved to
352 * generated/*.c: Regenerate.
354 2004-08-03 Roger Sayle <roger@eyesopen.com>
357 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
358 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
359 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
360 * config.h.in: Regenerate.
361 * configure: Regenerate.
363 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
364 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
365 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
366 implementations for targets that don't support C99 float functions.
368 2004-08-01 Roger Sayle <roger@eyesopen.com>
370 * io/write.c (write_float): Use the slightly more portable isnan
371 in preference to isinf.
373 2004-07-18 Bud Davis <bdavis9659@comcast.net>
375 * configure.ac: Add check for LFS support.
376 * configure: Regenerate
378 2004-07-11 Paul Brook <paul@codesourcery.com>
381 * m4/cexp.m4 (carg): Return -pi to pi.
382 * generated/exp_c?.c: Regenerate.
384 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
387 * libgfortran/io/write.c: (write_float): Added length check.
388 Remove pointless memset calls.
390 2004-07-04 Bud Davis <bdavis9659@comcast.net>
391 Paul Brook <paul@codesourcery.com>
394 * io/transfer.c(us_write): set recl for seq unform writes to max size.
395 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
396 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
398 * io/unix.c(is_seekable): set based upon the file/device, not the
399 method being used to access it (fd or mmap).
400 * io/unix.c(fd_flush): don't set file_size if !seekable.
401 * io/unix.c(fd_truncate: ditto.
403 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
404 Paul Brook <paul@codesourcery.com>
408 * libgfortran.h (gfc_strlen_type): Define.
409 * intrinsics/args.c (getarg): Rename ...
410 (getarg_i4): ... to this.
411 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
412 get_command_i4, get_command_i8): New functions.
414 2004-07-04 Matthias Klose <doko@debian.org>
416 * libtool-version: New.
417 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
418 * Makefile.in: Regenerate.
419 * configure.ac: Remove libtool_VERSION macro
420 * configure: Regenerate
422 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
423 Steven Bosscher <stevenb@suse.de>
425 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
428 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
429 Paul Brook <paul@codesourcery.com>
431 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
433 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
435 2004-06-27 Bud Davis <bdavis9659@comcast.net>
438 * io/write.c (write_float): check signbit for Infinity.
440 2004-06-26 Bud Davis <bdavis9659@comcast.net>
443 * unix.c(regular_file): create file if it does not exist.
445 2004-06-24 Andrew Pinski <apinski@apple.com>
447 * configure.ac: Remove check for libmx.
448 * configure: Regenerate.
450 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
453 * inquire.c (st_inquire): Add comment
454 * io.h (st_parameter): Add iolength.
455 (st_iolength, st_iolength_done): Declare.
456 * transfer.c (iolength_transfer, iolength_transfer_init,
457 st_iolength, st_iolength_done): New functions.
459 2004-06-21 Steven G. Kargl <kargls@comcast.net>
461 * etime.c (etime_sub): Remove array rank check;
462 Add check for sufficient space.
464 2004-06-19 Bud Davis <bdavis9659@comcast.net>
467 * io/list_read.c(set_value): fixed spelling.
469 2004-06-19 Bud Davis <bdavis9659@comcast.net>
472 * io/list_read.c(set_value): don't copy if the string is null.
474 2004-06-14 Bud Davis <bdavis9659@comcast.net>
477 * intrinsics/c99_functions.c: Use fpclassify if it exists.
479 2004-06-13 Paul Brook <paul@codesourcery.com>
481 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
482 * configure.ac: Add checks for nextafter and nextafterf.
483 * Makefile.in, config.h.in, configure: Regenerate.
484 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
485 * intrinsics/rand.c (rand): Use normalize_r4_i4.
486 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
487 (random_r8): Use normalize_r8_i8.
488 * runtime/normalize.c: New file.
490 2004-06-13 Steven G. Kargl <kargls@comcast.net>
491 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
493 * random.c: Fix several spelling and formatting mistakes in
495 (random_r8): Fix loop to make random numbers range in [0,1(.
498 2004-06-13 Steven G. Kargl <kargls@comcast.net>
500 * random.c (random_r4): Burn a random number.
501 (random_r8): fix infinite loop.
503 2004-06-12 Bud Davis <bdavis9659@comcast.net>
504 Steve Kargl <sgk@troutmask.apl.washington.edu>
507 * intrinsics/c99_functions.c: New file.
508 * Makefile.am: Add new file.
509 * configure.ac: Added test for round/roundf.
510 * Makefile.in: Regenerate.
511 * configure: Regenerate.
512 * configure.h.in: Regenerate.
514 2004-06-12 Steven G. Kargl <kargls@comcast.net>
516 * Makefile.am: Add rand.c and etime.c
517 * Makefile.in: Regenerated.
518 * aclocal.in: Regenerated.
519 * cpu_time.c (second_sub, second): New functions.
520 * rand.c (irand, rand, srand): New file.
521 * etime.c (etime_sub, etime): New file.
523 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
524 Steven Bosscher <stevenb@suse.de>
527 * intrinsics/date_and_time.c: New file.
528 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
529 * Makefile.in, aclocal.m4: Regenerate.
530 * libgfortran.h: Prototype date_and_time().
532 2004-06-12 Bud Davis <bdavis9659@comcast.net>
535 * intrinsics/args.c: Implement GETARG and IARGC.
536 * Makefile.am: Add it.
537 * Makefile.in: Regenerate.
539 2004-06-12 Bud Davis <bdavis9659@comcast.net>
542 * io/write.c(write_float): Format inf and nan IAW F2003.
544 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
547 * io/transfer.c (formatted_transfer): position is unique
548 for T and TL edit descriptors.
549 (data_transfer_init): set record length to size of internal
552 2004-06-09 Bud Davis <bdavis9659@comcast.net>
555 * io/backspace.c(st_backspace): call correct routine for
556 formatted and un-formatted units.
558 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
561 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
562 (lib_LTLIBRARIES): Rename to ...
563 (toolexeclib_LTLIBRARIES): this for multilib support.
564 * configure.in: Rename to ...
565 * configure.ac: this. Update to modern autoconf style, enable
566 multilibs, support --enable-version-specific-runtime-libs.
567 * Makefile.in: Regenerated.
568 * configure: Regenerated.
569 * aclocal.m4: Regenerated.
571 2004-05-30 Steven G. Kargl <kargls@comcast.net>
573 * libgfortran.h (random_seed): Update prototype.
574 * intrinsics/random.c: Disable old implementation and add new one.
576 2004-05-30 Andreas Jaeger <aj@suse.de>
578 * intrinsics/random.c: Include unistd.h for close and read
579 prototypes, remove unneeded inclusion of assert.h.
581 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
582 unneeded inclusion of assert.h.
584 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
587 * intrinsics/associated.c: Remove enum.
588 (associated): Replace TRUE/FALSE by 1/0.
590 2004-05-23 Steven G. Kargl <kargls@comcast.net>
592 * random.c (random_seed): Use correct variable.
594 2004-05-22 Steven G. Kargl <kargls@comcast.net>
596 * intrinsics/system_clock: New file.
597 * Makefile.am: Add intrinsics/system_clock.c.
598 * Makefile.in: Regenerate.
600 2004-05-21 Roger Sayle <roger@eyesopen.com>
602 * io/format.c (parse_format_list): Allow the comma after a string
603 literal to be optional.
605 2004-05-18 Paul Brook <paul@codesourcery.com>
606 Feng Wang <fengwang@nudt.edu.cn>
608 * Makefile.am (i_pow_c): Set it. Add build rule.
609 (gfor_built_src): Use it.
610 (m4_files): add m4/pow.m4.
611 * Makefile.in: Regenerate.
612 * m4/pow.m4: New file.
613 * generated/pow_*.c: Regenerate.
615 2004-05-18 Paul Brook <paul@codesourcery.com>
617 * Makefile.am: Remove references to types.m4.
618 * m4/iparm.m4: Merge with types.m4.
619 * m4/types.m4: Remove.
620 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
621 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
622 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
623 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
624 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
625 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
626 Update to use new iparm.m4.
627 * generated/*.c: Regenerate.
629 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
632 * gfortran.h (offset_t): Rename to ...
633 (gfc_offset): ... this.
634 * io/backspace.c (formatted_backspace, unformatted_backspace),
635 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
636 transfer.c (us_read, us_write, next_record_r, next_record_w),
637 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
638 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
639 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
640 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
641 occurences of offset_t by gfc_offset.
643 2004-05-16 Paul Brook <paul@codesourcery.com>
645 * io/format.c (write_real): Don't include padding in format.
647 2004-05-16 Paul Brook <paul@codesourcery.com>
649 * io/format.c (format_lex): Make c an int.
651 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
652 Paul Brook <paul@codesourcery.com>
654 * io/write.c (write_logical): Don't print extra blank.
655 (write_integer): Base field width on kind.
656 (list_formatted_write): Output initial blank.
658 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
660 * io/io.h (flush): Add prototype.
661 * io/transfer.c (finalize_transfer): Flush partial records.
662 * io/unix.c (flush): New function.
664 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
667 * io/io.h (unit_t): Rename to ...
669 (unit_root, current_unit, find_file, find_unit, get_unit): Now
671 (delete_file, insert_unit, close_unit): Argument now of type
673 * backspace.c (st_backspace), close.c (st_close), endfile.c
674 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
675 (test_endfile, edit_modes, new_unit, already_open, st_open),
676 rewind.c (st_rewind), transfer.c (current_unit), unit.c
677 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
678 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
679 get_unit, init_units, close_unit), unix.c (find_file0,
680 find_file, delete_file): Replace all occurences of unit_t by
683 2004-05-15 Bud Davis <bdavis9659@comcast.net>
686 * io/write.c (write_a): right justify A edit output.
688 2004-05-14 Bud Davis <bdavis9659@comcast.net>
691 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
692 * runtime/main.c(init): Call random_seed as part of MAIN init.
694 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
696 * io/format.c: (parse_format_list): No comma is required after
699 2004-05-13 Bud Davis <bdavis9659@comcast.net>
702 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
704 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
705 Steven Bosscher <stevenb@suse.de>
708 * libgfortran.h: Include <inttypes.h> if available.
710 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
712 * io/unix.c (MAP_FAILED): Define if missing.
713 (mmap_alloc): Cast MAP_FAILED to char *.
714 (mmap_open): Likewise.
716 2004-04-26 Bud Davis <bdavis9659@comcast.net>
718 * generated/_abs_i8.f90: New file.
719 * generated/_abs_c4.f90: New file.
720 * generated/_abs_c8.f90: New file.
721 * Makefile.am: Add them.
722 * Makefile.in: Regenerate.
724 2004-04-26 Bud Davis <bdavis9659@comcast.net>
727 * generated/_abs_i4.f90: New file.
728 * Makefile.am: Add it.
729 * Makefile.in: Regenerate.
731 2004-04-25 Bud Davis <bdavis9659@comcast.net>
734 * io/list_read.c(list_formatted_read): finish consuming the
735 spaces and seperators at eoln to get ready for next item.
737 2004-04-23 Bud Davis <bdavis9659@comcast.net>
740 * io/read.c(read_a): Handle field width > destination and no field width.
742 2004-04-22 Bud Davis <bdavis9659@comcast.net>
745 * io/format.c (format_item): gracefully handle a ')'
746 when it is the first character encountered in the string.
748 2004-04-11 Bud Davis <bdavis9659@comcast.net>
751 * io/transfer.c (next_record): Update last_record when
752 more than one record is written to a direct access file
753 with one write statement.
755 2004-04-11 Bud Davis <bdavis9659@comcast.net>
758 * io/transfer.c (next_record_w) : No '\n' if internal.
759 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
761 2004-04-11 Bud Davis <bdavis9659@comcast.net>
763 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
764 Will need to change this later to support direct access files > 2gb.
766 2004-04-03 Bud Davis <bdavis9659@comcast.net>
769 * io/transfer.c (next_record_r) : Skip to next record.
771 2004-04-03 Bud Davis <bdavis9659@comcast.net>
774 * io/transfer.c (next_record): Update last_record for DIRECT
776 2004-04-03 Bud Davis <bdavis9659@comcast.net>
779 * io/unix.c (find_file0): Use fd field of struct
781 2004-04-03 Bud Davis <bdavis9659@comcast.net>
784 * io/inquire.c (inquire_via_unit): Changed return string for
785 BLANK=NULL. Use correct variable for ACTION.
787 2004-04-01 Bud Davis <bdavis9659@comcast.net>
790 * io/read.c (read_f): Allow a decimal without a leading digit.
791 * io/write.c (output_float): remove a leading '0' to keep from
792 overflowing the field (F edit descriptor).
794 2004-04-01 Bud Davis <bdavis9659@comcast.net>
797 * io/open.c (new_unit),
798 * io/io.h : new_unit is now visible
799 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
800 * io/transfer.c (data_transfer_init): remove compile warnings.
801 * io/rewind.c (st_rewind): ftruncate if writing.
803 2004-03-24 Bud Davis <bdavis9659@comcast.net>
805 * write.c (write_l): Use extract_int for 'L' edit descriptor.
807 2004-03-24 Bud Davis <bdavis9659@comcast.net>
810 * io/io.h (global_t):
811 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
812 Move eof_jmp to a global structure.
813 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
815 2004-03-24 Bud Davis <bdavis9659@comcast.net>
817 * m4/cexp.m4 (csqrt): Actually use the passed value.
818 * generated/exp_c?.c: Regenerate.
820 2004-03-24 Bud Davis <bdavis9659@comcast.net>
823 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
824 * open.c (new_unit): Moved test for positioned direct access error.
825 (init_units): Corrected calculation of max records.
827 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
829 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
830 * Makefile.in: Regenerate.
831 * m4/dotprodc.m4: New file. Implement complex dot_product.
832 * m4/dotprod.m4: Delete the complex implementation.
833 * generated/dotprod_*: Update.
835 2004-02-07 Bud Davis <bdavis9659@comcast.net>
837 * transfer.c (write_constant_string): Do not delete H's in hollerith
840 2004-01-05 Andrew Pinski <apinski@apple.com>
842 * configure.in: Check for csin in -lmx also.
843 * configure: Regenerate.
845 2004-01-01 Paul Brook <paul@codesourcery.com>
847 * io/list_read.c (find_nml_node): Make static.
848 (match_namelist_name): Ditto.
849 * io/read.c (convert_precision_real): Make static, fix spelling.
850 * io/transfer.c (extract_real): Remove unused prototype.
851 (st_set_nml_var): Make static.
852 * io/write.c (extract_real): Make static.
854 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
856 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
858 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
860 * io/transfer.c (data_transfer_init): Give a runtime error for list
861 formatted reads and writes from/to files opened for unformatted IO.
863 2003-11-30 Paul Brook <paul@nowt.org>
865 * runtime/memory.c (push_context): Remove.
866 (pop_context): Remove.
867 * libgfortran.h: Remove prototypes.
869 2003-11-27 Paul Brook <paul@nowt.org>
871 * runtime/memory.c (deallocate): Nullify pointer after freeing.
873 2003-11-27 Paul Brook <paul@nowt.org>
875 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
876 * libgfortran.h: Ditto.
877 * m4/in_pack.m4: Ditto.
878 * runtime/in_pack_generic.c: Ditto.
879 * runtime/memory.c: Ditto.
881 2003-11-26 Richard Henderson <rth@redhat.com>
883 * m4/exponent.m4, m4/fraction.m4: New.
884 * m4/nearest.m4, m4/set_exponent.m4: New.
885 * generated/*: Update.
886 * Makefile.am: Add them.
887 (AM_CFLAGS): New. Use -std=gnu99.
888 * Makefile.in: Regenerate.
890 2003-11-08 Paul Brook <paul@nowt.org>
893 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
894 * m4/maxloc1.m4: Ditto.
895 * m4/minloc0.m4: Ditto.
896 * m4/minloc1.m4: Ditto.
897 * m4/ifunction.m4: Set return value for zero sized arrays.
898 * m4/iforeach.m4: Ditto.
899 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
900 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
901 * generated/*: Update.
903 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
906 * io/list_read.c (eat_spaces): Treat tab as space.
908 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
910 * intrinsics/random.c: Add reference to paper containing algorithm.
911 (random_seed): Extra error checking and proper handling of arrays.
912 (arandom_r4, arandom_r8): Implement.
914 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
917 * runtime/memory.c (allocate_size): Allow allocation
918 of zero-sized objects.
920 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
923 * open.c (new_unit): Open without a file name opens
924 a file with name fort.<unit>.
926 2003-10-12 Feng Wang <wf_cs@yahoo.com>
928 * intrinsics/cshift0.c: New file.
929 * m4/cshift1.m4: New file
930 * generated/cshift*.c: New files.
931 * Makefile.am: Add them.
932 * Makefile.in: Regenerate.
934 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
936 * io/list_read.c (read_character): Remove unwanted call to free_saved.
938 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
940 * intrinsics/string_intrinsics.c (string_trim): New function.
941 (string_repeat): New function.
943 2003-10-11 Paul Brook <paul@nowt.org>
945 * intrinsics/dprod_r8.f90: New file.
946 * Makefile.am (gfor_specific_src): Add it.
947 (gfor_built_specific_src): Rename from gfor_build_specific_c.
949 (gfor_specific2_src): Rename from gfor_built_specific2_c.
951 * Makefile.in: Regenerate.
952 * generated/_aint_*.f90: New files.
953 * generated/_anint*.f90: New files.
954 * generated/_atan2*.f90: New files.
955 * generated/_mod*.f90: New files.
957 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
959 * intrinsics/selected_kind.f90: New file.
960 * Makefile.am: Add it.
961 * Makefile.in: regenerate.
963 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
964 Paul Brook <paul@nowt.org>
966 * intrinsics/random.c: New file.
967 * Makefile.am (gfor_hemper_src): Add it.
968 (gfor_specific_c): Fix typo.
970 2003-09-19 Paul Brook <paul@nowt.org>
972 * All: rename g95->gfc.
974 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
976 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
978 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
980 * io/write.c (write_float): Dectection of positive infinite number,
981 Not a Number(NaN) and negative infinite number.
982 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
983 output a very_very small number ( < 0.1e-100 ).
985 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
987 * libgfortran.h (xtoa, itoa): Parameter modified.
988 * io/io.h (namelist_info): Declaration to support namelist I/O
989 (st_parameter): Add namelist related component
990 (ionml, empty_internal_buffer, st_set_nml_var_int,
991 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
992 st_set_nml_var_log): Declaration
993 (set_integer, set_integer): Parameter changed
994 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
996 (parse_format_list): Fix bug about FMT_SLASH
997 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
998 newly allocated saved_string
999 (next_char): Add detection of End_Of_Line support
1000 (convert_integer): Now can process 64 bits interger
1001 (read_real): Bug fixed
1002 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1003 (match_namelist_name): New implemention
1004 * io/lock.c (ionml): New global variable
1005 (library_end): Free memory in ionml
1006 * io/open.c (st_open): Variable initializtion
1007 * io/read.c (max_value): 64 bits interger support
1008 (convert_precsion_real): New procedure to replace "strtod" with more
1010 (read_f, read_radix): Input bug fix
1011 * io/transfer.c: (sf_seen_eor): New static variable
1012 (read_sf): Zeroize base buffer; fix bugs: single read statement can
1013 not get input in mutli line when read from stdin
1014 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1016 (data_transfer_init): Clear internal buffer for Internel File I/O.
1017 Internal File now worked. Detect some error condition for namelist.
1019 (next_record_w): Internal file and Namelist I/O support.
1020 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1021 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1022 * io/unit.c (implicit_unit): Deletion
1023 (get_unit): Now cannot open a unit implicitly.
1024 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1026 (mem_alloc_r_at): Internal file I/O support added
1027 (empty_internal_buffer): New function
1028 * io/write.c (extract_int): Support 64 bits interger processing
1029 (output_float): Varibale initialization
1030 (write_float): Infinite real number detection.
1031 (write_int): 64 bits integer I/O support
1032 (write_decimal): New function to output decimal number
1033 (otoa, btoa): Better implemention and 64 bits interger support
1034 (namelist_write): New function
1035 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1038 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1040 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1041 get_mem ): Add attribute.
1042 * intrinsics/spread_generic.c (__spread): Fix spelling.
1043 * io/inquire.c (inquire_via_filename): Add const.
1044 * io/io.h (sys_exit): Add attribute.
1045 * io/io.h (move_pos_offset): Add move_pos_offset.
1046 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1047 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1048 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1049 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1050 write_z): Add const.
1051 * io/read.c (convert_real): Add const.
1052 * io/transfer.c (type_name): Add const.
1053 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1054 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1055 inquire_read, inquire_write, inquire_readwrite): Add const.
1056 * io/write.c (output_float): Remove unused variable.
1057 * io/write.c (write_a, extract_int, extract_real, output_float,
1058 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1059 write_e, write_f, write_en, write_es, write_logical, write_integer,
1060 write_character, write_real, write_complex): Add const.
1061 * runtime/error.c (rtoa): Remove unused variable.
1062 * runtime/select.c (select_string): Add const.
1063 * runtime/stop.c (stop_string): Add const.
1065 2003-08-10 Paul Brook <paul@nowt.org>
1067 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1068 (FFLAGS): Add -fno-underscoring.
1069 * Makefile.in: Regenerate.
1070 * intrinsics/abort.c: New file.
1072 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1074 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1075 * libgfortran.h (init, cleanup): Remove declarations.
1076 (set_args): Add declaration.
1077 * runtime/main.c (init, cleanup): Make them static, and give them
1078 the constructor and destructor attributes.
1079 (set_args): New function.
1081 2003-08-10 Paul Brook <paul@nowt.org>
1083 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1084 on which string is longest.
1086 2003-08-10 Paul Brook <paul@nowt.org>
1088 * Makefile.am (EXTRA_DIST): Remove old files.
1089 * Makefile.in: Regenerate.
1091 2003-07-26 Paul Brook <paul@nowt.org>
1093 Rename library to libgfortran.
1094 * libgfortran.h: Change prefix to _libgfortran_.
1096 2003-07-24 Paul Brook <paul@nowt.org>
1098 * configure.in: Don't pull in system libtool. Use toplevel
1101 2003-07-22 Paul Brook <paul@nowt.org>
1103 Regenerate all configury files.
1105 2003-07-09 Chun Huang <compiler@sohu.com>
1107 * intrinsics/string_intrinsic.c (string_scan): New function.
1108 (string_verify): New function.
1110 2003-06-25 Paul Brook <paul@nowt.org>
1112 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1113 (mem_seek): Don't bother setting physical_offset.
1115 2003-06-20 Paul Brook <paul@nowt.org>
1117 * libgfor.h (stop_numeric): Declare.
1118 * runtime/pause.c: New file.
1119 * Makefile.am: Add it.
1121 2003-06-08 Paul Brook <paul@nowt.org>
1123 * m4/cexp.m4 (cabs): Use correct typed version.
1124 (csqrt): New function.
1126 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1128 Spotted by Benjamin and Tobias:
1129 * io/list_read.c: Add Separator '\t'.
1130 (parse_real, read_real): Accept real values starting with an optional
1131 sign follows a decimal point.
1133 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1135 * Makefile.am: Don't put cmath objects in subdir.
1136 * configure.in: Rename MATHOBJ to MATH_OBJ.
1138 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1140 * intrinsics/associated.c: New file.
1141 * Makefile.am: Add it. Regenerate Makefile.in.
1142 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1143 G95_DESCRIPTOR_DTYPE.
1145 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1147 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1148 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1149 the scale_factor to 0 for F editing.
1151 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1153 * libgfor.h: Only include stdint.h if it exists.
1155 2003-05-07 Paul Brook <paul@nowt.org>
1157 * libgfor.h: Use stdint.h types.
1158 * intrinsics/ishift.c: Ditto.
1159 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1161 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1163 * libgfor.h (offsetof): Define if nobody else does.
1164 * runtime/memory.c (HEADER_SIZE): Use it.
1166 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1168 * configure.in: Require autoconf 2.54.
1170 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1171 Paul Brook <paul@nowt.org>
1173 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1175 * m4/transpose.m4: New file.
1176 * Makefile.am: Add them.
1177 Regenerate generated files.
1179 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1181 * io/format.c (parse_format_list): Allow 'X' without integer
1182 prefix. This is an extension. Interpretation is '1X'.
1184 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1186 * io/format.c (parse_format_list): Allow '0P'.
1188 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1190 * Makefile.in: Re-regenerate for automake 1.7.3.
1192 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1194 Port implementation for CHARACTER SELECT from Andy's tree.
1195 * runtime/select.c: New file
1196 * Makefile.am: Add it.
1197 * Makefile.in: Regenerate.
1199 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1201 * io/transfer.c (formatted_transfer): Modified
1202 * io/unix.c (move_pos_offset): New Function.
1203 * io/format.c (parse_format_list): Modified.
1205 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1207 * io/write.c (write_float,write_real): New implemention of
1208 FMT_G and default float editing.
1209 (calculate_exp,calculate_G_format,output_float): New Function.
1210 (write_float,write_real,write_logical): Modified
1211 * libgfor.h (default_rtoa): Remove Declaration.
1212 * runtime/error.c (default_rtoa): Remove Function.
1214 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1217 * io/write.c (extract_real): Add missing break statement.
1219 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1221 * cpu_time.c: Make sure we have a definition of HZ. Don't
1222 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1224 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1225 Paul Brook <paul@nowt.org>
1227 * configure.in: Check for process time headers and GETTIMEOFDAY.
1228 * makefile.am: Add intrinsics/cpu_time.c.
1229 * acinclude.m4: New file.
1230 * intrinsics/cpu_time.c: New file.
1231 * m4/dotprodl.m4: Fix typo.
1232 Regenerate generated files.
1234 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1236 * io/write.c (extract_real): Ouput floating point value.
1237 (write_float): New Function.
1238 (write_e, write_f, write_en, write_es): Modified
1239 * io/transfer.c (formatted_transfer): Modified.
1240 * libgfor.h (default_rtoa): Declaration.
1241 (rtoa): Declaration.
1242 * runtime/error.c (default_rtoa): New Function.
1243 (rtoa): New Function.
1245 2003-04-05 Paul Brook <paul@nowt.org>
1247 * intrinsics/spread_generic.c: New file.
1248 * Makefile.am: Add it. Regenerate Makefile.in.
1250 2003-03-29 Paul Brook <paul@nowt.org>
1252 * intrinsics/pack_generic.c: New file.
1253 * intrinsics/unpack_generic.c: New file.
1254 * Makefile.am: Add them. Regenerate Makefile.in.
1256 2003-03-25 Paul Brook <paul@nowt.org>
1258 * intrinsics/eoshift0.c: New file.
1259 * intrinsics/eoshift2.c: New file.
1260 * m4/eoshift1.m4: New file.
1261 * m4/eoshift3.m4: New file.
1262 * Makefile.am: Add them.
1263 * in_unpack_generic.c: Initialize src.
1264 Regenerate generated files.
1266 2003-03-14 Paul Brook <paul@nowt.org>
1268 * m4/shape.m4: Work properly with array temporaries.
1269 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1270 * runtime/in_pack_generic.c: Ditto.
1272 2003-03-12 Paul Brook <paul@nowt.org>
1274 * m4/shape.m4: Work properly with noncontiguous arrays.
1276 2003-03-08 Paul Brook <paul@nowt.org>
1278 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1279 * runtime/in_pack_generic.c: Ditto.
1281 2003-02-08 Paul Brook <paul@nowt.org>
1283 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1284 * io/close.c (st_close): Return void.
1285 * io/open.c (st_open): Return void.
1286 * libgfor.h (g95_array_char): Declare.
1287 (internal_malloc_size): Ditto.
1288 (internal_pack*, internal_unpack*): Ditto.
1289 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1291 * m4/in_unpack.m4: Include file fixes.
1292 * m4/reshape.m4: Increment the correct source pointer.
1293 * Makefile.am (maxloc): Fix typo.
1294 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1295 storage if neccessary. Fix logic for packed arrays.
1296 * runtime/in_unpack_generic.c: Call optimized functions.
1297 * runtime/main.c: Use runtime_error to report errors.
1298 * memory.c (internal_malloc_size): Make non-static.
1300 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1302 * reshape_packed.c, lock.c: Add #include <string.h>.
1303 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1304 environ.c, error.c, memory.c, string.c: Add const.
1305 * error.c (show_locus): Add void.
1307 2003-02-21 Paul Brook <paul@nowt.org>
1309 * m4/in_pack.m4: Avoid returning const * parameter.
1310 * Makefile.am: Only regenerate files in maintainer mode.
1312 2003-02-20 Paul Brook <paul@nowt.org>
1314 Add array repacking support functions.
1315 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1316 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1317 * Makefile.am: Build them. Regenerate configury files.
1318 * generated/: New directory for generated files (need to move
1319 everything else there).
1321 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1323 * m4/cexp.m4: Fix typo.
1325 2003-01-26 Paul Brook <paul@nowt.org>
1327 * intrinsics/: Add missing generated files.
1329 2003-01-26 Paul Brook <paul@nowt.org>
1331 * Makefile.am: Put -I before the filename.
1333 2003-01-24 Paul Brook <paul@nowt.org>
1335 * configure.in: Add AM_MAINTAINER_MODE.
1337 2003-01-23 Paul Brook <paul@nowt.org>
1339 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1341 Also regenerate other configury files.
1343 2003-01-21 Paul Brook <paul@nowt.org>
1345 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1347 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1349 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1350 Don't include "alloca.h".
1352 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1354 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1355 * Makefile.am: Adjust file name.
1356 * Makefile.in: Regenerate.
1357 * gfortypes.h: Kill, include everything in...
1358 * libgfor.h: ...here. Include config.h
1359 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1360 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1361 intrinsics/reshape_packed.c, intrinsics/size.c,
1362 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1363 for prefix for all functions instead of hardcoded.
1365 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1367 * io/lock.c (library_end): Propagate library return
1370 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1372 Port fixes from Andy's tree:
1373 * io/read.c (read_decimal): Reverse sense of overflow
1374 comparison during integer reads.
1375 * io/format.c (revert): Fix comment.
1376 (next_format): Fix format revision.
1377 * io/unix.c: Fix and simplify mmap version of stream
1380 2003-01-11 Paul Brook <paul@nowt.org>
1382 * configure, Makefile.in: Regenerate.
1384 2003-01-11 Paul Brook <paul@nowt.org>
1386 * runtime/stop.c: Rewrite.
1388 2003-01-08 Paul Brook <paul@nowt.org>
1390 * configure, Makefile.in: Regenerate.
1392 2003-01-05 Paul Brook <paul@nowt.org>
1394 * (*.m4) Move to m4/.
1395 * intrinsics/string.c (_gfor_string_index): New Function.
1397 2002-12-29 Paul Brook <paul@nowt.org>
1399 * intrinsics/reshape.*: New files.
1400 * gcc_config.patch: Update to new GCC configure system.
1402 2002-10-10 Paul Brook <paul@nowt.org>
1404 * intrinsics/size.c: New file.
1405 * intrinsics/shape.m4: New file.
1406 * Makefile.am: Add above files.
1408 2002-10-02 Paul Brook <paul@nowt.org>
1410 * fmain.c (main): Move here.
1411 * libgfor.c: From here.
1412 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1413 * Makefile.am: Build libgforbegin.
1414 * gcc_config.patch: Remove stray -march=athlon.
1415 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1416 * ifunction.m4: Move variable declarations to allow compilation with
1418 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1419 * README: Document use of patch -p1.
1421 2002-09-12 Paul Brook <paul@nowt.org>
1423 * math/*: Add complex math library functions.
1424 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1425 * Makefile.am: Add details for above.
1426 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1428 2002-09-09 Paul Brook <paul@nowt.org>
1430 * libgfor.c (determine_endianness): Use an array rather than a struct.
1431 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1433 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1435 * libgfor.c: Add fatal signal handler.
1436 Romove superfluous abort() calls.
1438 2002-09-07 Paul Brook <paul@nowt.org>
1440 * Makefile.am, intrinsics: Major rewrite.
1442 2002-09-02 Paul Brook <paul@nowt.org>
1444 * Makefile.am: Added -I$(srcdir) to m4 rule.
1446 2002-08-30 Paul Brook <paul@nowt.org>
1448 * io/*: Integrated libgforio.
1449 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1450 intrinsics in the intrisics directory.
1451 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1452 filename. Add 'and' and 'all' intrinsics.
1454 2002-08-17 Paul Brook <paul@nowt.org>
1456 * ALL: First release as more than just a single file