1 2004-07-04 Matthias Klose <doko@debian.org>
3 * libtool-version: New.
4 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
5 * Makefile.in: Regenerate.
6 * configure.ac: Remove libtool_VERSION macro
7 * configure: Regenerate
9 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
10 Steven Bosscher <stevenb@suse.de>
12 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
15 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
16 Paul Brook <paul@codesourcery.com>
18 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
20 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
22 2004-06-27 Bud Davis <bdavis9659@comcast.net>
25 * io/write.c (write_float): check signbit for Infinity.
27 2004-06-26 Bud Davis <bdavis9659@comcast.net>
30 * unix.c(regular_file): create file if it does not exist.
32 2004-06-24 Andrew Pinski <apinski@apple.com>
34 * configure.ac: Remove check for libmx.
35 * configure: Regenerate.
37 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
40 * inquire.c (st_inquire): Add comment
41 * io.h (st_parameter): Add iolength.
42 (st_iolength, st_iolength_done): Declare.
43 * transfer.c (iolength_transfer, iolength_transfer_init,
44 st_iolength, st_iolength_done): New functions.
46 2004-06-21 Steven G. Kargl <kargls@comcast.net>
48 * etime.c (etime_sub): Remove array rank check;
49 Add check for sufficient space.
51 2004-06-19 Bud Davis <bdavis9659@comcast.net>
54 * io/list_read.c(set_value): fixed spelling.
56 2004-06-19 Bud Davis <bdavis9659@comcast.net>
59 * io/list_read.c(set_value): don't copy if the string is null.
61 2004-06-14 Bud Davis <bdavis9659@comcast.net>
64 * intrinsics/c99_functions.c: Use fpclassify if it exists.
66 2004-06-13 Paul Brook <paul@codesourcery.com>
68 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
69 * configure.ac: Add checks for nextafter and nextafterf.
70 * Makefile.in, config.h.in, configure: Regenerate.
71 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
72 * intrinsics/rand.c (rand): Use normalize_r4_i4.
73 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
74 (random_r8): Use normalize_r8_i8.
75 * runtime/normalize.c: New file.
77 2004-06-13 Steven G. Kargl <kargls@comcast.net>
78 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
80 * random.c: Fix several spelling and formatting mistakes in
82 (random_r8): Fix loop to make random numbers range in [0,1(.
85 2004-06-13 Steven G. Kargl <kargls@comcast.net>
87 * random.c (random_r4): Burn a random number.
88 (random_r8): fix infinite loop.
90 2004-06-12 Bud Davis <bdavis9659@comcast.net>
91 Steve Kargl <sgk@troutmask.apl.washington.edu>
94 * intrinsics/c99_functions.c: New file.
95 * Makefile.am: Add new file.
96 * configure.ac: Added test for round/roundf.
97 * Makefile.in: Regenerate.
98 * configure: Regenerate.
99 * configure.h.in: Regenerate.
101 2004-06-12 Steven G. Kargl <kargls@comcast.net>
103 * Makefile.am: Add rand.c and etime.c
104 * Makefile.in: Regenerated.
105 * aclocal.in: Regenerated.
106 * cpu_time.c (second_sub, second): New functions.
107 * rand.c (irand, rand, srand): New file.
108 * etime.c (etime_sub, etime): New file.
110 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
111 Steven Bosscher <stevenb@suse.de>
114 * intrinsics/date_and_time.c: New file.
115 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
116 * Makefile.in, aclocal.m4: Regenerate.
117 * libgfortran.h: Prototype date_and_time().
119 2004-06-12 Bud Davis <bdavis9659@comcast.net>
122 * intrinsics/args.c: Implement GETARG and IARGC.
123 * Makefile.am: Add it.
124 * Makefile.in: Regenerate.
126 2004-06-12 Bud Davis <bdavis9659@comcast.net>
129 * io/write.c(write_float): Format inf and nan IAW F2003.
131 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
134 * io/transfer.c (formatted_transfer): position is unique
135 for T and TL edit descriptors.
136 (data_transfer_init): set record length to size of internal
139 2004-06-09 Bud Davis <bdavis9659@comcast.net>
142 * io/backspace.c(st_backspace): call correct routine for
143 formatted and un-formatted units.
145 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
148 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
149 (lib_LTLIBRARIES): Rename to ...
150 (toolexeclib_LTLIBRARIES): this for multilib support.
151 * configure.in: Rename to ...
152 * configure.ac: this. Update to modern autoconf style, enable
153 multilibs, support --enable-version-specific-runtime-libs.
154 * Makefile.in: Regenerated.
155 * configure: Regenerated.
156 * aclocal.m4: Regenerated.
158 2004-05-30 Steven G. Kargl <kargls@comcast.net>
160 * libgfortran.h (random_seed): Update prototype.
161 * intrinsics/random.c: Disable old implementation and add new one.
163 2004-05-30 Andreas Jaeger <aj@suse.de>
165 * intrinsics/random.c: Include unistd.h for close and read
166 prototypes, remove unneeded inclusion of assert.h.
168 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
169 unneeded inclusion of assert.h.
171 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
174 * intrinsics/associated.c: Remove enum.
175 (associated): Replace TRUE/FALSE by 1/0.
177 2004-05-23 Steven G. Kargl <kargls@comcast.net>
179 * random.c (random_seed): Use correct variable.
181 2004-05-22 Steven G. Kargl <kargls@comcast.net>
183 * intrinsics/system_clock: New file.
184 * Makefile.am: Add intrinsics/system_clock.c.
185 * Makefile.in: Regenerate.
187 2004-05-21 Roger Sayle <roger@eyesopen.com>
189 * io/format.c (parse_format_list): Allow the comma after a string
190 literal to be optional.
192 2004-05-18 Paul Brook <paul@codesourcery.com>
193 Feng Wang <fengwang@nudt.edu.cn>
195 * Makefile.am (i_pow_c): Set it. Add build rule.
196 (gfor_built_src): Use it.
197 (m4_files): add m4/pow.m4.
198 * Makefile.in: Regenerate.
199 * m4/pow.m4: New file.
200 * generated/pow_*.c: Regenerate.
202 2004-05-18 Paul Brook <paul@codesourcery.com>
204 * Makefile.am: Remove references to types.m4.
205 * m4/iparm.m4: Merge with types.m4.
206 * m4/types.m4: Remove.
207 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
208 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
209 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
210 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
211 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
212 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
213 Update to use new iparm.m4.
214 * generated/*.c: Regenerate.
216 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
219 * gfortran.h (offset_t): Rename to ...
220 (gfc_offset): ... this.
221 * io/backspace.c (formatted_backspace, unformatted_backspace),
222 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
223 transfer.c (us_read, us_write, next_record_r, next_record_w),
224 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
225 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
226 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
227 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
228 occurences of offset_t by gfc_offset.
230 2004-05-16 Paul Brook <paul@codesourcery.com>
232 * io/format.c (write_real): Don't include padding in format.
234 2004-05-16 Paul Brook <paul@codesourcery.com>
236 * io/format.c (format_lex): Make c an int.
238 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
239 Paul Brook <paul@codesourcery.com>
241 * io/write.c (write_logical): Don't print extra blank.
242 (write_integer): Base field width on kind.
243 (list_formatted_write): Output initial blank.
245 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
247 * io/io.h (flush): Add prototype.
248 * io/transfer.c (finalize_transfer): Flush partial records.
249 * io/unix.c (flush): New function.
251 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
254 * io/io.h (unit_t): Rename to ...
256 (unit_root, current_unit, find_file, find_unit, get_unit): Now
258 (delete_file, insert_unit, close_unit): Argument now of type
260 * backspace.c (st_backspace), close.c (st_close), endfile.c
261 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
262 (test_endfile, edit_modes, new_unit, already_open, st_open),
263 rewind.c (st_rewind), transfer.c (current_unit), unit.c
264 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
265 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
266 get_unit, init_units, close_unit), unix.c (find_file0,
267 find_file, delete_file): Replace all occurences of unit_t by
270 2004-05-15 Bud Davis <bdavis9659@comcast.net>
273 * io/write.c (write_a): right justify A edit output.
275 2004-05-14 Bud Davis <bdavis9659@comcast.net>
278 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
279 * runtime/main.c(init): Call random_seed as part of MAIN init.
281 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
283 * io/format.c: (parse_format_list): No comma is required after
286 2004-05-13 Bud Davis <bdavis9659@comcast.net>
289 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
291 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
292 Steven Bosscher <stevenb@suse.de>
295 * libgfortran.h: Include <inttypes.h> if available.
297 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
299 * io/unix.c (MAP_FAILED): Define if missing.
300 (mmap_alloc): Cast MAP_FAILED to char *.
301 (mmap_open): Likewise.
303 2004-04-26 Bud Davis <bdavis9659@comcast.net>
305 * generated/_abs_i8.f90: New file.
306 * generated/_abs_c4.f90: New file.
307 * generated/_abs_c8.f90: New file.
308 * Makefile.am: Add them.
309 * Makefile.in: Regenerate.
311 2004-04-26 Bud Davis <bdavis9659@comcast.net>
314 * generated/_abs_i4.f90: New file.
315 * Makefile.am: Add it.
316 * Makefile.in: Regenerate.
318 2004-04-25 Bud Davis <bdavis9659@comcast.net>
321 * io/list_read.c(list_formatted_read): finish consuming the
322 spaces and seperators at eoln to get ready for next item.
324 2004-04-23 Bud Davis <bdavis9659@comcast.net>
327 * io/read.c(read_a): Handle field width > destination and no field width.
329 2004-04-22 Bud Davis <bdavis9659@comcast.net>
332 * io/format.c (format_item): gracefully handle a ')'
333 when it is the first character encountered in the string.
335 2004-04-11 Bud Davis <bdavis9659@comcast.net>
338 * io/transfer.c (next_record): Update last_record when
339 more than one record is written to a direct access file
340 with one write statement.
342 2004-04-11 Bud Davis <bdavis9659@comcast.net>
345 * io/transfer.c (next_record_w) : No '\n' if internal.
346 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
348 2004-04-11 Bud Davis <bdavis9659@comcast.net>
350 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
351 Will need to change this later to support direct access files > 2gb.
353 2004-04-03 Bud Davis <bdavis9659@comcast.net>
356 * io/transfer.c (next_record_r) : Skip to next record.
358 2004-04-03 Bud Davis <bdavis9659@comcast.net>
361 * io/transfer.c (next_record): Update last_record for DIRECT
363 2004-04-03 Bud Davis <bdavis9659@comcast.net>
366 * io/unix.c (find_file0): Use fd field of struct
368 2004-04-03 Bud Davis <bdavis9659@comcast.net>
371 * io/inquire.c (inquire_via_unit): Changed return string for
372 BLANK=NULL. Use correct variable for ACTION.
374 2004-04-01 Bud Davis <bdavis9659@comcast.net>
377 * io/read.c (read_f): Allow a decimal without a leading digit.
378 * io/write.c (output_float): remove a leading '0' to keep from
379 overflowing the field (F edit descriptor).
381 2004-04-01 Bud Davis <bdavis9659@comcast.net>
384 * io/open.c (new_unit),
385 * io/io.h : new_unit is now visible
386 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
387 * io/transfer.c (data_transfer_init): remove compile warnings.
388 * io/rewind.c (st_rewind): ftruncate if writing.
390 2004-03-24 Bud Davis <bdavis9659@comcast.net>
392 * write.c (write_l): Use extract_int for 'L' edit descriptor.
394 2004-03-24 Bud Davis <bdavis9659@comcast.net>
397 * io/io.h (global_t):
398 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
399 Move eof_jmp to a global structure.
400 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
402 2004-03-24 Bud Davis <bdavis9659@comcast.net>
404 * m4/cexp.m4 (csqrt): Actually use the passed value.
405 * generated/exp_c?.c: Regenerate.
407 2004-03-24 Bud Davis <bdavis9659@comcast.net>
410 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
411 * open.c (new_unit): Moved test for positioned direct access error.
412 (init_units): Corrected calculation of max records.
414 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
416 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
417 * Makefile.in: Regenerate.
418 * m4/dotprodc.m4: New file. Implement complex dot_product.
419 * m4/dotprod.m4: Delete the complex implementation.
420 * generated/dotprod_*: Update.
422 2004-02-07 Bud Davis <bdavis9659@comcast.net>
424 * transfer.c (write_constant_string): Do not delete H's in hollerith
427 2004-01-05 Andrew Pinski <apinski@apple.com>
429 * configure.in: Check for csin in -lmx also.
430 * configure: Regenerate.
432 2004-01-01 Paul Brook <paul@codesourcery.com>
434 * io/list_read.c (find_nml_node): Make static.
435 (match_namelist_name): Ditto.
436 * io/read.c (convert_precision_real): Make static, fix spelling.
437 * io/transfer.c (extract_real): Remove unused prototype.
438 (st_set_nml_var): Make static.
439 * io/write.c (extract_real): Make static.
441 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
443 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
445 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
447 * io/transfer.c (data_transfer_init): Give a runtime error for list
448 formatted reads and writes from/to files opened for unformatted IO.
450 2003-11-30 Paul Brook <paul@nowt.org>
452 * runtime/memory.c (push_context): Remove.
453 (pop_context): Remove.
454 * libgfortran.h: Remove prototypes.
456 2003-11-27 Paul Brook <paul@nowt.org>
458 * runtime/memory.c (deallocate): Nullify pointer after freeing.
460 2003-11-27 Paul Brook <paul@nowt.org>
462 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
463 * libgfortran.h: Ditto.
464 * m4/in_pack.m4: Ditto.
465 * runtime/in_pack_generic.c: Ditto.
466 * runtime/memory.c: Ditto.
468 2003-11-26 Richard Henderson <rth@redhat.com>
470 * m4/exponent.m4, m4/fraction.m4: New.
471 * m4/nearest.m4, m4/set_exponent.m4: New.
472 * generated/*: Update.
473 * Makefile.am: Add them.
474 (AM_CFLAGS): New. Use -std=gnu99.
475 * Makefile.in: Regenerate.
477 2003-11-08 Paul Brook <paul@nowt.org>
480 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
481 * m4/maxloc1.m4: Ditto.
482 * m4/minloc0.m4: Ditto.
483 * m4/minloc1.m4: Ditto.
484 * m4/ifunction.m4: Set return value for zero sized arrays.
485 * m4/iforeach.m4: Ditto.
486 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
487 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
488 * generated/*: Update.
490 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
493 * io/list_read.c (eat_spaces): Treat tab as space.
495 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
497 * intrinsics/random.c: Add reference to paper containing algorithm.
498 (random_seed): Extra error checking and proper handling of arrays.
499 (arandom_r4, arandom_r8): Implement.
501 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
504 * runtime/memory.c (allocate_size): Allow allocation
505 of zero-sized objects.
507 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
510 * open.c (new_unit): Open without a file name opens
511 a file with name fort.<unit>.
513 2003-10-12 Feng Wang <wf_cs@yahoo.com>
515 * intrinsics/cshift0.c: New file.
516 * m4/cshift1.m4: New file
517 * generated/cshift*.c: New files.
518 * Makefile.am: Add them.
519 * Makefile.in: Regenerate.
521 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
523 * io/list_read.c (read_character): Remove unwanted call to free_saved.
525 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
527 * intrinsics/string_intrinsics.c (string_trim): New function.
528 (string_repeat): New function.
530 2003-10-11 Paul Brook <paul@nowt.org>
532 * intrinsics/dprod_r8.f90: New file.
533 * Makefile.am (gfor_specific_src): Add it.
534 (gfor_built_specific_src): Rename from gfor_build_specific_c.
536 (gfor_specific2_src): Rename from gfor_built_specific2_c.
538 * Makefile.in: Regenerate.
539 * generated/_aint_*.f90: New files.
540 * generated/_anint*.f90: New files.
541 * generated/_atan2*.f90: New files.
542 * generated/_mod*.f90: New files.
544 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
546 * intrinsics/selected_kind.f90: New file.
547 * Makefile.am: Add it.
548 * Makefile.in: regenerate.
550 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
551 Paul Brook <paul@nowt.org>
553 * intrinsics/random.c: New file.
554 * Makefile.am (gfor_hemper_src): Add it.
555 (gfor_specific_c): Fix typo.
557 2003-09-19 Paul Brook <paul@nowt.org>
559 * All: rename g95->gfc.
561 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
563 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
565 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
567 * io/write.c (write_float): Dectection of positive infinite number,
568 Not a Number(NaN) and negative infinite number.
569 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
570 output a very_very small number ( < 0.1e-100 ).
572 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
574 * libgfortran.h (xtoa, itoa): Parameter modified.
575 * io/io.h (namelist_info): Declaration to support namelist I/O
576 (st_parameter): Add namelist related component
577 (ionml, empty_internal_buffer, st_set_nml_var_int,
578 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
579 st_set_nml_var_log): Declaration
580 (set_integer, set_integer): Parameter changed
581 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
583 (parse_format_list): Fix bug about FMT_SLASH
584 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
585 newly allocated saved_string
586 (next_char): Add detection of End_Of_Line support
587 (convert_integer): Now can process 64 bits interger
588 (read_real): Bug fixed
589 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
590 (match_namelist_name): New implemention
591 * io/lock.c (ionml): New global variable
592 (library_end): Free memory in ionml
593 * io/open.c (st_open): Variable initializtion
594 * io/read.c (max_value): 64 bits interger support
595 (convert_precsion_real): New procedure to replace "strtod" with more
597 (read_f, read_radix): Input bug fix
598 * io/transfer.c: (sf_seen_eor): New static variable
599 (read_sf): Zeroize base buffer; fix bugs: single read statement can
600 not get input in mutli line when read from stdin
601 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
603 (data_transfer_init): Clear internal buffer for Internel File I/O.
604 Internal File now worked. Detect some error condition for namelist.
606 (next_record_w): Internal file and Namelist I/O support.
607 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
608 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
609 * io/unit.c (implicit_unit): Deletion
610 (get_unit): Now cannot open a unit implicitly.
611 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
613 (mem_alloc_r_at): Internal file I/O support added
614 (empty_internal_buffer): New function
615 * io/write.c (extract_int): Support 64 bits interger processing
616 (output_float): Varibale initialization
617 (write_float): Infinite real number detection.
618 (write_int): 64 bits integer I/O support
619 (write_decimal): New function to output decimal number
620 (otoa, btoa): Better implemention and 64 bits interger support
621 (namelist_write): New function
622 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
625 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
627 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
628 get_mem ): Add attribute.
629 * intrinsics/spread_generic.c (__spread): Fix spelling.
630 * io/inquire.c (inquire_via_filename): Add const.
631 * io/io.h (sys_exit): Add attribute.
632 * io/io.h (move_pos_offset): Add move_pos_offset.
633 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
634 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
635 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
636 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
638 * io/read.c (convert_real): Add const.
639 * io/transfer.c (type_name): Add const.
640 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
641 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
642 inquire_read, inquire_write, inquire_readwrite): Add const.
643 * io/write.c (output_float): Remove unused variable.
644 * io/write.c (write_a, extract_int, extract_real, output_float,
645 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
646 write_e, write_f, write_en, write_es, write_logical, write_integer,
647 write_character, write_real, write_complex): Add const.
648 * runtime/error.c (rtoa): Remove unused variable.
649 * runtime/select.c (select_string): Add const.
650 * runtime/stop.c (stop_string): Add const.
652 2003-08-10 Paul Brook <paul@nowt.org>
654 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
655 (FFLAGS): Add -fno-underscoring.
656 * Makefile.in: Regenerate.
657 * intrinsics/abort.c: New file.
659 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
661 * fmain.c (main): Do not call init and cleanup; call set_args instead.
662 * libgfortran.h (init, cleanup): Remove declarations.
663 (set_args): Add declaration.
664 * runtime/main.c (init, cleanup): Make them static, and give them
665 the constructor and destructor attributes.
666 (set_args): New function.
668 2003-08-10 Paul Brook <paul@nowt.org>
670 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
671 on which string is longest.
673 2003-08-10 Paul Brook <paul@nowt.org>
675 * Makefile.am (EXTRA_DIST): Remove old files.
676 * Makefile.in: Regenerate.
678 2003-07-26 Paul Brook <paul@nowt.org>
680 Rename library to libgfortran.
681 * libgfortran.h: Change prefix to _libgfortran_.
683 2003-07-24 Paul Brook <paul@nowt.org>
685 * configure.in: Don't pull in system libtool. Use toplevel
688 2003-07-22 Paul Brook <paul@nowt.org>
690 Regenerate all configury files.
692 2003-07-09 Chun Huang <compiler@sohu.com>
694 * intrinsics/string_intrinsic.c (string_scan): New function.
695 (string_verify): New function.
697 2003-06-25 Paul Brook <paul@nowt.org>
699 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
700 (mem_seek): Don't bother setting physical_offset.
702 2003-06-20 Paul Brook <paul@nowt.org>
704 * libgfor.h (stop_numeric): Declare.
705 * runtime/pause.c: New file.
706 * Makefile.am: Add it.
708 2003-06-08 Paul Brook <paul@nowt.org>
710 * m4/cexp.m4 (cabs): Use correct typed version.
711 (csqrt): New function.
713 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
715 Spotted by Benjamin and Tobias:
716 * io/list_read.c: Add Separator '\t'.
717 (parse_real, read_real): Accept real values starting with an optional
718 sign follows a decimal point.
720 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
722 * Makefile.am: Don't put cmath objects in subdir.
723 * configure.in: Rename MATHOBJ to MATH_OBJ.
725 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
727 * intrinsics/associated.c: New file.
728 * Makefile.am: Add it. Regenerate Makefile.in.
729 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
730 G95_DESCRIPTOR_DTYPE.
732 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
734 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
735 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
736 the scale_factor to 0 for F editing.
738 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
740 * libgfor.h: Only include stdint.h if it exists.
742 2003-05-07 Paul Brook <paul@nowt.org>
744 * libgfor.h: Use stdint.h types.
745 * intrinsics/ishift.c: Ditto.
746 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
748 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
750 * libgfor.h (offsetof): Define if nobody else does.
751 * runtime/memory.c (HEADER_SIZE): Use it.
753 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
755 * configure.in: Require autoconf 2.54.
757 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
758 Paul Brook <paul@nowt.org>
760 * intrinsics/reshape_generic.c: Copy the whole element, not just the
762 * m4/transpose.m4: New file.
763 * Makefile.am: Add them.
764 Regenerate generated files.
766 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
768 * io/format.c (parse_format_list): Allow 'X' without integer
769 prefix. This is an extension. Interpretation is '1X'.
771 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
773 * io/format.c (parse_format_list): Allow '0P'.
775 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
777 * Makefile.in: Re-regenerate for automake 1.7.3.
779 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
781 Port implementation for CHARACTER SELECT from Andy's tree.
782 * runtime/select.c: New file
783 * Makefile.am: Add it.
784 * Makefile.in: Regenerate.
786 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
788 * io/transfer.c (formatted_transfer): Modified
789 * io/unix.c (move_pos_offset): New Function.
790 * io/format.c (parse_format_list): Modified.
792 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
794 * io/write.c (write_float,write_real): New implemention of
795 FMT_G and default float editing.
796 (calculate_exp,calculate_G_format,output_float): New Function.
797 (write_float,write_real,write_logical): Modified
798 * libgfor.h (default_rtoa): Remove Declaration.
799 * runtime/error.c (default_rtoa): Remove Function.
801 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
804 * io/write.c (extract_real): Add missing break statement.
806 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
808 * cpu_time.c: Make sure we have a definition of HZ. Don't
809 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
811 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
812 Paul Brook <paul@nowt.org>
814 * configure.in: Check for process time headers and GETTIMEOFDAY.
815 * makefile.am: Add intrinsics/cpu_time.c.
816 * acinclude.m4: New file.
817 * intrinsics/cpu_time.c: New file.
818 * m4/dotprodl.m4: Fix typo.
819 Regenerate generated files.
821 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
823 * io/write.c (extract_real): Ouput floating point value.
824 (write_float): New Function.
825 (write_e, write_f, write_en, write_es): Modified
826 * io/transfer.c (formatted_transfer): Modified.
827 * libgfor.h (default_rtoa): Declaration.
829 * runtime/error.c (default_rtoa): New Function.
830 (rtoa): New Function.
832 2003-04-05 Paul Brook <paul@nowt.org>
834 * intrinsics/spread_generic.c: New file.
835 * Makefile.am: Add it. Regenerate Makefile.in.
837 2003-03-29 Paul Brook <paul@nowt.org>
839 * intrinsics/pack_generic.c: New file.
840 * intrinsics/unpack_generic.c: New file.
841 * Makefile.am: Add them. Regenerate Makefile.in.
843 2003-03-25 Paul Brook <paul@nowt.org>
845 * intrinsics/eoshift0.c: New file.
846 * intrinsics/eoshift2.c: New file.
847 * m4/eoshift1.m4: New file.
848 * m4/eoshift3.m4: New file.
849 * Makefile.am: Add them.
850 * in_unpack_generic.c: Initialize src.
851 Regenerate generated files.
853 2003-03-14 Paul Brook <paul@nowt.org>
855 * m4/shape.m4: Work properly with array temporaries.
856 * m4/in_pack.m4: Skip redundant checks for array temporaries.
857 * runtime/in_pack_generic.c: Ditto.
859 2003-03-12 Paul Brook <paul@nowt.org>
861 * m4/shape.m4: Work properly with noncontiguous arrays.
863 2003-03-08 Paul Brook <paul@nowt.org>
865 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
866 * runtime/in_pack_generic.c: Ditto.
868 2003-02-08 Paul Brook <paul@nowt.org>
870 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
871 * io/close.c (st_close): Return void.
872 * io/open.c (st_open): Return void.
873 * libgfor.h (g95_array_char): Declare.
874 (internal_malloc_size): Ditto.
875 (internal_pack*, internal_unpack*): Ditto.
876 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
878 * m4/in_unpack.m4: Include file fixes.
879 * m4/reshape.m4: Increment the correct source pointer.
880 * Makefile.am (maxloc): Fix typo.
881 * runtime/in_pack_generic.c: Call optimized functions. Allocate
882 storage if neccessary. Fix logic for packed arrays.
883 * runtime/in_unpack_generic.c: Call optimized functions.
884 * runtime/main.c: Use runtime_error to report errors.
885 * memory.c (internal_malloc_size): Make non-static.
887 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
889 * reshape_packed.c, lock.c: Add #include <string.h>.
890 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
891 environ.c, error.c, memory.c, string.c: Add const.
892 * error.c (show_locus): Add void.
894 2003-02-21 Paul Brook <paul@nowt.org>
896 * m4/in_pack.m4: Avoid returning const * parameter.
897 * Makefile.am: Only regenerate files in maintainer mode.
899 2003-02-20 Paul Brook <paul@nowt.org>
901 Add array repacking support functions.
902 * m4/in_pack.m4, m4/in_unpack.m4: New files.
903 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
904 * Makefile.am: Build them. Regenerate configury files.
905 * generated/: New directory for generated files (need to move
906 everything else there).
908 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
910 * m4/cexp.m4: Fix typo.
912 2003-01-26 Paul Brook <paul@nowt.org>
914 * intrinsics/: Add missing generated files.
916 2003-01-26 Paul Brook <paul@nowt.org>
918 * Makefile.am: Put -I before the filename.
920 2003-01-24 Paul Brook <paul@nowt.org>
922 * configure.in: Add AM_MAINTAINER_MODE.
924 2003-01-23 Paul Brook <paul@nowt.org>
926 * configure.in, Makefile.am: Modify to work with unmodified autoconf
928 Also regenerate other configury files.
930 2003-01-21 Paul Brook <paul@nowt.org>
932 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
934 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
936 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
937 Don't include "alloca.h".
939 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
941 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
942 * Makefile.am: Adjust file name.
943 * Makefile.in: Regenerate.
944 * gfortypes.h: Kill, include everything in...
945 * libgfor.h: ...here. Include config.h
946 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
947 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
948 intrinsics/reshape_packed.c, intrinsics/size.c,
949 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
950 for prefix for all functions instead of hardcoded.
952 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
954 * io/lock.c (library_end): Propagate library return
957 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
959 Port fixes from Andy's tree:
960 * io/read.c (read_decimal): Reverse sense of overflow
961 comparison during integer reads.
962 * io/format.c (revert): Fix comment.
963 (next_format): Fix format revision.
964 * io/unix.c: Fix and simplify mmap version of stream
967 2003-01-11 Paul Brook <paul@nowt.org>
969 * configure, Makefile.in: Regenerate.
971 2003-01-11 Paul Brook <paul@nowt.org>
973 * runtime/stop.c: Rewrite.
975 2003-01-08 Paul Brook <paul@nowt.org>
977 * configure, Makefile.in: Regenerate.
979 2003-01-05 Paul Brook <paul@nowt.org>
981 * (*.m4) Move to m4/.
982 * intrinsics/string.c (_gfor_string_index): New Function.
984 2002-12-29 Paul Brook <paul@nowt.org>
986 * intrinsics/reshape.*: New files.
987 * gcc_config.patch: Update to new GCC configure system.
989 2002-10-10 Paul Brook <paul@nowt.org>
991 * intrinsics/size.c: New file.
992 * intrinsics/shape.m4: New file.
993 * Makefile.am: Add above files.
995 2002-10-02 Paul Brook <paul@nowt.org>
997 * fmain.c (main): Move here.
998 * libgfor.c: From here.
999 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1000 * Makefile.am: Build libgforbegin.
1001 * gcc_config.patch: Remove stray -march=athlon.
1002 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1003 * ifunction.m4: Move variable declarations to allow compilation with
1005 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1006 * README: Document use of patch -p1.
1008 2002-09-12 Paul Brook <paul@nowt.org>
1010 * math/*: Add complex math library functions.
1011 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1012 * Makefile.am: Add details for above.
1013 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1015 2002-09-09 Paul Brook <paul@nowt.org>
1017 * libgfor.c (determine_endianness): Use an array rather than a struct.
1018 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1020 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1022 * libgfor.c: Add fatal signal handler.
1023 Romove superfluous abort() calls.
1025 2002-09-07 Paul Brook <paul@nowt.org>
1027 * Makefile.am, intrinsics: Major rewrite.
1029 2002-09-02 Paul Brook <paul@nowt.org>
1031 * Makefile.am: Added -I$(srcdir) to m4 rule.
1033 2002-08-30 Paul Brook <paul@nowt.org>
1035 * io/*: Integrated libgforio.
1036 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1037 intrinsics in the intrisics directory.
1038 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1039 filename. Add 'and' and 'all' intrinsics.
1041 2002-08-17 Paul Brook <paul@nowt.org>
1043 * ALL: First release as more than just a single file