1 2004-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
4 * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
5 * configure.ac: Include LIBGFOR_TARGET_ILP32.
6 * configure: Regenerate.
7 * config.h.in: Likewise.
8 * libgfortran.h: Provide default definitions for C99 types
9 on ILP32 targets that don't have them.
12 * configure.ac: Check for snprintf.
13 * configure: Regenerate.
14 * config.h.in: Likewise.
15 * intrinsics/date_and_time.c (date_and_time): Do not
16 use snprinf if it is not available.
17 * io/write.c (output_float): Likewise.
19 2004-11-20 Steven G. Kargl <kargls@comcast.net>
21 * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
22 * Makefile.in: Regenerated
23 * intrinsics/umask.c: New file
24 * intrinsics/unlink.c: ditto
25 * intrinsics/exit.c: ditto
27 2004-11-18 Victor Leikehman <lei@il.ibm.com>
29 * m4/matmul.m4: Loops reordered to improve cache behavior.
30 * generated/matmul_??.c: Regenerated.
32 2004-11-10 Paul Brook <paul@codesourcery.com>
35 * configure.ac: Check for strtof.
36 * configure: Regenerate.
37 * config.h.in: Regenerate.
38 * io/read.c (convert_real): Use strtof if available.
39 (convert_precision_real): Remove.
40 (read_f): Avoid poor exponentiation algorithm.
42 2004-11-05 Andreas Schwab <schwab@suse.de>
44 * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
45 AC_PROG_F77, F77 and FFLAGS.
46 * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
47 FCCOMPILE instead of F77COMPILE.
48 * configure, Makefile.in: Regenerate.
50 2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
52 * acinclude.m4: Properly quote AC_CACHE_CHECK.
53 * Makefile.am: Add in ACLOCAL_AMFLAGS.
54 * aclocal.m4, configure, Makefile.in: Regenerate.
56 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
58 * config.h.in: Regenerate.
59 * configure: Regenerate.
60 * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
61 * io/unix.c (S_IRGRP): Define if undefined.
65 (tempfile): Use mktemp if mkstemp missing, fix typos.
67 2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
69 * intrinsics/system.c ("libgfortran.h"): Move after system headers.
71 2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
73 * intrinsics/rand.c (irand): Handle NULL argument.
75 2004-10-07 Paul Brook <paul@codesourcery.com>
77 * io/transfer.c (finalize_transfer): Free internal streams.
78 * io/unix.c (mem_close): Free stream object.
80 2004-10-07 Paul Brook <paul@codesourcery.com>
82 * intrinsics/string_intrinsics.c (string_verify): Fix off by one
85 2004-10-06 Paul Brook <paul@codesourcery.com>
88 * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
90 2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
92 * intrinsics/mvbits.c: Commit the file.
94 2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
97 * intrinsics/pack_generic.c (__pack): Allocate memory for return array
98 if not done by caller.
99 (__pack_s): New function.
100 * runtime/memory.c (internal_malloc, internal_malloc64): Allow
101 allocating zero memory.
104 * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
105 * Makefile.in: Regenerate.
106 * intrinsics/mvbits.h: New file.
109 * intrinsics/system.c: New file.
110 * Makefile.am: Add dependency for the new file.
111 * Makefile.in: Regenerate.
113 2004-10-04 Paul Brook <paul@codesourcery.com>
114 Bud Davis <bdavis9659@comcast.net>
118 * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
120 * io/write.c (output_float): Don't output minus zero.
122 2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
124 * intrinsics/abort.c ("libgfortran.h"): Move.
125 * intrinsics/date_and_time.c ("libgfortran.h"): Same.
126 * intrinsics/write.c ("libgfortran.h"): Same.
128 2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
131 * config.h.in (HAVE_POWF): Undefine.
132 * configure.ac: Check for 'powf' in library.
133 * configure: Regenerate.
134 * intrinsics/c99_functions.c (powf): New function.
136 2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
138 * intrinsics/etime.c (etime_): New function.
140 2004-09-21 Steven G. Kargl <kargls@comcast.net>
142 * libgfortran.h: define gfc_alloca()
143 * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
145 2004-09-21 Bud Davis <bdavis9659@comcast.net>
148 * io/list_read.c (namelist_read): ignore spaces after
149 the '=' for namelist reads.
151 2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
153 * config.h.in: Regenerate.
154 * configure: Regenerate.
155 * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
156 * unix.c: Include stdio.h.
157 (HAVE_SYS_MMAN_H): Check.
158 (PROT_READ, PROT_WRITE): Provide default definitions.
160 2004-09-15 Steven G. Kargl <kargls@comcast.net>
162 * intrincics/getcwd.c: New file.
163 * Makefile.am: Add getcwd.c.
164 * Makefile.in: Regenerated.
166 2004-09-15 Steven G. Kargl <kargls@comcast.net>
167 Paul Brook <paul@codesourcery.com>
169 * intrinsics/env.c (getenv, get_environmental_variable): Remove
170 trailing white space. Use alloca. Honour trim_name.
172 2004-09-13 Bud Davis <bdavis9659@comcast.net>
176 * io/list_read.c (list_formatted_read): Handle trailing spaces
179 2004-09-06 Steven G. Kargl <kargls@comcast.net>
181 * io/write.c (output_float): Typo in comment. Remove debugging
182 printf. Fix format for FP of form 1e10.
184 2004-09-03 Richard Henderson <rth@redhat.com>
186 * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
187 copy_loop_double, copy_loop_ldouble): New.
188 (__cshift0): Make shift type ssize_t. Use % operator instead of
189 div. Use specialized versions of copy loop depending on the shape.
191 2004-09-02 Paul Brook <paul@codesourcery.com>
193 * io/format.c (parse_format_list): Set repeat count for P descriptors.
194 * write.c (output_float): Fix condition. Correctly handle nonzero
197 2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
199 * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
200 * mk-srk-inc.sh: Likewise.
202 2004-09-01 Paul Brook <paul@codesourcery.com>
204 * runtime/error.c (generate_error): Set both iostat and
207 2004-08-31 Paul Brook <paul@codesourcery.com>
210 * io/list_read.c (next_char): Don't signal EOF for internal files.
211 * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
213 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
215 * io/unit.c: Separate copyright years by ','.
216 (compare, insert_unit, delete_unit, is_internal_unit, close_units):
217 Remove blank line in beginning of function.
218 (get_unit): Simplify code.
220 2004-08-31 Paul Brook <paul@codesourcery.com>
222 * io/unit.c (get_unit): Remove superfluous if.
224 2004-08-31 Paul Brook <paul@codesourcery.com>
226 * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
227 (finalize_transfer): Move setjmp after namlist IO.
228 * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
230 2004-08-31 Paul Brook <paul@codesourcery.com>
232 * list_read.c (eat_separator): Set at_eo when a '/' is seen.
234 2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
236 * libgfortran.h: Replace 'gfc_strlen_type' by
237 'gfc_charlen_type'. Update comment accordingly.
238 * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
239 Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
241 2004-08-31 Paul Brook <paul@codesourcery.com>
243 * libgfortran.h: Add comments.
245 2004-08-30 Richard Henderson <rth@redhat.com>
247 * Makefile.am (gfor_helper_src): Split selected_kind.f90.
248 (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
249 (selected_int_kind.inc selected_real_kind.inc): New rules.
250 * Makefile.in: Regenerate.
251 * mk-sik-inc.sh, mk-srk-inc.sh: New files.
252 * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
253 include table of detected kinds.
254 * intrinsics/selected_real_kind.f90: Similarly.
256 2004-08-29 Steven G. Kargl <kargls@comcast.net>
257 Paul Brook <paul@codesourcery.com>
259 * intrinsics/bessel.c: New file.
260 * intrinsics/erf.c: New file.
261 * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
262 * configure.ac: Test for C99 Bessel and Error functions.
263 * Makefile.in: Regenerate.
264 * config.h.in: Regenerate.
265 * configure: Regenerate.
267 2004-08-29 Steven G. Kargl <kargls@comcast.net>
268 Paul Brook <paul@codesourcery.com>
270 * Makefile.am: Add intrinsics/getXid.c.
271 * configure.ac: Add tests for get{g,p,u}id.
272 * config.h.in: Regenerate.
273 * Makefile.in: Regenerate.
274 * configure: Regenerate.
276 2004-08-28 Paul Brook <paul@codesourcery.com>
279 * libgfortran.h (rtoa): Remove prototype.
280 * runtime/error.c (rtoa): Remove.
281 * io/write.c (calculate_G_format): Don't add blanks if E format is
282 used. Add correct number of blanks when exponent width is specified.
283 (output_float): Rewrite.
285 2004-08-27 Paul Brook <paul@codesourcery.com>
287 * io/rewind.c (st_rewind): Reset unit to read mode.
289 2004-08-27 Bud Davis <bdavis9659@comcast.net>
292 * io/io.h: created typedef for unit_mode.
293 * io/io.h (gfc_unit): added mode to unit structure.
294 * io/transfer.c (data_transfer_init): flush if a write then
295 read is done on a unit (direct access files).
296 * io/rewind.c (st_rewind): Used unit mode instead of global.
298 2004-08-24 Bud Davis <bdavis9659@comcast.net>
301 * runtime/error.c (itoa): keep from overflowing during
302 mod operation by using unsigned variable.
304 2004-08-24 Bud Davis <bdavis9659@comcast.net>
307 * runtime/string_intrinsics.c (string_index):check for
308 substring longer than string.
310 2004-08-24 David Edelsohn <edelsohn@gnu.org>
312 * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
313 * Makefile.in: Rebuilt.
315 2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
317 * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
318 Fix formatting issues, update copyright years.
320 2004-08-21 Bud Davis <bdavis9659@comcast.net>
323 * io/transfer.c (next_record_w): Do not blank pad.
324 * io/transfer.c (next_record): Take into account partial records.
326 2004-08-18 Victor Leikehman <lei@il.ibm.com>
329 * io/transfer.c (st_set_nml_var)
330 * io/write.c (namelist_write): Allow var_name and var_name_len to be
331 null. For strings, use string_length field instead of len.
332 * io/io.h (struct namelist_type): New field string_length.
333 (st_set_nml_var_char): New argument string_length.
335 2004-08-13 Bud Davis <bdavis9659@comcast.net>
338 * io/open.c (st_open): use flags instead of the unit structure.
340 2004-08-10 Victor Leikehman <lei@il.ibm.com>
342 * io/list_read.c (namelist_read): Convert variable names
343 to lower case, so that mixed-case names are recognized.
344 Don't read beyond terminating slash.
346 2004-08-09 Richard Henderson <rth@redhat.com>
347 Roger Sayle <roger@eyesopen.com>
349 * intrinsics/c99_functions.c (nextafterf): New implementation that
350 works correctly with denormalized numbers.
352 2004-08-09 Victor Leikehman <lei@il.ibm.com>
354 * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
355 intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
356 Allocate space if return value has NULL in its data field.
357 * generated/*.c: Regenerate.
359 2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
361 * intrinsics/env.c: New file.
362 * Makefile.am: Add env.c to build.
363 * Makefile.in: Regenerate.
365 2004-08-05 Victor Leikehman <lei@il.ibm.com>
368 * io/read.c (read_radix): Understand letters f and F as hex digits.
370 2004-08-04 Victor Leikehman <lei@il.ibm.com>
372 * libgfortran.h (array_t, size0) New declarations.
373 * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
374 space if return value descriptor has NULL in its data field,
375 and initialize bounds and stride.
376 * intrinsics/size.c (array_t, size0): Declarations moved to
378 * generated/*.c: Regenerate.
380 2004-08-03 Roger Sayle <roger@eyesopen.com>
383 * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
384 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
385 scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
386 * config.h.in: Regenerate.
387 * configure: Regenerate.
389 * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
390 copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
391 nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
392 implementations for targets that don't support C99 float functions.
394 2004-08-01 Roger Sayle <roger@eyesopen.com>
396 * io/write.c (write_float): Use the slightly more portable isnan
397 in preference to isinf.
399 2004-07-18 Bud Davis <bdavis9659@comcast.net>
401 * configure.ac: Add check for LFS support.
402 * configure: Regenerate
404 2004-07-11 Paul Brook <paul@codesourcery.com>
407 * m4/cexp.m4 (carg): Return -pi to pi.
408 * generated/exp_c?.c: Regenerate.
410 2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
413 * libgfortran/io/write.c: (write_float): Added length check.
414 Remove pointless memset calls.
416 2004-07-04 Bud Davis <bdavis9659@comcast.net>
417 Paul Brook <paul@codesourcery.com>
420 * io/transfer.c(us_write): set recl for seq unform writes to max size.
421 * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
422 * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
424 * io/unix.c(is_seekable): set based upon the file/device, not the
425 method being used to access it (fd or mmap).
426 * io/unix.c(fd_flush): don't set file_size if !seekable.
427 * io/unix.c(fd_truncate: ditto.
429 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
430 Paul Brook <paul@codesourcery.com>
434 * libgfortran.h (gfc_strlen_type): Define.
435 * intrinsics/args.c (getarg): Rename ...
436 (getarg_i4): ... to this.
437 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
438 get_command_i4, get_command_i8): New functions.
440 2004-07-04 Matthias Klose <doko@debian.org>
442 * libtool-version: New.
443 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
444 * Makefile.in: Regenerate.
445 * configure.ac: Remove libtool_VERSION macro
446 * configure: Regenerate
448 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
449 Steven Bosscher <stevenb@suse.de>
451 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
454 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
455 Paul Brook <paul@codesourcery.com>
457 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
459 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
461 2004-06-27 Bud Davis <bdavis9659@comcast.net>
464 * io/write.c (write_float): check signbit for Infinity.
466 2004-06-26 Bud Davis <bdavis9659@comcast.net>
469 * unix.c(regular_file): create file if it does not exist.
471 2004-06-24 Andrew Pinski <apinski@apple.com>
473 * configure.ac: Remove check for libmx.
474 * configure: Regenerate.
476 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
479 * inquire.c (st_inquire): Add comment
480 * io.h (st_parameter): Add iolength.
481 (st_iolength, st_iolength_done): Declare.
482 * transfer.c (iolength_transfer, iolength_transfer_init,
483 st_iolength, st_iolength_done): New functions.
485 2004-06-21 Steven G. Kargl <kargls@comcast.net>
487 * etime.c (etime_sub): Remove array rank check;
488 Add check for sufficient space.
490 2004-06-19 Bud Davis <bdavis9659@comcast.net>
493 * io/list_read.c(set_value): fixed spelling.
495 2004-06-19 Bud Davis <bdavis9659@comcast.net>
498 * io/list_read.c(set_value): don't copy if the string is null.
500 2004-06-14 Bud Davis <bdavis9659@comcast.net>
503 * intrinsics/c99_functions.c: Use fpclassify if it exists.
505 2004-06-13 Paul Brook <paul@codesourcery.com>
507 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
508 * configure.ac: Add checks for nextafter and nextafterf.
509 * Makefile.in, config.h.in, configure: Regenerate.
510 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
511 * intrinsics/rand.c (rand): Use normalize_r4_i4.
512 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
513 (random_r8): Use normalize_r8_i8.
514 * runtime/normalize.c: New file.
516 2004-06-13 Steven G. Kargl <kargls@comcast.net>
517 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
519 * random.c: Fix several spelling and formatting mistakes in
521 (random_r8): Fix loop to make random numbers range in [0,1(.
524 2004-06-13 Steven G. Kargl <kargls@comcast.net>
526 * random.c (random_r4): Burn a random number.
527 (random_r8): fix infinite loop.
529 2004-06-12 Bud Davis <bdavis9659@comcast.net>
530 Steve Kargl <sgk@troutmask.apl.washington.edu>
533 * intrinsics/c99_functions.c: New file.
534 * Makefile.am: Add new file.
535 * configure.ac: Added test for round/roundf.
536 * Makefile.in: Regenerate.
537 * configure: Regenerate.
538 * configure.h.in: Regenerate.
540 2004-06-12 Steven G. Kargl <kargls@comcast.net>
542 * Makefile.am: Add rand.c and etime.c
543 * Makefile.in: Regenerated.
544 * aclocal.in: Regenerated.
545 * cpu_time.c (second_sub, second): New functions.
546 * rand.c (irand, rand, srand): New file.
547 * etime.c (etime_sub, etime): New file.
549 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
550 Steven Bosscher <stevenb@suse.de>
553 * intrinsics/date_and_time.c: New file.
554 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
555 * Makefile.in, aclocal.m4: Regenerate.
556 * libgfortran.h: Prototype date_and_time().
558 2004-06-12 Bud Davis <bdavis9659@comcast.net>
561 * intrinsics/args.c: Implement GETARG and IARGC.
562 * Makefile.am: Add it.
563 * Makefile.in: Regenerate.
565 2004-06-12 Bud Davis <bdavis9659@comcast.net>
568 * io/write.c(write_float): Format inf and nan IAW F2003.
570 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
573 * io/transfer.c (formatted_transfer): position is unique
574 for T and TL edit descriptors.
575 (data_transfer_init): set record length to size of internal
578 2004-06-09 Bud Davis <bdavis9659@comcast.net>
581 * io/backspace.c(st_backspace): call correct routine for
582 formatted and un-formatted units.
584 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
587 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
588 (lib_LTLIBRARIES): Rename to ...
589 (toolexeclib_LTLIBRARIES): this for multilib support.
590 * configure.in: Rename to ...
591 * configure.ac: this. Update to modern autoconf style, enable
592 multilibs, support --enable-version-specific-runtime-libs.
593 * Makefile.in: Regenerated.
594 * configure: Regenerated.
595 * aclocal.m4: Regenerated.
597 2004-05-30 Steven G. Kargl <kargls@comcast.net>
599 * libgfortran.h (random_seed): Update prototype.
600 * intrinsics/random.c: Disable old implementation and add new one.
602 2004-05-30 Andreas Jaeger <aj@suse.de>
604 * intrinsics/random.c: Include unistd.h for close and read
605 prototypes, remove unneeded inclusion of assert.h.
607 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
608 unneeded inclusion of assert.h.
610 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
613 * intrinsics/associated.c: Remove enum.
614 (associated): Replace TRUE/FALSE by 1/0.
616 2004-05-23 Steven G. Kargl <kargls@comcast.net>
618 * random.c (random_seed): Use correct variable.
620 2004-05-22 Steven G. Kargl <kargls@comcast.net>
622 * intrinsics/system_clock: New file.
623 * Makefile.am: Add intrinsics/system_clock.c.
624 * Makefile.in: Regenerate.
626 2004-05-21 Roger Sayle <roger@eyesopen.com>
628 * io/format.c (parse_format_list): Allow the comma after a string
629 literal to be optional.
631 2004-05-18 Paul Brook <paul@codesourcery.com>
632 Feng Wang <fengwang@nudt.edu.cn>
634 * Makefile.am (i_pow_c): Set it. Add build rule.
635 (gfor_built_src): Use it.
636 (m4_files): add m4/pow.m4.
637 * Makefile.in: Regenerate.
638 * m4/pow.m4: New file.
639 * generated/pow_*.c: Regenerate.
641 2004-05-18 Paul Brook <paul@codesourcery.com>
643 * Makefile.am: Remove references to types.m4.
644 * m4/iparm.m4: Merge with types.m4.
645 * m4/types.m4: Remove.
646 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
647 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
648 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
649 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
650 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
651 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
652 Update to use new iparm.m4.
653 * generated/*.c: Regenerate.
655 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
658 * gfortran.h (offset_t): Rename to ...
659 (gfc_offset): ... this.
660 * io/backspace.c (formatted_backspace, unformatted_backspace),
661 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
662 transfer.c (us_read, us_write, next_record_r, next_record_w),
663 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
664 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
665 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
666 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
667 occurences of offset_t by gfc_offset.
669 2004-05-16 Paul Brook <paul@codesourcery.com>
671 * io/format.c (write_real): Don't include padding in format.
673 2004-05-16 Paul Brook <paul@codesourcery.com>
675 * io/format.c (format_lex): Make c an int.
677 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
678 Paul Brook <paul@codesourcery.com>
680 * io/write.c (write_logical): Don't print extra blank.
681 (write_integer): Base field width on kind.
682 (list_formatted_write): Output initial blank.
684 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
686 * io/io.h (flush): Add prototype.
687 * io/transfer.c (finalize_transfer): Flush partial records.
688 * io/unix.c (flush): New function.
690 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
693 * io/io.h (unit_t): Rename to ...
695 (unit_root, current_unit, find_file, find_unit, get_unit): Now
697 (delete_file, insert_unit, close_unit): Argument now of type
699 * backspace.c (st_backspace), close.c (st_close), endfile.c
700 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
701 (test_endfile, edit_modes, new_unit, already_open, st_open),
702 rewind.c (st_rewind), transfer.c (current_unit), unit.c
703 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
704 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
705 get_unit, init_units, close_unit), unix.c (find_file0,
706 find_file, delete_file): Replace all occurences of unit_t by
709 2004-05-15 Bud Davis <bdavis9659@comcast.net>
712 * io/write.c (write_a): right justify A edit output.
714 2004-05-14 Bud Davis <bdavis9659@comcast.net>
717 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
718 * runtime/main.c(init): Call random_seed as part of MAIN init.
720 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
722 * io/format.c: (parse_format_list): No comma is required after
725 2004-05-13 Bud Davis <bdavis9659@comcast.net>
728 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
730 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
731 Steven Bosscher <stevenb@suse.de>
734 * libgfortran.h: Include <inttypes.h> if available.
736 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
738 * io/unix.c (MAP_FAILED): Define if missing.
739 (mmap_alloc): Cast MAP_FAILED to char *.
740 (mmap_open): Likewise.
742 2004-04-26 Bud Davis <bdavis9659@comcast.net>
744 * generated/_abs_i8.f90: New file.
745 * generated/_abs_c4.f90: New file.
746 * generated/_abs_c8.f90: New file.
747 * Makefile.am: Add them.
748 * Makefile.in: Regenerate.
750 2004-04-26 Bud Davis <bdavis9659@comcast.net>
753 * generated/_abs_i4.f90: New file.
754 * Makefile.am: Add it.
755 * Makefile.in: Regenerate.
757 2004-04-25 Bud Davis <bdavis9659@comcast.net>
760 * io/list_read.c(list_formatted_read): finish consuming the
761 spaces and seperators at eoln to get ready for next item.
763 2004-04-23 Bud Davis <bdavis9659@comcast.net>
766 * io/read.c(read_a): Handle field width > destination and no field width.
768 2004-04-22 Bud Davis <bdavis9659@comcast.net>
771 * io/format.c (format_item): gracefully handle a ')'
772 when it is the first character encountered in the string.
774 2004-04-11 Bud Davis <bdavis9659@comcast.net>
777 * io/transfer.c (next_record): Update last_record when
778 more than one record is written to a direct access file
779 with one write statement.
781 2004-04-11 Bud Davis <bdavis9659@comcast.net>
784 * io/transfer.c (next_record_w) : No '\n' if internal.
785 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
787 2004-04-11 Bud Davis <bdavis9659@comcast.net>
789 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
790 Will need to change this later to support direct access files > 2gb.
792 2004-04-03 Bud Davis <bdavis9659@comcast.net>
795 * io/transfer.c (next_record_r) : Skip to next record.
797 2004-04-03 Bud Davis <bdavis9659@comcast.net>
800 * io/transfer.c (next_record): Update last_record for DIRECT
802 2004-04-03 Bud Davis <bdavis9659@comcast.net>
805 * io/unix.c (find_file0): Use fd field of struct
807 2004-04-03 Bud Davis <bdavis9659@comcast.net>
810 * io/inquire.c (inquire_via_unit): Changed return string for
811 BLANK=NULL. Use correct variable for ACTION.
813 2004-04-01 Bud Davis <bdavis9659@comcast.net>
816 * io/read.c (read_f): Allow a decimal without a leading digit.
817 * io/write.c (output_float): remove a leading '0' to keep from
818 overflowing the field (F edit descriptor).
820 2004-04-01 Bud Davis <bdavis9659@comcast.net>
823 * io/open.c (new_unit),
824 * io/io.h : new_unit is now visible
825 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
826 * io/transfer.c (data_transfer_init): remove compile warnings.
827 * io/rewind.c (st_rewind): ftruncate if writing.
829 2004-03-24 Bud Davis <bdavis9659@comcast.net>
831 * write.c (write_l): Use extract_int for 'L' edit descriptor.
833 2004-03-24 Bud Davis <bdavis9659@comcast.net>
836 * io/io.h (global_t):
837 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
838 Move eof_jmp to a global structure.
839 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
841 2004-03-24 Bud Davis <bdavis9659@comcast.net>
843 * m4/cexp.m4 (csqrt): Actually use the passed value.
844 * generated/exp_c?.c: Regenerate.
846 2004-03-24 Bud Davis <bdavis9659@comcast.net>
849 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
850 * open.c (new_unit): Moved test for positioned direct access error.
851 (init_units): Corrected calculation of max records.
853 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
855 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
856 * Makefile.in: Regenerate.
857 * m4/dotprodc.m4: New file. Implement complex dot_product.
858 * m4/dotprod.m4: Delete the complex implementation.
859 * generated/dotprod_*: Update.
861 2004-02-07 Bud Davis <bdavis9659@comcast.net>
863 * transfer.c (write_constant_string): Do not delete H's in hollerith
866 2004-01-05 Andrew Pinski <apinski@apple.com>
868 * configure.in: Check for csin in -lmx also.
869 * configure: Regenerate.
871 2004-01-01 Paul Brook <paul@codesourcery.com>
873 * io/list_read.c (find_nml_node): Make static.
874 (match_namelist_name): Ditto.
875 * io/read.c (convert_precision_real): Make static, fix spelling.
876 * io/transfer.c (extract_real): Remove unused prototype.
877 (st_set_nml_var): Make static.
878 * io/write.c (extract_real): Make static.
880 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
882 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
884 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
886 * io/transfer.c (data_transfer_init): Give a runtime error for list
887 formatted reads and writes from/to files opened for unformatted IO.
889 2003-11-30 Paul Brook <paul@nowt.org>
891 * runtime/memory.c (push_context): Remove.
892 (pop_context): Remove.
893 * libgfortran.h: Remove prototypes.
895 2003-11-27 Paul Brook <paul@nowt.org>
897 * runtime/memory.c (deallocate): Nullify pointer after freeing.
899 2003-11-27 Paul Brook <paul@nowt.org>
901 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
902 * libgfortran.h: Ditto.
903 * m4/in_pack.m4: Ditto.
904 * runtime/in_pack_generic.c: Ditto.
905 * runtime/memory.c: Ditto.
907 2003-11-26 Richard Henderson <rth@redhat.com>
909 * m4/exponent.m4, m4/fraction.m4: New.
910 * m4/nearest.m4, m4/set_exponent.m4: New.
911 * generated/*: Update.
912 * Makefile.am: Add them.
913 (AM_CFLAGS): New. Use -std=gnu99.
914 * Makefile.in: Regenerate.
916 2003-11-08 Paul Brook <paul@nowt.org>
919 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
920 * m4/maxloc1.m4: Ditto.
921 * m4/minloc0.m4: Ditto.
922 * m4/minloc1.m4: Ditto.
923 * m4/ifunction.m4: Set return value for zero sized arrays.
924 * m4/iforeach.m4: Ditto.
925 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
926 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
927 * generated/*: Update.
929 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
932 * io/list_read.c (eat_spaces): Treat tab as space.
934 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
936 * intrinsics/random.c: Add reference to paper containing algorithm.
937 (random_seed): Extra error checking and proper handling of arrays.
938 (arandom_r4, arandom_r8): Implement.
940 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
943 * runtime/memory.c (allocate_size): Allow allocation
944 of zero-sized objects.
946 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
949 * open.c (new_unit): Open without a file name opens
950 a file with name fort.<unit>.
952 2003-10-12 Feng Wang <wf_cs@yahoo.com>
954 * intrinsics/cshift0.c: New file.
955 * m4/cshift1.m4: New file
956 * generated/cshift*.c: New files.
957 * Makefile.am: Add them.
958 * Makefile.in: Regenerate.
960 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
962 * io/list_read.c (read_character): Remove unwanted call to free_saved.
964 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
966 * intrinsics/string_intrinsics.c (string_trim): New function.
967 (string_repeat): New function.
969 2003-10-11 Paul Brook <paul@nowt.org>
971 * intrinsics/dprod_r8.f90: New file.
972 * Makefile.am (gfor_specific_src): Add it.
973 (gfor_built_specific_src): Rename from gfor_build_specific_c.
975 (gfor_specific2_src): Rename from gfor_built_specific2_c.
977 * Makefile.in: Regenerate.
978 * generated/_aint_*.f90: New files.
979 * generated/_anint*.f90: New files.
980 * generated/_atan2*.f90: New files.
981 * generated/_mod*.f90: New files.
983 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
985 * intrinsics/selected_kind.f90: New file.
986 * Makefile.am: Add it.
987 * Makefile.in: regenerate.
989 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
990 Paul Brook <paul@nowt.org>
992 * intrinsics/random.c: New file.
993 * Makefile.am (gfor_hemper_src): Add it.
994 (gfor_specific_c): Fix typo.
996 2003-09-19 Paul Brook <paul@nowt.org>
998 * All: rename g95->gfc.
1000 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
1002 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
1004 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
1006 * io/write.c (write_float): Dectection of positive infinite number,
1007 Not a Number(NaN) and negative infinite number.
1008 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
1009 output a very_very small number ( < 0.1e-100 ).
1011 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
1013 * libgfortran.h (xtoa, itoa): Parameter modified.
1014 * io/io.h (namelist_info): Declaration to support namelist I/O
1015 (st_parameter): Add namelist related component
1016 (ionml, empty_internal_buffer, st_set_nml_var_int,
1017 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
1018 st_set_nml_var_log): Declaration
1019 (set_integer, set_integer): Parameter changed
1020 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
1022 (parse_format_list): Fix bug about FMT_SLASH
1023 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
1024 newly allocated saved_string
1025 (next_char): Add detection of End_Of_Line support
1026 (convert_integer): Now can process 64 bits interger
1027 (read_real): Bug fixed
1028 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
1029 (match_namelist_name): New implemention
1030 * io/lock.c (ionml): New global variable
1031 (library_end): Free memory in ionml
1032 * io/open.c (st_open): Variable initializtion
1033 * io/read.c (max_value): 64 bits interger support
1034 (convert_precsion_real): New procedure to replace "strtod" with more
1036 (read_f, read_radix): Input bug fix
1037 * io/transfer.c: (sf_seen_eor): New static variable
1038 (read_sf): Zeroize base buffer; fix bugs: single read statement can
1039 not get input in mutli line when read from stdin
1040 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
1042 (data_transfer_init): Clear internal buffer for Internel File I/O.
1043 Internal File now worked. Detect some error condition for namelist.
1045 (next_record_w): Internal file and Namelist I/O support.
1046 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
1047 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
1048 * io/unit.c (implicit_unit): Deletion
1049 (get_unit): Now cannot open a unit implicitly.
1050 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
1052 (mem_alloc_r_at): Internal file I/O support added
1053 (empty_internal_buffer): New function
1054 * io/write.c (extract_int): Support 64 bits interger processing
1055 (output_float): Varibale initialization
1056 (write_float): Infinite real number detection.
1057 (write_int): 64 bits integer I/O support
1058 (write_decimal): New function to output decimal number
1059 (otoa, btoa): Better implemention and 64 bits interger support
1060 (namelist_write): New function
1061 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
1064 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1066 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
1067 get_mem ): Add attribute.
1068 * intrinsics/spread_generic.c (__spread): Fix spelling.
1069 * io/inquire.c (inquire_via_filename): Add const.
1070 * io/io.h (sys_exit): Add attribute.
1071 * io/io.h (move_pos_offset): Add move_pos_offset.
1072 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
1073 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
1074 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
1075 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
1076 write_z): Add const.
1077 * io/read.c (convert_real): Add const.
1078 * io/transfer.c (type_name): Add const.
1079 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
1080 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
1081 inquire_read, inquire_write, inquire_readwrite): Add const.
1082 * io/write.c (output_float): Remove unused variable.
1083 * io/write.c (write_a, extract_int, extract_real, output_float,
1084 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
1085 write_e, write_f, write_en, write_es, write_logical, write_integer,
1086 write_character, write_real, write_complex): Add const.
1087 * runtime/error.c (rtoa): Remove unused variable.
1088 * runtime/select.c (select_string): Add const.
1089 * runtime/stop.c (stop_string): Add const.
1091 2003-08-10 Paul Brook <paul@nowt.org>
1093 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
1094 (FFLAGS): Add -fno-underscoring.
1095 * Makefile.in: Regenerate.
1096 * intrinsics/abort.c: New file.
1098 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
1100 * fmain.c (main): Do not call init and cleanup; call set_args instead.
1101 * libgfortran.h (init, cleanup): Remove declarations.
1102 (set_args): Add declaration.
1103 * runtime/main.c (init, cleanup): Make them static, and give them
1104 the constructor and destructor attributes.
1105 (set_args): New function.
1107 2003-08-10 Paul Brook <paul@nowt.org>
1109 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
1110 on which string is longest.
1112 2003-08-10 Paul Brook <paul@nowt.org>
1114 * Makefile.am (EXTRA_DIST): Remove old files.
1115 * Makefile.in: Regenerate.
1117 2003-07-26 Paul Brook <paul@nowt.org>
1119 Rename library to libgfortran.
1120 * libgfortran.h: Change prefix to _libgfortran_.
1122 2003-07-24 Paul Brook <paul@nowt.org>
1124 * configure.in: Don't pull in system libtool. Use toplevel
1127 2003-07-22 Paul Brook <paul@nowt.org>
1129 Regenerate all configury files.
1131 2003-07-09 Chun Huang <compiler@sohu.com>
1133 * intrinsics/string_intrinsic.c (string_scan): New function.
1134 (string_verify): New function.
1136 2003-06-25 Paul Brook <paul@nowt.org>
1138 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
1139 (mem_seek): Don't bother setting physical_offset.
1141 2003-06-20 Paul Brook <paul@nowt.org>
1143 * libgfor.h (stop_numeric): Declare.
1144 * runtime/pause.c: New file.
1145 * Makefile.am: Add it.
1147 2003-06-08 Paul Brook <paul@nowt.org>
1149 * m4/cexp.m4 (cabs): Use correct typed version.
1150 (csqrt): New function.
1152 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
1154 Spotted by Benjamin and Tobias:
1155 * io/list_read.c: Add Separator '\t'.
1156 (parse_real, read_real): Accept real values starting with an optional
1157 sign follows a decimal point.
1159 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
1161 * Makefile.am: Don't put cmath objects in subdir.
1162 * configure.in: Rename MATHOBJ to MATH_OBJ.
1164 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
1166 * intrinsics/associated.c: New file.
1167 * Makefile.am: Add it. Regenerate Makefile.in.
1168 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
1169 G95_DESCRIPTOR_DTYPE.
1171 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
1173 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
1174 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
1175 the scale_factor to 0 for F editing.
1177 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
1179 * libgfor.h: Only include stdint.h if it exists.
1181 2003-05-07 Paul Brook <paul@nowt.org>
1183 * libgfor.h: Use stdint.h types.
1184 * intrinsics/ishift.c: Ditto.
1185 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
1187 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
1189 * libgfor.h (offsetof): Define if nobody else does.
1190 * runtime/memory.c (HEADER_SIZE): Use it.
1192 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
1194 * configure.in: Require autoconf 2.54.
1196 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
1197 Paul Brook <paul@nowt.org>
1199 * intrinsics/reshape_generic.c: Copy the whole element, not just the
1201 * m4/transpose.m4: New file.
1202 * Makefile.am: Add them.
1203 Regenerate generated files.
1205 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1207 * io/format.c (parse_format_list): Allow 'X' without integer
1208 prefix. This is an extension. Interpretation is '1X'.
1210 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
1212 * io/format.c (parse_format_list): Allow '0P'.
1214 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
1216 * Makefile.in: Re-regenerate for automake 1.7.3.
1218 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
1220 Port implementation for CHARACTER SELECT from Andy's tree.
1221 * runtime/select.c: New file
1222 * Makefile.am: Add it.
1223 * Makefile.in: Regenerate.
1225 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
1227 * io/transfer.c (formatted_transfer): Modified
1228 * io/unix.c (move_pos_offset): New Function.
1229 * io/format.c (parse_format_list): Modified.
1231 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
1233 * io/write.c (write_float,write_real): New implemention of
1234 FMT_G and default float editing.
1235 (calculate_exp,calculate_G_format,output_float): New Function.
1236 (write_float,write_real,write_logical): Modified
1237 * libgfor.h (default_rtoa): Remove Declaration.
1238 * runtime/error.c (default_rtoa): Remove Function.
1240 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
1243 * io/write.c (extract_real): Add missing break statement.
1245 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1247 * cpu_time.c: Make sure we have a definition of HZ. Don't
1248 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1250 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
1251 Paul Brook <paul@nowt.org>
1253 * configure.in: Check for process time headers and GETTIMEOFDAY.
1254 * makefile.am: Add intrinsics/cpu_time.c.
1255 * acinclude.m4: New file.
1256 * intrinsics/cpu_time.c: New file.
1257 * m4/dotprodl.m4: Fix typo.
1258 Regenerate generated files.
1260 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
1262 * io/write.c (extract_real): Ouput floating point value.
1263 (write_float): New Function.
1264 (write_e, write_f, write_en, write_es): Modified
1265 * io/transfer.c (formatted_transfer): Modified.
1266 * libgfor.h (default_rtoa): Declaration.
1267 (rtoa): Declaration.
1268 * runtime/error.c (default_rtoa): New Function.
1269 (rtoa): New Function.
1271 2003-04-05 Paul Brook <paul@nowt.org>
1273 * intrinsics/spread_generic.c: New file.
1274 * Makefile.am: Add it. Regenerate Makefile.in.
1276 2003-03-29 Paul Brook <paul@nowt.org>
1278 * intrinsics/pack_generic.c: New file.
1279 * intrinsics/unpack_generic.c: New file.
1280 * Makefile.am: Add them. Regenerate Makefile.in.
1282 2003-03-25 Paul Brook <paul@nowt.org>
1284 * intrinsics/eoshift0.c: New file.
1285 * intrinsics/eoshift2.c: New file.
1286 * m4/eoshift1.m4: New file.
1287 * m4/eoshift3.m4: New file.
1288 * Makefile.am: Add them.
1289 * in_unpack_generic.c: Initialize src.
1290 Regenerate generated files.
1292 2003-03-14 Paul Brook <paul@nowt.org>
1294 * m4/shape.m4: Work properly with array temporaries.
1295 * m4/in_pack.m4: Skip redundant checks for array temporaries.
1296 * runtime/in_pack_generic.c: Ditto.
1298 2003-03-12 Paul Brook <paul@nowt.org>
1300 * m4/shape.m4: Work properly with noncontiguous arrays.
1302 2003-03-08 Paul Brook <paul@nowt.org>
1304 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1305 * runtime/in_pack_generic.c: Ditto.
1307 2003-02-08 Paul Brook <paul@nowt.org>
1309 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1310 * io/close.c (st_close): Return void.
1311 * io/open.c (st_open): Return void.
1312 * libgfor.h (g95_array_char): Declare.
1313 (internal_malloc_size): Ditto.
1314 (internal_pack*, internal_unpack*): Ditto.
1315 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
1317 * m4/in_unpack.m4: Include file fixes.
1318 * m4/reshape.m4: Increment the correct source pointer.
1319 * Makefile.am (maxloc): Fix typo.
1320 * runtime/in_pack_generic.c: Call optimized functions. Allocate
1321 storage if neccessary. Fix logic for packed arrays.
1322 * runtime/in_unpack_generic.c: Call optimized functions.
1323 * runtime/main.c: Use runtime_error to report errors.
1324 * memory.c (internal_malloc_size): Make non-static.
1326 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
1328 * reshape_packed.c, lock.c: Add #include <string.h>.
1329 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1330 environ.c, error.c, memory.c, string.c: Add const.
1331 * error.c (show_locus): Add void.
1333 2003-02-21 Paul Brook <paul@nowt.org>
1335 * m4/in_pack.m4: Avoid returning const * parameter.
1336 * Makefile.am: Only regenerate files in maintainer mode.
1338 2003-02-20 Paul Brook <paul@nowt.org>
1340 Add array repacking support functions.
1341 * m4/in_pack.m4, m4/in_unpack.m4: New files.
1342 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1343 * Makefile.am: Build them. Regenerate configury files.
1344 * generated/: New directory for generated files (need to move
1345 everything else there).
1347 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
1349 * m4/cexp.m4: Fix typo.
1351 2003-01-26 Paul Brook <paul@nowt.org>
1353 * intrinsics/: Add missing generated files.
1355 2003-01-26 Paul Brook <paul@nowt.org>
1357 * Makefile.am: Put -I before the filename.
1359 2003-01-24 Paul Brook <paul@nowt.org>
1361 * configure.in: Add AM_MAINTAINER_MODE.
1363 2003-01-23 Paul Brook <paul@nowt.org>
1365 * configure.in, Makefile.am: Modify to work with unmodified autoconf
1367 Also regenerate other configury files.
1369 2003-01-21 Paul Brook <paul@nowt.org>
1371 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1373 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1375 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1376 Don't include "alloca.h".
1378 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
1380 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1381 * Makefile.am: Adjust file name.
1382 * Makefile.in: Regenerate.
1383 * gfortypes.h: Kill, include everything in...
1384 * libgfor.h: ...here. Include config.h
1385 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1386 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1387 intrinsics/reshape_packed.c, intrinsics/size.c,
1388 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1389 for prefix for all functions instead of hardcoded.
1391 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1393 * io/lock.c (library_end): Propagate library return
1396 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
1398 Port fixes from Andy's tree:
1399 * io/read.c (read_decimal): Reverse sense of overflow
1400 comparison during integer reads.
1401 * io/format.c (revert): Fix comment.
1402 (next_format): Fix format revision.
1403 * io/unix.c: Fix and simplify mmap version of stream
1406 2003-01-11 Paul Brook <paul@nowt.org>
1408 * configure, Makefile.in: Regenerate.
1410 2003-01-11 Paul Brook <paul@nowt.org>
1412 * runtime/stop.c: Rewrite.
1414 2003-01-08 Paul Brook <paul@nowt.org>
1416 * configure, Makefile.in: Regenerate.
1418 2003-01-05 Paul Brook <paul@nowt.org>
1420 * (*.m4) Move to m4/.
1421 * intrinsics/string.c (_gfor_string_index): New Function.
1423 2002-12-29 Paul Brook <paul@nowt.org>
1425 * intrinsics/reshape.*: New files.
1426 * gcc_config.patch: Update to new GCC configure system.
1428 2002-10-10 Paul Brook <paul@nowt.org>
1430 * intrinsics/size.c: New file.
1431 * intrinsics/shape.m4: New file.
1432 * Makefile.am: Add above files.
1434 2002-10-02 Paul Brook <paul@nowt.org>
1436 * fmain.c (main): Move here.
1437 * libgfor.c: From here.
1438 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1439 * Makefile.am: Build libgforbegin.
1440 * gcc_config.patch: Remove stray -march=athlon.
1441 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1442 * ifunction.m4: Move variable declarations to allow compilation with
1444 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1445 * README: Document use of patch -p1.
1447 2002-09-12 Paul Brook <paul@nowt.org>
1449 * math/*: Add complex math library functions.
1450 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1451 * Makefile.am: Add details for above.
1452 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1454 2002-09-09 Paul Brook <paul@nowt.org>
1456 * libgfor.c (determine_endianness): Use an array rather than a struct.
1457 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1459 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1461 * libgfor.c: Add fatal signal handler.
1462 Romove superfluous abort() calls.
1464 2002-09-07 Paul Brook <paul@nowt.org>
1466 * Makefile.am, intrinsics: Major rewrite.
1468 2002-09-02 Paul Brook <paul@nowt.org>
1470 * Makefile.am: Added -I$(srcdir) to m4 rule.
1472 2002-08-30 Paul Brook <paul@nowt.org>
1474 * io/*: Integrated libgforio.
1475 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1476 intrinsics in the intrisics directory.
1477 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1478 filename. Add 'and' and 'all' intrinsics.
1480 2002-08-17 Paul Brook <paul@nowt.org>
1482 * ALL: First release as more than just a single file