xref: /netbsd-src/external/gpl3/gcc/dist/libgfortran/ChangeLog-2003 (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1*181254a7Smrg2003-12-12  Huang Chun <chunhuang73@hotmal.com>
2*181254a7Smrg
3*181254a7Smrg	* intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
4*181254a7Smrg
5*181254a7Smrg2003-12-05  Melvin Hadasht  <melvin.hadasht@free.fr>
6*181254a7Smrg
7*181254a7Smrg	* io/transfer.c (data_transfer_init): Give a runtime error for list
8*181254a7Smrg	formatted reads and writes from/to files opened for unformatted IO.
9*181254a7Smrg
10*181254a7Smrg2003-11-30  Paul Brook  <paul@nowt.org>
11*181254a7Smrg
12*181254a7Smrg	* runtime/memory.c (push_context): Remove.
13*181254a7Smrg	(pop_context): Remove.
14*181254a7Smrg	* libgfortran.h: Remove prototypes.
15*181254a7Smrg
16*181254a7Smrg2003-11-27  Paul Brook  <paul@nowt.org>
17*181254a7Smrg
18*181254a7Smrg	* runtime/memory.c (deallocate): Nullify pointer after freeing.
19*181254a7Smrg
20*181254a7Smrg2003-11-27  Paul Brook  <paul@nowt.org>
21*181254a7Smrg
22*181254a7Smrg	* intrinsics/string_intrinsics.c: Use new memory allocation interface.
23*181254a7Smrg	* libgfortran.h: Ditto.
24*181254a7Smrg	* m4/in_pack.m4: Ditto.
25*181254a7Smrg	* runtime/in_pack_generic.c: Ditto.
26*181254a7Smrg	* runtime/memory.c: Ditto.
27*181254a7Smrg
28*181254a7Smrg2003-11-26  Richard Henderson  <rth@redhat.com>
29*181254a7Smrg
30*181254a7Smrg	* m4/exponent.m4, m4/fraction.m4: New.
31*181254a7Smrg	* m4/nearest.m4, m4/set_exponent.m4: New.
32*181254a7Smrg	* generated/*: Update.
33*181254a7Smrg	* Makefile.am: Add them.
34*181254a7Smrg	(AM_CFLAGS): New.  Use -std=gnu99.
35*181254a7Smrg	* Makefile.in: Regenerate.
36*181254a7Smrg
37*181254a7Smrg2003-11-08  Paul Brook  <paul@nowt.org>
38*181254a7Smrg
39*181254a7Smrg	PR fortran/12704
40*181254a7Smrg	* m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
41*181254a7Smrg	* m4/maxloc1.m4: Ditto.
42*181254a7Smrg	* m4/minloc0.m4: Ditto.
43*181254a7Smrg	* m4/minloc1.m4: Ditto.
44*181254a7Smrg	* m4/ifunction.m4: Set return value for zero sized arrays.
45*181254a7Smrg	* m4/iforeach.m4: Ditto.
46*181254a7Smrg	* m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
47*181254a7Smrg	m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
48*181254a7Smrg	* generated/*: Update.
49*181254a7Smrg
50*181254a7Smrg2003-10-30  Toon Moene  <toon@moene.indiv.nluug.nl>
51*181254a7Smrg
52*181254a7Smrg	PR fortran/12702
53*181254a7Smrg	* io/list_read.c (eat_spaces): Treat tab as space.
54*181254a7Smrg
55*181254a7Smrg2003-10-30  Lars Segerlund  <Lars.Segerlund@comsys.se>
56*181254a7Smrg
57*181254a7Smrg	* intrinsics/random.c: Add reference to paper containing algorithm.
58*181254a7Smrg	(random_seed): Extra error checking and proper handling of arrays.
59*181254a7Smrg	(arandom_r4, arandom_r8): Implement.
60*181254a7Smrg
61*181254a7Smrg2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
62*181254a7Smrg
63*181254a7Smrg	PR fortran/12703
64*181254a7Smrg	* runtime/memory.c (allocate_size): Allow allocation
65*181254a7Smrg	of zero-sized objects.
66*181254a7Smrg
67*181254a7Smrg2003-10-29  Toon Moene  <toon@moene.indiv.nluug.nl>
68*181254a7Smrg
69*181254a7Smrg	PR fortran/12701
70*181254a7Smrg	* open.c (new_unit): Open without a file name opens
71*181254a7Smrg	a file with name fort.<unit>.
72*181254a7Smrg
73*181254a7Smrg2003-10-12  Feng Wang  <wf_cs@yahoo.com>
74*181254a7Smrg
75*181254a7Smrg	* intrinsics/cshift0.c: New file.
76*181254a7Smrg	* m4/cshift1.m4: New file
77*181254a7Smrg	* generated/cshift*.c: New files.
78*181254a7Smrg	* Makefile.am: Add them.
79*181254a7Smrg	* Makefile.in: Regenerate.
80*181254a7Smrg
81*181254a7Smrg2003-10-12  XiaoQiang Zhang  <zhangapache@yahoo.com>
82*181254a7Smrg
83*181254a7Smrg	* io/list_read.c (read_character): Remove unwanted call to free_saved.
84*181254a7Smrg
85*181254a7Smrg2003-10-11  Huang Chun  <jiwang@mail.edu.cn>
86*181254a7Smrg
87*181254a7Smrg	* intrinsics/string_intrinsics.c (string_trim): New function.
88*181254a7Smrg	(string_repeat): New function.
89*181254a7Smrg
90*181254a7Smrg2003-10-11  Paul Brook  <paul@nowt.org>
91*181254a7Smrg
92*181254a7Smrg	* intrinsics/dprod_r8.f90: New file.
93*181254a7Smrg	* Makefile.am (gfor_specific_src): Add it.
94*181254a7Smrg	(gfor_built_specific_src): Rename from gfor_build_specific_c.
95*181254a7Smrg	Add new intrinsics.
96*181254a7Smrg	(gfor_specific2_src): Rename from gfor_built_specific2_c.
97*181254a7Smrg	Add new intrinsics.
98*181254a7Smrg	* Makefile.in: Regenerate.
99*181254a7Smrg	* generated/_aint_*.f90: New files.
100*181254a7Smrg	* generated/_anint*.f90: New files.
101*181254a7Smrg	* generated/_atan2*.f90: New files.
102*181254a7Smrg	* generated/_mod*.f90: New files.
103*181254a7Smrg
104*181254a7Smrg2003-09-20  Kejia Zhao  <kejia_zh@yahoo.com.cn>
105*181254a7Smrg
106*181254a7Smrg	* intrinsics/selected_kind.f90: New file.
107*181254a7Smrg	* Makefile.am: Add it.
108*181254a7Smrg	* Makefile.in: regenerate.
109*181254a7Smrg
110*181254a7Smrg2003-09-19  Lars Segerlund  <Lars.Segerlund@comsys.se>
111*181254a7Smrg	Paul Brook  <paul@nowt.org>
112*181254a7Smrg
113*181254a7Smrg	* intrinsics/random.c: New file.
114*181254a7Smrg	* Makefile.am (gfor_hemper_src): Add it.
115*181254a7Smrg	(gfor_specific_c): Fix typo.
116*181254a7Smrg
117*181254a7Smrg2003-09-19  Paul Brook  <paul@nowt.org>
118*181254a7Smrg
119*181254a7Smrg	* All: rename g95->gfc.
120*181254a7Smrg
121*181254a7Smrg2003-09-18  XiaoQiang Zhang  <zhangapache@yahoo.com>
122*181254a7Smrg
123*181254a7Smrg	* io/write.c (output_float): Fix bug of FMT_E, Add comments.
124*181254a7Smrg
125*181254a7Smrg2003-09-09  XiaoQiang Zhang  <zhangapache@yahoo.com>
126*181254a7Smrg
127*181254a7Smrg	* io/write.c (write_float): Dectection of positive infinite number,
128*181254a7Smrg	Not a Number(NaN) and negative infinite number.
129*181254a7Smrg	(ioutput_float): Bug fix for FMT_E and FMT_D processing to
130*181254a7Smrg	output a very_very small number ( < 0.1e-100 ).
131*181254a7Smrg
132*181254a7Smrg2003-09-07  XiaoQiang Zhang  <zhangapache@yahoo.com>
133*181254a7Smrg
134*181254a7Smrg	* libgfortran.h (xtoa, itoa): Parameter modified.
135*181254a7Smrg	* io/io.h (namelist_info): Declaration to support namelist I/O
136*181254a7Smrg	(st_parameter): Add namelist related component
137*181254a7Smrg	(ionml, empty_internal_buffer, st_set_nml_var_int,
138*181254a7Smrg	st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
139*181254a7Smrg	st_set_nml_var_log): Declaration
140*181254a7Smrg	(set_integer, set_integer): Parameter changed
141*181254a7Smrg	* io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
142*181254a7Smrg	 fnodes
143*181254a7Smrg	(parse_format_list): Fix bug about FMT_SLASH
144*181254a7Smrg	* io/list_read.c (push_char): Totally clear old saved_string, zeroize
145*181254a7Smrg	newly allocated saved_string
146*181254a7Smrg	(next_char): Add detection of End_Of_Line support
147*181254a7Smrg	(convert_integer): Now can process 64 bits interger
148*181254a7Smrg	(read_real): Bug fixed
149*181254a7Smrg	(init_at_eol, find_nml_node, match_namelist_name): Add new functions
150*181254a7Smrg	(match_namelist_name): New implemention
151*181254a7Smrg	* io/lock.c (ionml): New global variable
152*181254a7Smrg	(library_end): Free memory in ionml
153*181254a7Smrg	* io/open.c (st_open): Variable initializtion
154*181254a7Smrg	* io/read.c (max_value): 64 bits interger support
155*181254a7Smrg	(convert_precsion_real): New procedure to replace "strtod" with more
156*181254a7Smrg	 features
157*181254a7Smrg	(read_f, read_radix): Input bug fix
158*181254a7Smrg	* io/transfer.c: (sf_seen_eor): New static variable
159*181254a7Smrg	(read_sf): Zeroize base buffer; fix bugs: single read statement can
160*181254a7Smrg	not get input in mutli line when read from stdin
161*181254a7Smrg	(formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
162*181254a7Smrg	 request
163*181254a7Smrg	(data_transfer_init): Clear internal buffer for Internel File I/O.
164*181254a7Smrg	Internal File now worked. Detect some error condition for namelist.
165*181254a7Smrg	Some minor bug fix
166*181254a7Smrg	(next_record_w): Internal file and Namelist I/O support.
167*181254a7Smrg	(st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
168*181254a7Smrg	st_set_nml_var_complex, st_set_nml_var_log): Implemention.
169*181254a7Smrg	* io/unit.c (implicit_unit): Deletion
170*181254a7Smrg	(get_unit): Now cannot open a unit implicitly.
171*181254a7Smrg	* io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
172*181254a7Smrg	mapped buffer.
173*181254a7Smrg	(mem_alloc_r_at): Internal file I/O support added
174*181254a7Smrg	(empty_internal_buffer): New function
175*181254a7Smrg	* io/write.c (extract_int): Support 64 bits interger processing
176*181254a7Smrg	(output_float): Varibale initialization
177*181254a7Smrg	(write_float): Infinite real number detection.
178*181254a7Smrg	(write_int): 64 bits integer I/O support
179*181254a7Smrg	(write_decimal): New function to output decimal number
180*181254a7Smrg	(otoa, btoa): Better implemention and 64 bits interger support
181*181254a7Smrg	(namelist_write): New function
182*181254a7Smrg	* runtime/error.c (itoa, xtoa): Better implemention and 64 bits
183*181254a7Smrg	interger support
184*181254a7Smrg
185*181254a7Smrg2003-08-15  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
186*181254a7Smrg
187*181254a7Smrg	* libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
188*181254a7Smrg	get_mem ): Add attribute.
189*181254a7Smrg	* intrinsics/spread_generic.c (__spread): Fix spelling.
190*181254a7Smrg	* io/inquire.c (inquire_via_filename): Add const.
191*181254a7Smrg	* io/io.h (sys_exit): Add attribute.
192*181254a7Smrg	* io/io.h (move_pos_offset): Add move_pos_offset.
193*181254a7Smrg	* io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
194*181254a7Smrg	inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
195*181254a7Smrg	inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
196*181254a7Smrg	write_en, write_es, write_f, write_i, write_l, write_o, write_x,
197*181254a7Smrg	write_z): Add const.
198*181254a7Smrg	* io/read.c (convert_real): Add const.
199*181254a7Smrg	* io/transfer.c (type_name): Add const.
200*181254a7Smrg	* io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
201*181254a7Smrg	inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
202*181254a7Smrg	inquire_read, inquire_write, inquire_readwrite): Add const.
203*181254a7Smrg	* io/write.c (output_float): Remove unused variable.
204*181254a7Smrg	* io/write.c (write_a, extract_int, extract_real, output_float,
205*181254a7Smrg	write_float, write_int, write_i, write_b, write_o, write_z, write_d,
206*181254a7Smrg	write_e, write_f, write_en, write_es, write_logical, write_integer,
207*181254a7Smrg	write_character, write_real, write_complex): Add const.
208*181254a7Smrg	* runtime/error.c (rtoa): Remove unused variable.
209*181254a7Smrg	* runtime/select.c (select_string): Add const.
210*181254a7Smrg	* runtime/stop.c (stop_string): Add const.
211*181254a7Smrg
212*181254a7Smrg2003-08-10  Paul Brook  <paul@nowt.org>
213*181254a7Smrg
214*181254a7Smrg	* Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
215*181254a7Smrg	(FFLAGS): Add -fno-underscoring.
216*181254a7Smrg	* Makefile.in: Regenerate.
217*181254a7Smrg	* intrinsics/abort.c: New file.
218*181254a7Smrg
219*181254a7Smrg2003-08-10  Erik Schnetter  <schnetter@uni-tuebingen.de>
220*181254a7Smrg
221*181254a7Smrg	* fmain.c (main): Do not call init and cleanup; call set_args instead.
222*181254a7Smrg	* libgfortran.h (init, cleanup): Remove declarations.
223*181254a7Smrg	(set_args): Add declaration.
224*181254a7Smrg	* runtime/main.c (init, cleanup): Make them static, and give them
225*181254a7Smrg	the constructor and destructor attributes.
226*181254a7Smrg	(set_args): New	function.
227*181254a7Smrg
228*181254a7Smrg2003-08-10  Paul Brook  <paul@nowt.org>
229*181254a7Smrg
230*181254a7Smrg	* intrinsics/strinf_intrinsics.c (compare_string): Return value based
231*181254a7Smrg	on which string is longest.
232*181254a7Smrg
233*181254a7Smrg2003-08-10  Paul Brook  <paul@nowt.org>
234*181254a7Smrg
235*181254a7Smrg	* Makefile.am (EXTRA_DIST): Remove old files.
236*181254a7Smrg	* Makefile.in: Regenerate.
237*181254a7Smrg
238*181254a7Smrg2003-07-26  Paul Brook  <paul@nowt.org>
239*181254a7Smrg
240*181254a7Smrg	Rename library to libgfortran.
241*181254a7Smrg	* libgfortran.h: Change prefix to _libgfortran_.
242*181254a7Smrg
243*181254a7Smrg2003-07-24  Paul Brook  <paul@nowt.org>
244*181254a7Smrg
245*181254a7Smrg	* configure.in: Don't pull in system libtool.  Use toplevel
246*181254a7Smrg	auxiliary files.
247*181254a7Smrg
248*181254a7Smrg2003-07-22  Paul Brook  <paul@nowt.org>
249*181254a7Smrg
250*181254a7Smrg	Regenerate all configury files.
251*181254a7Smrg
252*181254a7Smrg2003-07-09  Chun Huang  <compiler@sohu.com>
253*181254a7Smrg
254*181254a7Smrg	* intrinsics/string_intrinsic.c (string_scan): New function.
255*181254a7Smrg	(string_verify): New function.
256*181254a7Smrg
257*181254a7Smrg2003-06-25  Paul Brook  <paul@nowt.org>
258*181254a7Smrg
259*181254a7Smrg	* io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
260*181254a7Smrg	(mem_seek): Don't bother setting physical_offset.
261*181254a7Smrg
262*181254a7Smrg2003-06-20  Paul Brook  <paul@nowt.org>
263*181254a7Smrg
264*181254a7Smrg	* libgfor.h (stop_numeric): Declare.
265*181254a7Smrg	* runtime/pause.c: New file.
266*181254a7Smrg	* Makefile.am: Add it.
267*181254a7Smrg
268*181254a7Smrg2003-06-08  Paul Brook  <paul@nowt.org>
269*181254a7Smrg
270*181254a7Smrg	* m4/cexp.m4 (cabs): Use correct typed version.
271*181254a7Smrg	(csqrt): New function.
272*181254a7Smrg
273*181254a7Smrg2003-06-07  Canqun Yang  <canqun@yahoo.com.cn>
274*181254a7Smrg
275*181254a7Smrg	Spotted by Benjamin and Tobias:
276*181254a7Smrg	* io/list_read.c: Add Separator '\t'.
277*181254a7Smrg	(parse_real, read_real): Accept real values starting with an optional
278*181254a7Smrg	sign follows a decimal point.
279*181254a7Smrg
280*181254a7Smrg2003-06-06  Steven Bosscher  <steven@gcc.gnu.org>
281*181254a7Smrg
282*181254a7Smrg	* Makefile.am: Don't put cmath objects in subdir.
283*181254a7Smrg	* configure.in: Rename MATHOBJ to MATH_OBJ.
284*181254a7Smrg
285*181254a7Smrg2003-06-02  Kejia Zhao  <Kejia_zh@yahoo.com.cn>
286*181254a7Smrg
287*181254a7Smrg	* intrinsics/associated.c: New file.
288*181254a7Smrg	* Makefile.am: Add it. Regenerate Makefile.in.
289*181254a7Smrg	* libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
290*181254a7Smrg	G95_DESCRIPTOR_DTYPE.
291*181254a7Smrg
292*181254a7Smrg2003-06-01  Canqun Yang  <canqun@yahoo.com.cn>
293*181254a7Smrg
294*181254a7Smrg	* io/write.c (calcuate_exp): Rewrite it to avoid overflow.
295*181254a7Smrg	(calculate_G_format): Rewrite it to eliminate an infinte loop and set
296*181254a7Smrg	the scale_factor to 0 for F editing.
297*181254a7Smrg
298*181254a7Smrg2003-05-11  Tobias Schlter  <innenminister@gmx.de>
299*181254a7Smrg
300*181254a7Smrg	* libgfor.h: Only include stdint.h if it exists.
301*181254a7Smrg
302*181254a7Smrg2003-05-07  Paul Brook  <paul@nowt.org>
303*181254a7Smrg
304*181254a7Smrg	* libgfor.h: Use stdint.h types.
305*181254a7Smrg	* intrinsics/ishift.c: Ditto.
306*181254a7Smrg	* runtime/memory.c (malloc_t): Reorder fields for better alignment.
307*181254a7Smrg
308*181254a7Smrg2003-05-05  Steven Bosscher  <steven@gcc.gnu.org>
309*181254a7Smrg
310*181254a7Smrg	* libgfor.h (offsetof): Define if nobody else does.
311*181254a7Smrg	* runtime/memory.c (HEADER_SIZE): Use it.
312*181254a7Smrg
313*181254a7Smrg2003-05-01  Tobias Schlter  <innenminister@gmx.de>
314*181254a7Smrg
315*181254a7Smrg	* configure.in: Require autoconf 2.54.
316*181254a7Smrg
317*181254a7Smrg2003-04-28  Tobias Schlter  <innenminister@gmx.de>
318*181254a7Smrg	Paul Brook  <paul@nowt.org>
319*181254a7Smrg
320*181254a7Smrg	* intrinsics/reshape_generic.c: Copy the whole element, not just the
321*181254a7Smrg	first byte.
322*181254a7Smrg	* m4/transpose.m4: New file.
323*181254a7Smrg	* Makefile.am: Add them.
324*181254a7Smrg	Regenerate generated files.
325*181254a7Smrg
326*181254a7Smrg2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
327*181254a7Smrg
328*181254a7Smrg	* io/format.c (parse_format_list): Allow 'X' without integer
329*181254a7Smrg	prefix.  This is an extension.  Interpretation is '1X'.
330*181254a7Smrg
331*181254a7Smrg2003-04-18  Tobias Schlter  <Tobias.Schlueter@physik.uni-muenchen.de>
332*181254a7Smrg
333*181254a7Smrg	* io/format.c (parse_format_list): Allow '0P'.
334*181254a7Smrg
335*181254a7Smrg2003-04-18  Steven Bosscher  <steven@gcc.gnu.org>
336*181254a7Smrg
337*181254a7Smrg	* Makefile.in: Re-regenerate for automake 1.7.3.
338*181254a7Smrg
339*181254a7Smrg2003-04-18  Canqun Yang  <canqun@yahoo.com.cn>
340*181254a7Smrg
341*181254a7Smrg	Port implementation for CHARACTER SELECT from Andy's tree.
342*181254a7Smrg	* runtime/select.c: New file
343*181254a7Smrg	* Makefile.am: Add it.
344*181254a7Smrg	* Makefile.in: Regenerate.
345*181254a7Smrg
346*181254a7Smrg2003-04-17  Xiaoqiang Zhang <zhangapache@yahoo.com>
347*181254a7Smrg
348*181254a7Smrg	* io/transfer.c (formatted_transfer): Modified
349*181254a7Smrg	* io/unix.c (move_pos_offset): New Function.
350*181254a7Smrg	* io/format.c (parse_format_list): Modified.
351*181254a7Smrg
352*181254a7Smrg2003-04-15  Xiaoqiang Zhang <zhangapache@yahoo.com>
353*181254a7Smrg
354*181254a7Smrg	* io/write.c (write_float,write_real): New implemention of
355*181254a7Smrg	FMT_G and default float editing.
356*181254a7Smrg	(calculate_exp,calculate_G_format,output_float): New Function.
357*181254a7Smrg	(write_float,write_real,write_logical): Modified
358*181254a7Smrg	* libgfor.h (default_rtoa): Remove Declaration.
359*181254a7Smrg	* runtime/error.c (default_rtoa): Remove Function.
360*181254a7Smrg
361*181254a7Smrg2003-04-15  Steven Bosscher  <steven@gcc.gnu.org>
362*181254a7Smrg
363*181254a7Smrg	Spotted by Yang:
364*181254a7Smrg	* io/write.c (extract_real): Add missing break statement.
365*181254a7Smrg
366*181254a7Smrg2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
367*181254a7Smrg
368*181254a7Smrg	* cpu_time.c: Make sure we have a definition of HZ.  Don't
369*181254a7Smrg	rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
370*181254a7Smrg
371*181254a7Smrg2003-04-13  Steven Bosscher  <steven@gcc.gnu.org>
372*181254a7Smrg	    Paul Brook  <paul@nowt.org>
373*181254a7Smrg
374*181254a7Smrg	* configure.in: Check for process time headers and GETTIMEOFDAY.
375*181254a7Smrg	* makefile.am: Add intrinsics/cpu_time.c.
376*181254a7Smrg	* acinclude.m4: New file.
377*181254a7Smrg	* intrinsics/cpu_time.c: New file.
378*181254a7Smrg	* m4/dotprodl.m4: Fix typo.
379*181254a7Smrg	Regenerate generated files.
380*181254a7Smrg
381*181254a7Smrg2003-04-11  Xiaoqiang Zhang <zhangapache@yahoo.com>
382*181254a7Smrg
383*181254a7Smrg	* io/write.c (extract_real): Ouput floating point value.
384*181254a7Smrg	(write_float): New Function.
385*181254a7Smrg	(write_e, write_f, write_en, write_es): Modified
386*181254a7Smrg	* io/transfer.c (formatted_transfer): Modified.
387*181254a7Smrg	* libgfor.h (default_rtoa): Declaration.
388*181254a7Smrg	(rtoa): Declaration.
389*181254a7Smrg	* runtime/error.c (default_rtoa): New Function.
390*181254a7Smrg	(rtoa): New Function.
391*181254a7Smrg
392*181254a7Smrg2003-04-05  Paul Brook  <paul@nowt.org>
393*181254a7Smrg
394*181254a7Smrg	* intrinsics/spread_generic.c: New file.
395*181254a7Smrg	* Makefile.am: Add it. Regenerate Makefile.in.
396*181254a7Smrg
397*181254a7Smrg2003-03-29  Paul Brook  <paul@nowt.org>
398*181254a7Smrg
399*181254a7Smrg	* intrinsics/pack_generic.c: New file.
400*181254a7Smrg	* intrinsics/unpack_generic.c: New file.
401*181254a7Smrg	* Makefile.am: Add them. Regenerate Makefile.in.
402*181254a7Smrg
403*181254a7Smrg2003-03-25  Paul Brook  <paul@nowt.org>
404*181254a7Smrg
405*181254a7Smrg	* intrinsics/eoshift0.c: New file.
406*181254a7Smrg	* intrinsics/eoshift2.c: New file.
407*181254a7Smrg	* m4/eoshift1.m4: New file.
408*181254a7Smrg	* m4/eoshift3.m4: New file.
409*181254a7Smrg	* Makefile.am: Add them.
410*181254a7Smrg	* in_unpack_generic.c: Initialize src.
411*181254a7Smrg	Regenerate generated files.
412*181254a7Smrg
413*181254a7Smrg2003-03-14  Paul Brook  <paul@nowt.org>
414*181254a7Smrg
415*181254a7Smrg	* m4/shape.m4: Work properly with array temporaries.
416*181254a7Smrg	* m4/in_pack.m4: Skip redundant checks for array temporaries.
417*181254a7Smrg	* runtime/in_pack_generic.c: Ditto.
418*181254a7Smrg
419*181254a7Smrg2003-03-12  Paul Brook  <paul@nowt.org>
420*181254a7Smrg
421*181254a7Smrg	* m4/shape.m4: Work properly with noncontiguous arrays.
422*181254a7Smrg
423*181254a7Smrg2003-03-08  Paul Brook  <paul@nowt.org>
424*181254a7Smrg
425*181254a7Smrg	* m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
426*181254a7Smrg	* runtime/in_pack_generic.c: Ditto.
427*181254a7Smrg
428*181254a7Smrg2003-02-08  Paul Brook  <paul@nowt.org>
429*181254a7Smrg
430*181254a7Smrg	* intrinsics/reshape_generic.c: Use runtime_error to report errors.
431*181254a7Smrg	* io/close.c (st_close): Return void.
432*181254a7Smrg	* io/open.c (st_open): Return void.
433*181254a7Smrg	* libgfor.h (g95_array_char): Declare.
434*181254a7Smrg	(internal_malloc_size): Ditto.
435*181254a7Smrg	(internal_pack*, internal_unpack*): Ditto.
436*181254a7Smrg	* m4/in_pack.m4: Allocate storage if neccessary.  Fix logic for packed
437*181254a7Smrg	arrays.
438*181254a7Smrg	* m4/in_unpack.m4: Include file fixes.
439*181254a7Smrg	* m4/reshape.m4: Increment the correct source pointer.
440*181254a7Smrg	* Makefile.am (maxloc): Fix typo.
441*181254a7Smrg	* runtime/in_pack_generic.c: Call optimized functions. Allocate
442*181254a7Smrg	storage if neccessary. Fix logic for packed arrays.
443*181254a7Smrg	* runtime/in_unpack_generic.c: Call optimized functions.
444*181254a7Smrg	* runtime/main.c: Use runtime_error to report errors.
445*181254a7Smrg	* memory.c (internal_malloc_size): Make non-static.
446*181254a7Smrg
447*181254a7Smrg2003-02-02  Arnaud Desitter  <arnaud.desitter@geography.oxford.ac.uk>
448*181254a7Smrg
449*181254a7Smrg	* reshape_packed.c, lock.c: Add #include <string.h>.
450*181254a7Smrg	* libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
451*181254a7Smrg	environ.c, error.c, memory.c, string.c: Add const.
452*181254a7Smrg	* error.c (show_locus): Add void.
453*181254a7Smrg
454*181254a7Smrg2003-02-21  Paul Brook  <paul@nowt.org>
455*181254a7Smrg
456*181254a7Smrg	* m4/in_pack.m4: Avoid returning const * parameter.
457*181254a7Smrg	* Makefile.am: Only regenerate files in maintainer mode.
458*181254a7Smrg
459*181254a7Smrg2003-02-20  Paul Brook  <paul@nowt.org>
460*181254a7Smrg
461*181254a7Smrg	Add array repacking support functions.
462*181254a7Smrg	* m4/in_pack.m4, m4/in_unpack.m4: New files.
463*181254a7Smrg	* runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
464*181254a7Smrg	* Makefile.am: Build them.  Regenerate configury files.
465*181254a7Smrg	* generated/: New directory for generated files (need to move
466*181254a7Smrg	everything else there).
467*181254a7Smrg
468*181254a7Smrg2003-02-07  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
469*181254a7Smrg
470*181254a7Smrg	* m4/cexp.m4: Fix typo.
471*181254a7Smrg
472*181254a7Smrg2003-01-26  Paul Brook  <paul@nowt.org>
473*181254a7Smrg
474*181254a7Smrg	* intrinsics/: Add missing generated files.
475*181254a7Smrg
476*181254a7Smrg2003-01-26  Paul Brook  <paul@nowt.org>
477*181254a7Smrg
478*181254a7Smrg	* Makefile.am: Put -I before the filename.
479*181254a7Smrg
480*181254a7Smrg2003-01-24  Paul Brook  <paul@nowt.org>
481*181254a7Smrg
482*181254a7Smrg	* configure.in: Add AM_MAINTAINER_MODE.
483*181254a7Smrg
484*181254a7Smrg2003-01-23  Paul Brook  <paul@nowt.org>
485*181254a7Smrg
486*181254a7Smrg	* configure.in, Makefile.am: Modify to work with unmodified autoconf
487*181254a7Smrg	and auotmake.
488*181254a7Smrg	Also regenerate other configury files.
489*181254a7Smrg
490*181254a7Smrg2003-01-21  Paul Brook  <paul@nowt.org>
491*181254a7Smrg
492*181254a7Smrg	* io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
493*181254a7Smrg
494*181254a7Smrg2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
495*181254a7Smrg
496*181254a7Smrg	* io/read.c (read_f): Don't use alloca, but safe get_mem instead.
497*181254a7Smrg	Don't include "alloca.h".
498*181254a7Smrg
499*181254a7Smrg2003-01-20  Steven Bosscher  <s.bosscher@student.tudelft.nl>
500*181254a7Smrg
501*181254a7Smrg	* intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
502*181254a7Smrg	* Makefile.am: Adjust file name.
503*181254a7Smrg	* Makefile.in: Regenerate.
504*181254a7Smrg	* gfortypes.h: Kill, include everything in...
505*181254a7Smrg	* libgfor.h: ...here.  Include config.h
506*181254a7Smrg	* fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
507*181254a7Smrg	intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
508*181254a7Smrg	intrinsics/reshape_packed.c, intrinsics/size.c,
509*181254a7Smrg	m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
510*181254a7Smrg	for prefix for all functions instead of hardcoded.
511*181254a7Smrg
512*181254a7Smrg2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
513*181254a7Smrg
514*181254a7Smrg	* io/lock.c (library_end): Propagate library return
515*181254a7Smrg	code.
516*181254a7Smrg
517*181254a7Smrg2003-01-19  Steven Bosscher  <s.bosscher@student.tudelft.nl>
518*181254a7Smrg
519*181254a7Smrg	Port fixes from Andy's tree:
520*181254a7Smrg	* io/read.c (read_decimal): Reverse sense of overflow
521*181254a7Smrg	comparison during integer reads.
522*181254a7Smrg	* io/format.c (revert): Fix comment.
523*181254a7Smrg	(next_format): Fix format revision.
524*181254a7Smrg	* io/unix.c: Fix and simplify mmap version of stream
525*181254a7Smrg	functions.
526*181254a7Smrg
527*181254a7Smrg2003-01-11  Paul Brook  <paul@nowt.org>
528*181254a7Smrg
529*181254a7Smrg	* configure, Makefile.in: Regenerate.
530*181254a7Smrg
531*181254a7Smrg2003-01-11  Paul Brook  <paul@nowt.org>
532*181254a7Smrg
533*181254a7Smrg	* runtime/stop.c: Rewrite.
534*181254a7Smrg
535*181254a7Smrg2003-01-08  Paul Brook  <paul@nowt.org>
536*181254a7Smrg
537*181254a7Smrg	* configure, Makefile.in: Regenerate.
538*181254a7Smrg
539*181254a7Smrg2003-01-05  Paul Brook  <paul@nowt.org>
540*181254a7Smrg
541*181254a7Smrg	* (*.m4) Move to m4/.
542*181254a7Smrg	* intrinsics/string.c (_gfor_string_index): New Function.
543*181254a7Smrg
544*181254a7Smrg
545*181254a7SmrgCopyright (C) 2003 Free Software Foundation, Inc.
546*181254a7Smrg
547*181254a7SmrgCopying and distribution of this file, with or without modification,
548*181254a7Smrgare permitted in any medium without royalty provided the copyright
549*181254a7Smrgnotice and this notice are preserved.
550