1 2004-06-14 Bud Davis <bdavis9659@comcast.net>
4 * intrinsics/c99_functions.c: Use fpclassify if it exists.
6 2004-06-13 Paul Brook <paul@codesourcery.com>
8 * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
9 * configure.ac: Add checks for nextafter and nextafterf.
10 * Makefile.in, config.h.in, configure: Regenerate.
11 * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
12 * intrinsics/rand.c (rand): Use normalize_r4_i4.
13 * intrinsics/random.c (random_r4): Use normalize_r4_i4.
14 (random_r8): Use normalize_r8_i8.
15 * runtime/normalize.c: New file.
17 2004-06-13 Steven G. Kargl <kargls@comcast.net>
18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
20 * random.c: Fix several spelling and formatting mistakes in
22 (random_r8): Fix loop to make random numbers range in [0,1(.
25 2004-06-13 Steven G. Kargl <kargls@comcast.net>
27 * random.c (random_r4): Burn a random number.
28 (random_r8): fix infinite loop.
30 2004-06-12 Bud Davis <bdavis9659@comcast.net>
31 Steve Kargl <sgk@troutmask.apl.washington.edu>
34 * intrinsics/c99_functions.c: New file.
35 * Makefile.am: Add new file.
36 * configure.ac: Added test for round/roundf.
37 * Makefile.in: Regenerate.
38 * configure: Regenerate.
39 * configure.h.in: Regenerate.
41 2004-06-12 Steven G. Kargl <kargls@comcast.net>
43 * Makefile.am: Add rand.c and etime.c
44 * Makefile.in: Regenerated.
45 * aclocal.in: Regenerated.
46 * cpu_time.c (second_sub, second): New functions.
47 * rand.c (irand, rand, srand): New file.
48 * etime.c (etime_sub, etime): New file.
50 2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
51 Steven Bosscher <stevenb@suse.de>
54 * intrinsics/date_and_time.c: New file.
55 * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
56 * Makefile.in, aclocal.m4: Regenerate.
57 * libgfortran.h: Prototype date_and_time().
59 2004-06-12 Bud Davis <bdavis9659@comcast.net>
62 * intrinsics/args.c: Implement GETARG and IARGC.
63 * Makefile.am: Add it.
64 * Makefile.in: Regenerate.
66 2004-06-12 Bud Davis <bdavis9659@comcast.net>
69 * io/write.c(write_float): Format inf and nan IAW F2003.
71 2004-06-09 Bud Davis <bdavis9659@comcaste.net>
74 * io/transfer.c (formatted_transfer): position is unique
75 for T and TL edit descriptors.
76 (data_transfer_init): set record length to size of internal
79 2004-06-09 Bud Davis <bdavis9659@comcast.net>
82 * io/backspace.c(st_backspace): call correct routine for
83 formatted and un-formatted units.
85 2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
88 * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
89 (lib_LTLIBRARIES): Rename to ...
90 (toolexeclib_LTLIBRARIES): this for multilib support.
91 * configure.in: Rename to ...
92 * configure.ac: this. Update to modern autoconf style, enable
93 multilibs, support --enable-version-specific-runtime-libs.
94 * Makefile.in: Regenerated.
95 * configure: Regenerated.
96 * aclocal.m4: Regenerated.
98 2004-05-30 Steven G. Kargl <kargls@comcast.net>
100 * libgfortran.h (random_seed): Update prototype.
101 * intrinsics/random.c: Disable old implementation and add new one.
103 2004-05-30 Andreas Jaeger <aj@suse.de>
105 * intrinsics/random.c: Include unistd.h for close and read
106 prototypes, remove unneeded inclusion of assert.h.
108 * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
109 unneeded inclusion of assert.h.
111 2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
114 * intrinsics/associated.c: Remove enum.
115 (associated): Replace TRUE/FALSE by 1/0.
117 2004-05-23 Steven G. Kargl <kargls@comcast.net>
119 * random.c (random_seed): Use correct variable.
121 2004-05-22 Steven G. Kargl <kargls@comcast.net>
123 * intrinsics/system_clock: New file.
124 * Makefile.am: Add intrinsics/system_clock.c.
125 * Makefile.in: Regenerate.
127 2004-05-21 Roger Sayle <roger@eyesopen.com>
129 * io/format.c (parse_format_list): Allow the comma after a string
130 literal to be optional.
132 2004-05-18 Paul Brook <paul@codesourcery.com>
133 Feng Wang <fengwang@nudt.edu.cn>
135 * Makefile.am (i_pow_c): Set it. Add build rule.
136 (gfor_built_src): Use it.
137 (m4_files): add m4/pow.m4.
138 * Makefile.in: Regenerate.
139 * m4/pow.m4: New file.
140 * generated/pow_*.c: Regenerate.
142 2004-05-18 Paul Brook <paul@codesourcery.com>
144 * Makefile.am: Remove references to types.m4.
145 * m4/iparm.m4: Merge with types.m4.
146 * m4/types.m4: Remove.
147 * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
148 m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
149 m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
150 m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
151 m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
152 m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
153 Update to use new iparm.m4.
154 * generated/*.c: Regenerate.
156 2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
159 * gfortran.h (offset_t): Rename to ...
160 (gfc_offset): ... this.
161 * io/backspace.c (formatted_backspace, unformatted_backspace),
162 io/io.h (stream, gfc_unit, global_t, file_length, file_position),
163 transfer.c (us_read, us_write, next_record_r, next_record_w),
164 io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
165 fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
166 mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
167 mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
168 occurences of offset_t by gfc_offset.
170 2004-05-16 Paul Brook <paul@codesourcery.com>
172 * io/format.c (write_real): Don't include padding in format.
174 2004-05-16 Paul Brook <paul@codesourcery.com>
176 * io/format.c (format_lex): Make c an int.
178 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
179 Paul Brook <paul@codesourcery.com>
181 * io/write.c (write_logical): Don't print extra blank.
182 (write_integer): Base field width on kind.
183 (list_formatted_write): Output initial blank.
185 2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
187 * io/io.h (flush): Add prototype.
188 * io/transfer.c (finalize_transfer): Flush partial records.
189 * io/unix.c (flush): New function.
191 2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
194 * io/io.h (unit_t): Rename to ...
196 (unit_root, current_unit, find_file, find_unit, get_unit): Now
198 (delete_file, insert_unit, close_unit): Argument now of type
200 * backspace.c (st_backspace), close.c (st_close), endfile.c
201 (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
202 (test_endfile, edit_modes, new_unit, already_open, st_open),
203 rewind.c (st_rewind), transfer.c (current_unit), unit.c
204 (internal_unit, unit_cache, rotate_left, rotate_right, insert,
205 insert_unit, delete_root, delete_treap, delete_unit, find_unit,
206 get_unit, init_units, close_unit), unix.c (find_file0,
207 find_file, delete_file): Replace all occurences of unit_t by
210 2004-05-15 Bud Davis <bdavis9659@comcast.net>
213 * io/write.c (write_a): right justify A edit output.
215 2004-05-14 Bud Davis <bdavis9659@comcast.net>
218 * libgfortan.h,intrinsics/random.c: Made random_seed visible.
219 * runtime/main.c(init): Call random_seed as part of MAIN init.
221 2004-05-13 Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
223 * io/format.c: (parse_format_list): No comma is required after
226 2004-05-13 Bud Davis <bdavis9659@comcast.net>
229 * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
231 2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
232 Steven Bosscher <stevenb@suse.de>
235 * libgfortran.h: Include <inttypes.h> if available.
237 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
239 * io/unix.c (MAP_FAILED): Define if missing.
240 (mmap_alloc): Cast MAP_FAILED to char *.
241 (mmap_open): Likewise.
243 2004-04-26 Bud Davis <bdavis9659@comcast.net>
245 * generated/_abs_i8.f90: New file.
246 * generated/_abs_c4.f90: New file.
247 * generated/_abs_c8.f90: New file.
248 * Makefile.am: Add them.
249 * Makefile.in: Regenerate.
251 2004-04-26 Bud Davis <bdavis9659@comcast.net>
254 * generated/_abs_i4.f90: New file.
255 * Makefile.am: Add it.
256 * Makefile.in: Regenerate.
258 2004-04-25 Bud Davis <bdavis9659@comcast.net>
261 * io/list_read.c(list_formatted_read): finish consuming the
262 spaces and seperators at eoln to get ready for next item.
264 2004-04-23 Bud Davis <bdavis9659@comcast.net>
267 * io/read.c(read_a): Handle field width > destination and no field width.
269 2004-04-22 Bud Davis <bdavis9659@comcast.net>
272 * io/format.c (format_item): gracefully handle a ')'
273 when it is the first character encountered in the string.
275 2004-04-11 Bud Davis <bdavis9659@comcast.net>
278 * io/transfer.c (next_record): Update last_record when
279 more than one record is written to a direct access file
280 with one write statement.
282 2004-04-11 Bud Davis <bdavis9659@comcast.net>
285 * io/transfer.c (next_record_w) : No '\n' if internal.
286 * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
288 2004-04-11 Bud Davis <bdavis9659@comcast.net>
290 * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
291 Will need to change this later to support direct access files > 2gb.
293 2004-04-03 Bud Davis <bdavis9659@comcast.net>
296 * io/transfer.c (next_record_r) : Skip to next record.
298 2004-04-03 Bud Davis <bdavis9659@comcast.net>
301 * io/transfer.c (next_record): Update last_record for DIRECT
303 2004-04-03 Bud Davis <bdavis9659@comcast.net>
306 * io/unix.c (find_file0): Use fd field of struct
308 2004-04-03 Bud Davis <bdavis9659@comcast.net>
311 * io/inquire.c (inquire_via_unit): Changed return string for
312 BLANK=NULL. Use correct variable for ACTION.
314 2004-04-01 Bud Davis <bdavis9659@comcast.net>
317 * io/read.c (read_f): Allow a decimal without a leading digit.
318 * io/write.c (output_float): remove a leading '0' to keep from
319 overflowing the field (F edit descriptor).
321 2004-04-01 Bud Davis <bdavis9659@comcast.net>
324 * io/open.c (new_unit),
325 * io/io.h : new_unit is now visible
326 * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
327 * io/transfer.c (data_transfer_init): remove compile warnings.
328 * io/rewind.c (st_rewind): ftruncate if writing.
330 2004-03-24 Bud Davis <bdavis9659@comcast.net>
332 * write.c (write_l): Use extract_int for 'L' edit descriptor.
334 2004-03-24 Bud Davis <bdavis9659@comcast.net>
337 * io/io.h (global_t):
338 * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
339 Move eof_jmp to a global structure.
340 * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
342 2004-03-24 Bud Davis <bdavis9659@comcast.net>
344 * m4/cexp.m4 (csqrt): Actually use the passed value.
345 * generated/exp_c?.c: Regenerate.
347 2004-03-24 Bud Davis <bdavis9659@comcast.net>
350 * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
351 * open.c (new_unit): Moved test for positioned direct access error.
352 (init_units): Corrected calculation of max records.
354 2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
356 * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
357 * Makefile.in: Regenerate.
358 * m4/dotprodc.m4: New file. Implement complex dot_product.
359 * m4/dotprod.m4: Delete the complex implementation.
360 * generated/dotprod_*: Update.
362 2004-02-07 Bud Davis <bdavis9659@comcast.net>
364 * transfer.c (write_constant_string): Do not delete H's in hollerith
367 2004-01-05 Andrew Pinski <apinski@apple.com>
369 * configure.in: Check for csin in -lmx also.
370 * configure: Regenerate.
372 2004-01-01 Paul Brook <paul@codesourcery.com>
374 * io/list_read.c (find_nml_node): Make static.
375 (match_namelist_name): Ditto.
376 * io/read.c (convert_precision_real): Make static, fix spelling.
377 * io/transfer.c (extract_real): Remove unused prototype.
378 (st_set_nml_var): Make static.
379 * io/write.c (extract_real): Make static.
381 2003-12-12 Huang Chun <chunhuang73@hotmal.com>
383 * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
385 2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
387 * io/transfer.c (data_transfer_init): Give a runtime error for list
388 formatted reads and writes from/to files opened for unformatted IO.
390 2003-11-30 Paul Brook <paul@nowt.org>
392 * runtime/memory.c (push_context): Remove.
393 (pop_context): Remove.
394 * libgfortran.h: Remove prototypes.
396 2003-11-27 Paul Brook <paul@nowt.org>
398 * runtime/memory.c (deallocate): Nullify pointer after freeing.
400 2003-11-27 Paul Brook <paul@nowt.org>
402 * intrinsics/string_intrinsics.c: Use new memory allocation interface.
403 * libgfortran.h: Ditto.
404 * m4/in_pack.m4: Ditto.
405 * runtime/in_pack_generic.c: Ditto.
406 * runtime/memory.c: Ditto.
408 2003-11-26 Richard Henderson <rth@redhat.com>
410 * m4/exponent.m4, m4/fraction.m4: New.
411 * m4/nearest.m4, m4/set_exponent.m4: New.
412 * generated/*: Update.
413 * Makefile.am: Add them.
414 (AM_CFLAGS): New. Use -std=gnu99.
415 * Makefile.in: Regenerate.
417 2003-11-08 Paul Brook <paul@nowt.org>
420 * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
421 * m4/maxloc1.m4: Ditto.
422 * m4/minloc0.m4: Ditto.
423 * m4/minloc1.m4: Ditto.
424 * m4/ifunction.m4: Set return value for zero sized arrays.
425 * m4/iforeach.m4: Ditto.
426 * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
427 m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
428 * generated/*: Update.
430 2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
433 * io/list_read.c (eat_spaces): Treat tab as space.
435 2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
437 * intrinsics/random.c: Add reference to paper containing algorithm.
438 (random_seed): Extra error checking and proper handling of arrays.
439 (arandom_r4, arandom_r8): Implement.
441 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
444 * runtime/memory.c (allocate_size): Allow allocation
445 of zero-sized objects.
447 2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
450 * open.c (new_unit): Open without a file name opens
451 a file with name fort.<unit>.
453 2003-10-12 Feng Wang <wf_cs@yahoo.com>
455 * intrinsics/cshift0.c: New file.
456 * m4/cshift1.m4: New file
457 * generated/cshift*.c: New files.
458 * Makefile.am: Add them.
459 * Makefile.in: Regenerate.
461 2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
463 * io/list_read.c (read_character): Remove unwanted call to free_saved.
465 2003-10-11 Huang Chun <jiwang@mail.edu.cn>
467 * intrinsics/string_intrinsics.c (string_trim): New function.
468 (string_repeat): New function.
470 2003-10-11 Paul Brook <paul@nowt.org>
472 * intrinsics/dprod_r8.f90: New file.
473 * Makefile.am (gfor_specific_src): Add it.
474 (gfor_built_specific_src): Rename from gfor_build_specific_c.
476 (gfor_specific2_src): Rename from gfor_built_specific2_c.
478 * Makefile.in: Regenerate.
479 * generated/_aint_*.f90: New files.
480 * generated/_anint*.f90: New files.
481 * generated/_atan2*.f90: New files.
482 * generated/_mod*.f90: New files.
484 2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
486 * intrinsics/selected_kind.f90: New file.
487 * Makefile.am: Add it.
488 * Makefile.in: regenerate.
490 2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
491 Paul Brook <paul@nowt.org>
493 * intrinsics/random.c: New file.
494 * Makefile.am (gfor_hemper_src): Add it.
495 (gfor_specific_c): Fix typo.
497 2003-09-19 Paul Brook <paul@nowt.org>
499 * All: rename g95->gfc.
501 2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
503 * io/write.c (output_float): Fix bug of FMT_E, Add comments.
505 2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
507 * io/write.c (write_float): Dectection of positive infinite number,
508 Not a Number(NaN) and negative infinite number.
509 (ioutput_float): Bug fix for FMT_E and FMT_D processing to
510 output a very_very small number ( < 0.1e-100 ).
512 2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
514 * libgfortran.h (xtoa, itoa): Parameter modified.
515 * io/io.h (namelist_info): Declaration to support namelist I/O
516 (st_parameter): Add namelist related component
517 (ionml, empty_internal_buffer, st_set_nml_var_int,
518 st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
519 st_set_nml_var_log): Declaration
520 (set_integer, set_integer): Parameter changed
521 * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
523 (parse_format_list): Fix bug about FMT_SLASH
524 * io/list_read.c (push_char): Totally clear old saved_string, zeroize
525 newly allocated saved_string
526 (next_char): Add detection of End_Of_Line support
527 (convert_integer): Now can process 64 bits interger
528 (read_real): Bug fixed
529 (init_at_eol, find_nml_node, match_namelist_name): Add new functions
530 (match_namelist_name): New implemention
531 * io/lock.c (ionml): New global variable
532 (library_end): Free memory in ionml
533 * io/open.c (st_open): Variable initializtion
534 * io/read.c (max_value): 64 bits interger support
535 (convert_precsion_real): New procedure to replace "strtod" with more
537 (read_f, read_radix): Input bug fix
538 * io/transfer.c: (sf_seen_eor): New static variable
539 (read_sf): Zeroize base buffer; fix bugs: single read statement can
540 not get input in mutli line when read from stdin
541 (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
543 (data_transfer_init): Clear internal buffer for Internel File I/O.
544 Internal File now worked. Detect some error condition for namelist.
546 (next_record_w): Internal file and Namelist I/O support.
547 (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
548 st_set_nml_var_complex, st_set_nml_var_log): Implemention.
549 * io/unit.c (implicit_unit): Deletion
550 (get_unit): Now cannot open a unit implicitly.
551 * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
553 (mem_alloc_r_at): Internal file I/O support added
554 (empty_internal_buffer): New function
555 * io/write.c (extract_int): Support 64 bits interger processing
556 (output_float): Varibale initialization
557 (write_float): Infinite real number detection.
558 (write_int): 64 bits integer I/O support
559 (write_decimal): New function to output decimal number
560 (otoa, btoa): Better implemention and 64 bits interger support
561 (namelist_write): New function
562 * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
565 2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
567 * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
568 get_mem ): Add attribute.
569 * intrinsics/spread_generic.c (__spread): Fix spelling.
570 * io/inquire.c (inquire_via_filename): Add const.
571 * io/io.h (sys_exit): Add attribute.
572 * io/io.h (move_pos_offset): Add move_pos_offset.
573 * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
574 inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
575 inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
576 write_en, write_es, write_f, write_i, write_l, write_o, write_x,
578 * io/read.c (convert_real): Add const.
579 * io/transfer.c (type_name): Add const.
580 * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
581 inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
582 inquire_read, inquire_write, inquire_readwrite): Add const.
583 * io/write.c (output_float): Remove unused variable.
584 * io/write.c (write_a, extract_int, extract_real, output_float,
585 write_float, write_int, write_i, write_b, write_o, write_z, write_d,
586 write_e, write_f, write_en, write_es, write_logical, write_integer,
587 write_character, write_real, write_complex): Add const.
588 * runtime/error.c (rtoa): Remove unused variable.
589 * runtime/select.c (select_string): Add const.
590 * runtime/stop.c (stop_string): Add const.
592 2003-08-10 Paul Brook <paul@nowt.org>
594 * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
595 (FFLAGS): Add -fno-underscoring.
596 * Makefile.in: Regenerate.
597 * intrinsics/abort.c: New file.
599 2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
601 * fmain.c (main): Do not call init and cleanup; call set_args instead.
602 * libgfortran.h (init, cleanup): Remove declarations.
603 (set_args): Add declaration.
604 * runtime/main.c (init, cleanup): Make them static, and give them
605 the constructor and destructor attributes.
606 (set_args): New function.
608 2003-08-10 Paul Brook <paul@nowt.org>
610 * intrinsics/strinf_intrinsics.c (compare_string): Return value based
611 on which string is longest.
613 2003-08-10 Paul Brook <paul@nowt.org>
615 * Makefile.am (EXTRA_DIST): Remove old files.
616 * Makefile.in: Regenerate.
618 2003-07-26 Paul Brook <paul@nowt.org>
620 Rename library to libgfortran.
621 * libgfortran.h: Change prefix to _libgfortran_.
623 2003-07-24 Paul Brook <paul@nowt.org>
625 * configure.in: Don't pull in system libtool. Use toplevel
628 2003-07-22 Paul Brook <paul@nowt.org>
630 Regenerate all configury files.
632 2003-07-09 Chun Huang <compiler@sohu.com>
634 * intrinsics/string_intrinsic.c (string_scan): New function.
635 (string_verify): New function.
637 2003-06-25 Paul Brook <paul@nowt.org>
639 * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
640 (mem_seek): Don't bother setting physical_offset.
642 2003-06-20 Paul Brook <paul@nowt.org>
644 * libgfor.h (stop_numeric): Declare.
645 * runtime/pause.c: New file.
646 * Makefile.am: Add it.
648 2003-06-08 Paul Brook <paul@nowt.org>
650 * m4/cexp.m4 (cabs): Use correct typed version.
651 (csqrt): New function.
653 2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
655 Spotted by Benjamin and Tobias:
656 * io/list_read.c: Add Separator '\t'.
657 (parse_real, read_real): Accept real values starting with an optional
658 sign follows a decimal point.
660 2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
662 * Makefile.am: Don't put cmath objects in subdir.
663 * configure.in: Rename MATHOBJ to MATH_OBJ.
665 2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
667 * intrinsics/associated.c: New file.
668 * Makefile.am: Add it. Regenerate Makefile.in.
669 * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
670 G95_DESCRIPTOR_DTYPE.
672 2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
674 * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
675 (calculate_G_format): Rewrite it to eliminate an infinte loop and set
676 the scale_factor to 0 for F editing.
678 2003-05-11 Tobias Schlüter <innenminister@gmx.de>
680 * libgfor.h: Only include stdint.h if it exists.
682 2003-05-07 Paul Brook <paul@nowt.org>
684 * libgfor.h: Use stdint.h types.
685 * intrinsics/ishift.c: Ditto.
686 * runtime/memory.c (malloc_t): Reorder fields for better alignment.
688 2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
690 * libgfor.h (offsetof): Define if nobody else does.
691 * runtime/memory.c (HEADER_SIZE): Use it.
693 2003-05-01 Tobias Schlüter <innenminister@gmx.de>
695 * configure.in: Require autoconf 2.54.
697 2003-04-28 Tobias Schlüter <innenminister@gmx.de>
698 Paul Brook <paul@nowt.org>
700 * intrinsics/reshape_generic.c: Copy the whole element, not just the
702 * m4/transpose.m4: New file.
703 * Makefile.am: Add them.
704 Regenerate generated files.
706 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
708 * io/format.c (parse_format_list): Allow 'X' without integer
709 prefix. This is an extension. Interpretation is '1X'.
711 2003-04-18 Tobias Schlüter <Tobias.Schlueter@physik.uni-muenchen.de>
713 * io/format.c (parse_format_list): Allow '0P'.
715 2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
717 * Makefile.in: Re-regenerate for automake 1.7.3.
719 2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
721 Port implementation for CHARACTER SELECT from Andy's tree.
722 * runtime/select.c: New file
723 * Makefile.am: Add it.
724 * Makefile.in: Regenerate.
726 2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
728 * io/transfer.c (formatted_transfer): Modified
729 * io/unix.c (move_pos_offset): New Function.
730 * io/format.c (parse_format_list): Modified.
732 2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
734 * io/write.c (write_float,write_real): New implemention of
735 FMT_G and default float editing.
736 (calculate_exp,calculate_G_format,output_float): New Function.
737 (write_float,write_real,write_logical): Modified
738 * libgfor.h (default_rtoa): Remove Declaration.
739 * runtime/error.c (default_rtoa): Remove Function.
741 2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
744 * io/write.c (extract_real): Add missing break statement.
746 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
748 * cpu_time.c: Make sure we have a definition of HZ. Don't
749 rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
751 2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
752 Paul Brook <paul@nowt.org>
754 * configure.in: Check for process time headers and GETTIMEOFDAY.
755 * makefile.am: Add intrinsics/cpu_time.c.
756 * acinclude.m4: New file.
757 * intrinsics/cpu_time.c: New file.
758 * m4/dotprodl.m4: Fix typo.
759 Regenerate generated files.
761 2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
763 * io/write.c (extract_real): Ouput floating point value.
764 (write_float): New Function.
765 (write_e, write_f, write_en, write_es): Modified
766 * io/transfer.c (formatted_transfer): Modified.
767 * libgfor.h (default_rtoa): Declaration.
769 * runtime/error.c (default_rtoa): New Function.
770 (rtoa): New Function.
772 2003-04-05 Paul Brook <paul@nowt.org>
774 * intrinsics/spread_generic.c: New file.
775 * Makefile.am: Add it. Regenerate Makefile.in.
777 2003-03-29 Paul Brook <paul@nowt.org>
779 * intrinsics/pack_generic.c: New file.
780 * intrinsics/unpack_generic.c: New file.
781 * Makefile.am: Add them. Regenerate Makefile.in.
783 2003-03-25 Paul Brook <paul@nowt.org>
785 * intrinsics/eoshift0.c: New file.
786 * intrinsics/eoshift2.c: New file.
787 * m4/eoshift1.m4: New file.
788 * m4/eoshift3.m4: New file.
789 * Makefile.am: Add them.
790 * in_unpack_generic.c: Initialize src.
791 Regenerate generated files.
793 2003-03-14 Paul Brook <paul@nowt.org>
795 * m4/shape.m4: Work properly with array temporaries.
796 * m4/in_pack.m4: Skip redundant checks for array temporaries.
797 * runtime/in_pack_generic.c: Ditto.
799 2003-03-12 Paul Brook <paul@nowt.org>
801 * m4/shape.m4: Work properly with noncontiguous arrays.
803 2003-03-08 Paul Brook <paul@nowt.org>
805 * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
806 * runtime/in_pack_generic.c: Ditto.
808 2003-02-08 Paul Brook <paul@nowt.org>
810 * intrinsics/reshape_generic.c: Use runtime_error to report errors.
811 * io/close.c (st_close): Return void.
812 * io/open.c (st_open): Return void.
813 * libgfor.h (g95_array_char): Declare.
814 (internal_malloc_size): Ditto.
815 (internal_pack*, internal_unpack*): Ditto.
816 * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
818 * m4/in_unpack.m4: Include file fixes.
819 * m4/reshape.m4: Increment the correct source pointer.
820 * Makefile.am (maxloc): Fix typo.
821 * runtime/in_pack_generic.c: Call optimized functions. Allocate
822 storage if neccessary. Fix logic for packed arrays.
823 * runtime/in_unpack_generic.c: Call optimized functions.
824 * runtime/main.c: Use runtime_error to report errors.
825 * memory.c (internal_malloc_size): Make non-static.
827 2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
829 * reshape_packed.c, lock.c: Add #include <string.h>.
830 * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
831 environ.c, error.c, memory.c, string.c: Add const.
832 * error.c (show_locus): Add void.
834 2003-02-21 Paul Brook <paul@nowt.org>
836 * m4/in_pack.m4: Avoid returning const * parameter.
837 * Makefile.am: Only regenerate files in maintainer mode.
839 2003-02-20 Paul Brook <paul@nowt.org>
841 Add array repacking support functions.
842 * m4/in_pack.m4, m4/in_unpack.m4: New files.
843 * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
844 * Makefile.am: Build them. Regenerate configury files.
845 * generated/: New directory for generated files (need to move
846 everything else there).
848 2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
850 * m4/cexp.m4: Fix typo.
852 2003-01-26 Paul Brook <paul@nowt.org>
854 * intrinsics/: Add missing generated files.
856 2003-01-26 Paul Brook <paul@nowt.org>
858 * Makefile.am: Put -I before the filename.
860 2003-01-24 Paul Brook <paul@nowt.org>
862 * configure.in: Add AM_MAINTAINER_MODE.
864 2003-01-23 Paul Brook <paul@nowt.org>
866 * configure.in, Makefile.am: Modify to work with unmodified autoconf
868 Also regenerate other configury files.
870 2003-01-21 Paul Brook <paul@nowt.org>
872 * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
874 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
876 * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
877 Don't include "alloca.h".
879 2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
881 * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
882 * Makefile.am: Adjust file name.
883 * Makefile.in: Regenerate.
884 * gfortypes.h: Kill, include everything in...
885 * libgfor.h: ...here. Include config.h
886 * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
887 intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
888 intrinsics/reshape_packed.c, intrinsics/size.c,
889 m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
890 for prefix for all functions instead of hardcoded.
892 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
894 * io/lock.c (library_end): Propagate library return
897 2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
899 Port fixes from Andy's tree:
900 * io/read.c (read_decimal): Reverse sense of overflow
901 comparison during integer reads.
902 * io/format.c (revert): Fix comment.
903 (next_format): Fix format revision.
904 * io/unix.c: Fix and simplify mmap version of stream
907 2003-01-11 Paul Brook <paul@nowt.org>
909 * configure, Makefile.in: Regenerate.
911 2003-01-11 Paul Brook <paul@nowt.org>
913 * runtime/stop.c: Rewrite.
915 2003-01-08 Paul Brook <paul@nowt.org>
917 * configure, Makefile.in: Regenerate.
919 2003-01-05 Paul Brook <paul@nowt.org>
921 * (*.m4) Move to m4/.
922 * intrinsics/string.c (_gfor_string_index): New Function.
924 2002-12-29 Paul Brook <paul@nowt.org>
926 * intrinsics/reshape.*: New files.
927 * gcc_config.patch: Update to new GCC configure system.
929 2002-10-10 Paul Brook <paul@nowt.org>
931 * intrinsics/size.c: New file.
932 * intrinsics/shape.m4: New file.
933 * Makefile.am: Add above files.
935 2002-10-02 Paul Brook <paul@nowt.org>
937 * fmain.c (main): Move here.
938 * libgfor.c: From here.
939 * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
940 * Makefile.am: Build libgforbegin.
941 * gcc_config.patch: Remove stray -march=athlon.
942 * dotprodl.m4: Fix use of L8_TO_L4 macro.
943 * ifunction.m4: Move variable declarations to allow compilation with
945 * specific.m4, specific4.m4: Fix typo typecode->type_code.
946 * README: Document use of patch -p1.
948 2002-09-12 Paul Brook <paul@nowt.org>
950 * math/*: Add complex math library functions.
951 * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
952 * Makefile.am: Add details for above.
953 * configure.in: Use AC_PROG_F95. Test for the presence of csin.
955 2002-09-09 Paul Brook <paul@nowt.org>
957 * libgfor.c (determine_endianness): Use an array rather than a struct.
958 * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
960 2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
962 * libgfor.c: Add fatal signal handler.
963 Romove superfluous abort() calls.
965 2002-09-07 Paul Brook <paul@nowt.org>
967 * Makefile.am, intrinsics: Major rewrite.
969 2002-09-02 Paul Brook <paul@nowt.org>
971 * Makefile.am: Added -I$(srcdir) to m4 rule.
973 2002-08-30 Paul Brook <paul@nowt.org>
975 * io/*: Integrated libgforio.
976 * Makefile.am, configure.in: Make compatable with GCC. Build code for
977 intrinsics in the intrisics directory.
978 * intrinsics/intrinsics.m4: Move here. Strip directories from the
979 filename. Add 'and' and 'all' intrinsics.
981 2002-08-17 Paul Brook <paul@nowt.org>
983 * ALL: First release as more than just a single file