1 2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
2 Paul Brook <paul@codesourcery.com>
6 * libgfortran.h (gfc_strlen_type): Define.
7 * intrinsics/args.c (getarg): Rename ...
8 (getarg_i4): ... to this.
9 (getarg_i8, get_command_argument_i4, get_command_argument_i8,
10 get_command_i4, get_command_i8): New functions.
12 2004-07-04 Matthias Klose <doko@debian.org>
14 * libtool-version: New.
15 * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
16 * Makefile.in: Regenerate.
17 * configure.ac: Remove libtool_VERSION macro
18 * configure: Regenerate
20 2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
21 Steven Bosscher <stevenb@suse.de>
23 * intrinsics/rand.c (rand): Wrap the irand() call from the previous
26 2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
27 Paul Brook <paul@codesourcery.com>
29 * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
31 * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
33 2004-06-27 Bud Davis <bdavis9659@comcast.net>
36 * io/write.c (write_float): check signbit for Infinity.
38 2004-06-26 Bud Davis <bdavis9659@comcast.net>
41 * unix.c(regular_file): create file if it does not exist.
43 2004-06-24 Andrew Pinski <apinski@apple.com>
45 * configure.ac: Remove check for libmx.
46 * configure: Regenerate.
48 2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
51 * inquire.c (st_inquire): Add comment
52 * io.h (st_parameter): Add iolength.
53 (st_iolength, st_iolength_done): Declare.
54 * transfer.c (iolength_transfer, iolength_transfer_init,
55 st_iolength, st_iolength_done): New functions.
57 2004-06-21 Steven G. Kargl <kargls@comcast.net>
59 * etime.c (etime_sub): Remove array rank check;
60 Add check for sufficient space.
62 2004-06-19 Bud Davis <bdavis9659@comcast.net>
65 * io/list_read.c(set_value): fixed spelling.
67 2004-06-19 Bud Davis <bdavis9659@comcast.net>
70 * io/list_read.c(set_value): don't copy if the string is null.
72 2004-06-14 Bud Davis <bdavis9659@comcast.net>
75 * intrinsics/c99_functions.c: Use fpclassify if it exists.
77 2004-06-13 Paul Brook <paul@codesourcery.com>
79 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
80 * configure.ac: Add checks for nextafter and nextafterf.
81 * Makefile.in, config.h.in, configure: Regenerate.
82 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
83 * intrinsics/rand.c (rand): Use normalize_r4_i4.
84 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
85 (random_r8): Use normalize_r8_i8.
86 * runtime/normalize.c: New file.
88 2004-06-13 Steven G. Kargl <kargls@comcast.net>
89 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
91 * random.c: Fix several spelling and formatting mistakes in
93 (random_r8): Fix loop to make random numbers range in [0,1(.
96 2004-06-13 Steven G. Kargl <kargls@comcast.net>
98 * random.c (random_r4): Burn a random number.
99 (random_r8): fix infinite loop.
101 2004-06-12 Bud Davis <bdavis9659@comcast.net>
102 Steve Kargl <sgk@troutmask.apl.washington.edu>
105 * intrinsics/c99_functions.c: New file.
106 * Makefile.am: Add new file.
107 * configure.ac: Added test for round/roundf.
108 * Makefile.in: Regenerate.
109 * configure: Regenerate.
110 * configure.h.in: Regenerate.
112 2004-06-12 Steven G. Kargl <kargls@comcast.net>
114 * Makefile.am: Add rand.c and etime.c
115 * Makefile.in: Regenerated.
116 * aclocal.in: Regenerated.
117 * cpu_time.c (second_sub, second): New functions.
118 * rand.c (irand, rand, srand): New file.
119 * etime.c (etime_sub, etime): New file.
121 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
122 Steven Bosscher <stevenb@suse.de>
125 * intrinsics/date_and_time.c: New file.
126 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
127 * Makefile.in, aclocal.m4: Regenerate.
128 * libgfortran.h: Prototype date_and_time().
130 2004-06-12 Bud Davis <bdavis9659@comcast.net>
133 * intrinsics/args.c: Implement GETARG and IARGC.
134 * Makefile.am: Add it.
135 * Makefile.in: Regenerate.
137 2004-06-12 Bud Davis <bdavis9659@comcast.net>
140 * io/write.c(write_float): Format inf and nan IAW F2003.
142 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
145 * io/transfer.c (formatted_transfer): position is unique
146 for T and TL edit descriptors.
147 (data_transfer_init): set record length to size of internal
150 2004-06-09 Bud Davis <bdavis9659@comcast.net>
153 * io/backspace.c(st_backspace): call correct routine for
154 formatted and un-formatted units.
156 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
159 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
160 (lib_LTLIBRARIES): Rename to ...
161 (toolexeclib_LTLIBRARIES): this for multilib support.
162 * configure.in: Rename to ...
163 * configure.ac: this. Update to modern autoconf style, enable
164 multilibs, support --enable-version-specific-runtime-libs.
165 * Makefile.in: Regenerated.
166 * configure: Regenerated.
167 * aclocal.m4: Regenerated.
169 2004-05-30 Steven G. Kargl <kargls@comcast.net>
171 * libgfortran.h (random_seed): Update prototype.
172 * intrinsics/random.c: Disable old implementation and add new one.
174 2004-05-30 Andreas Jaeger <aj@suse.de>
176 * intrinsics/random.c: Include unistd.h for close and read
177 prototypes, remove unneeded inclusion of assert.h.
179 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
180 unneeded inclusion of assert.h.
182 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
185 * intrinsics/associated.c: Remove enum.
186 (associated): Replace TRUE/FALSE by 1/0.
188 2004-05-23 Steven G. Kargl <kargls@comcast.net>
190 * random.c (random_seed): Use correct variable.
192 2004-05-22 Steven G. Kargl <kargls@comcast.net>
194 * intrinsics/system_clock: New file.
195 * Makefile.am: Add intrinsics/system_clock.c.
196 * Makefile.in: Regenerate.
198 2004-05-21 Roger Sayle <roger@eyesopen.com>
200 * io/format.c (parse_format_list): Allow the comma after a string
201 literal to be optional.
203 2004-05-18 Paul Brook <paul@codesourcery.com>
204 Feng Wang <fengwang@nudt.edu.cn>
206 * Makefile.am (i_pow_c): Set it. Add build rule.
207 (gfor_built_src): Use it.
208 (m4_files): add m4/pow.m4.
209 * Makefile.in: Regenerate.
210 * m4/pow.m4: New file.
211 * generated/pow_*.c: Regenerate.
213 2004-05-18 Paul Brook <paul@codesourcery.com>
215 * Makefile.am: Remove references to types.m4.
216 * m4/iparm.m4: Merge with types.m4.
217 * m4/types.m4: Remove.
218 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
219 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
220 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
221 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
222 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
223 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
224 Update to use new iparm.m4.
225 * generated/*.c: Regenerate.
227 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
230 * gfortran.h (offset_t): Rename to ...
231 (gfc_offset): ... this.
232 * io/backspace.c (formatted_backspace, unformatted_backspace),
233 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
234 transfer.c (us_read, us_write, next_record_r, next_record_w),
235 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
236 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
237 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
238 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
239 occurences of offset_t by gfc_offset.
241 2004-05-16 Paul Brook <paul@codesourcery.com>
243 * io/format.c (write_real): Don't include padding in format.
245 2004-05-16 Paul Brook <paul@codesourcery.com>
247 * io/format.c (format_lex): Make c an int.
249 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
250 Paul Brook <paul@codesourcery.com>
252 * io/write.c (write_logical): Don't print extra blank.
253 (write_integer): Base field width on kind.
254 (list_formatted_write): Output initial blank.
256 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
258 * io/io.h (flush): Add prototype.
259 * io/transfer.c (finalize_transfer): Flush partial records.
260 * io/unix.c (flush): New function.
262 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
265 * io/io.h (unit_t): Rename to ...
267 (unit_root, current_unit, find_file, find_unit, get_unit): Now
269 (delete_file, insert_unit, close_unit): Argument now of type
271 * backspace.c (st_backspace), close.c (st_close), endfile.c
272 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
273 (test_endfile, edit_modes, new_unit, already_open, st_open),
274 rewind.c (st_rewind), transfer.c (current_unit), unit.c
275 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
276 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
277 get_unit, init_units, close_unit), unix.c (find_file0,
278 find_file, delete_file): Replace all occurences of unit_t by
281 2004-05-15 Bud Davis <bdavis9659@comcast.net>
284 * io/write.c (write_a): right justify A edit output.
286 2004-05-14 Bud Davis <bdavis9659@comcast.net>
289 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
290 * runtime/main.c(init): Call random_seed as part of MAIN init.
292 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
294 * io/format.c: (parse_format_list): No comma is required after
297 2004-05-13 Bud Davis <bdavis9659@comcast.net>
300 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
302 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
303 Steven Bosscher <stevenb@suse.de>
306 * libgfortran.h: Include <inttypes.h> if available.
308 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
310 * io/unix.c (MAP_FAILED): Define if missing.
311 (mmap_alloc): Cast MAP_FAILED to char *.
312 (mmap_open): Likewise.
314 2004-04-26 Bud Davis <bdavis9659@comcast.net>
316 * generated/_abs_i8.f90: New file.
317 * generated/_abs_c4.f90: New file.
318 * generated/_abs_c8.f90: New file.
319 * Makefile.am: Add them.
320 * Makefile.in: Regenerate.
322 2004-04-26 Bud Davis <bdavis9659@comcast.net>
325 * generated/_abs_i4.f90: New file.
326 * Makefile.am: Add it.
327 * Makefile.in: Regenerate.
329 2004-04-25 Bud Davis <bdavis9659@comcast.net>
332 * io/list_read.c(list_formatted_read): finish consuming the
333 spaces and seperators at eoln to get ready for next item.
335 2004-04-23 Bud Davis <bdavis9659@comcast.net>
338 * io/read.c(read_a): Handle field width > destination and no field width.
340 2004-04-22 Bud Davis <bdavis9659@comcast.net>
343 * io/format.c (format_item): gracefully handle a ')'
344 when it is the first character encountered in the string.
346 2004-04-11 Bud Davis <bdavis9659@comcast.net>
349 * io/transfer.c (next_record): Update last_record when
350 more than one record is written to a direct access file
351 with one write statement.
353 2004-04-11 Bud Davis <bdavis9659@comcast.net>
356 * io/transfer.c (next_record_w) : No '\n' if internal.
357 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
359 2004-04-11 Bud Davis <bdavis9659@comcast.net>
361 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
362 Will need to change this later to support direct access files > 2gb.
364 2004-04-03 Bud Davis <bdavis9659@comcast.net>
367 * io/transfer.c (next_record_r) : Skip to next record.
369 2004-04-03 Bud Davis <bdavis9659@comcast.net>
372 * io/transfer.c (next_record): Update last_record for DIRECT
374 2004-04-03 Bud Davis <bdavis9659@comcast.net>
377 * io/unix.c (find_file0): Use fd field of struct
379 2004-04-03 Bud Davis <bdavis9659@comcast.net>
382 * io/inquire.c (inquire_via_unit): Changed return string for
383 BLANK=NULL. Use correct variable for ACTION.
385 2004-04-01 Bud Davis <bdavis9659@comcast.net>
388 * io/read.c (read_f): Allow a decimal without a leading digit.
389 * io/write.c (output_float): remove a leading '0' to keep from
390 overflowing the field (F edit descriptor).
392 2004-04-01 Bud Davis <bdavis9659@comcast.net>
395 * io/open.c (new_unit),
396 * io/io.h : new_unit is now visible
397 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
398 * io/transfer.c (data_transfer_init): remove compile warnings.
399 * io/rewind.c (st_rewind): ftruncate if writing.
401 2004-03-24 Bud Davis <bdavis9659@comcast.net>
403 * write.c (write_l): Use extract_int for 'L' edit descriptor.
405 2004-03-24 Bud Davis <bdavis9659@comcast.net>
408 * io/io.h (global_t):
409 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
410 Move eof_jmp to a global structure.
411 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
413 2004-03-24 Bud Davis <bdavis9659@comcast.net>
415 * m4/cexp.m4 (csqrt): Actually use the passed value.
416 * generated/exp_c?.c: Regenerate.
418 2004-03-24 Bud Davis <bdavis9659@comcast.net>
421 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
422 * open.c (new_unit): Moved test for positioned direct access error.
423 (init_units): Corrected calculation of max records.
425 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
427 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
428 * Makefile.in: Regenerate.
429 * m4/dotprodc.m4: New file. Implement complex dot_product.
430 * m4/dotprod.m4: Delete the complex implementation.
431 * generated/dotprod_*: Update.
433 2004-02-07 Bud Davis <bdavis9659@comcast.net>
435 * transfer.c (write_constant_string): Do not delete H's in hollerith
438 2004-01-05 Andrew Pinski <apinski@apple.com>
440 * configure.in: Check for csin in -lmx also.
441 * configure: Regenerate.
443 2004-01-01 Paul Brook <paul@codesourcery.com>
445 * io/list_read.c (find_nml_node): Make static.
446 (match_namelist_name): Ditto.
447 * io/read.c (convert_precision_real): Make static, fix spelling.
448 * io/transfer.c (extract_real): Remove unused prototype.
449 (st_set_nml_var): Make static.
450 * io/write.c (extract_real): Make static.
452 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
454 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
456 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
458 * io/transfer.c (data_transfer_init): Give a runtime error for list
459 formatted reads and writes from/to files opened for unformatted IO.
461 2003-11-30 Paul Brook <paul@nowt.org>
463 * runtime/memory.c (push_context): Remove.
464 (pop_context): Remove.
465 * libgfortran.h: Remove prototypes.
467 2003-11-27 Paul Brook <paul@nowt.org>
469 * runtime/memory.c (deallocate): Nullify pointer after freeing.
471 2003-11-27 Paul Brook <paul@nowt.org>
473 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
474 * libgfortran.h: Ditto.
475 * m4/in_pack.m4: Ditto.
476 * runtime/in_pack_generic.c: Ditto.
477 * runtime/memory.c: Ditto.
479 2003-11-26 Richard Henderson <rth@redhat.com>
481 * m4/exponent.m4, m4/fraction.m4: New.
482 * m4/nearest.m4, m4/set_exponent.m4: New.
483 * generated/*: Update.
484 * Makefile.am: Add them.
485 (AM_CFLAGS): New. Use -std=gnu99.
486 * Makefile.in: Regenerate.
488 2003-11-08 Paul Brook <paul@nowt.org>
491 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
492 * m4/maxloc1.m4: Ditto.
493 * m4/minloc0.m4: Ditto.
494 * m4/minloc1.m4: Ditto.
495 * m4/ifunction.m4: Set return value for zero sized arrays.
496 * m4/iforeach.m4: Ditto.
497 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
498 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
499 * generated/*: Update.
501 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
504 * io/list_read.c (eat_spaces): Treat tab as space.
506 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
508 * intrinsics/random.c: Add reference to paper containing algorithm.
509 (random_seed): Extra error checking and proper handling of arrays.
510 (arandom_r4, arandom_r8): Implement.
512 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
515 * runtime/memory.c (allocate_size): Allow allocation
516 of zero-sized objects.
518 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
521 * open.c (new_unit): Open without a file name opens
522 a file with name fort.<unit>.
524 2003-10-12 Feng Wang <wf_cs@yahoo.com>
526 * intrinsics/cshift0.c: New file.
527 * m4/cshift1.m4: New file
528 * generated/cshift*.c: New files.
529 * Makefile.am: Add them.
530 * Makefile.in: Regenerate.
532 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
534 * io/list_read.c (read_character): Remove unwanted call to free_saved.
536 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
538 * intrinsics/string_intrinsics.c (string_trim): New function.
539 (string_repeat): New function.
541 2003-10-11 Paul Brook <paul@nowt.org>
543 * intrinsics/dprod_r8.f90: New file.
544 * Makefile.am (gfor_specific_src): Add it.
545 (gfor_built_specific_src): Rename from gfor_build_specific_c.
547 (gfor_specific2_src): Rename from gfor_built_specific2_c.
549 * Makefile.in: Regenerate.
550 * generated/_aint_*.f90: New files.
551 * generated/_anint*.f90: New files.
552 * generated/_atan2*.f90: New files.
553 * generated/_mod*.f90: New files.
555 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
557 * intrinsics/selected_kind.f90: New file.
558 * Makefile.am: Add it.
559 * Makefile.in: regenerate.
561 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
562 Paul Brook <paul@nowt.org>
564 * intrinsics/random.c: New file.
565 * Makefile.am (gfor_hemper_src): Add it.
566 (gfor_specific_c): Fix typo.
568 2003-09-19 Paul Brook <paul@nowt.org>
570 * All: rename g95->gfc.
572 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
574 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
576 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
578 * io/write.c (write_float): Dectection of positive infinite number,
579 Not a Number(NaN) and negative infinite number.
580 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
581 output a very_very small number ( < 0.1e-100 ).
583 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
585 * libgfortran.h (xtoa, itoa): Parameter modified.
586 * io/io.h (namelist_info): Declaration to support namelist I/O
587 (st_parameter): Add namelist related component
588 (ionml, empty_internal_buffer, st_set_nml_var_int,
589 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
590 st_set_nml_var_log): Declaration
591 (set_integer, set_integer): Parameter changed
592 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
594 (parse_format_list): Fix bug about FMT_SLASH
595 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
596 newly allocated saved_string
597 (next_char): Add detection of End_Of_Line support
598 (convert_integer): Now can process 64 bits interger
599 (read_real): Bug fixed
600 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
601 (match_namelist_name): New implemention
602 * io/lock.c (ionml): New global variable
603 (library_end): Free memory in ionml
604 * io/open.c (st_open): Variable initializtion
605 * io/read.c (max_value): 64 bits interger support
606 (convert_precsion_real): New procedure to replace "strtod" with more
608 (read_f, read_radix): Input bug fix
609 * io/transfer.c: (sf_seen_eor): New static variable
610 (read_sf): Zeroize base buffer; fix bugs: single read statement can
611 not get input in mutli line when read from stdin
612 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
614 (data_transfer_init): Clear internal buffer for Internel File I/O.
615 Internal File now worked. Detect some error condition for namelist.
617 (next_record_w): Internal file and Namelist I/O support.
618 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
619 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
620 * io/unit.c (implicit_unit): Deletion
621 (get_unit): Now cannot open a unit implicitly.
622 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
624 (mem_alloc_r_at): Internal file I/O support added
625 (empty_internal_buffer): New function
626 * io/write.c (extract_int): Support 64 bits interger processing
627 (output_float): Varibale initialization
628 (write_float): Infinite real number detection.
629 (write_int): 64 bits integer I/O support
630 (write_decimal): New function to output decimal number
631 (otoa, btoa): Better implemention and 64 bits interger support
632 (namelist_write): New function
633 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
636 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
638 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
639 get_mem ): Add attribute.
640 * intrinsics/spread_generic.c (__spread): Fix spelling.
641 * io/inquire.c (inquire_via_filename): Add const.
642 * io/io.h (sys_exit): Add attribute.
643 * io/io.h (move_pos_offset): Add move_pos_offset.
644 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
645 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
646 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
647 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
649 * io/read.c (convert_real): Add const.
650 * io/transfer.c (type_name): Add const.
651 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
652 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
653 inquire_read, inquire_write, inquire_readwrite): Add const.
654 * io/write.c (output_float): Remove unused variable.
655 * io/write.c (write_a, extract_int, extract_real, output_float,
656 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
657 write_e, write_f, write_en, write_es, write_logical, write_integer,
658 write_character, write_real, write_complex): Add const.
659 * runtime/error.c (rtoa): Remove unused variable.
660 * runtime/select.c (select_string): Add const.
661 * runtime/stop.c (stop_string): Add const.
663 2003-08-10 Paul Brook <paul@nowt.org>
665 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
666 (FFLAGS): Add -fno-underscoring.
667 * Makefile.in: Regenerate.
668 * intrinsics/abort.c: New file.
670 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
672 * fmain.c (main): Do not call init and cleanup; call set_args instead.
673 * libgfortran.h (init, cleanup): Remove declarations.
674 (set_args): Add declaration.
675 * runtime/main.c (init, cleanup): Make them static, and give them
676 the constructor and destructor attributes.
677 (set_args): New function.
679 2003-08-10 Paul Brook <paul@nowt.org>
681 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
682 on which string is longest.
684 2003-08-10 Paul Brook <paul@nowt.org>
686 * Makefile.am (EXTRA_DIST): Remove old files.
687 * Makefile.in: Regenerate.
689 2003-07-26 Paul Brook <paul@nowt.org>
691 Rename library to libgfortran.
692 * libgfortran.h: Change prefix to _libgfortran_.
694 2003-07-24 Paul Brook <paul@nowt.org>
696 * configure.in: Don't pull in system libtool. Use toplevel
699 2003-07-22 Paul Brook <paul@nowt.org>
701 Regenerate all configury files.
703 2003-07-09 Chun Huang <compiler@sohu.com>
705 * intrinsics/string_intrinsic.c (string_scan): New function.
706 (string_verify): New function.
708 2003-06-25 Paul Brook <paul@nowt.org>
710 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
711 (mem_seek): Don't bother setting physical_offset.
713 2003-06-20 Paul Brook <paul@nowt.org>
715 * libgfor.h (stop_numeric): Declare.
716 * runtime/pause.c: New file.
717 * Makefile.am: Add it.
719 2003-06-08 Paul Brook <paul@nowt.org>
721 * m4/cexp.m4 (cabs): Use correct typed version.
722 (csqrt): New function.
724 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
726 Spotted by Benjamin and Tobias:
727 * io/list_read.c: Add Separator '\t'.
728 (parse_real, read_real): Accept real values starting with an optional
729 sign follows a decimal point.
731 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
733 * Makefile.am: Don't put cmath objects in subdir.
734 * configure.in: Rename MATHOBJ to MATH_OBJ.
736 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
738 * intrinsics/associated.c: New file.
739 * Makefile.am: Add it. Regenerate Makefile.in.
740 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
741 G95_DESCRIPTOR_DTYPE.
743 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
745 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
746 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
747 the scale_factor to 0 for F editing.
749 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
751 * libgfor.h: Only include stdint.h if it exists.
753 2003-05-07 Paul Brook <paul@nowt.org>
755 * libgfor.h: Use stdint.h types.
756 * intrinsics/ishift.c: Ditto.
757 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
759 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
761 * libgfor.h (offsetof): Define if nobody else does.
762 * runtime/memory.c (HEADER_SIZE): Use it.
764 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
766 * configure.in: Require autoconf 2.54.
768 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
769 Paul Brook <paul@nowt.org>
771 * intrinsics/reshape_generic.c: Copy the whole element, not just the
773 * m4/transpose.m4: New file.
774 * Makefile.am: Add them.
775 Regenerate generated files.
777 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
779 * io/format.c (parse_format_list): Allow 'X' without integer
780 prefix. This is an extension. Interpretation is '1X'.
782 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
784 * io/format.c (parse_format_list): Allow '0P'.
786 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
788 * Makefile.in: Re-regenerate for automake 1.7.3.
790 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
792 Port implementation for CHARACTER SELECT from Andy's tree.
793 * runtime/select.c: New file
794 * Makefile.am: Add it.
795 * Makefile.in: Regenerate.
797 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
799 * io/transfer.c (formatted_transfer): Modified
800 * io/unix.c (move_pos_offset): New Function.
801 * io/format.c (parse_format_list): Modified.
803 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
805 * io/write.c (write_float,write_real): New implemention of
806 FMT_G and default float editing.
807 (calculate_exp,calculate_G_format,output_float): New Function.
808 (write_float,write_real,write_logical): Modified
809 * libgfor.h (default_rtoa): Remove Declaration.
810 * runtime/error.c (default_rtoa): Remove Function.
812 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
815 * io/write.c (extract_real): Add missing break statement.
817 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
819 * cpu_time.c: Make sure we have a definition of HZ. Don't
820 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
822 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
823 Paul Brook <paul@nowt.org>
825 * configure.in: Check for process time headers and GETTIMEOFDAY.
826 * makefile.am: Add intrinsics/cpu_time.c.
827 * acinclude.m4: New file.
828 * intrinsics/cpu_time.c: New file.
829 * m4/dotprodl.m4: Fix typo.
830 Regenerate generated files.
832 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
834 * io/write.c (extract_real): Ouput floating point value.
835 (write_float): New Function.
836 (write_e, write_f, write_en, write_es): Modified
837 * io/transfer.c (formatted_transfer): Modified.
838 * libgfor.h (default_rtoa): Declaration.
840 * runtime/error.c (default_rtoa): New Function.
841 (rtoa): New Function.
843 2003-04-05 Paul Brook <paul@nowt.org>
845 * intrinsics/spread_generic.c: New file.
846 * Makefile.am: Add it. Regenerate Makefile.in.
848 2003-03-29 Paul Brook <paul@nowt.org>
850 * intrinsics/pack_generic.c: New file.
851 * intrinsics/unpack_generic.c: New file.
852 * Makefile.am: Add them. Regenerate Makefile.in.
854 2003-03-25 Paul Brook <paul@nowt.org>
856 * intrinsics/eoshift0.c: New file.
857 * intrinsics/eoshift2.c: New file.
858 * m4/eoshift1.m4: New file.
859 * m4/eoshift3.m4: New file.
860 * Makefile.am: Add them.
861 * in_unpack_generic.c: Initialize src.
862 Regenerate generated files.
864 2003-03-14 Paul Brook <paul@nowt.org>
866 * m4/shape.m4: Work properly with array temporaries.
867 * m4/in_pack.m4: Skip redundant checks for array temporaries.
868 * runtime/in_pack_generic.c: Ditto.
870 2003-03-12 Paul Brook <paul@nowt.org>
872 * m4/shape.m4: Work properly with noncontiguous arrays.
874 2003-03-08 Paul Brook <paul@nowt.org>
876 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
877 * runtime/in_pack_generic.c: Ditto.
879 2003-02-08 Paul Brook <paul@nowt.org>
881 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
882 * io/close.c (st_close): Return void.
883 * io/open.c (st_open): Return void.
884 * libgfor.h (g95_array_char): Declare.
885 (internal_malloc_size): Ditto.
886 (internal_pack*, internal_unpack*): Ditto.
887 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
889 * m4/in_unpack.m4: Include file fixes.
890 * m4/reshape.m4: Increment the correct source pointer.
891 * Makefile.am (maxloc): Fix typo.
892 * runtime/in_pack_generic.c: Call optimized functions. Allocate
893 storage if neccessary. Fix logic for packed arrays.
894 * runtime/in_unpack_generic.c: Call optimized functions.
895 * runtime/main.c: Use runtime_error to report errors.
896 * memory.c (internal_malloc_size): Make non-static.
898 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
900 * reshape_packed.c, lock.c: Add #include <string.h>.
901 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
902 environ.c, error.c, memory.c, string.c: Add const.
903 * error.c (show_locus): Add void.
905 2003-02-21 Paul Brook <paul@nowt.org>
907 * m4/in_pack.m4: Avoid returning const * parameter.
908 * Makefile.am: Only regenerate files in maintainer mode.
910 2003-02-20 Paul Brook <paul@nowt.org>
912 Add array repacking support functions.
913 * m4/in_pack.m4, m4/in_unpack.m4: New files.
914 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
915 * Makefile.am: Build them. Regenerate configury files.
916 * generated/: New directory for generated files (need to move
917 everything else there).
919 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
921 * m4/cexp.m4: Fix typo.
923 2003-01-26 Paul Brook <paul@nowt.org>
925 * intrinsics/: Add missing generated files.
927 2003-01-26 Paul Brook <paul@nowt.org>
929 * Makefile.am: Put -I before the filename.
931 2003-01-24 Paul Brook <paul@nowt.org>
933 * configure.in: Add AM_MAINTAINER_MODE.
935 2003-01-23 Paul Brook <paul@nowt.org>
937 * configure.in, Makefile.am: Modify to work with unmodified autoconf
939 Also regenerate other configury files.
941 2003-01-21 Paul Brook <paul@nowt.org>
943 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
945 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
947 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
948 Don't include "alloca.h".
950 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
952 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
953 * Makefile.am: Adjust file name.
954 * Makefile.in: Regenerate.
955 * gfortypes.h: Kill, include everything in...
956 * libgfor.h: ...here. Include config.h
957 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
958 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
959 intrinsics/reshape_packed.c, intrinsics/size.c,
960 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
961 for prefix for all functions instead of hardcoded.
963 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
965 * io/lock.c (library_end): Propagate library return
968 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
970 Port fixes from Andy's tree:
971 * io/read.c (read_decimal): Reverse sense of overflow
972 comparison during integer reads.
973 * io/format.c (revert): Fix comment.
974 (next_format): Fix format revision.
975 * io/unix.c: Fix and simplify mmap version of stream
978 2003-01-11 Paul Brook <paul@nowt.org>
980 * configure, Makefile.in: Regenerate.
982 2003-01-11 Paul Brook <paul@nowt.org>
984 * runtime/stop.c: Rewrite.
986 2003-01-08 Paul Brook <paul@nowt.org>
988 * configure, Makefile.in: Regenerate.
990 2003-01-05 Paul Brook <paul@nowt.org>
992 * (*.m4) Move to m4/.
993 * intrinsics/string.c (_gfor_string_index): New Function.
995 2002-12-29 Paul Brook <paul@nowt.org>
997 * intrinsics/reshape.*: New files.
998 * gcc_config.patch: Update to new GCC configure system.
1000 2002-10-10 Paul Brook <paul@nowt.org>
1002 * intrinsics/size.c: New file.
1003 * intrinsics/shape.m4: New file.
1004 * Makefile.am: Add above files.
1006 2002-10-02 Paul Brook <paul@nowt.org>
1008 * fmain.c (main): Move here.
1009 * libgfor.c: From here.
1010 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
1011 * Makefile.am: Build libgforbegin.
1012 * gcc_config.patch: Remove stray -march=athlon.
1013 * dotprodl.m4: Fix use of L8_TO_L4 macro.
1014 * ifunction.m4: Move variable declarations to allow compilation with
1016 * specific.m4, specific4.m4: Fix typo typecode->type_code.
1017 * README: Document use of patch -p1.
1019 2002-09-12 Paul Brook <paul@nowt.org>
1021 * math/*: Add complex math library functions.
1022 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
1023 * Makefile.am: Add details for above.
1024 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
1026 2002-09-09 Paul Brook <paul@nowt.org>
1028 * libgfor.c (determine_endianness): Use an array rather than a struct.
1029 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
1031 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
1033 * libgfor.c: Add fatal signal handler.
1034 Romove superfluous abort() calls.
1036 2002-09-07 Paul Brook <paul@nowt.org>
1038 * Makefile.am, intrinsics: Major rewrite.
1040 2002-09-02 Paul Brook <paul@nowt.org>
1042 * Makefile.am: Added -I$(srcdir) to m4 rule.
1044 2002-08-30 Paul Brook <paul@nowt.org>
1046 * io/*: Integrated libgforio.
1047 * Makefile.am, configure.in: Make compatable with GCC. Build code for
1048 intrinsics in the intrisics directory.
1049 * intrinsics/intrinsics.m4: Move here. Strip directories from the
1050 filename. Add 'and' and 'all' intrinsics.
1052 2002-08-17 Paul Brook <paul@nowt.org>
1054 * ALL: First release as more than just a single file