flow.c (allocate_for_life_analysis, [...]): Remove declaration.
[gcc.git] / libf2c / ChangeLog
1 Sat Jun 13 03:46:40 1998 Craig Burley <burley@gnu.org>
2
3 * Makefile.in (install): Don't install if $(libsubdir)
4 is empty; issue a diagnostic saying top-level Makefile
5 must pass it in instead, and exit.
6
7 * Makefile.in (g2c.h): Rename from f2c.h.
8
9 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
10 libU77/Makefile.in: Rewrite config and var assignment
11 sections to be even more minimal than before, and to
12 more clearly documented what macros are expected to be
13 set and to what sorts of values. Eliminate CROSS and
14 related stuff, since there's no such things as CROSS
15 in egcs. Rename GCC_FOR_TARGET to CC throughout.
16 * Makefile.in (stamp-libi77, stamp-libf77, stamp-libu77):
17 Eliminate CROSS.
18 * configure.in: Eliminate CROSS.
19
20 Rename libf2c.a and f2c.h to libg2c.a and g2c.h,
21 normalize and simplify g77/libg2c build process:
22 * Makefile.in: Remove all stuff pertaining to
23 installation, cleaning, and so on. Parent Makefile
24 does all that now. Pass F2C_H_DIR,
25 G2C_H_DIR, and GCC_H_DIR, the pathnames for the
26 directories containing f2c.h, g2c.h, and other
27 #include files, to subdirectory Makefiles.
28 (stamp-libf77, stamp-libi77, stamp-libu77):
29 Don't specify `-f Makefile' anymore, it's not needed
30 now that subdirectory makefile's from netlib are
31 renamed to makefile.netlib in g77 source (and to
32 makefile.ori by configuration process, in case they're
33 still around somehow).
34 (stamp-libe77): Don't make libE77 dir unless it doesn't
35 exist, if it does just delete all objects in it.
36 Compile using $(GCC_FOR_TARGET), not $(CC).
37 (rebuilt): Remove this and all subordinate targets,
38 as parent Makefile now handles all that.
39 (*clean): Remove.
40 * configure.in (Pad_UDread, ALWAYS_FLUSH, WANT_LEAD_0):
41 Remove these and commentary to new f2c.h file.
42 AC_OUTPUT g2c.h instead of f2c.h. Remove old commentary
43 regarding concatenation.
44 * g2c.h.in: Rename from f2c.h.in, add appropriate
45 commentary.
46 * f2c.h: New file, a wrapper for g2c.h that does
47 libg2c-specific stuff.
48 * libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
49 Change $(ALL_CFLAGS) to use F2C_H_DIR, G2C_H_DIR, and GCC_H_DIR
50 macros. Remove F2C_H macro, replace use with explicit
51 dependencies on f2c.h and g2c.h.
52 (*clean): Remove.
53
54 1998-05-20 Dave Love <d.love@dl.ac.uk>
55
56 * Makefile.in ($(lib)): Use shell loop instead of unportable
57 make variable substitution.
58
59 Tue May 19 12:50:27 1998 Craig Burley <burley@gnu.org>
60
61 Break up main() into separate .o's so making and
62 linking against shared libraries with non-Fortran
63 main() routines is easier:
64 * Makefile.in (MISC): Add setarg.o and setsig.o.
65 * libF77/Makefile.in (MISC): Ditto.
66 * libF77/setarg.c: New file, contains f_setarg().
67 * libF77/setsig.c: New file, contains f_setsig().
68 * libF77/getarg_.c: Rename xarg* to f__xarg*.
69 * libF77/iargc_.c: Ditto
70
71 Sat May 2 16:44:46 1998 Craig Burley <burley@gnu.org>
72
73 * libF77/signal_.c, libI77/dfe.c, libI77/due.c,
74 libI77/wsfe.c: Tweaks to eliminate unnecessary
75 differences vs. netlib libf2c.
76
77 Fri May 1 11:57:45 1998 Craig Burley <burley@gnu.org>
78
79 Update to Netlib version of 1998-04-20:
80 * libF77/dtime_.c, libF77/etime_.c, libF77/h_dnnt.c,
81 libF77/h_nint.c, libF77/i_dnnt.c, libF77/i_nint.c,
82 libF77/main.c, libF77/s_paus.c, libF77/signal1.h0,
83 libI77/backspace.c, libI77/close.c, libI77/dfe.c,
84 libI77/endfile.c, libI77/err.c, libI77/fio.h,
85 libI77/iio.c, libI77/ilnw.c, libI77/lread.c,
86 libI77/lwrite.c, libI77/open.c, libI77/rawio.h,
87 libI77/sfe.c, libI77/util.c, libI77/wrtfmt.c,
88 libI77/wsfe.c, libI77/wsle.c, libI77/wsne.c:
89 See changes.netlib for info.
90
91 Sun Apr 26 09:13:41 1998 Craig Burley <burley@gnu.org>
92
93 * libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
94 that was trashing the byte just beyond the CHARACTER*(*)
95 argument.
96
97 Wed Mar 4 16:32:46 1998 Craig Burley <burley@gnu.org>
98
99 * libU77/u77-test.f: Don't bother declaring etime.
100 Use `implicit none' and declare mask and lenstr.
101 Do ETIME/DTIME consistency check before loop, then
102 use loop to verify that dtime "ticks" at some point.
103 Check ETIME array-sum using single-precision add, to
104 avoid spurious complaint on systems (like x86) that
105 use more precision for intermediate results.
106 Fix `Results of ETIME and DTIME...' message to print
107 pertinent values (r1 and r2 instead of i and j).
108 Change loop from 10M to 1K repeated up to 1000 times
109 or until dtime "ticks".
110 Print the number of 1K loops needed to see this tick.
111 Answer a commented question.
112 Split up a long line of output and do other prettying.
113 Preset lognam in case GETLOG fails to overwrite it.
114
115 Sat Feb 28 15:32:15 1998 Craig Burley <burley@gnu.org>
116
117 * libI77/open.c (f_open): Use sizeof(buf) instead of
118 256, for the usual reasons.
119
120 Tue Dec 23 22:56:01 1997 Craig Burley <burley@gnu.org>
121
122 * libF77/signal_.c (G77_signal_0): Return type is
123 now `void *', to cope with returning previous signal
124 handler on 64-bit systems like Alphas.
125 * f2cext.c (signal_): Changed accordingly.
126
127 Wed Oct 29 01:01:04 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
128
129 * configure.in: Set CC to CC_FOR_TARGET when cross-compiling.
130
131 Fri Oct 24 11:15:22 1997 Mumit Khan <khan@brahma.xraylith.wisc.edu>
132
133 * libI77/close.c (f_exit): Reset f__init so that f_clos does not
134 (incorrectly) think there is an I/O recursion when program is
135 interrupted.
136
137 Wed Oct 15 10:06:29 1997 Richard Henderson <rth@cygnus.com>
138
139 * libI77/fio.h: Include <string.h> if STDC_HEADERS.
140 * libU77/chmod_.c: Likewise.
141
142 1997-10-03 Dave Love <d.love@dl.ac.uk>
143
144 * configure.in: Check for tempnam (best because it obeys TMPDIR).
145 * libI77/open.c: Use it.
146 * libI77/err.c: New message # 132.
147
148 Tue Sep 30 00:41:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
149
150 Do a better job of printing the offending FORMAT string
151 when producing a diagnostic:
152 * libI77/err.c (f__fmtlen): New variable to hold operating
153 length of format string.
154 (f__fatal): Use new variable to limit length of printed string.
155 * libI77/fmt.c (f_s): Don't skip spaces after closing paren,
156 so nicer message results (and nested case already skips them).
157 (pars_f): Record operating length of format string as indicated
158 by a successful call to f_s, or ad-hoc-calculate it if failure,
159 limiting the length to 80 characters (and stopping at NUL).
160 (do_fio): Use new variable to limit length of printed string.
161 * libI77/fmt.h (f__fmtlen): Declare new variable.
162 * libI77/lread.c (c_le): Set new variable to known length.
163
164 Mon Sep 29 16:30:31 1997 Craig Burley <burley@gnu.ai.mit.edu>
165
166 Update to Netlib version of 1997-09-23:
167 * libF77/dtime_.c (dtime_), libF77/etime_.c (dtime_):
168 Return `double' instead of `float' (these are not used
169 in g77's version of libf2c).
170 * libI77/fmt.c, libI77/fmt.h, libI77/rdfmt.c, libI77/wrtfmt.c:
171 Support machines with 64-bit pointers and 32-bit ints (e.g.
172 Linux on DEC Alpha).
173
174 1997-09-19 Dave Love <d.love@dl.ac.uk>
175
176 * libU77/dtime_.c (G77_dtime_0): Fix types in HAVE_GETRUSAGE case
177 so as not to truncate results to integer values.
178
179 Tue Sep 9 00:33:24 1997 Craig Burley <burley@gnu.ai.mit.edu>
180
181 * Version 0.5.21 released.
182
183 Mon Sep 8 19:39:01 1997 Craig Burley <burley@gnu.ai.mit.edu>
184
185 * libI77/close.c (f_exit): Fix thinko, inverted test
186 of whether initialization done, so exiting now closes
187 open units again.
188
189 Tue Aug 26 01:42:21 1997 Craig Burley <burley@gnu.ai.mit.edu>
190
191 From Jim Wilson:
192 * configure.in: Make sure RANLIB_TEST is set also.
193
194 From Robert Lipe <robertl@dgii.com>:
195 * libU77/getcwd_.c, libU77/hostnm_.c, libU77/lstat_.c:
196 Also #include <errno.h>, to define ENOSYS.
197
198 Tue Aug 26 01:25:58 1997 Craig Burley <burley@gnu.ai.mit.edu>
199
200 * Makefile.in (stamp-lib): Put all f2cext.c objects in
201 a temp directory named libE77, then `ar' them all at
202 once into libf2c.a, to get the job done a bit faster.
203 Still remove the objects (and libE77 directory) afterward.
204
205 Sun Aug 24 05:04:35 1997 Craig Burley <burley@gnu.ai.mit.edu>
206
207 * libU77/rand_.c (G77_rand_0), libU77/dtime_.c (G77_dtime_0),
208 libU77/etime_.c (G77_etime_0), libU77/secnds_.c (G77_secnds_0),
209 libU77/second_.c (G77_second_0): Really return `double', not
210 `doublereal', since the result is cast to `float'.
211 * f2cext.c: (rand_, dtime_, etime_, secnds_, second_): Ditto.
212 (erf_, erfc_, besj0_, besj1_, besjn_, besy0_, besy1_,
213 besyn_, dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
214 dbesyn_): All of these return `double', not `doublereal',
215 as they either have `float' or `double' results.
216 * libU77/bes.c (besj0_, besj1_, besjn_, besy0_, besy1_,
217 besyn_): Ditto.
218 * libU77/dbes.c (dbesj0_, dbesj1_, dbesjn_, dbesy0_, dbesy1_,
219 dbesyn_): Ditto.
220
221 Update to Netlib version of 1997-08-16:
222 * libI77/iio.c: Fix bug in internal writes to an array
223 of character strings.
224
225 * Makefile.in (UOBJ): Restore fixes made by Dan Pettet I
226 lost, which included the addition of mclock_.o already noted
227 below, plus adding symlnk_.o.
228
229 Thu Aug 21 03:58:34 1997 Craig Burley <burley@gnu.ai.mit.edu>
230
231 * Makefile.in (UOBJ): Add mclock_.o, thanks to Mumit Khan!
232
233 1997-08-21 Dave Love <d.love@dl.ac.uk>
234
235 * libU77/alarm_.c: Fix return type: `integer'.
236
237 Mon Aug 11 20:12:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
238
239 * Makefile.in ($(lib), stamp-lib): Ensure that library
240 gets fully updated even if updating was aborted earlier.
241
242 * libU77/hostnm_.c (G77_hostnm_0): Return ENOSYS and stuff
243 in errno if system has no gethostname() function.
244
245 * libU77/lstat_.c (G77_lstat_0): Return ENOSYS and stuff
246 in errno if system has no lstat() function.
247
248 * libU77/getcwd_.c (G77_getcwd_0): Return ENOSYS and stuff
249 in errno if system has no getcwd() or getwd() function.
250 Test HAVE_GETCWD properly.
251
252 * libU77/symlnk_.c (G77_symlink_0): Return ENOSYS and stuff
253 in errno if system has no symlink() function.
254
255 * libU77/mclock_.c (G77_mclock_0): Return -1 if system
256 has no clock() function.
257
258 Mon Aug 11 01:55:36 1997 Craig Burley <burley@gnu.ai.mit.edu>
259
260 * Makefile.in (F2CEXT): Add `alarm' to this list.
261
262 * f2cext.c (alarm_): Fix some typos in this function.
263 Delete third `status' argument.
264
265 * libU77/alarm_.c: Delete third `status' argument,
266 as caller gets this from function result; return
267 status value as function result for caller.
268
269 * configure.in: Rename `ac_cv_struct_FILE' to
270 `g77_cv_struct_FILE' according to 1997-06-26 change.
271
272 1997-08-06 Dave Love <d.love@dl.ac.uk>
273
274 * libU77/vxtidate_.c: Correct day/month argument order.
275 * f2cext.c: Likewise.
276
277 1997-07-07 Dave Love <d.love@dl.ac.uk>
278
279 * f2cext.c: Add alarm_.
280
281 * Makefile.in, libU77/Makefile.in: Add alarm_.
282
283 * libU77/alarm_.c: New file.
284
285 1997-06-26 Dave Love <d.love@dl.ac.uk>
286
287 * configure.in: Generally use prefix `g77_' for cached values
288 we've invented, not `ac_'.
289
290 Tue Jun 24 18:50:06 1997 Craig Burley <burley@gnu.ai.mit.edu>
291
292 * libI77/ilnw.c (s_wsni): Call f_init() here.
293 (s_wsli): Ditto.
294 (e_wsli): Turn off "doing I/O" flag here.
295
296 1997-06-20 Dave Love <d.love@dl.ac.uk>
297
298 * runtime/configure.in: Check for cygwin32 after Mumit Khan (but
299 differently); if cygwin32 define NON_UNIX_STDIO and don't define
300 NON_ANSI_RW_MODES.
301
302 Tue Jun 01 06:26:29 1997 Craig Burley <burley@gnu.ai.mit.edu>
303
304 * libI77/rsne.c (nl_init): Don't call f_init() here,
305 since s_rsne() already does.
306 (c_lir): Call f_init() here instead.
307 * libI77/rsli.c (e_rsli): Turn off "doing I/O" flag here.
308 * libI77/sue.c (e_rsue): Ditto.
309
310 Sun Jun 22 23:27:22 1997 Craig Burley <burley@gnu.ai.mit.edu>
311
312 * libI77/fio.h (err): Mark I/O as no longer in progress
313 before returning a non-zero error indicator (since
314 that tells the caller to jump over the remaining I/O
315 calls, including the corresponding `e_whatever' call).
316 * libI77/err.c (endif): Ditto.
317 * libI77/sfe.c (e_wsfe): Ditto.
318 * libI77/lread.c (ERR): Ditto.
319 * libI77/lread.c (l_read): Ditto by having quad case
320 use ERR, not return, to return non-zero error code.
321
322 Sat Jun 21 12:31:28 1997 Craig Burley <burley@gnu.ai.mit.edu>
323
324 * libI77/open.c (fk_open): Temporarily turn off
325 "doing I/O" flag during f_open() call to avoid recursive
326 I/O error.
327
328 Tue Jun 17 22:40:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
329
330 * err.c, close.c, rewind.c, inquire.c, backspace.c, endfile.c,
331 iio.c, open.c, Version.c, sfe.c, wsle.c, rsne.c, sue.c, rsfe.c,
332 lread.c, wsfe.c, fio.h, due.c, dfe.c: Change f__init from
333 `flag' to `int' and to signal not just whether initialization
334 has happened (bit 0), but also whether I/O is in progress
335 already (bit 1). Consistently produce a clear diagnostic
336 in cases of recursive I/O. Avoid infinite recursion in
337 f__fatal, in case sig_die triggers another error. Don't
338 output info on internals if not initialized in f__fatal. Don't
339 bother closing units in f_exit if initialization hasn't
340 happened.
341
342 Tue Jun 10 12:57:44 1997 Craig Burley <burley@gnu.ai.mit.edu>
343
344 Update to Netlib version of 1997-06-09:
345 * libI77/err.c, libI77/lread.c, libI77/rdfmt.c,
346 libI77/wref.c: Move some #include's around.
347
348 Mon Jun 9 18:11:56 1997 Craig Burley <burley@gnu.ai.mit.edu>
349
350 * libU77/kill_.c (kill_): KR_headers version needed
351 `*' in front of args in decls.
352
353 Sun May 25 03:16:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
354
355 Update to Netlib version of 1997-05-24:
356 * libF77/README, libF77/Version.c, libF77/main.c,
357 libF77/makefile, libF77/s_paus.c, libF77/signal1.h,
358 libF77/signal_.c, libF77/z_div.c, libI77/Notice,
359 libI77/README, libI77/Version.c, libI77/dfe.c,
360 libI77/err.c, libI77/fmt.c, libI77/makefile,
361 libI77/rawio.h: Apply many, but not all, of the changes
362 made to libf2c since last update.
363 * libF77/Makefile.in (MISC), Makefile.in (MISC): Rename
364 exit.o to exit_.o to go along with Netlib.
365 * libF77/signal.c: Make the prologue much simpler than
366 Netlib has it.
367
368 Sun May 18 20:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
369
370 * libU77/unlink_.c, libU77/stat_.c, libU77/symlnk_.c,
371 libU77/chmod_.c: g_char first arg is const.
372
373 * libU77/chmod_.c: s_cat expects ftnlen[], not int[] or
374 integer[], change types of array and variables
375 accordingly.
376
377 May 7 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
378
379 * libU77/dbes_.c: Commented out the code in the
380 same way the bes* routines are commented out. This
381 was done because corresponding C routines are referenced
382 directly in com-rt.def.
383
384 Mon May 5 13:56:02 1997 Craig Burley <burley@gnu.ai.mit.edu>
385
386 * libU77/stat_.c: Reverse KR/ANSI decls of g_char().
387
388 Apr 18 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
389
390 * libF77/F77_aloc.c, libF77/abort_.c, libF77/derf_.c,
391 libF77/derfc_.c, libF77/ef1asc_.c, libF77/ef1cmc_.c,
392 libF77/erf_.c, libF77/erfc_.c, libF77/exit.c,
393 libF77/getarg_.c, libF77/getenv_.c, libF77/iargc_.c,
394 libF77/s_cat.c, libF77/signal_.c, libF77/system_.c,
395 libI77/close.c, libI77/ftell_.c, libU77/access_.c,
396 libU77/bes.c, libU77/chdir_.c, libU77/chmod_.c, libU77/ctime_.c,
397 libU77/date_.c, libU77/dbes.c, libU77/dtime_.c, libU77/etime_.c,
398 libU77/fdate_.c, libU77/fgetc_.c, libU77/flush1_.c,
399 libU77/fnum_.c, libU77/fputc_.c, libU77/fstat_.c,
400 libU77/gerror_.c, libU77/getcwd_.c, libU77/getgid_.c,
401 libU77/getlog_.c, libU77/getpid_.c, libU77/getuid_.c,
402 libU77/gmtime_.c, libU77/hostnm_.c, libU77/idate_.c,
403 libU77/ierrno_.c, libU77/irand_.c, libU77/isatty_.c,
404 libU77/itime_.c, libU77/kill_.c, libU77/link_.c,
405 libU77/lnblnk_.c, libU77/ltime_.c, libU77/mclock_.c,
406 libU77/perror_.c, libU77/rand_.c, libU77/rename_.c,
407 libU77/secnds_.c, libU77/second_.c, libU77/sleep_.c,
408 libU77/srand_.c, libU77/stat_.c, libU77/symlnk_.c,
409 libU77/system_clock_.c, libU77/time_.c, libU77/ttynam_.c,
410 libU77/umask_.c, libU77/unlink_.c, libU77/vxtidate_.c,
411 libU77/vxttime_.c: Completed renaming routines that are directly
412 callable from g77 to internal names of the form
413 G77_xxxx_0 that are known as intrinsics by g77.
414
415 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
416
417 * Makefile.in: Add libU77/mclock_.o and libU77/symlnk_.o to UOBJ.
418 * libU77/Makefile.in: Add mclock_.c to SRCS.
419 Add mclock_.o and symlnk_.o to OBJS.
420 Add mclock_.o dependency.
421
422 Apr 8 1997 Daniel Pettet <dan.pettet@bchydro.bc.ca>
423
424 * libU77/symlnk_.c: Added a couple of (char*) casts to malloc
425 to silence the compiler.
426
427 1997-03-17 Dave Love <d.love@dl.ac.uk>
428
429 * libU77/access_.c, libU77/chdir_.c, libU77/chmod_.c,
430 libU77/link_.c, libU77/lstat_.c, libU77/rename_.c, libU77/stat_.c,
431 libU77/symlnk_.c, libU77/u77-test.f, libU77/unlink_.c: Strip
432 trailing blanks from file names for consistency with other
433 implementations (notably Sun's).
434
435 * libU77/chmod_.c: Quote the file name given to the shell.
436
437 Mon Mar 10 00:19:17 1997 Craig Burley <burley@gnu.ai.mit.edu>
438
439 * libI77/uio.c (do_ud) [PAD_UDread]: Add semicolon to err()
440 invocation when macro not defined (from Mumit Khan
441 <khan@xraylith.wisc.edu>).
442
443 Fri Feb 28 13:16:50 1997 Craig Burley <burley@gnu.ai.mit.edu>
444
445 * Version 0.5.20 released.
446
447 Wed Feb 26 20:28:53 1997 Craig Burley <burley@gnu.ai.mit.edu>
448
449 * Makefile.in: $(MAKE) invocations now explicitly
450 specify `-f Makefile', just in case the `makefile's
451 from the netlib distribution would get used instead.
452
453 Mon Feb 24 16:43:39 1997 Craig Burley <burley@gnu.ai.mit.edu>
454
455 * libU77/Makefile.in (check): Specify driver, and
456 don't bother enabling already-enabled intrinsic groups.
457 Also, get the $(srcdir) version of u77-test.f.
458
459 Sat Feb 22 14:08:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
460
461 * libU77/u77-test.f: Explicitly declare intrinsics, get
462 rid of useless CHARACTER declarations on intrinsics (maybe
463 someday appropriate to implement meaning of that in g77
464 and restore them?).
465 Add spin loop just to fatten up the timings a bit.
466 Clarify ETIME output as having three fields.
467 Call TIME with CHARACTER*8, not CHARACTER*6, argument.
468 Call new SECOND intrinsic subroutine, after calling
469 new DUMDUM subroutine just to ensure the correct value
470 doesn't get left around in a register or something.
471
472 Thu Feb 20 15:22:42 1997 Craig Burley <burley@gnu.ai.mit.edu>
473
474 * libU77/bes.c: Comment out all the code, as g77 avoids actually
475 calling it, going directly to the system's library instead.
476
477 Mon Feb 17 02:27:41 1997 Craig Burley <burley@gnu.ai.mit.edu>
478
479 * libU77/fgetc_.c (fgetc_): Allow return value to be
480 CHARACTER*(*), properly handle CHARACTER*0 and blank-pad
481 CHARACTER*n where n>1.
482
483 Tue Feb 11 14:12:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
484
485 * Makefile.in: Clarify role of $(srcdir) here. Fix
486 various targets accordingly. Don't rely at all on
487 gcc/f/include/ being a link to gcc/include/ -- just
488 use it directly.
489 (${srcdir}/configure, ${srcdir}/libU77/configure):
490 Remove the config.cache files in build directory before
491 cd'ing to source directory as well.
492
493 * libF77/Makefile.in, libI77/Makefile.in (ALL_CFLAGS):
494 Include `-I.' to pick up build directory.
495 Use gcc/include/ directly.
496 * libU77/Makefile.in (ALL_CFLAGS): Include `-I$(srcdir)'
497 to pick up source directory.
498 (OBJS): Fix typo in `chmod_.o' (was `chmod.o').
499
500 Mon Feb 10 12:54:47 1997 Craig Burley <burley@gnu.ai.mit.edu>
501
502 * Makefile.in (UOBJ), libU77/Makefile.in (OBJS): Add
503 libU77/chmod_.o to list of objects.
504 * libU77/chmod_.c: Fix up headers.
505 Fix implementation to not prematurely truncate command
506 string and make room for trailing null.
507
508 * libU77/ctime_.c: Incoming xstime argument is now longint.
509 * libU77/mclock_.c: Now returns longint.
510 * libU77/time_.c: Now returns longint.
511
512 1997-02-10 Dave Love <d.love@dl.ac.uk>
513
514 * etime_.c, dtime_.c: Typo rounded times to seconds.
515
516 * date_.c: Add missing return.
517
518 * hostnm_.c: #include unistd.h.
519
520 Sat Feb 8 03:30:19 1997 Craig Burley <burley@gnu.ai.mit.edu>
521
522 INTEGER*8 support built in to f2c.h and libf2c (since
523 gcc will be used to compile relevant code anyway):
524 * Makefile.in, libF77/Makefile.in: Add pow_qq.o,
525 qbitbits.o, and qbitshft.o to $POW and $F90BIT macros,
526 as appropriate.
527 * f2c.h.in: Define appropriate types and macros.
528 Place #error directive correctly.
529 * configure.in: Determine appropriate types for long
530 integer (F2C_LONGINT).
531 Meanwhile, quote strings in #error, for consistency.
532 Fix restoring of ac_cpp macro.
533 * configure: Regenerated using autoconf-2.12.
534
535 * libF77/Version.c, libI77/Version.c, libU77/Version.c:
536 Update version numbers.
537 Change names and code for g77-specific version-printing
538 routines (shorter names should be safer to link on
539 weird, 8-char systems).
540
541 * libF77/c_cos.c, libF77/c_div.c, libF77/c_exp.c,
542 libF77/c_log.c, libF77/c_sin.c, libF77/c_sqrt.c,
543 libF77/d_cnjg.c, libF77/pow_zi.c, libF77/r_cnjg.c,
544 libF77/z_cos.c, libF77/z_div.c, libF77/z_exp.c,
545 libF77/z_log.c, libF77/z_sin.c, libF77/z_sqrt.c:
546 Changed to work properly even when result is aliased
547 with any inputs.
548
549 * libF77/makefile, libI77/makefile: Leave these in
550 the g77 distribution, so it is easier to track changes
551 to official libf2c.
552
553 * libF77/signal_.c: Eliminate redundant `return 0;'.
554
555 * libI77/fio.h (err, errfl): Fix these so they work
556 (and must be expressed) as statements.
557 Fix up many users of err() to include trailing semicolon.
558
559 * Incorporate changes by Bell Labs to libf2c through 1997-02-07.
560
561 1997-02-06 Dave Love <d.love@dl.ac.uk>
562
563 * libU77/etime_.c, libU77/dtime_.c: Fix getrusage stuff.
564
565 * libU77/config.h.in: Regenerate for HAVE_GETRUSAGE.
566
567 * libU77/Makefile.in, libI77/Makefile.in, libF77/Makefile.in:
568 Redo *clean targets; distclean and maintainer-clean remove the stage?
569 and include links. This probably want looking at further.
570
571 Wed Feb 5 00:21:23 1997 Craig Burley <burley@gnu.ai.mit.edu>
572
573 Add libU77 library from Dave Love <d.love@dl.ac.uk>:
574 * Makefile.in: Add libU77 directory, rules, etc.
575 * configure.in: New libU77 directory, Makefile, etc.
576
577 * Makefile.in, libF77/Makefile.in, libI77/Makefile.in,
578 libU77/Makefile.in: Reorganize these so $(AR) commands
579 handled by the top-level Makefile instead of the
580 subordinates. This permits it to do $(AR) only when
581 one or more object files actually change, instead of
582 having to force-update it as was necessary before.
583 And that had the disadvantage of requiring, e.g., user
584 root to have access to $(AR) to the library simply to
585 install g77, which might be problematic on an NFS setup.
586 (mostlyclean, clean, distclean, maintainer-clean):
587 Properly handle these rules.
588
589 * Makefile.in: Don't invoke config.status here -- let
590 compiler-level stuff handle all that.
591
592 * libI77/err.c [MISSING_FILE_ELEMS]: Declare malloc in this case
593 too, so it doesn't end up as an integer.
594
595 Sat Feb 1 02:43:48 1997 Craig Burley <burley@gnu.ai.mit.edu>
596
597 * libF77/Makefile.in: More fixup for $(F90BIT) -- wasn't
598 in list for ar command, and it wasn't correctly listed
599 in the list of things depending on f2c.h.
600
601 * f2c.h.in: Fix up #error directive.
602
603 1997-01-31 Dave Love <d.love@dl.ac.uk>
604
605 * libF77/Makefile.in ($(lib)): Add $(F90BIT); shouldn't exclude
606 stuff f2c needs so we can share the library.
607
608 Sat Jan 18 19:39:03 1997 Craig Burley <burley@gnu.ai.mit.edu>
609
610 * configure.in: No longer define ALWAYS_FLUSH, the
611 resulting performance is too low.
612
613 Wed Dec 18 12:06:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
614
615 Patch from Mumit Khan <khan@xraylith.wisc.edu>:
616 * libF77/s_paus.c: Add __CYGWIN32__ to list of macros
617 controlling how to pause.
618
619 Sun Dec 1 21:25:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
620
621 * configure: Regenerated using autoconf-2.12.
622
623 Mon Nov 25 21:16:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
624
625 * configure: Regenerated using autoconf-2.11.
626
627 1996-11-19 Dave Love <d.love@dl.ac.uk>
628
629 * libI77/backspace.c: Include sys/types.h for size_t.
630
631 Wed Nov 6 14:17:27 1996 Craig Burley <burley@gnu.ai.mit.edu>
632
633 * f2c.h.in: Properly comment out the unsupported stuff so
634 we don't get build-time errors.
635
636 * libF77/Version.c, libI77/Version.c: Restore macro definition
637 of version information.
638
639 * libI77/Makefile.in (OBJ): Add ftell_.o to list of objects.
640
641 * libI77/uio.c (do_ud): Fix up casts in PAD_UDread case just
642 like they were fixed in the other case.
643
644 Thu Oct 31 22:27:45 1996 Craig Burley <burley@gnu.ai.mit.edu>
645
646 * libI77/ftell_.c (fseek_): Map incoming whence argument to
647 system's actual SEEK_CUR, SEEK_SET, or SEEK_END macro for
648 fseek(), and crash (gracefully) if the argument is invalid.
649
650 1996-10-19 Dave Love <d.love@dl.ac.uk>
651
652 * configure.in: Add check that we have the tools to cross-compile
653 if appropriate.
654 (NO_EOF_CHAR_CHECK,Skip_f2c_Undefs): Define.
655
656 * libF77/Makefile.in (F90BIT): New routines from Netlib.
657
658 * f2c.h.in:
659 Use more sanitary #error (indented for K&R compliance if necessary) if
660 f2c_i2 defined.
661 Sync with Netlib: Add `uninteger'. (Commented out) integer*8 stuff.
662 bit_{test,clear,set} macros.
663
664 1996-10-19 Dave Love <d.love@dl.ac.uk>
665
666 Update to Netlib version of 1996-09-26.
667
668 * libI77/Version.c: Use <stdio.h>, not "stdio.h".
669 * libF77/Version.c: Likewise.
670
671 Wed Aug 28 13:25:29 1996 Dave Love <d.love@dl.ac.uk>
672
673 * libI77/rsne.c (x_rsne): Use size_t instead of int.
674
675 * libI77/endfile.c (copy): Use size_t in place of int.
676
677 Wed Aug 28 13:22:20 1996 Dave Love <d.love@dl.ac.uk>
678
679 * libI77/backspace.c (f_back): Cast fread arg to size_t.
680
681 Tue Aug 27 19:11:30 1996 Dave Love <d.love@dl.ac.uk>
682
683 * libI77/Version.c: Supply */ to avoid apparent nested comment.
684
685 Tue Aug 20 09:21:43 1996 Dave Love <d.love@dl.ac.uk>
686
687 * libF77/Makefile.in (ALL_CFLAGS): Fix missing ../ for include.
688 * libI77/Makefile.in (ALL_CFLAGS): Likewise.
689
690 Sat Aug 17 13:00:47 1996 Dave Love <d.love@dl.ac.uk>
691
692 * (libF77/qbitshft.c, libF77/qbitbits.c, libF77/lbitshft.c,
693 libF77/lbitbits.c): New file from Netlib. qbit... not currently
694 compiled.
695
696 Sun Jul 7 18:06:33 1996 Dave Love <d.love@dl.ac.uk>
697
698 * libF77/z_sqrt.c, libF77/z_sin.c, libF77/z_exp.c, libF77/z_log.c,
699 libF77/system_.c, libF77/z_cos.c, libF77/signal_.c,
700 libF77/s_stop.c, libF77/sig_die.c, libF77/s_paus.c,
701 libF77/s_rnge.c, libF77/s_cat.c, libF77/r_tan.c, libF77/r_tanh.c,
702 libF77/r_sinh.c, libF77/r_sqrt.c, libF77/r_sin.c, libF77/r_mod.c,
703 libF77/r_nint.c, libF77/r_lg10.c, libF77/r_log.c, libF77/r_exp.c,
704 libF77/r_int.c, libF77/r_cosh.c, libF77/r_atn2.c, libF77/r_cos.c,
705 libF77/r_asin.c, libF77/r_atan.c, libF77/r_acos.c,
706 libF77/pow_dd.c, libF77/pow_zz.c, libF77/main.c, libF77/i_dnnt.c,
707 libF77/i_nint.c, libF77/h_dnnt.c, libF77/h_nint.c, libF77/exit.c,
708 libF77/d_tan.c, libF77/d_tanh.c, libF77/d_sqrt.c, libF77/d_sin.c,
709 libF77/d_sinh.c, libF77/d_mod.c, libF77/d_nint.c, libF77/d_log.c,
710 libF77/d_int.c, libF77/d_lg10.c, libF77/d_cosh.c, libF77/d_exp.c,
711 libF77/d_atn2.c, libF77/d_cos.c, libF77/d_atan.c, libF77/d_acos.c,
712 libF77/d_asin.c, libF77/c_sqrt.c, libF77/cabs.c, libF77/c_sin.c,
713 libF77/c_exp.c, libF77/c_log.c, libF77/c_cos.c, libF77/F77_aloc.c,
714 libF77/abort_.c, libI77/xwsne.c, libI77/wref.c, libI77/util.c,
715 libI77/uio.c, libI77/rsne.c, libI77/rdfmt.c, libI77/rawio.h,
716 libI77/open.c, libI77/lread.c, libI77/inquire.c, libI77/fio.h,
717 libI77/err.c, libI77/endfile.c, libI77/close.c:
718 Use #include <...>, not #include "..." for mkdeps
719
720 Sat Jul 6 21:39:21 1996 Dave Love <d.love@dl.ac.uk>
721
722 * libI77/ftell_.c: Added from Netlib distribution.
723
724 Sat Mar 30 20:57:24 1996 Dave Love <d.love@dl.ac.uk>
725
726 * configure.in: Eliminate explicit use of
727 {RANLIB,AR}_FOR_TARGET.
728 * Makefile.in: Likewise.
729 * libF77/Makefile.in: Likewise.
730 * libI77/Makefile.in: Likewise.
731 * configure: Regenerated.
732
733 Sat Mar 30 21:02:03 1996 Dave Love <d.love@dl.ac.uk>
734
735 * Makefile.in: Eliminate explicit use of
736 {RANLIB,AR}_FOR_TARGET.
737
738 Tue Mar 26 23:39:59 1996 Dave Love <d.love@dl.ac.uk>
739
740 * Makefile.in: Remove hardwired RANLIB and RANLIB_TEST (unnoted
741 change).
742
743 Mon Mar 25 21:04:56 1996 Craig Burley <burley@gnu.ai.mit.edu>
744
745 * Incorporate changes by Bell Labs to libf2c through 1996-03-23,
746 including changes to dmg and netlib email addresses.
747
748 Tue Mar 19 13:10:02 1996 Craig Burley <burley@gnu.ai.mit.edu>
749
750 * Incorporate changes by AT&T/Bellcore to libf2c through 1996-03-19.
751
752 * Makefile.in (rebuilt): New target.
753
754 * lib[FI]77/Makefile.in: Use $AR_FOR_TARGET, not $AR.
755
756 Tue Mar 19 12:53:19 1996 Dave Love <d.love@dl.ac.uk>
757
758 * configure.in (ac_cpp): #include <stdio.h> instead
759 of <features.h>.
760
761 Tue Mar 19 12:52:09 1996 Mumit Khan <khan@xraylith.wisc.edu>
762
763 * configure.in (ac_cpp): For f2c integer type,
764 add -I$srcdir/../.. to make it work on mips-ultrix4.2.
765
766 Sat Mar 9 17:37:15 1996 Craig Burley <burley@gnu.ai.mit.edu>
767
768 * libI77/Makefile.in (.c.o): Add -DAllow_TYQUAD, to enable
769 I/O support for INTEGER*8.
770 * f2c.h.in: Turn on longint type.
771
772 Fri Dec 29 18:22:01 1995 Craig Burley <burley@gnu.ai.mit.edu>
773
774 * Makefile.in: Reorganize the *clean rules to more closely
775 parallel gcc's.
776
777 * lib[FI]77/Makefile.in: Ignore error from $(AR) command,
778 in case just doing an install and installer has no write
779 access to library (this is a kludge fix -- perhaps install
780 targets should never try updating anything?).
781
782 Sat Nov 18 19:37:22 1995 Craig Burley (burley@gnu.ai.mit.edu)
783
784 * Version 0.5.17 released.
785
786 Thu Nov 16 07:20:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
787
788 * Incorporate changes by AT&T/Bellcore to libf2c through 1995-11-15.
789
790 Fri Sep 22 02:19:59 1995 Craig Burley (burley@gnu.ai.mit.edu)
791
792 * libI77/backspace.c, libI77/close.c, libI77/endfile.c,
793 libI77/fio.h, libI77/inquire.c, libI77/rawio.h,
794 libF77/s_paus.c: Not an MSDOS system if GO32
795 is defined, in the sense that the run-time environment
796 is thus more UNIX-like.
797
798 Wed Sep 20 02:24:51 1995 Craig Burley (burley@gnu.ai.mit.edu)
799
800 * libF77/Makefile.in, libI77/Makefile.in: Comment out `ld -r -x'
801 and `mv' line pairs, since `-x' isn't supported on systems
802 such as Solaris, and these lines don't seem to do anything
803 useful after all.
804
805 Wed Aug 30 15:58:35 1995 Craig Burley (burley@gnu.ai.mit.edu)
806
807 * Version 0.5.16 released.
808
809 * Incorporate changes by AT&T/Bellcore to libf2c through 950829.
810
811 Mon Aug 28 12:50:34 1995 Craig Burley (burley@gnu.ai.mit.edu)
812
813 * libF77/Makefile.in, libI77/Makefile.in ($(lib)): Force ar'ing
814 and ranlib'ing of libf2c.a, else after rm'ing libf2c.a and
815 doing a make, only libI77 or libF77 would be added to
816 the newly created archive.
817 Also, instead of `$?' list all targets explicitly so all
818 objects are updated in libf2c.a even if only one actually
819 needs recompiling, for similar reason -- we can't easily tell
820 if a given object is really up-to-date in libf2c.a, or even
821 present there.
822
823 Sun Aug 27 14:54:24 1995 Craig Burley (burley@gnu.ai.mit.edu)
824
825 * libF77/Makefile.in, libI77/Makefile.in: Fix spacing so
826 initial tabs are present in all appropriate places.
827 Move identical $(AR) commands in if then/else clauses
828 to single command preceding if.
829 (.c.o, Version[FI].o): Use $@ instead of $* because AIX (RS/6000)
830 says $@ means source, not object, basename, and $@ seems to work
831 everywhere.
832
833 Wed Aug 23 15:44:25 1995 Craig Burley (burley@gnu.ai.mit.edu)
834
835 * libF77/system_.c (system_): Declare as returning `ftnint',
836 consistent with signal_, instead of defaulting to `int'.
837 Hope dmg@research.att.com agrees, else probably will
838 change to whatever he determines is correct (and change
839 g77 accordingly).
840
841 Thu Aug 17 08:46:17 1995 Craig Burley (burley@gnu.ai.mit.edu)
842
843 * libI77/rsne.c (s_rsne): Call f_init if not already done.
844
845 Thu Aug 17 04:35:28 1995 Craig Burley (burley@gnu.ai.mit.edu)
846
847 * Incorporate changes by Bellcore to libf2c through 950817.
848 And this text is for EMACS: (foo at bar).
849
850 Wed Aug 16 17:33:06 1995 Craig Burley (burley@gnu.ai.mit.edu)
851
852 * libF77/Makefile.in, libI77/Makefile.in (CFLAGS): Put -g1
853 after configured CFLAGS but before GCC_CFLAGS, so by default
854 the libraries are built with minimal debugging information.
855
856 Fri Jul 28 10:30:15 1995 Dave Love <d.love@dl.ac.uk>
857
858 * libI77/open.c (f_open): Call f_init if not already done.
859
860 Sat Jul 1 19:31:56 1995 Craig Burley (burley@gnu.ai.mit.edu)
861
862 * libF77/system_.c (system_): Make buff one byte bigger so
863 following byte doesn't get overwritten by call with large
864 string.
865
866 Tue Jun 27 23:28:16 1995 Craig Burley (burley@gnu.ai.mit.edu)
867
868 * Incorporate changes by Bellcore to libf2c through 950613.
869
870 * libF77/Version.c (__G77_LIBF77_VERSION__): Add this string
871 to track g77 mods to libf2c.
872
873 * libI77/Version.c (__G77_LIBI77_VERSION__): Add this string
874 to track g77 mods to libf2c.
875
876 * libI77/rawio.h: #include <rawio.h> only conditionally,
877 using macro intended for that purpose.
878
879 Fri May 19 11:20:00 1995 Craig Burley (burley@gnu.ai.mit.edu)
880
881 * configure.in: Incorporate change made by d.love,
882
883 * configure: Regenerated.
884
885 Wed Apr 26 21:08:57 BST 1995 Dave Love <d.love@dl.ac.uk>
886
887 * configure.in: Fix quoting problem in atexit check.
888
889 * configure: Regenerated (with current autoconf).
890
891 Wed Mar 15 12:49:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
892
893 * Incorporate changes by Bellcore to libf2c through 950315.
894
895 Sun Mar 5 18:54:29 1995 Craig Burley (burley@gnu.ai.mit.edu)
896
897 * README: Tell people not to read lib[fi]77/README.
898
899 Wed Feb 15 14:30:58 1995 Craig Burley (burley@gnu.ai.mit.edu)
900
901 * configure.in: Update copyright notice at top of file.
902
903 * f2c.h.in (f2c_i2): Make sure defining this crashes compilations.
904
905 * libI77/Makefile.in (F2C_H): Fix typo in definition of this
906 symbol (was FF2C_H=...).
907
908 Sun Feb 12 13:39:36 1995 Craig Burley (burley@gnu.ai.mit.edu)
909
910 * README: Remove some obsolete items.
911 Add date.
912
913 * TODO: Add date.
914
915 Sat Feb 11 22:07:54 1995 Craig Burley (burley@gnu.ai.mit.edu)
916
917 * Makefile.in (libf77, libi77): Add rules to .PHONY list.
918
919 * f2c.h.in (flag): Make same type as friends.
920
921 * libF77/Makefile.in (libf77): Rename to $(lib), remove from
922 .PHONY list. Fix some typos.
923
924 * libI77/Makefile.in (libi77): Rename to $(lib), remove from
925 .PHONY list. Fix some typos.
926
927 Thu Feb 2 12:22:41 1995 Craig Burley (burley@gnu.ai.mit.edu)
928
929 * Makefile.in (libF77/Makefile): Fix typos in this rule's name
930 and dependencies.
931
932 * libF77/Makefile.in (libf77): Add rule to .PHONY list.
933
934 * libI77/Makefile.in (libi77): Add rule to .PHONY list.