PR libfortran/16805
[official-gcc.git] / libgfortran / ChangeLog
blob50ad7a6290f0a40e8101173ca3771a349f37996e
1 2004-08-31  Paul Brook  <paul@codesourcery.com>
3         PR libfortran/16805
4         * io/list_read.c (next_char): Don't signal EOF for internal files.
5         * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
7 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
9         * io/unit.c: Separate copyright years by ','.
10         (compare, insert_unit, delete_unit, is_internal_unit, close_units):
11         Remove blank line in beginning of function.
12         (get_unit): Simplify code.
14 2004-08-31  Paul Brook  <paul@codesourcery.com>
16         * io/unit.c (get_unit): Remove superfluous if.
18 2004-08-31  Paul Brook  <paul@codesourcery.com>
20         * io/transfer.c (read_sf): Rename uinty to readlen.  Detect EOF.
21         (finalize_transfer): Move setjmp after namlist IO.
22         * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
24 2004-08-31  Paul Brook  <paul@codesourcery.com>
26         * list_read.c (eat_separator): Set at_eo when a '/' is seen.
28 2004-08-31  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
30         * libgfortran.h: Replace 'gfc_strlen_type' by
31         'gfc_charlen_type'. Update comment accordingly.
32         * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
33         Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
35 2004-08-31  Paul Brook  <paul@codesourcery.com>
37         * libgfortran.h: Add comments.
39 2004-08-30  Richard Henderson  <rth@redhat.com>
41         * Makefile.am (gfor_helper_src): Split selected_kind.f90.
42         (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
43         (selected_int_kind.inc selected_real_kind.inc): New rules.
44         * Makefile.in: Regenerate.
45         * mk-sik-inc.sh, mk-srk-inc.sh: New files.
46         * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
47         include table of detected kinds.
48         * intrinsics/selected_real_kind.f90: Similarly.
50 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
51         Paul Brook  <paul@codesourcery.com>
53         * intrinsics/bessel.c: New file.
54         * intrinsics/erf.c: New file.
55         * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
56         * configure.ac: Test for C99 Bessel and Error functions.
57         * Makefile.in: Regenerate.
58         * config.h.in: Regenerate.
59         * configure: Regenerate.
61 2004-08-29  Steven G. Kargl  <kargls@comcast.net>
62         Paul Brook  <paul@codesourcery.com>
64         * Makefile.am: Add intrinsics/getXid.c.
65         * configure.ac: Add tests for get{g,p,u}id.
66         * config.h.in: Regenerate.
67         * Makefile.in: Regenerate.
68         * configure: Regenerate.
70 2004-08-28  Paul Brook  <paul@codesourcery.com>
72         PR libfortran/17195
73         * libgfortran.h (rtoa): Remove prototype.
74         * runtime/error.c (rtoa): Remove.
75         * io/write.c (calculate_G_format): Don't add blanks if E format is
76         used.  Add correct number of blanks when exponent width is specified.
77         (output_float): Rewrite.
79 2004-08-27  Paul Brook  <paul@codesourcery.com>
81         * io/rewind.c (st_rewind): Reset unit to read mode.
83 2004-08-27  Bud Davis  <bdavis9659@comcast.net>
85         PR fortran/16597
86         * io/io.h: created typedef for unit_mode.
87         * io/io.h (gfc_unit): added mode to unit structure.
88         * io/transfer.c (data_transfer_init): flush if a write then
89         read is done on a unit (direct access files).
90         * io/rewind.c (st_rewind): Used unit mode instead of global.
92 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
94         PR fortran/17143        
95         * runtime/error.c (itoa): keep from overflowing during
96         mod operation by using unsigned variable.
98 2004-08-24  Bud Davis  <bdavis9659@comcast.net>
100         PR fortran/17164
101         * runtime/string_intrinsics.c (string_index):check for
102         substring longer than string.
104 2004-08-24  David Edelsohn  <edelsohn@gnu.org>
106         * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
107         * Makefile.in: Rebuilt.
109 2004-08-23  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
111         * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
112         Fix formatting issues, update copyright years.
114 2004-08-21  Bud Davis  <bdavis9659@comcast.net>
116         PR 16908
117         * io/transfer.c (next_record_w): Do not blank pad.
118         * io/transfer.c (next_record): Take into account partial records.
120 2004-08-18  Victor Leikehman  <lei@il.ibm.com>
122         PR fortran/13278
123         * io/transfer.c (st_set_nml_var)
124         * io/write.c (namelist_write): Allow var_name and var_name_len to be
125         null. For strings, use string_length field instead of len.
126         * io/io.h (struct namelist_type): New field string_length.
127         (st_set_nml_var_char): New argument string_length.
129 2004-08-13  Bud Davis  <bdavis9659@comcast.net>
131         PR gfortran/16935
132         * io/open.c (st_open): use flags instead of the unit structure.
134 2004-08-10  Victor Leikehman  <lei@il.ibm.com>
136         * io/list_read.c (namelist_read): Convert variable names
137         to lower case, so that mixed-case names are recognized.
138         Don't read beyond terminating slash.
140 2004-08-09  Richard Henderson  <rth@redhat.com>
141             Roger Sayle  <roger@eyesopen.com>
143         * intrinsics/c99_functions.c (nextafterf): New implementation that
144         works correctly with denormalized numbers.
146 2004-08-09  Victor Leikehman  <lei@il.ibm.com>
148         * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
149         intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
150         Allocate space if return value has NULL in its data field.
151         * generated/*.c: Regenerate.
153 2004-08-06  Janne Blomqvist  <jblomqvi@cc.hut.fi>
155         * intrinsics/env.c: New file.
156         * Makefile.am: Add env.c to build.
157         * Makefile.in: Regenerate.
159 2004-08-05  Victor Leikehman  <lei@il.ibm.com>
161         PR libgfortran/16704
162         * io/read.c (read_radix): Understand letters f and F as hex digits.
164 2004-08-04  Victor Leikehman  <lei@il.ibm.com>
166         * libgfortran.h (array_t, size0) New declarations.
167         * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
168         space if return value descriptor has NULL in its data field,
169         and initialize bounds and stride.
170         * intrinsics/size.c (array_t, size0): Declarations moved to
171         libgfortran.h.
172         * generated/*.c: Regenerate.
174 2004-08-03  Roger Sayle  <roger@eyesopen.com>
176         PR libgfortran/16137
177         * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
178         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
179         scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
180         * config.h.in: Regenerate.
181         * configure: Regenerate.
183         * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
184         copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
185         nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
186         implementations for targets that don't support C99 float functions.
188 2004-08-01  Roger Sayle  <roger@eyesopen.com>
190         * io/write.c (write_float): Use the slightly more portable isnan
191         in preference to isinf.
193 2004-07-18  Bud Davis  <bdavis9659@comcast.net>
195         * configure.ac: Add check for LFS support. 
196         * configure: Regenerate
198 2004-07-11  Paul Brook  <paul@codesourcery.com>
200         PR fortran/16303
201         * m4/cexp.m4 (carg): Return -pi to pi.
202         * generated/exp_c?.c: Regenerate.
204 2004-07-08  Andreas Krebbel  <krebbel1@de.ibm.com>
206         PR fortran/16291
207         * libgfortran/io/write.c: (write_float): Added length check.
208         Remove pointless memset calls.
210 2004-07-04  Bud Davis  <bdavis9659@comcast.net>
211             Paul Brook  <paul@codesourcery.com>
213         PR fortran/15472
214         * io/transfer.c(us_write): set recl for seq unform writes to max size.
215         * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
216         * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at 
217         right time.
218         * io/unix.c(is_seekable): set based upon the file/device, not the
219         method being used to access it (fd or mmap).
220         * io/unix.c(fd_flush): don't set file_size if !seekable.
221         * io/unix.c(fd_truncate: ditto.
223 2004-07-04  Janne Blomqvist  <jblomqvi@cc.hut.fi>
224         Paul Brook  <paul@codesourcery.com>
226         PR fortran/15280
227         PR fortran/15665
228         * libgfortran.h (gfc_strlen_type): Define.
229         * intrinsics/args.c (getarg): Rename ...
230         (getarg_i4): ... to this.
231         (getarg_i8, get_command_argument_i4, get_command_argument_i8,
232         get_command_i4, get_command_i8): New functions.
234 2004-07-04  Matthias Klose  <doko@debian.org>
236         * libtool-version: New.
237         * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
238         * Makefile.in: Regenerate.
239         * configure.ac: Remove libtool_VERSION macro
240         * configure: Regenerate
242 2004-06-30  Steve Kargl  <sgk@troutmask.apl.washington.edu>
243             Steven Bosscher  <stevenb@suse.de>
245         * intrinsics/rand.c (rand): Wrap the irand() call from the previous
246         commit in prefix.
248 2004-06-29  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
249         Paul Brook  <paul@codesourcery.com>
251         * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
252         comments.
253         * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
255 2004-06-27  Bud Davis  <bdavis9659@comcast.net>
257         PR gfortran/12839
258         * io/write.c (write_float): check signbit for Infinity.
260 2004-06-26  Bud Davis  <bdavis9659@comcast.net>
262         PR gfortran/16196
263         * unix.c(regular_file): create file if it does not exist.
265 2004-06-24  Andrew Pinski  <apinski@apple.com>
267         * configure.ac: Remove check for libmx.
268         * configure: Regenerate.
270 2004-06-22  Janne Blomqvist  <jblomqvi@cc.hut.fi>
272         PR fortran/15750
273         * inquire.c (st_inquire): Add comment
274         * io.h (st_parameter): Add iolength.
275         (st_iolength, st_iolength_done): Declare.
276         * transfer.c (iolength_transfer, iolength_transfer_init,
277         st_iolength, st_iolength_done): New functions.
279 2004-06-21  Steven G. Kargl  <kargls@comcast.net>
281         * etime.c (etime_sub): Remove array rank check;
282         Add check for sufficient space.
284 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
286         PR gfortran/16080
287         * io/list_read.c(set_value): fixed spelling.
289 2004-06-19  Bud Davis  <bdavis9659@comcast.net>
291         PR gfortran/16080
292         * io/list_read.c(set_value): don't copy if the string is null.
294 2004-06-14  Bud Davis  <bdavis9659@comcast.net>
296         PR gfortran/15292
297         * intrinsics/c99_functions.c: Use fpclassify if it exists.
299 2004-06-13  Paul Brook  <paul@codesourcery.com>
301         * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
302         * configure.ac: Add checks for nextafter and nextafterf.
303         * Makefile.in, config.h.in, configure: Regenerate.
304         * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
305         * intrinsics/rand.c (rand): Use normalize_r4_i4.
306         * intrinsics/random.c (random_r4): Use normalize_r4_i4.
307         (random_r8): Use normalize_r8_i8.
308         * runtime/normalize.c: New file.
310 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
311             Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
313         * random.c: Fix several spelling and formatting mistakes in 
314         comments.
315         (random_r8): Fix loop to make random numbers range in [0,1(.
316         
318 2004-06-13  Steven G. Kargl  <kargls@comcast.net>
320         * random.c (random_r4): Burn a random number.
321         (random_r8): fix infinite loop.
322         
323 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
324       Steve Kargl  <sgk@troutmask.apl.washington.edu>
326         PR gfortran/15292
327         * intrinsics/c99_functions.c: New file.
328         * Makefile.am: Add new file.
329         * configure.ac: Added test for round/roundf.
330         * Makefile.in: Regenerate.
331         * configure: Regenerate.
332         * configure.h.in: Regenerate.
334 2004-06-12  Steven G. Kargl  <kargls@comcast.net>
336         * Makefile.am: Add rand.c and etime.c
337         * Makefile.in: Regenerated.
338         * aclocal.in: Regenerated.
339         * cpu_time.c (second_sub, second): New functions.
340         * rand.c (irand, rand, srand): New file.
341         * etime.c (etime_sub, etime): New file.
343 2004-06-12  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
344             Steven Bosscher  <stevenb@suse.de>
346         PR fortran/14923
347         * intrinsics/date_and_time.c: New file.
348         * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
349         * Makefile.in, aclocal.m4: Regenerate.
350         * libgfortran.h: Prototype date_and_time().
352 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
354         PR fortran/15665
355         * intrinsics/args.c: Implement GETARG and IARGC.
356         * Makefile.am: Add it.
357         * Makefile.in: Regenerate.
359 2004-06-12  Bud Davis  <bdavis9659@comcast.net>
361         PR gfortran/12839
362         * io/write.c(write_float): Format inf and nan IAW F2003.
364 2004-06-09  Bud Davis  <bdavis9659@comcaste.net>
366         PR gfortran/14897
367         * io/transfer.c (formatted_transfer): position is unique
368          for T and TL edit descriptors.
369         (data_transfer_init): set record length to size of internal
370          file.
372 2004-06-09  Bud Davis  <bdavis9659@comcast.net>
374         PR gfortran/15755
375         * io/backspace.c(st_backspace): call correct routine for
376         formatted and un-formatted units.
378 2004-05-30  Andreas Jaeger  <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
380         PR gfortran/11800
381         * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
382         (lib_LTLIBRARIES): Rename to ...
383         (toolexeclib_LTLIBRARIES): this for multilib support.
384         * configure.in: Rename to ...
385         * configure.ac: this.  Update to modern autoconf style, enable
386         multilibs, support --enable-version-specific-runtime-libs.
387         * Makefile.in: Regenerated.
388         * configure: Regenerated.
389         * aclocal.m4: Regenerated.
391 2004-05-30  Steven G. Kargl  <kargls@comcast.net>
393         * libgfortran.h (random_seed): Update prototype.
394         * intrinsics/random.c: Disable old implementation and add new one.
396 2004-05-30  Andreas Jaeger  <aj@suse.de>
398         * intrinsics/random.c: Include unistd.h for close and read
399         prototypes, remove unneeded inclusion of assert.h.
401         * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
402         unneeded inclusion of assert.h.
404 2004-05-27  Tobias Schlueter  <tobias.shclueter@physik.uni-muenchen.de>
406         PR fortran/15234
407         * intrinsics/associated.c: Remove enum.
408         (associated): Replace TRUE/FALSE by 1/0.
410 2004-05-23  Steven G. Kargl  <kargls@comcast.net>
412         * random.c (random_seed): Use correct variable.
414 2004-05-22  Steven G. Kargl  <kargls@comcast.net>
416         * intrinsics/system_clock: New file.
417         * Makefile.am: Add intrinsics/system_clock.c.
418         * Makefile.in: Regenerate.
420 2004-05-21  Roger Sayle  <roger@eyesopen.com>
422         * io/format.c (parse_format_list): Allow the comma after a string
423         literal to be optional.
425 2004-05-18  Paul Brook  <paul@codesourcery.com>
426         Feng Wang  <fengwang@nudt.edu.cn>
428         * Makefile.am (i_pow_c): Set it. Add build rule.
429         (gfor_built_src): Use it.
430         (m4_files): add m4/pow.m4.
431         * Makefile.in: Regenerate.
432         * m4/pow.m4: New file.
433         * generated/pow_*.c: Regenerate.
435 2004-05-18  Paul Brook  <paul@codesourcery.com>
437         * Makefile.am: Remove references to types.m4.
438         * m4/iparm.m4: Merge with types.m4.
439         * m4/types.m4: Remove.
440         * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
441         m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
442         m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
443         m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
444         m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
445         m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
446         Update to use new iparm.m4.
447         * generated/*.c: Regenerate.
449 2004-05-18  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
451         PR fortran/15235
452         * gfortran.h (offset_t): Rename to ...
453         (gfc_offset): ... this.
454         * io/backspace.c (formatted_backspace, unformatted_backspace),
455         io/io.h (stream, gfc_unit, global_t, file_length, file_position),
456         transfer.c (us_read, us_write, next_record_r, next_record_w),
457         io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
458         fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
459         mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
460         mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
461         occurences of offset_t by gfc_offset.
463 2004-05-16  Paul Brook  <paul@codesourcery.com>
465         * io/format.c (write_real): Don't include padding in format.
467 2004-05-16  Paul Brook  <paul@codesourcery.com>
469         * io/format.c (format_lex): Make c an int.
471 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
472         Paul Brook  <paul@codesourcery.com>
474         * io/write.c (write_logical): Don't print extra blank.
475         (write_integer): Base field width on kind.
476         (list_formatted_write): Output initial blank.
478 2004-05-16  Janne Blomqvist  <jblomqvi@cc.hut.fi>
480         * io/io.h (flush): Add prototype.
481         * io/transfer.c (finalize_transfer): Flush partial records.
482         * io/unix.c (flush): New function.
484 2004-05-15  Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
486         PR fortran/15234
487         * io/io.h (unit_t): Rename to ...
488         (gfc_unit) ... this.
489         (unit_root, current_unit, find_file, find_unit, get_unit): Now
490         of type gfc_unit.
491         (delete_file, insert_unit, close_unit): Argument now of type
492         gfc_unit.
493         * backspace.c (st_backspace), close.c (st_close), endfile.c
494         (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
495         (test_endfile, edit_modes, new_unit, already_open, st_open),
496         rewind.c (st_rewind), transfer.c (current_unit), unit.c
497         (internal_unit, unit_cache, rotate_left, rotate_right, insert,
498         insert_unit, delete_root, delete_treap, delete_unit, find_unit,
499         get_unit, init_units, close_unit), unix.c (find_file0,
500         find_file, delete_file): Replace all occurences of unit_t by
501         gfc_unit.
503 2004-05-15  Bud Davis  <bdavis9659@comcast.net>
505         PR fortran/15311
506         * io/write.c (write_a): right justify A edit output.
508 2004-05-14  Bud Davis  <bdavis9659@comcast.net>
510         PR fortran/15149
511         * libgfortan.h,intrinsics/random.c: Made random_seed visible.
512         * runtime/main.c(init): Call random_seed as part of MAIN init.
514 2004-05-13  Tobias Schlüter  <tobias.schlueter@physik.uni-muenchen.de>
516         * io/format.c: (parse_format_list): No comma is required after
517         P descriptor.
519 2004-05-13  Bud Davis  <bdavis9659@comcast.net>
521         PR fortran/15204
522         * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
524 2004-05-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
525             Steven Bosscher  <stevenb@suse.de>
527         PR libfortran/15234
528         * libgfortran.h: Include <inttypes.h> if available.
530 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
532         * io/unix.c (MAP_FAILED): Define if missing.
533         (mmap_alloc): Cast MAP_FAILED to char *.
534         (mmap_open): Likewise.
536 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
538         * generated/_abs_i8.f90: New file.
539         * generated/_abs_c4.f90: New file.
540         * generated/_abs_c8.f90: New file.
541         * Makefile.am: Add them.
542         * Makefile.in: Regenerate.
544 2004-04-26  Bud Davis  <bdavis9659@comcast.net>
546         PR fortran/14056
547         * generated/_abs_i4.f90: New file.
548         * Makefile.am: Add it.
549         * Makefile.in: Regenerate.
551 2004-04-25  Bud Davis  <bdavis9659@comcast.net>
553         PR fortran/14942
554         * io/list_read.c(list_formatted_read): finish consuming the
555         spaces and seperators at eoln to get ready for next item.
557 2004-04-23  Bud Davis  <bdavis9659@comcast.net>
559         PR fortran/15113
560         * io/read.c(read_a): Handle field width > destination and no field width.
562 2004-04-22  Bud Davis  <bdavis9659@comcast.net>
564         PR fortran/14906
565         * io/format.c (format_item): gracefully handle a ')'
566         when it is the first character encountered in the string.
568 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
570         PR fortran/14904
571         * io/transfer.c (next_record): Update last_record when
572         more than one record is written to a direct access file
573         with one write statement.
575 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
577         PR fortran/14901
578         * io/transfer.c (next_record_w) : No '\n' if internal.
579         * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
581 2004-04-11  Bud Davis  <bdavis9659@comcast.net>
583         * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
584         Will need to change this later to support direct access files > 2gb.
586 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
588         PR gfortran/14762
589         * io/transfer.c (next_record_r) : Skip to next record.
591 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
593         PR gfortran/14836
594         * io/transfer.c (next_record): Update last_record for DIRECT
596 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
598         PR gfortran/14837
599         * io/unix.c (find_file0): Use fd field of struct
601 2004-04-03  Bud Davis  <bdavis9659@comcast.net>
603         PR 14831
604         * io/inquire.c (inquire_via_unit): Changed return string for
605         BLANK=NULL. Use correct variable for ACTION.
607 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
609         PR 14746
610         * io/read.c (read_f): Allow a decimal without a leading digit.
611         * io/write.c (output_float): remove a leading '0' to keep from
612         overflowing the field (F edit descriptor).
614 2004-04-01  Bud Davis  <bdavis9659@comcast.net>
616         PR gfortran/14565
617         * io/open.c (new_unit),
618         * io/io.h : new_unit is now visible
619         * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
620         * io/transfer.c (data_transfer_init): remove compile warnings.
621         * io/rewind.c (st_rewind): ftruncate if writing.
623 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
625         * write.c (write_l): Use extract_int for 'L' edit descriptor.
627 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
629         PR 13919
630         * io/io.h (global_t):
631         * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
632           Move eof_jmp to a global structure.
633         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
635 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
637         * m4/cexp.m4 (csqrt): Actually use the passed value.
638         * generated/exp_c?.c: Regenerate.
640 2004-03-24  Bud Davis  <bdavis9659@comcast.net>
642         PR 12921
643         * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
644         * open.c (new_unit): Moved test for positioned direct access error.
645         (init_units): Corrected calculation of max records.
647 2004-02-06  Feng Wang  <fengwang@nudt.edu.cn>
649         * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
650         * Makefile.in: Regenerate.
651         * m4/dotprodc.m4: New file. Implement complex dot_product.
652         * m4/dotprod.m4: Delete the complex implementation.
653         * generated/dotprod_*: Update.
655 2004-02-07  Bud Davis  <bdavis9659@comcast.net>
657         * transfer.c (write_constant_string): Do not delete H's in hollerith
658         formats.
660 2004-01-05  Andrew Pinski  <apinski@apple.com>
662         * configure.in: Check for csin in -lmx also.
663         * configure: Regenerate.
665 2004-01-01  Paul Brook  <paul@codesourcery.com>
667         * io/list_read.c (find_nml_node): Make static.
668         (match_namelist_name): Ditto.
669         * io/read.c (convert_precision_real): Make static, fix spelling.
670         * io/transfer.c (extract_real): Remove unused prototype.
671         (st_set_nml_var): Make static.
672         * io/write.c (extract_real): Make static.
674 2003-12-12  Huang Chun <chunhuang73@hotmal.com>
676         * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
678 2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
680         * io/transfer.c (data_transfer_init): Give a runtime error for list
681         formatted reads and writes from/to files opened for unformatted IO.
683 2003-11-30  Paul Brook  <paul@nowt.org>
685         * runtime/memory.c (push_context): Remove.
686         (pop_context): Remove.
687         * libgfortran.h: Remove prototypes.
689 2003-11-27  Paul Brook  <paul@nowt.org>
691         * runtime/memory.c (deallocate): Nullify pointer after freeing.
693 2003-11-27  Paul Brook  <paul@nowt.org>
695         * intrinsics/string_intrinsics.c: Use new memory allocation interface.
696         * libgfortran.h: Ditto.
697         * m4/in_pack.m4: Ditto.
698         * runtime/in_pack_generic.c: Ditto.
699         * runtime/memory.c: Ditto.
701 2003-11-26  Richard Henderson  <rth@redhat.com>
703         * m4/exponent.m4, m4/fraction.m4: New.
704         * m4/nearest.m4, m4/set_exponent.m4: New.
705         * generated/*: Update.
706         * Makefile.am: Add them.
707         (AM_CFLAGS): New.  Use -std=gnu99.
708         * Makefile.in: Regenerate.
710 2003-11-08  Paul Brook  <paul@nowt.org>
712         PR fortran/12704
713         * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
714         * m4/maxloc1.m4: Ditto.
715         * m4/minloc0.m4: Ditto.
716         * m4/minloc1.m4: Ditto.
717         * m4/ifunction.m4: Set return value for zero sized arrays.
718         * m4/iforeach.m4: Ditto.
719         * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
720         m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
721         * generated/*: Update.
723 2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
725         PR fortran/12702
726         * io/list_read.c (eat_spaces): Treat tab as space.
728 2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
730         * intrinsics/random.c: Add reference to paper containing algorithm.
731         (random_seed): Extra error checking and proper handling of arrays.
732         (arandom_r4, arandom_r8): Implement.
734 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
736         PR fortran/12703
737         * runtime/memory.c (allocate_size): Allow allocation
738         of zero-sized objects.
740 2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
742         PR fortran/12701
743         * open.c (new_unit): Open without a file name opens
744         a file with name fort.<unit>.
746 2003-10-12  Feng Wang  <wf_cs@yahoo.com>
748         * intrinsics/cshift0.c: New file.
749         * m4/cshift1.m4: New file
750         * generated/cshift*.c: New files.
751         * Makefile.am: Add them.
752         * Makefile.in: Regenerate.
754 2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
756         * io/list_read.c (read_character): Remove unwanted call to free_saved.
758 2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
760         * intrinsics/string_intrinsics.c (string_trim): New function.
761         (string_repeat): New function.
763 2003-10-11  Paul Brook  <paul@nowt.org>
765         * intrinsics/dprod_r8.f90: New file.
766         * Makefile.am (gfor_specific_src): Add it.
767         (gfor_built_specific_src): Rename from gfor_build_specific_c.
768         Add new intrinsics.
769         (gfor_specific2_src): Rename from gfor_built_specific2_c.
770         Add new intrinsics.
771         * Makefile.in: Regenerate.
772         * generated/_aint_*.f90: New files.
773         * generated/_anint*.f90: New files.
774         * generated/_atan2*.f90: New files.
775         * generated/_mod*.f90: New files.
777 2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
779         * intrinsics/selected_kind.f90: New file.
780         * Makefile.am: Add it.
781         * Makefile.in: regenerate.
783 2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
784         Paul Brook  <paul@nowt.org>
786         * intrinsics/random.c: New file.
787         * Makefile.am (gfor_hemper_src): Add it.
788         (gfor_specific_c): Fix typo.
790 2003-09-19  Paul Brook  <paul@nowt.org>
792         * All: rename g95->gfc.
794 2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
796         * io/write.c (output_float): Fix bug of FMT_E, Add comments.
798 2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
800         * io/write.c (write_float): Dectection of positive infinite number,
801         Not a Number(NaN) and negative infinite number.
802         (ioutput_float): Bug fix for FMT_E and FMT_D processing to
803         output a very_very small number ( < 0.1e-100 ).
805 2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
807         * libgfortran.h (xtoa, itoa): Parameter modified.
808         * io/io.h (namelist_info): Declaration to support namelist I/O
809         (st_parameter): Add namelist related component
810         (ionml, empty_internal_buffer, st_set_nml_var_int,
811         st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
812         st_set_nml_var_log): Declaration
813         (set_integer, set_integer): Parameter changed
814         * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
815          fnodes
816         (parse_format_list): Fix bug about FMT_SLASH
817         * io/list_read.c (push_char): Totally clear old saved_string, zeroize
818         newly allocated saved_string
819         (next_char): Add detection of End_Of_Line support
820         (convert_integer): Now can process 64 bits interger
821         (read_real): Bug fixed
822         (init_at_eol, find_nml_node, match_namelist_name): Add new functions
823         (match_namelist_name): New implemention
824         * io/lock.c (ionml): New global variable
825         (library_end): Free memory in ionml
826         * io/open.c (st_open): Variable initializtion
827         * io/read.c (max_value): 64 bits interger support
828         (convert_precsion_real): New procedure to replace "strtod" with more
829          features
830         (read_f, read_radix): Input bug fix
831         * io/transfer.c: (sf_seen_eor): New static variable
832         (read_sf): Zeroize base buffer; fix bugs: single read statement can
833         not get input in mutli line when read from stdin
834         (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
835          request
836         (data_transfer_init): Clear internal buffer for Internel File I/O.
837         Internal File now worked. Detect some error condition for namelist.
838         Some minor bug fix
839         (next_record_w): Internal file and Namelist I/O support.
840         (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
841         st_set_nml_var_complex, st_set_nml_var_log): Implemention.
842         * io/unit.c (implicit_unit): Deletion
843         (get_unit): Now cannot open a unit implicitly.
844         * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
845         mapped buffer.
846         (mem_alloc_r_at): Internal file I/O support added
847         (empty_internal_buffer): New function
848         * io/write.c (extract_int): Support 64 bits interger processing
849         (output_float): Varibale initialization
850         (write_float): Infinite real number detection.
851         (write_int): 64 bits integer I/O support
852         (write_decimal): New function to output decimal number
853         (otoa, btoa): Better implemention and 64 bits interger support
854         (namelist_write): New function
855         * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
856         interger support
858 2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
860         * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
861         get_mem ): Add attribute.
862         * intrinsics/spread_generic.c (__spread): Fix spelling.
863         * io/inquire.c (inquire_via_filename): Add const.
864         * io/io.h (sys_exit): Add attribute.
865         * io/io.h (move_pos_offset): Add move_pos_offset.
866         * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
867         inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
868         inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
869         write_en, write_es, write_f, write_i, write_l, write_o, write_x,
870         write_z): Add const.
871         * io/read.c (convert_real): Add const.
872         * io/transfer.c (type_name): Add const.
873         * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
874         inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
875         inquire_read, inquire_write, inquire_readwrite): Add const.
876         * io/write.c (output_float): Remove unused variable.
877         * io/write.c (write_a, extract_int, extract_real, output_float,
878         write_float, write_int, write_i, write_b, write_o, write_z, write_d,
879         write_e, write_f, write_en, write_es, write_logical, write_integer,
880         write_character, write_real, write_complex): Add const.
881         * runtime/error.c (rtoa): Remove unused variable.
882         * runtime/select.c (select_string): Add const.
883         * runtime/stop.c (stop_string): Add const.
885 2003-08-10  Paul Brook  <paul@nowt.org>
887         * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
888         (FFLAGS): Add -fno-underscoring.
889         * Makefile.in: Regenerate.
890         * intrinsics/abort.c: New file.
892 2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
894         * fmain.c (main): Do not call init and cleanup; call set_args instead.
895         * libgfortran.h (init, cleanup): Remove declarations.
896         (set_args): Add declaration.
897         * runtime/main.c (init, cleanup): Make them static, and give them
898         the constructor and destructor attributes.
899         (set_args): New function.
901 2003-08-10  Paul Brook  <paul@nowt.org>
903         * intrinsics/strinf_intrinsics.c (compare_string): Return value based
904         on which string is longest.
906 2003-08-10  Paul Brook  <paul@nowt.org>
908         * Makefile.am (EXTRA_DIST): Remove old files.
909         * Makefile.in: Regenerate.
911 2003-07-26  Paul Brook  <paul@nowt.org>
913         Rename library to libgfortran.
914         * libgfortran.h: Change prefix to _libgfortran_.
916 2003-07-24  Paul Brook  <paul@nowt.org>
918         * configure.in: Don't pull in system libtool.  Use toplevel
919         auxiliary files.
921 2003-07-22  Paul Brook  <paul@nowt.org>
923         Regenerate all configury files.
925 2003-07-09  Chun Huang  <compiler@sohu.com>
927         * intrinsics/string_intrinsic.c (string_scan): New function.
928         (string_verify): New function.
930 2003-06-25  Paul Brook  <paul@nowt.org>
932         * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
933         (mem_seek): Don't bother setting physical_offset.
935 2003-06-20  Paul Brook  <paul@nowt.org>
937         * libgfor.h (stop_numeric): Declare.
938         * runtime/pause.c: New file.
939         * Makefile.am: Add it.
941 2003-06-08  Paul Brook  <paul@nowt.org>
943         * m4/cexp.m4 (cabs): Use correct typed version.
944         (csqrt): New function.
946 2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
948         Spotted by Benjamin and Tobias:
949         * io/list_read.c: Add Separator '\t'.
950         (parse_real, read_real): Accept real values starting with an optional
951         sign follows a decimal point.
953 2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
955         * Makefile.am: Don't put cmath objects in subdir.
956         * configure.in: Rename MATHOBJ to MATH_OBJ.
958 2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
960         * intrinsics/associated.c: New file.
961         * Makefile.am: Add it. Regenerate Makefile.in.
962         * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
963         G95_DESCRIPTOR_DTYPE.
965 2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
967         * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
968         (calculate_G_format): Rewrite it to eliminate an infinte loop and set
969         the scale_factor to 0 for F editing.
971 2003-05-11  Tobias Schlüter  <innenminister@gmx.de>
973         * libgfor.h: Only include stdint.h if it exists.
975 2003-05-07  Paul Brook  <paul@nowt.org>
977         * libgfor.h: Use stdint.h types.
978         * intrinsics/ishift.c: Ditto.
979         * runtime/memory.c (malloc_t): Reorder fields for better alignment.
981 2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
983         * libgfor.h (offsetof): Define if nobody else does.
984         * runtime/memory.c (HEADER_SIZE): Use it.
986 2003-05-01  Tobias Schlüter  <innenminister@gmx.de>
988         * configure.in: Require autoconf 2.54.
990 2003-04-28  Tobias Schlüter  <innenminister@gmx.de>
991         Paul Brook  <paul@nowt.org>
993         * intrinsics/reshape_generic.c: Copy the whole element, not just the
994         first byte.
995         * m4/transpose.m4: New file.
996         * Makefile.am: Add them.
997         Regenerate generated files.
999 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1001         * io/format.c (parse_format_list): Allow 'X' without integer
1002         prefix.  This is an extension.  Interpretation is '1X'.
1004 2003-04-18  Tobias Schlüter  <Tobias.Schlueter@physik.uni-muenchen.de>
1006         * io/format.c (parse_format_list): Allow '0P'.
1008 2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
1010         * Makefile.in: Re-regenerate for automake 1.7.3.
1012 2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
1014         Port implementation for CHARACTER SELECT from Andy's tree.
1015         * runtime/select.c: New file
1016         * Makefile.am: Add it.
1017         * Makefile.in: Regenerate.
1019 2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
1021         * io/transfer.c (formatted_transfer): Modified
1022         * io/unix.c (move_pos_offset): New Function.
1023         * io/format.c (parse_format_list): Modified.
1025 2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
1027         * io/write.c (write_float,write_real): New implemention of
1028         FMT_G and default float editing.
1029         (calculate_exp,calculate_G_format,output_float): New Function.
1030         (write_float,write_real,write_logical): Modified
1031         * libgfor.h (default_rtoa): Remove Declaration.
1032         * runtime/error.c (default_rtoa): Remove Function.
1034 2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
1036         Spotted by Yang:
1037         * io/write.c (extract_real): Add missing break statement.
1039 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1041         * cpu_time.c: Make sure we have a definition of HZ.  Don't
1042         rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
1044 2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
1045             Paul Brook  <paul@nowt.org>
1047         * configure.in: Check for process time headers and GETTIMEOFDAY.
1048         * makefile.am: Add intrinsics/cpu_time.c.
1049         * acinclude.m4: New file.
1050         * intrinsics/cpu_time.c: New file.
1051         * m4/dotprodl.m4: Fix typo.
1052         Regenerate generated files.
1054 2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
1056         * io/write.c (extract_real): Ouput floating point value.
1057         (write_float): New Function.
1058         (write_e, write_f, write_en, write_es): Modified
1059         * io/transfer.c (formatted_transfer): Modified.
1060         * libgfor.h (default_rtoa): Declaration.
1061         (rtoa): Declaration.
1062         * runtime/error.c (default_rtoa): New Function.
1063         (rtoa): New Function.
1065 2003-04-05  Paul Brook  <paul@nowt.org>
1067         * intrinsics/spread_generic.c: New file.
1068         * Makefile.am: Add it. Regenerate Makefile.in.
1070 2003-03-29  Paul Brook  <paul@nowt.org>
1072         * intrinsics/pack_generic.c: New file.
1073         * intrinsics/unpack_generic.c: New file.
1074         * Makefile.am: Add them. Regenerate Makefile.in.
1076 2003-03-25  Paul Brook  <paul@nowt.org>
1078         * intrinsics/eoshift0.c: New file.
1079         * intrinsics/eoshift2.c: New file.
1080         * m4/eoshift1.m4: New file.
1081         * m4/eoshift3.m4: New file.
1082         * Makefile.am: Add them.
1083         * in_unpack_generic.c: Initialize src.
1084         Regenerate generated files.
1086 2003-03-14  Paul Brook  <paul@nowt.org>
1088         * m4/shape.m4: Work properly with array temporaries.
1089         * m4/in_pack.m4: Skip redundant checks for array temporaries.
1090         * runtime/in_pack_generic.c: Ditto.
1092 2003-03-12  Paul Brook  <paul@nowt.org>
1094         * m4/shape.m4: Work properly with noncontiguous arrays.
1096 2003-03-08  Paul Brook  <paul@nowt.org>
1098         * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
1099         * runtime/in_pack_generic.c: Ditto.
1101 2003-02-08  Paul Brook  <paul@nowt.org>
1103         * intrinsics/reshape_generic.c: Use runtime_error to report errors.
1104         * io/close.c (st_close): Return void.
1105         * io/open.c (st_open): Return void.
1106         * libgfor.h (g95_array_char): Declare.
1107         (internal_malloc_size): Ditto.
1108         (internal_pack*, internal_unpack*): Ditto.
1109         * m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
1110         arrays.
1111         * m4/in_unpack.m4: Include file fixes.
1112         * m4/reshape.m4: Increment the correct source pointer.
1113         * Makefile.am (maxloc): Fix typo.
1114         * runtime/in_pack_generic.c: Call optimized functions. Allocate
1115         storage if neccessary. Fix logic for packed arrays.
1116         * runtime/in_unpack_generic.c: Call optimized functions.
1117         * runtime/main.c: Use runtime_error to report errors.
1118         * memory.c (internal_malloc_size): Make non-static.
1120 2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
1122         * reshape_packed.c, lock.c: Add #include <string.h>.
1123         * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
1124         environ.c, error.c, memory.c, string.c: Add const.
1125         * error.c (show_locus): Add void.
1127 2003-02-21  Paul Brook  <paul@nowt.org>
1129         * m4/in_pack.m4: Avoid returning const * parameter.
1130         * Makefile.am: Only regenerate files in maintainer mode.
1132 2003-02-20  Paul Brook  <paul@nowt.org>
1134         Add array repacking support functions.
1135         * m4/in_pack.m4, m4/in_unpack.m4: New files.
1136         * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
1137         * Makefile.am: Build them.  Regenerate configury files.
1138         * generated/: New directory for generated files (need to move
1139         everything else there).
1141 2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
1143         * m4/cexp.m4: Fix typo.
1145 2003-01-26  Paul Brook  <paul@nowt.org>
1147         * intrinsics/: Add missing generated files.
1149 2003-01-26  Paul Brook  <paul@nowt.org>
1151         * Makefile.am: Put -I before the filename.
1153 2003-01-24  Paul Brook  <paul@nowt.org>
1155         * configure.in: Add AM_MAINTAINER_MODE.
1157 2003-01-23  Paul Brook  <paul@nowt.org>
1159         * configure.in, Makefile.am: Modify to work with unmodified autoconf
1160         and auotmake.
1161         Also regenerate other configury files.
1163 2003-01-21  Paul Brook  <paul@nowt.org>
1165         * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
1167 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1169         * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
1170         Don't include "alloca.h".
1172 2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1174         * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
1175         * Makefile.am: Adjust file name.
1176         * Makefile.in: Regenerate.
1177         * gfortypes.h: Kill, include everything in...
1178         * libgfor.h: ...here.  Include config.h
1179         * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
1180         intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
1181         intrinsics/reshape_packed.c, intrinsics/size.c,
1182         m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
1183         for prefix for all functions instead of hardcoded.
1185 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1187         * io/lock.c (library_end): Propagate library return
1188         code.
1190 2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1192         Port fixes from Andy's tree:
1193         * io/read.c (read_decimal): Reverse sense of overflow
1194         comparison during integer reads.
1195         * io/format.c (revert): Fix comment.
1196         (next_format): Fix format revision.
1197         * io/unix.c: Fix and simplify mmap version of stream
1198         functions.
1200 2003-01-11  Paul Brook  <paul@nowt.org>
1202         * configure, Makefile.in: Regenerate.
1204 2003-01-11  Paul Brook  <paul@nowt.org>
1206         * runtime/stop.c: Rewrite.
1208 2003-01-08  Paul Brook  <paul@nowt.org>
1210         * configure, Makefile.in: Regenerate.
1212 2003-01-05  Paul Brook  <paul@nowt.org>
1214         * (*.m4) Move to m4/.
1215         * intrinsics/string.c (_gfor_string_index): New Function.
1217 2002-12-29  Paul Brook  <paul@nowt.org>
1219         * intrinsics/reshape.*: New files.
1220         * gcc_config.patch: Update to new GCC configure system.
1222 2002-10-10  Paul Brook  <paul@nowt.org>
1224         * intrinsics/size.c: New file.
1225         * intrinsics/shape.m4: New file.
1226         * Makefile.am: Add above files.
1228 2002-10-02  Paul Brook  <paul@nowt.org>
1230         * fmain.c (main): Move here.
1231         * libgfor.c: From here.
1232         * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1233         * Makefile.am: Build libgforbegin.
1234         * gcc_config.patch: Remove stray -march=athlon.
1235         * dotprodl.m4: Fix use of L8_TO_L4 macro.
1236         * ifunction.m4: Move variable declarations to allow compilation with
1237         gcc < 3.0
1238         * specific.m4, specific4.m4: Fix typo typecode->type_code.
1239         * README: Document use of patch -p1.
1241 2002-09-12  Paul Brook  <paul@nowt.org>
1243         * math/*: Add complex math library functions.
1244         * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1245         * Makefile.am: Add details for above.
1246         * configure.in: Use AC_PROG_F95.  Test for the presence of csin.
1248 2002-09-09  Paul Brook  <paul@nowt.org>
1250         * libgfor.c (determine_endianness): Use an array rather than a struct.
1251         * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1253 2002-09-09  Steven Bosscher  <s.bosscher@student.tudelft.nl>
1255         * libgfor.c: Add fatal signal handler.
1256         Romove superfluous abort() calls.
1258 2002-09-07  Paul Brook <paul@nowt.org>
1260         * Makefile.am, intrinsics: Major rewrite.
1262 2002-09-02  Paul Brook <paul@nowt.org>
1264         * Makefile.am: Added -I$(srcdir) to m4 rule.
1266 2002-08-30  Paul Brook <paul@nowt.org>
1268         * io/*: Integrated libgforio.
1269         * Makefile.am, configure.in: Make compatable with GCC. Build code for
1270         intrinsics in the intrisics directory.
1271         * intrinsics/intrinsics.m4: Move here. Strip directories from the
1272         filename. Add 'and' and 'all' intrinsics.
1274 2002-08-17  Paul Brook <paul@nowt.org>
1276         * ALL: First release as more than just a single file