OSDN Git Service

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