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