OSDN Git Service

* tree.h (TREE_SET_PERMANENT): New macro. Document conditions
[pf3gnuchains/gcc-fork.git] / gcc / f / ChangeLog
1 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
2
3         * com.c (ffecom_type_permanent_copy_): Delete unused function.
4         (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
5
6 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
7
8         * com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
9         (ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
10         (duplicate_decls): Likewise.
11         (ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
12         (finish_decl): Delete -Wlarger-than processing.
13
14 Fri Feb 18 13:19:34 2000  Martin von Loewis  <loewis@informatik.hu-berlin.de>
15
16         * g77spec.c (lang_specific_driver): Use GCCBUGURL.
17
18 2000-02-17  Andy Vaught  <andy@maxwell.la.asu.edu>
19
20         * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
21         (ffecom_finish_symbol_transform_): Likewise.
22         (ffecom_transform_common_): Call ffestorag_set_hook.
23
24 Wed Feb 16 11:09:38 2000  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
25
26         * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.
27
28 2000-02-15  Jonathan Larmour  <jlarmour@redhat.co.uk>
29
30         * lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.
31
32 Tue Feb 15 11:14:17 2000  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
33
34         * g77spec.c: Don't declare `version_string'.
35
36 Sat Feb  5 23:27:25 2000  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
37
38         * com.c (mark_tracker_head, mark_binding_level): Protoize.
39
40         * where.c (mark_ffewhere_head): Likewise.
41
42 Wed Jan 12 09:32:59 2000  Zack Weinberg  <zack@wolery.cumb.org>
43
44         * lang-specs.h: Pass -lang-fortran to preprocessor.
45
46 Thu Dec 30 13:14:31 1999  Richard Henderson  <rth@cygnus.com>
47
48         * stw.h (struct _ffestw_): Change type of uses_ to int.
49
50 Thu Dec 30 11:42:05 1999  Geoff Keating  <geoffk@cygnus.com>
51
52         * com.c (ffecom_init_0): Make double_ftype_double,
53         float_ftype_float, ldouble_ftype_ldouble,
54         ffecom_tree_ptr_to_fun_type_void local.
55         (tracker_head): New static variable.
56         (mark_tracker_head): New, marker procedure for tracker_head.
57         (ffecom_save_tree_forever): New procedure.
58         (ffecom_init_zero_): Remove obstack use.
59         (ffecom_make_gfrt_): Remove obstack use.
60         (ffecom_sym_transform_): Remove obstack use, save appropriate trees.
61         (ffecom_transform_common_): Remove obstack use, save appropriate 
62         trees.
63         (ffecom_type_namelist_): Remove obstack use, save appropriate 
64         trees.
65         (ffecom_type_vardesc_): Remove obstack use, save appropriate trees.
66         (ffecom_lookup_label): Remove obstack use, save appropriate trees.
67         (duplicate_decls): Remove obstack use.
68         (finish_function): push & pop ggc context around
69         rest_of_compilation when building nested function.
70         (mark_binding_level): New function.
71         (init_decl_processing): Mark all the GC roots.
72         (ggc_p): Set to 1.
73         (lang_mark_tree): New function.
74         (lang_mark_false_label_stack): New trivial function.
75         * com.h (ffecom_save_tree_forever): Declare as external.
76         * lex.c (ffelex_hash_): Use GC to allocate the filename string
77         even when ffelex_kludge_flag_.
78         * ste.c (ffeste_io_ialist_): Register a static root.
79         (ffeste_io_inlist_): Likewise.
80         (ffeste_io_icilist_): Likewise.
81         (ffeste_io_cllist_): Likewise.
82         (ffeste_io_cilist_): Likewise.
83         (ffeste_io_olist_): Likewise.
84         * Makefile.in (OBJS): Don't use ggc-callbacks.o.
85         (OBJDEPS): Likewise.
86         (GGC_H): New variable.
87         Update dependencies.
88         * where.c (ffewhere_head): New global.
89         (mark_ffewhere_head): New marker procedure for ffewhere_head.
90         (ffewhere_file_kill): Use GC to do memory management.
91         (ffewhere_file_new): Use GC to do memory management.
92         * ggc.j: New file.
93
94 Wed Dec 29 19:29:26 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
95
96         * g77.texi (C Interfacing Tools): Fix an incorrect link.
97
98 1999-12-13  Jakub Jelinek  <jakub@redhat.com>
99
100         * target.h: Handle sparc64 the same way as alpha.
101
102 Sun Nov 28 21:39:05 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
103
104         * com.c (ffecom_file_, ffecom_file, file_buf,
105         ffecom_open_include_): Constify a char*.
106         (ffecom_possible_partial_overlap_): Mark parameter `expr2' with
107         ATTRIBUTE_UNUSED.
108         (ffecom_init_0): Use a fully prototyped cast in call to bsearch.
109         (lang_print_error_function): ANSI-fy.
110
111         * com.h (ffecom_file): Constify a char*.
112
113         * fini.c (main): Call return, not exit.
114
115         * g77spec.c (lang_specific_driver): Use non-const *in_argv in
116         assignment.
117
118         * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away
119         const-ness.
120         
121 Sun Nov 28 21:15:29 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
122
123         * com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.
124         
125         (ffecom_char_enhance_arg_, ffecom_do_entry_,
126         ffecom_f2c_make_type_, ffecom_gen_sfuncdef_,
127         ffecom_start_progunit_, ffecom_start_progunit_,
128         ffecom_start_progunit_, ffecom_sym_transform_assign_,
129         ffecom_transform_equiv_, ffecom_transform_namelist_,
130         ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_,
131         ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label):
132         Adjust accordingly.
133
134         * com.h (ffecom_get_invented_identifier): Likewise.
135
136         * sts.c (ffests_printf): New function taking ellipses.
137         (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
138         ffests_printf_2Us): Delete.
139
140         * sts.h: Likewise.
141
142         * std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_,
143         ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_,
144         ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_,
145         ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
146         ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_,
147         ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'.
148
149         * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
150         ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise.
151
152 Wed Nov 10 12:43:21 1999  Philippe De Muyter  <phdm@macqel.be>
153                           Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
154
155         * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
156
157 Tue Oct 26 01:32:19 1999  Mark Mitchell  <mark@codesourcery.com>
158
159         * com.c (poplevel): Don't call remember_end_note.
160
161 Fri Oct 15 15:18:12 1999  Greg McGary  <gkm@gnu.org>
162
163         * top.h (ffe_is_subscript_check_): Remove extern decl.
164         (ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
165         * top.c (ffe_is_subscript_check_): Remove global variable.
166         (ffe_decode_option): Remove "(no-)bounds-check" flag handling.
167         Set flag_bounds_check for "(no-)fortran-bounds-check".
168         * com.c
169         (ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
170         (ffecom_char_args_x_): Ditto.
171
172 Sun Oct 10 08:40:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
173
174         * proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
175         __GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.  Define
176         macro UNUSED in terms of ATTRIBUTE_UNUSED.
177
178 Fri Sep 24 10:48:10 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
179
180         * com.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
181         DECL_BUILT_IN.
182         (builtin_function): No longer static.  New arg CLASS.  Arg
183         FUNCTION_CODE now of type int.  All callers changed.
184         Set the builtin's DECL_BUILT_IN_CLASS.
185
186 Tue Sep 21 09:08:30 1999  Toon Moene  <toon@moene.indiv.nluug.nl>
187
188         * g77spec.c (lang_specific_driver): Initialise return value.
189
190 Thu Sep 16 18:07:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
191
192         * bad.c (ffebad_finish): Use uppercase ctype macro from system.h.
193
194         * fini.c (main): Likewise.
195
196         * intrin.c (ffeintrin_init_0): Likewise.
197
198         * lex.c (ffelex_hash_): Likewise.
199
200         * src.c (ffesrc_init_1): Likewise.
201
202 Tue Sep 14 12:14:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
203
204         * g77spec.c (lang_specific_driver): Remove unnecessary argument in
205         call to function `fatal'.
206
207 Sun Sep 12 23:29:47 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
208
209         * Make-lang.in (g77spec.o): Depend on system.h and gcc.h.
210
211         * g77spec.c: Include gcc.h.
212         (g77_xargv): Constify.
213         (g77_fn): Add parameter prototypes.
214         (lookup_option, append_arg): Add static prototypes.
215         (g77_newargv): Constify.
216         (lookup_option, append_arg, lang_specific_driver): Constify a char*.
217         (lang_specific_driver): All calls to the function pointer
218         parameter now explicitly call `fatal'.
219
220 Fri Sep 10 10:32:32 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
221
222         * com.h: Delete declarations for all tree nodes now moved to
223         global_trees.
224         * com.c: Delete their definitions.
225         (ffecom_init_0): Call build_common_tree_nodes and
226         build_common_tree_nodes_2 instead of building their nodes here.
227         Override their decisions for complex nodes.
228
229 Sat Sep  4 13:46:27 1999  Mark Mitchell  <mark@codesourcery.com>
230
231         * Make-lang.in (f771): Depend on ggc-callbacks.o.
232         * Makefile.in (OBJS): Add ggc-callbacks.o.
233         (OBJDEPS): Likewise.
234
235 Mon Aug 30 22:05:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
236
237         * com.c (language_string): Constify.
238
239 Mon Aug 30 20:29:30 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
240
241         * Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
242         Remove hacks for stuff which now comes from libiberty.
243
244 Sun Aug 29 09:47:45 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
245
246         * com.c (lang_printable_name): Constify a char*.
247
248 Wed Aug 25 01:21:06 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
249
250         * lang-specs.h: Pass cc1 spec to f771.
251
252 Mon Aug  9 19:44:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253
254         * com.c (lang_print_error_function): Constify a char*.
255         (init_parse): Remove redundant prototype for `print_error_function'.
256         (lang_identify): Constify a char*.
257
258 Thu Aug  5 02:40:42 1999  Jeffrey A Law  (law@cygnus.com)
259
260         * g77spec.c: Update URLS and mail addresses.
261         * root.texi: Update URLS and mail addresses.
262
263 1999-07-25  Richard Henderson  <rth@cygnus.com>
264
265         * com.c (ptr_type_node, va_list_type_node): New.
266         (ffecom_init_0): Init and use ptr_type_node.
267
268 1999-07-17  Alexandre Oliva  <oliva@dcc.unicamp.br>
269         
270         * root.texi: Update e-mail addresses to gcc.gnu.org.
271         * g77spec.c (lang_specific_driver): Updated URL with bug reporting 
272         instructions to gcc.gnu.org.  Removed e-mail address.
273
274 Sat Jul 17 11:28:43 1999  Craig Burley  <craig@jcb-sc.com>
275
276         * root.texi, g77install.texi: Switchover to GCC terminology.
277         Also, FSF-G77 had been mistakenly set at some point.
278
279 Thu Jul  8 15:38:50 1999  Craig Burley  <craig@jcb-sc.com>
280
281         * news.texi: Describe DATE intrinsic fix.
282
283 Mon Jun 28 21:44:19 1999  Craig Burley  <craig@jcb-sc.com>
284
285         * version.c: Denote experimental version.
286
287 Mon Jun 28 10:43:11 1999  Craig Burley  <craig@jcb-sc.com>
288
289         * com.c (ffecom_prepare_expr_): A COMPLEX intrinsic needs
290         a temp even if -fno-f2c.
291
292         * version.c: Bump version.
293
294 Mon Jun 28 21:31:35 1999  Craig Burley  <craig@jcb-sc.com>
295
296         * bugs.texi, news.texi: Doc upgrade to netlib libf2c as of today.
297         Explain that this fixes the NAMELIST-read bug.
298
299 Fri Jun 25 11:06:32 1999  Craig Burley  <craig@jcb-sc.com>
300
301         * bugs.texi: Describe K(5)=10*3 NAMELIST-read bug.
302
303 Mon Jun 21 12:40:17 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
304
305         * g77.texi: Update links.
306
307 Mon Jun 21 05:33:51 1999  Jeffrey A Law  (law@cygnus.com)
308
309         * news.texi: Add missing @end ifclear.
310
311 Fri Jun 18 11:43:46 1999  Craig Burley  <craig@jcb-sc.com>
312
313         * news.texi: Doc TtyNam fix.
314
315 Fri Jun 18 11:26:50 1999  Craig Burley  <craig@jcb-sc.com>
316
317         * news.texi: New heading for development version.
318         Doc upgrade to netlib libf2c as of today.
319
320 Wed Jun 16 11:43:02 1999  Craig Burley  <craig@jcb-sc.com>
321
322         * news.texi: Mention BACKSPACE fix to libg2c.
323
324 Mon Jun  7 08:42:40 1999  Craig Burley  <craig@jcb-sc.com>
325
326         * Make-lang.in: Any target using libsubdir must depend
327         on installdirs.
328
329 Sat Jun  5 23:50:36 1999  Craig Burley  <craig@jcb-sc.com>
330
331         * g77.texi: Describe a few more missing features people
332         have emailed me about.
333
334 Sat Jun  5 17:03:23 1999  Craig Burley  <craig@jcb-sc.com>
335
336         From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
337         * g77.texi: Clean up fossil text vis-a-vis Intel CPUs.
338
339 Fri Jun  4 13:56:56 1999  Craig Burley  <craig@jcb-sc.com>
340
341         * Make-lang.in: Use libsubdir, not prefix, to store
342         temporary lang-f77 `flag' file.
343
344 Fri Jun  4 10:26:04 1999  Craig Burley  <craig@jcb-sc.com>
345
346         * news.texi (News): Mention GCC 2.95 in favor of EGCS 1.2.
347         Mention that libg2c is multilibbed.
348
349 Fri Jun  4 10:09:50 1999  Craig Burley  <craig@jcb-sc.com>
350
351         * g77.texi (Missing Features): Add `Better Warnings'
352         item.
353
354 Fri May 28 16:51:41 1999  Craig Burley  <craig@jcb-sc.com>
355
356         * g77.texi: Fix thinko.
357
358 Wed May 26 14:43:27 1999  Craig Burley  <craig@jcb-sc.com>
359
360         * news.texi: Document Tue May 18 03:52:04 1999 patch.
361         Fix a grammo.
362
363 Wed May 26 14:25:07 1999  Craig Burley  <craig@jcb-sc.com>
364
365         * g77.texi, news.texi, root.texi, version.c: Start renaming
366         EGCS 1.2 to GCC 2.95, and start using 0.5.25 to designate
367         the version of g77 within GCC 2.95.
368
369 Wed May 26 11:45:21 1999  Craig Burley  <craig@jcb-sc.com>
370
371         Rename -fsubscript-check to -fbounds-check and
372         -ff2c-subscript-check to -ffortran-bounds-check:
373         * g77.texi: Rename options in docs, clarify usage.
374         * lang-options.h: Rename options, clarify doclets.
375         * news.texi: Rename options, don't bother with fortran-specific
376         option.
377         * top.c (ffe_decode_option): Rename recognized strings.
378
379 Tue May 25 18:21:09 1999  Craig Burley  <craig@jcb-sc.com>
380
381         * com.c (FFECOM_FASTER_ARRAY_REFS): Delete this vestige,
382         now that -fflatten-arrays exists.
383
384 Tue May 25 17:48:34 1999  Craig Burley  <craig@jcb-sc.com>
385
386         Fix 19990525-0.f:
387         * com.c (ffecom_arg_ptr_to_expr): Strip off parens around
388         CHARACTER expression.
389         (ffecom_prepare_expr_): Ditto.
390
391 Tue May 18 03:52:04 1999  Craig Burley  <craig@jcb-sc.com>
392
393         Support use of back end's improved open-coding of complex divide:
394         * com.c (ffecom_tree_divide_): Use RDIV_EXPR for complex divide,
395         instead of run-time call to [cz]_div, if `-Os' option specified.
396         (lang_init_options): Tell back end we want support for wide range
397         of inputs to complex divide.
398
399         * Bump version.
400
401 Tue May 18 00:21:34 1999  Zack Weinberg  <zack@rabi.phys.columbia.edu>
402
403         * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
404         was not given.
405
406 Thu May 13 12:23:20 1999  Craig Burley  <craig@jcb-sc.com>
407
408         Fix INTEGER*8 subscripts in array references:
409         * com.c (ffecom_subscript_check_): Convert low, high, and
410         element as necessary to make comparison work.
411         (ffecom_arrayref_): Do more of the work.
412         Properly handle subscript expr that's wider than int,
413         if pointers are wider than int.
414         (ffecom_expr_): Leave more work to ffecom_arrayref_.
415         (ffecom_init_0): Record sizes of pointers and ints for
416         convenience.
417         Use set_sizetype etc. as done by gcc front end.
418         (ffecom_ptr_to_expr): Leave more work to ffecom_arrayref_.
419         * expr.c (ffeexpr_finished_): Don't convert INTEGER subscript
420         expressions in run-time contexts.
421         (ffeexpr_token_elements_, ffeexpr_token_substring_1_): Cope with
422         non-default INTEGER subscript expressions.
423         * news.texi: Announce.
424
425         Finish accepting -fflatten-arrays option:
426         * com.c (ffecom_arrayref_): Flatten references if requested.
427         * g77.texi: Describe.
428         * lang-options.h: Allow.
429         * news.texi: Announce.
430         * top.c, top.h: Recognize.
431
432         * version.c: Bump version.
433
434 Wed May 12 07:30:05 1999  Craig Burley  <craig@jcb-sc.com>
435
436         * com.c (lang_init_options): Disable back end's maintenance
437         of errno.
438         * news.texi: Document dropping of errno.
439
440 1999-05-10 18:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
441
442         * lang-specs.h: Pass -$ to the preprocessor.
443
444 Mon May 10 18:14:28 1999  Craig Burley  <craig@jcb-sc.com>
445
446         * g77.texi: Fix various @xref's per proper style.
447         Go ahead and use nested braces in @xref's, with care.
448         * g77install.texi: Fix @xref per proper style.
449
450 Mon May 10 17:38:39 1999  Craig Burley  <craig@jcb-sc.com>
451
452         * news.texi: Doc upgrade to netlib libf2c as of today.
453
454 Sun May  9 18:52:13 1999  Hans-Peter Nilsson  <hp@bitrange.com>
455
456         * f/g77spec.c (lang_specific_driver): Correct bug-report address
457         and point to the FAQ.
458
459 Thu May  6 12:40:21 1999  Craig Burley  <craig@jcb-sc.com>
460
461         * g77.texi (Arbitrary Concatenation): Put this under
462         "Missing Features" instead of "Projects".
463         (Internals Documentation): Point to new "Front End" chapter.
464
465 Thu May  6 08:23:52 1999  Craig Burley  <craig@jcb-sc.com>
466
467         * bugs.texi, news.texi: Automatic arrays reportedly working
468         on HP-UX systems.
469
470 Thu May  6 08:19:31 1999  Craig Burley  <craig@jcb-sc.com>
471
472         * g77.texi (Advantages Over f2c): Expand on this topic.
473
474 Mon May  3 19:41:48 1999  Craig Burley  <craig@jcb-sc.com>
475
476         * com.c (ffecom_expr_intrinsic_): Fix test of CTIME_subr.
477
478 Mon May  3 18:11:48 1999  Craig Burley  <craig@jcb-sc.com>
479
480         Reverse order of two arguments to CTIME_subr, DTIME_subr,
481         ETIME_subr, and TTYNAM_subr:
482         * com.c (ffecom_expr_intrinsic_): Reverse the arguments.
483         While at it, set TREE_SIDE_EFFECTS for CTIME_subr and
484         TTYNAM_subr.
485         * intdoc.in: Document the new calling sequences.
486         * intrin.def: Reverse the arguments.
487         * news.texi: Document the fact that they changed.
488         * version.c: Bump version.
489
490 Mon May  3 11:28:14 1999  Craig Burley  <craig@jcb-sc.com>
491
492         * news.texi: Doc upgrade to netlib libf2c as of today.
493
494 Sun May  2 17:04:28 1999  Craig Burley  <craig@jcb-sc.com>
495
496         * version.c: Bump version.
497
498 Sun May  2 16:53:01 1999  Craig Burley  <craig@jcb-sc.com>
499
500         Fix compile/19990502-1.f:
501         * ste.c (ffeste_R819B): Don't overwrite tree for temp
502         variable when expanding the assignment into it.
503
504 Sun Apr 25 20:55:10 1999  Craig Burley  <craig@jcb-sc.com>
505
506         Fix 19990325-0.f and 19990325-1.f:
507         * com.c (ffecom_possible_partial_overlap_): New function.
508         (ffecom_expand_let_stmt): Use it to determine whether to assign
509         to a COMPLEX operand through a temp.
510         * news.texi: Document fix.
511
512         * version.c: Bump version.
513
514 Sat Apr 24 12:19:53 1999  Craig Burley  <craig@jcb-sc.com>
515
516         * expr.c (ffeexpr_finished_): Convert DATA implied-do
517         start/end/incr expressions to default INTEGER.
518         Fix some broken conditionals.
519         Clean up some code in the region.
520         * news.c: Document the fix.
521
522         * version.c: Bump version.
523
524 Fri Apr 23 02:08:32 1999  Craig Burley  <craig@jcb-sc.com>
525
526         * g77.texi (Compiler Prototypes): Replace "missing" subscript-
527         checking option with something else.
528
529 Fri Apr 23 01:48:28 1999  Craig Burley  <craig@jcb-sc.com>
530
531         Support new -fsubscript-check and -ff2c-subscript-check options:
532         * com-rt.def (FFECOM_gfrtRANGE): Describe s_rnge, in libf2c/libF77.
533         * com.c (ffecom_subscript_check_, ffecom_arrayref_): New functions.
534         (ffecom_char_args_x_): Use new ffecom_arrayref_ function for
535         FFEBLD_opARRAYREF case.
536         Compute character name, array type, and use new
537         ffecom_subscript_check_ function for FFEBLD_opSUBSTRING case.
538         (ffecom_expr_): Use new ffecom_arrayref_ function.
539         (ffecom_ptr_to_expr): Use new ffecom_arrayref_ function.
540         * g77.texi, news.texi: Document new options.
541         * top.c, top.h: Support new options.
542
543         * news.texi: Fix up some items to not be in "User-Visible Changes".
544
545         * ste.c (ffeste_R819B): Fix type for loop variable, to avoid
546         warnings.
547
548         * version.c: Bump version.
549
550 Tue Apr 20 01:38:57 1999  Craig Burley  <craig@jcb-sc.com>
551
552         * bugs.texi, news.texi: Clarify -malign-double situation.
553
554 Tue Apr 20 01:15:25 1999  Craig Burley  <craig@jcb-sc.com>
555
556         * stb.c (ffestb_R5282_): Convert DATA repeat count
557         to default INTEGER, to avoid problems downstream.
558
559         * version.c: Bump version.
560
561 Mon Apr 19 21:36:48 1999  Craig Burley  <craig@jcb-sc.com>
562
563         * ste.c (ffeste_R819B): Start the loop before expanding
564         the termination expression.
565
566         * version.c: Bump version.
567
568 Sun Apr 18 21:53:58 1999  Craig Burley  <craig@jcb-sc.com>
569
570         * com.c (ffecom_sym_transform_): COMMON and EQUIVALENCE
571         variables have constant addresses (EQUIVALENCE only if
572         containing aggregate is static).
573
574 Sat Apr 17 16:55:59 1999  Craig Burley  <craig@jcb-sc.com>
575
576         * bugs.texi, ffe.texi, g77.texi, g77install.texi, news.texi:
577         Clean up @code{} vs. @samp{}.
578         Clean up dashes (`--') vs. @minus{} vs. `---'.
579
580         * ffe.texi: Add copyright header.
581
582         * g77.texi, lang-options.h, news.texi, top.c (ffe_decode_option):
583         Remove support for -fugly option.
584         Clarify that -fugly-logint is needed instead of -fugly
585         to work around using .EQ./.NE. on LOGICAL operands.
586         Explain more about why -fugly-logint is bad juju.
587
588         * g77.texi (Missing Features): Describe READONLY as a missing
589         feature.  Describe AUTOMATIC better.
590
591         * news.texi: Mention libf2c upgrade.
592
593 Sat Apr 17 14:05:53 1999  Craig Burley  <craig@jcb-sc.com>
594
595         Make a place for front-end internals documentation:
596         * Make-lang.in (f/g77.info, f/g77.dvi): Depend on f/ffe.texi.
597         * ffe.texi: New file, containing docs on front-end internals.
598         * g77.texi: New chapter for, and inclusion of, ffe.texi.
599
600         * g77.texi: Fix an index entry.
601
602 Sat Apr 17 13:53:43 1999  Craig Burley  <craig@jcb-sc.com>
603
604         Rewrite to use block/scope structure of GBE and to ensure
605         variables (especially those going on stack/reg) are declared
606         before executable code generated:
607         * bld.c (ffebld_new_item, ffebld_new_one, ffebld_new_two):
608         Support new hooks.
609         * bld.h (ffebld_item_hook, ffebld_item_set_hook,
610         ffebld_nonter_hook, ffebld_nonter_set_hook): Ditto.
611         * bld.h (ffebld_basictype, ffebld_kind, ffebld_kindtype,
612         ffebld_rank, ffebld_where): New convenience macros (used
613         by rest of this patch).
614         * com.c, com.h (ffecom_push_calltemps, ffecom_pop_calltemps,
615         ffecom_push_tempvar, ffecom_pop_tempvar): Remove temp-var-
616         handling mechanism.
617         * com.c (ffecom_call_, ffecom_call_binop_, ffecom_tree_divide_,
618         ffecom_call_gfrt): Support passing hooks for temp-var info.
619         (ffecom_expr_power_integer_): Takes opPOWER expression, instead
620         of its left and right operands, so it can get at the hook.
621         (ffecom_prepare_let_char_, ffecom_prepare_arg_ptr_to_expr,
622         ffecom_prepare_end, ffecom_prepare_expr_, ffecom_prepare_expr_rw,
623         ffecom_prepare_expr_w, ffecom_prepare_return_expr,
624         ffecom_prepare_ptr_to_expr): New functions supporting expression
625         pre-scanning.
626         (bison_rule_compstmt_): Return the tree, as in the CFE.
627         (delete_block): New function, from CFE.
628         (kept_level_p): New function, from CFE, modified.
629         (ffecom_start_compstmt, ffecom_end_compstmt): New functions,
630         replacing ffecom_start_compstmt_ and ffecom_end_compstmt_ macros,
631         and they do real work.
632         (struct binding_level): Add prep_state member.  Initialize to 0.
633         (ffecom_get_invented_identifier): Now takes either or both a
634         string and an integer, using -1 to denote no integer.
635         (ffecom_do_entry_): Disallow temp-var generation via expressions
636         in body of function, since the exprs aren't prescanned.
637         (ffecom_expr_rw): Now takes destination tree.
638         (ffecom_expr_w): New function, now used in some places
639         ffecom_expr_rw had been used.
640         (ffecom_expr_intrinsic_): Move huge f2c-related comment to bottom
641         of source file, to avoid annoying problems editing com.c using
642         Emacs C-mode.
643         (ffecom_expr_power_integer_): Make a temp var for division, if
644         necessary.
645         Handle expanded statement expression as does CFE.
646         (ffecom_start_progunit_): Disallow temp-var generation in body
647         of function, since expressions are not prescanned at this level.
648         (ffecom_sym_transform_): Transform ASSIGN variables as well,
649         so these are all transformed up front, before code-generation
650         begins.
651         (ffecom_arg_ptr_to_const_expr, ffecom_const_expr,
652         ffecom_ptr_to_const_expr): New functions to transform expressions
653         only if the results will surely be constants.
654         (ffecom_arg_ptr_to_expr): Precompute size, for convenience
655         obtaining temp vars.
656         (ffecom_expand_let_stmt): Guess at usability of destination
657         pre-expansion, to provide better prescan preparation (fewer
658         spurious temp vars).
659         (ffecom_init_0): Disallow temp-var generation in global scope.
660         (ffecom_type_expr): New function, returns just the type tree
661         for the expression.
662         (start_function): Disallow temp-var generation in parm scope.
663         (incomplete_type_error): Fix introductory comment.
664         (poplevel): Update (somewhat) from CFE.
665         (pushlevel): Update (somewhat) from CFE.
666         * stc.c (ffestc_R838): Mark ASSIGNed variable as so.
667         * std.c (ffestd_stmt_pass_, ffestd_R803, ffestd_R804, ffestd_R805,
668         ffestd_R806): Remember and pass through the ffestw block info
669         for these (IFTHEN, ELSEIF, ELSE, and ENDIF) statements.
670         * ste.c (ffeste_end_iterdo_): Now takes ffestw block argument.
671         (ffeste_io_inlist_): Add prototype.
672         (ffeste_f2c_*): Macros rewritten, new ones added.
673         (ffeste_start_block_, ffeste_end_block_, ffeste_start_stmt_,
674         ffeste_end_stmt_): New macros/functions, depending on whether
675         checking is enabled, to keep track of symmetry of other ste.c code.
676         (ffeste_begin_iterdo_, ffeste_end_iterdo_, ffeste_io_impdo_,
677         ffeste_io_dofio_, ffeste_io_dolio_, ffeste_io_douio_,
678         ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
679         ffeste_icilist_, ffeste_io_inlist_, ffeste_io_olist_,
680         ffeste_subr_beru_, ffeste_do, ffeste_end_R807, ffeste_R737A,
681         ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806, ffeste_R807,
682         ffeste_R809, ffeste_R810, ffeste_R811, ffeste_R819A, ffeste_R819B,
683         ffeste_R837, ffeste_R838, ffeste_R839, ffeste_R840, ffeste_R904,
684         ffeste_R907, ffeste_R909_start, ffeste_R909_item, ffeste_R909_finish,
685         ffeste_R910_start, ffeste_R910_item, ffeste_R910_finish,
686         ffeste_R911_start, ffeste_R911_item, ffeste_R911_finish,
687         ffeste_R923A, ffeste_R1212, ffeste_R1227): Prescan/prepare
688         all pertinent expressions, update to new com.c interface, etc.
689         (ffeste_io_impdo_): Relocate.
690         (ffeste_R834, ffeste_R835, ffeste_R836, ffeste_R1226): Don't
691         bother calling clear_momentary, nothing was generated.
692         (ffeste_R842, ffeste_R843): Update to new com.c interface.
693         (ffeste_R1226): Don't try to stuff error_mark_node's DECL_INITIAL.
694         (ffeste_terminate_2): When checking enabled, make sure all blocks
695         and statements have been ended.
696         * ste.h (ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806):
697         These now take ffestw block argument.
698         (ffeste_terminate_2): When checking enabled, it's a function, not
699         a macro.
700         * stw.h (struct _ffestw_): New variable for IFTHEN.
701         (ffestw_ifthen_fake_else, ffestw_set_ifthen_fake_else): New
702         accessor macros.
703         * symbol.c, symbol.h: Support new ASSIGN'ed-to info.
704
705         * com.c: Clean up commentary per GNU coding standards.
706
707         * bld.h (ffebld_size, ffebld_size_known): Canonize.
708
709         * version.c: Bump version.
710
711 Sun Apr 11 21:33:33 1999  Mumit Khan  <khan@xraylith.wisc.edu>
712
713         * g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
714         null to decide whether to use it.
715
716 Wed Apr  7 09:47:09 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
717
718         * ansify.c (die): Specify void argument.
719
720         * intdoc.c (family_name, dumpgen, dumpspec, dumpimp,
721         argument_info_ptr, argument_info_string, argument_name_ptr,
722         argument_name_string, elaborate_if_complex,
723         elaborate_if_maybe_complex, elaborate_if_real, print_type_string):
724         Const-ify a char*.
725         (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
726         (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
727         _ffeintrin_imp_, cc_pair, descriptions, summaries): Const-ify a char*.
728
729 Mon Apr  5 11:57:54 1999  Donn Terry (donn@interix.com)
730
731         * Make-lang.in (HOST_CFLAGS): compute dynamically.
732
733 Mon Apr  5 02:11:23 1999  Craig Burley  <craig@jcb-sc.com>
734
735         Fix bugs exposed by configuring with --enable-checking:
736         * com.c (ffecom_do_entry_, ffecom_expr_, ffecom_arg_ptr_to_expr,
737         ffecom_list_expr, ffecom_list_ptr_to_expr, finish_function,
738         pop_f_function_context, store_parm_decls, poplevel): Handle
739         error_mark_node properly.
740         * ste.c (ffeste_begin_iterdo_, ffeste_end_iterdo_): Ditto.
741         * version.c: Bump version.
742
743 Sat Apr  3 23:57:56 1999  Craig Burley  <craig@jcb-sc.com>
744
745         * g77.texi: Fix up docs for -fset-g77-defaults, and
746         describe how internal consistency checking now happens.
747         (Should have been done for EGCS version 1.1.)
748
749 Sat Apr  3 23:29:33 1999  Craig Burley  <craig@jcb-sc.com>
750
751         * bugs.texi, g77.texi, lang-options.h, news.texi, top.c:
752         Make -fno-emulate-complex the default, as COMPLEX support
753         in the back end is now believed to be working.
754
755         * version.c: Bump version.
756
757 Fri Apr  2 13:33:16 1999  Craig Burley  <craig@jcb-sc.com>
758
759         * g77.texi: -malign-double now works.
760         Give URL for alignment-testing package.
761         * news.texi: -malign-double now works.
762
763 Fri Apr  2 12:49:12 1999  Craig Burley  <craig@jcb-sc.com>
764
765         * g77.texi (Funding GNU Fortran): Dude's got a web page.
766         * root.texi: Ditto.
767
768 Tue Mar 30 12:04:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
769
770         * sta.c (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
771         Const-ify a char*.
772
773         * sta.h (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
774         Likewise.
775
776         * stb.c (ffestb_local_u_): Likewise.
777         (ffestb_do, ffestb_dowhile, ffestb_else, ffestb_elsexyz,
778         ffestb_else3_, ffestb_endxyz, ffestb_goto, ffestb_let,
779         ffestb_type, ffestb_type1_, ffestb_varlist, ffestb_R423B,
780         ffestb_R522, ffestb_R528, ffestb_R542, ffestb_R834, ffestb_R835,
781         ffestb_R838, ffestb_R841, ffestb_R1102, ffestb_blockdata,
782         ffestb_R1212, ffestb_R1228, ffestb_V009, ffestb_module,
783         ffestb_R809, ffestb_R810, ffestb_R10014_, ffestb_R10015_,
784         ffestb_R10018_, ffestb_R1107, ffestb_R1202, ffestb_R12026_,
785         ffestb_S3P4, ffestb_V012, ffestb_V014, ffestb_V025, ffestb_V0255_,
786         ffestb_V020, ffestb_dimlist, ffestb_dummy, ffestb_R524,
787         ffestb_R547, ffestb_decl_chartype, ffestb_decl_dbltype,
788         ffestb_decl_gentype, ffestb_decl_recursive, ffestb_decl_entsp_2_,
789         ffestb_decl_func_, ffestb_V003, ffestb_V016, ffestb_V027,
790         ffestb_decl_R539): Likewise.
791
792         * stb.h (_ffestb_args_): Likewise.
793
794         * stc.c (ffestc_subr_binsrch_, ffestc_subr_is_present_,
795         ffestc_subr_speccmp_, ffestc_R904, ffestc_R907): Likewise.
796
797         * std.c (ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_,
798         ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_,
799         ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_1_,
800         ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
801         ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_): Likewise.
802
803         * ste.c (ffeste_begin_iterdo_, ffeste_subr_file_): Likewise.
804
805         * sts.c (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
806         ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
807
808         * sts.h (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
809         ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
810
811         * stt.c (ffestt_exprlist_drive, ffestt_implist_drive,
812         ffestt_tokenlist_drive): Add prototype arguments.
813
814         * stt.h (ffestt_exprlist_drive, ffestt_implist_drive,
815         ffestt_tokenlist_drive): Likewise.
816
817         * stu.c (ffestu_dummies_transition_): Likewise.
818         (ffestu_sym_end_transition): Const-ify a char*.
819
820         * stw.c (ffestw_display_state, ffestw_new, ffestw_pop): Add
821         prototype arguments.
822
823         * stw.h (ffestw_display_state, ffestw_new, ffestw_pop): Likewise.
824
825         * version.c (ffe_version_string): Const-ify a char*.
826
827         * version.h (ffe_version_string): Likewise.
828
829 Sat Mar 27 13:00:43 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
830
831         * bad.c (_ffebad_message_, ffebad_string_, ffebad_message_,
832         ffebad_bufputs_, ffebad_bufputs_, ffebad_start_, ffebad_string,
833         ffebad_finish): Const-ify a char*.
834
835         * bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
836
837         * bld.h (ffebld_op_string): Likewise.
838
839         * com.c (ffecom_arglist_expr_, ffecom_build_f2c_string_,
840         ffecom_debug_kludge_, ffecom_f2c_make_type_,
841         ffecom_get_appended_identifier_, ffecom_get_identifier_,
842         ffecom_gfrt_args_): Likewise.
843         (ffecom_convert_narrow_, ffecom_convert_widen_): Add prototype.
844         (builtin_function, ffecom_gfrt_name_, ffecom_gfrt_argstring_,
845         ffecom_arglist_expr_, ffecom_build_f2c_string_,
846         ffecom_debug_kludge_, ffecom_f2c_make_type_,
847         ffecom_get_appended_identifier_, ffecom_get_external_identifier_,
848         ffecom_get_identifier_, ffecom_decl_field,
849         ffecom_get_invented_identifier, lang_print_error_function,
850         skip_redundant_dir_prefix, read_name_map, print_containing_files):
851         Const-ify a char*. 
852         (savestring): Remove, use `xstrdup' instead.
853
854         * com.h (ffecom_decl_field, ffecom_get_invented_identifier):
855         Const-ify a char*.
856
857         * data.c (ffebld, ffedata_gather_): Make explicitly static.
858
859         * expr.c (ffeexpr_isdigits_, ffeexpr_percent_,
860         ffeexpr_reduced_concatenate_, ffeexpr_nil_real_,
861         ffeexpr_nil_number_, ffeexpr_nil_number_period_,
862         ffeexpr_nil_number_real_, ffeexpr_token_real_,
863         ffeexpr_token_number_, ffeexpr_token_number_period_,
864         ffeexpr_token_number_real_): Const-ify a char*.
865
866         * fini.c (xspaces): Likewise.
867
868         * global.c (ffeglobal_type_string_): Likewise.
869         (ffeglobal_drive): Protoize.
870         (ffeglobal_proc_def_arg): Const-ify a char*.
871
872         * global.h (ffeglobal_drive): Protoize.
873         (ffeglobal_proc_def_arg): Const-ify a char*.
874
875         * implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
876         Likewise.
877
878         * implic.h (ffeimplic_peek_symbol_type): Likewise.
879
880         * info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_,
881         ffeinfo_kind_string_, ffeinfo_kindtype_string_,
882         ffeinfo_where_string_, ffeinfo_basictype_string,
883         ffeinfo_kind_message, ffeinfo_kind_string,
884         ffeinfo_kindtype_string, ffeinfo_where_string): Likewise.
885
886         * info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
887         ffeinfo_kind_string, ffeinfo_kindtype_string,
888         ffeinfo_where_string): Likewise.
889
890         * intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
891         _ffeintrin_imp_, ffeintrin_check_, ffeintrin_cmp_name_,
892         ffeintrin_fulfill_specific, ffeintrin_init_0,
893         ffeintrin_is_actualarg, ffeintrin_is_intrinsic,
894         ffeintrin_name_generic, ffeintrin_name_implementation,
895         ffeintrin_name_specific): Likewise.
896
897         * intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
898         ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
899
900         * lex.c (ffelex_type_string_, ffelex_token_new_character,
901         ffelex_token_new_name, ffelex_token_new_names,
902         ffelex_token_new_number): Likewise.
903
904         * lex.h (ffelex_token_new_character, ffelex_token_new_name,
905         ffelex_token_new_names, ffelex_token_new_number): Likewise.
906
907         * malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
908         malloc_new_zinpool_): Likewise.
909
910         * malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
911         malloc_pool_new): Likewise.
912
913         * name.c (ffename_space_drive_global, ffename_space_drive_symbol):
914         Protoize.
915
916         * name.h (ffename_space_drive_global, ffename_space_drive_symbol):
917         Likewise.
918
919         * symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_,
920         ffesymbol_attrs_string): Const-ify a char*.
921         (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
922         (ffesymbol_state_string): Const-ify a char*.
923
924         * symbol.h (ffesymbol_attrs_string): Likewise.
925         (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
926         (ffesymbol_state_string): Const-ify a char*.
927
928         * target.c (ffetarget_layout): Likewise.
929
930         * target.h (ffetarget_layout): Likewise.
931
932 1999-03-25  Zack Weinberg  <zack@rabi.columbia.edu>
933
934         * Make-lang.in: Remove all references to g77.o/g77.c.
935         Link g77 from gcc.o.
936
937 1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
938
939         * Makefile.in (g77$(exeext)): Depend on intl.o.  Link in intl.o.
940
941 Wed Mar 17 11:39:44 1999  Craig Burley  <craig@jcb-sc.com>
942
943         * news.texi: Editorial fix.
944
945 Mon Mar 15 17:12:07 1999  Craig Burley  <craig@jcb-sc.com>
946
947         * bugs.texi, g77.texi, news.texi: Editorial fixes.
948
949 Sat Mar 13 17:51:55 1999  Craig Burley  <craig@jcb-sc.com>
950
951         Fix 19990313-0.f, 19990313-1.f, 19990313-2.f, 19990313-3.f:
952         * bad.def (FFEBAD_NOCANDO): New error code for internal use only.
953         * expr.c (ffeexpr_collapse_convert): If FFEBAD_NOCANDO returned
954         by convertor, just return original expr.
955         * target.h: Return FFEBAD_NOCANDO for (usually) 64-bit
956         conversions that aren't yet working properly.
957         * news.texi: Explain.
958
959         * version.c: Bump version.
960
961 Sat Mar 13 14:26:55 1999  Craig Burley  <craig@jcb-sc.com>
962
963         * RELEASE-PREP: New file, lists things to do for a release.
964
965         * Make-lang.in, bugs.texi, bugs0.texi, g77.texi, g77install.texi,
966         install0.texi, news.texi, news0.texi: Accommodate new doc
967         architecture.
968         Consolidate news items.  Don't describe old news items in
969         various generated docs.
970         Don't describe FSF-g77 installation stuff in various EGCS-g77
971         generated docs.
972         Move description of AUTOMATIC to more suitable location.
973         * root.texi: New file for new doc architecture.
974
975 Thu Mar 11 17:32:55 1999  Craig Burley  <craig@jcb-sc.com>
976
977         * g77.texi: Add AUTOMATIC to list of unsupported extensions.
978
979 Sat Mar  6 02:28:35 1999  Craig Burley  <craig@jcb-sc.com>
980
981         Warn about non-Y2K-compliant intrinsics:
982         * bad.def (FFEBAD_INTRINSIC_Y2KBAD): New diagnostic.
983         * intrin.def (FFEINTRIN_impDATE, FFEINTRIN_impIDATE_vxt):
984         Use new DEFIMPY macro to flag these as non-Y2K-compliant.
985         * intdoc.c (DEFIMPY): Support new Y2K macro.
986         * intrin.h (DEFIMPY): Ditto.
987         * intrin.c (DEFIMPY): Ditto.
988         (ffeintrin_fulfill_generic, ffeintrin_fulfill_specific):
989         Warn about invocation of non-Y2K-compliant intrinsic.
990         * com-rt.def (FFECOM_gfrtDATE, FFECOM_gfrtVXTIDATE):
991         Rename external procedure names, to keep previously-
992         compiled (sans-new-warnings) code from linking to
993         new library.
994         * g77.texi: Document all this stuff.
995         * news.texi: Spread the joy.
996         * version.c: Bump version.
997
998 Fri Mar  5 13:22:44 1999  Craig Burley  <craig@jcb-sc.com>
999
1000         * news.texi: Relocate IDATE (VXT) fix: we put it in 1.1.2
1001         so describe it there, instead of under 1.2.
1002
1003 Wed Mar  3 00:57:56 1999  Craig Burley  <craig@jcb-sc.com>
1004
1005         * news.texi: IDATE (VXT) fixed to return year as 0..99.
1006
1007 Wed Mar  3 00:43:49 1999  Craig Burley  <craig@jcb-sc.com>
1008
1009         * g77.texi: Add remaining changes pending from Dave Love.
1010
1011 Wed Mar  3 00:38:42 1999  Craig Burley  <craig@jcb-sc.com>
1012
1013         * bugs.texi, news.texi: Conditionalize cross-references
1014         on non-html processing, providing temporary HTML "links".
1015
1016         * g77.texi: Fix up a reference.
1017
1018 Wed Mar  3 00:12:31 1999  Craig Burley  <craig@jcb-sc.com>
1019
1020         * news.texi, bugs.texi: Delete fixed bugs, make one
1021         of them into the appropriate news item.
1022
1023 Wed Mar  3 00:05:52 1999  Craig Burley  <craig@jcb-sc.com>
1024
1025         * news.texi: Copy over 1.1.2 news.
1026
1027 1999-03-02  Craig Burley  <craig@jcb-sc.com>
1028
1029         * g77.texi (Bug Reporting): Clarify whether to use -E.
1030         Clarify other instructions.
1031
1032 1999-02-27  Craig Burley  <craig@jcb-sc.com>
1033
1034         * lang-specs.h: Fix specs to pass `-ax' as well as `-a' option.
1035
1036 1999-02-26  Craig Burley  <craig@jcb-sc.com>
1037
1038         * intdoc.in (STAT_func, STAT_subr,
1039         FSTAT_func, FSTAT_subr, LSTAT_func, LSTAT_subr):
1040         Properly order array elements.  Specify N/A return values.
1041
1042 1999-02-26  Craig Burley  <craig@jcb-sc.com>
1043
1044         * intdoc.in (DATE_AND_TIME): Explain that VALUES(7) holds
1045         seconds, and VALUES(8), therefore, milliseconds.
1046
1047 1999-02-26  Craig Burley  <craig@jcb-sc.com>
1048
1049         * news.texi: Clarify IOSTAT= fix.
1050
1051 1999-02-25  Richard Henderson  <rth@cygnus.com>
1052
1053         * lang-specs.h: Define __FAST_MATH__ when appropriate.
1054
1055 1999-02-25  Craig Burley  <craig@jcb-sc.com>
1056
1057         * g77.texi: Clarify/index lack of run-time allocation for
1058         concatenation.
1059   
1060 1999-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1061
1062         * f/intdoc.in: Add missing `,' after cross references.
1063
1064 1999-02-20  Craig Burley  <craig@jcb-sc.com>
1065
1066         * Make-lang.in (f77.install-common, f77.install-info,
1067         f77.install-man, f77.uninstall): Use `$(prefix)/lang-f77'
1068         instead of `lang-f77' for flag file, to be sure of a
1069         writable directory, and remove the flag file after each
1070         operation to keep things clean.
1071
1072 1999-02-20  Craig Burley  <craig@jcb-sc.com>
1073
1074         * g77.texi: Properly attribute Priest document; clarify
1075         that it is in the .ps version of the Goldberg document.
1076
1077 1999-02-19  Craig Burley  <craig@jcb-sc.com>
1078
1079         * bugs0.texi, bugs.texi, install0.texi, g77install.texi,
1080         news0.texi, news.texi: Update copyright dates.
1081         Clarify which files are source, which are derived,
1082         and remind maintainers where copyright dates are sourced.
1083         * BUGS, INSTALL, NEWS: Regenerated.
1084
1085 1999-02-19  Craig Burley  <craig@jcb-sc.com>
1086
1087         * global.c (ffeglobal_ref_progunit_): Warn about a function
1088         definition that disagrees with the type of a previous reference.
1089         Improve commentary.  Fix a couple of minor bugs.  Clean up
1090         some code.
1091         * news.texi: Spread the joy.
1092
1093 1999-02-18  Craig Burley  <craig@jcb-sc.com>
1094
1095         * expr.c (ffeexpr_finished_): Disallow non-default INTEGER
1096         as argument for FILEINT and FILEASSOC as lhs.
1097         * news.texi: Document fix.
1098         * version.c: Bump.
1099
1100 1999-02-18  Craig Burley  <craig@jcb-sc.com>
1101
1102         * g77.texi: Clarify -fno-globals vs. -Wno-globals.
1103
1104 1999-02-18  Craig Burley  <craig@jcb-sc.com>
1105
1106         * intdoc.in (LOG10): Fix typo.
1107
1108 1999-02-17  Ulrich Drepper  <drepper@cygnus.com>
1109
1110         * intdoc.in: Fix typo.
1111
1112 1999-02-17  Craig Burley  <craig@jcb-sc.com>
1113
1114         * g77.texi, intdoc.in: Document Y2K and some other known
1115         limitations.
1116         * intrin.def (DTIME, FDATE): Fix capitalization of
1117         case-sensitive forms of these intrinsics' names.
1118
1119 1999-02-17  Dave Love  <fx@gnu.org>
1120
1121         * intdoc.in: Say `common' logarithm for log10.
1122
1123 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1124
1125         * g77.texi: Add missing @ in email addresses.
1126
1127 1999-02-15  Craig Burley  <craig@jcb-sc.com>
1128
1129         * *.*: Delete my (old) email address in most places, change it
1130         in a few.
1131
1132 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1133
1134         * version.c: Bump.
1135
1136 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1137
1138         * version.c: Bump for 1998-10-02 change (forgot to do this
1139         before).
1140
1141 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1142
1143         * lang-specs.h, g77.1, g77.texi, news.texi: Recognize `.FOR'
1144         and `.FPP' as well as `.for' and `.fpp'.
1145
1146 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1147
1148         * intdoc.in (LOG10): Fix description.
1149
1150 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1151
1152         * news.texi: Mention fix for SIGNAL invocation circa egcs-1.1.
1153
1154 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1155
1156         * g77.texi, g77install.texi, bugs.texi, g77install.texi: Clean
1157         up and improve indexing, and some other areas of docs.
1158
1159 1999-02-14  Craig Burley  <craig@jcb-sc.com>
1160
1161         * intdoc.in (MCLOCK8, TIME8): Warn about lower range on
1162         32-bit systems.
1163
1164 Sat Feb  6 18:02:17 1999  Jeffrey A Law  (law@cygnus.com)
1165
1166         * g77.texi: Update email addresses.
1167
1168 Wed Feb  3 22:50:17 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
1169
1170         * Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
1171         mkstemp.o from libiberty.
1172
1173 1999-02-01  Zack Weinberg  <zack@rabi.columbia.edu>
1174
1175         * top.c: Don't define ffe_is_ident_.  Don't process
1176         -f(no-)ident here.
1177         * top.h: Remove declaration of ffe_is_ident_ and macros
1178         ffe_is_ident() and ffe_set_is_ident().
1179         * lex.c: Use flag_no_ident instead of ffe_is_ident().
1180
1181 Sun Jan 31 20:34:29 1999  Zack Weinberg  <zack@rabi.columbia.edu>
1182
1183         * lang-specs.h: Map -Qn to -fno-ident.
1184
1185 Tue Jan  5 22:12:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1186
1187         * Make-lang.in (g77.o): Depend on prefix.h.
1188
1189 Fri Nov 27 13:10:32 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1190
1191         * fini.c: Rename variable `spaces' to `xspaces' to avoid
1192         conflicting with function `spaces' from libiberty.
1193
1194         * g77spec.c: Don't prototype libiberty functions.
1195         * malloc.c: Likewise.
1196
1197 1998-11-20  Dave Love  <d.love@dl.ac.uk>
1198
1199         * g77.texi: Assorted minor changes.
1200
1201 1998-11-19  Dave Love  <d.love@dl.ac.uk>
1202
1203         * bugs.texi: Formatting changes from Craig.
1204
1205         * intdoc.in: Terminate some @xrefs with `,'.
1206
1207 1998-11-19  Manfred Hollstein  <manfred@s-direktnet.de>
1208
1209         * Make-lang.in (mandir): Replace all uses of $(mandir) by $(man1dir).
1210
1211 Mon Nov  9 23:15:39 1998  Jeffrey A Law  (law@cygnus.com)
1212
1213         * g77.texi, news.texi: Updates from Craig.
1214
1215 Sun Nov  8 17:47:56 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1216
1217         * Makefile.in (INCLUDES): Add "-I$(srcdir)/../../include".
1218
1219 Sat Nov  7 15:58:54 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1220
1221         * g77spec.c: Don't include gansidecl.h.
1222         * output.j: Likewise.
1223
1224 1998-11-04  Dave Love  <d.love@dl.ac.uk>
1225
1226         * g77.texi: Small formatting/indexing fixes.
1227
1228 Mon Oct 12 20:41:59 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1229
1230         * bad.c (ffebad_finish): Change type of variable `c' to unsigned
1231         char, change type of variable `s' to unsigned char *.
1232
1233         * com.c (ffecom_symbol_null_): Add missing initializers.
1234
1235         * fini.c (MAXNAMELEN): Undef it before defining.
1236
1237         * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
1238         unsigned char.
1239
1240         * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
1241         to (unsigned char).
1242
1243         * lex.c (ffelex_splice_tokens): Change type of variable `p' to
1244         unsigned char *.
1245         (ffelex_token_name_from_names): Cast the argument of
1246         `ffelex_is_firstnamechar' to (unsigned char).
1247         (ffelex_token_names_from_names): Likewise.
1248         (ffelex_token_new_name): Likewise.
1249         (ffelex_token_new_names): Likewise.
1250
1251         * malloc.c (malloc_root_): Add missing initializer.
1252
1253         * stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
1254         (ffestb_else) Likewise.
1255         (ffestb_else3_) Likewise.
1256         (ffestb_endxyz) Likewise.
1257         (ffestb_goto) Likewise.
1258         (ffestb_let) Likewise.
1259         (ffestb_varlist) Likewise.
1260         (ffestb_R522) Likewise.
1261         (ffestb_R528) Likewise.
1262         (ffestb_R834) Likewise.
1263         (ffestb_R835) Likewise.
1264         (ffestb_R838) Likewise.
1265         (ffestb_R1102) Likewise.
1266         (ffestb_blockdata) Likewise.
1267         (ffestb_R1212) Likewise.
1268         (ffestb_R810) Likewise.
1269         (ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
1270         to (unsigned char).
1271         (ffestb_V014): Change type of variable `p' to unsigned char *.
1272         (ffestb_dummy) Likewise.
1273         (ffestb_R524) Likewise.
1274         (ffestb_R547) Likewise.
1275         (ffestb_decl_chartype) Likewise.
1276         (ffestb_decl_dbltype) Likewise.
1277         (ffestb_decl_gentype) Likewise.
1278         (ffestb_decl_entsp_2_) Likewise.
1279         (ffestb_V027) Likewise.
1280         (ffestb_decl_R539) Likewise.
1281
1282         * top.c (ffe_decode_option): Mark parameter `argc' with
1283         ATTRIBUTE_UNUSED.
1284
1285         * where.c (ffewhere_unknown_line_): Add missing initializers.
1286
1287 1998-10-02  Dave Love  <d.love@dl.ac.uk>
1288
1289         * com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1290
1291 Thu Oct  1 10:43:45 1998  Nick Clifton  <nickc@cygnus.com>
1292
1293         * lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
1294         HANDLE_GENERIC_PRAGMAS.
1295
1296 Mon Sep 28 04:22:00 1998  Jeffrey A Law  (law@cygnus.com)
1297
1298         * news.texi: Update from Craig.
1299
1300 1998-09-23  Dave Love  <d.love@dl.ac.uk>
1301
1302         * g77.texi: Additions about `/*', trailing comments and cpp.
1303
1304 1998-09-18  Dave Love  <d.love@dl.ac.uk>
1305
1306         * g77.texi: Various additions and some small fixes.
1307
1308 Thu Sep 10 14:55:44 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
1309
1310         * Make-lang.in (f77.install-common): Add missing "else true;".
1311
1312 1998-09-07  Dave Love  <d.love@dl.ac.uk>
1313
1314         * ChangeLog.egcs: Deleted.  Entries merged here.
1315
1316 1998-09-05  Dave Love  <d.love@dl.ac.uk>
1317
1318         * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
1319         (F771_LDFLAGS): Variable dispensed with.
1320
1321 Fri Sep  4 19:53:34 1998  Craig Burley  <burley@gnu.org>
1322
1323         * intdoc.in: Minor editorial tweaks.
1324
1325 Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
1326
1327         * lang-options.h: Convert to wrap option and doc string
1328         in a new macro invocation, FTNOPT, so the nearly identical
1329         list can be used in FSF-g77.
1330
1331 Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
1332
1333         * Makefile.in (fini.o): Don't define USE_HCONFIG here.
1334         * fini.c: Define USE_HCONFIG here instead, so deps-kinda
1335         picks up correct dependency.
1336
1337         * Makefile.in (proj-h.o): Fix dependencies list.
1338
1339 Wed Sep 02 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>
1340
1341         * lex.c (ffe_lex_hash):  Change how HANDLE_PRAGMA and
1342         HANDLE_SYSV_PRAGMA would be called if they pragma parsing was
1343         enabled in this code.
1344         Generate warning messages if unknown pragmas are encountered.
1345         (pragma_getc): New function: retrieves characters from the
1346         input stream.  Defined when HANDLE_PRAGMA is defined.
1347         (pragma_ungetc): New function: replaces characters back into the
1348         input stream.  Defined when HANDLE_PRAGMA is defined.
1349
1350 Tue Sep  1 10:00:21 1998  Craig Burley  <burley@gnu.org>
1351
1352         * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
1353         from Craig.
1354
1355 1998-08-23  Dave Love  <d.love@dl.ac.uk>
1356
1357         * g77.texi: Increment `version-g77' and fix a few typos.
1358
1359 Tue Aug 18 21:41:31 1998  Jeffrey A Law  (law@cygnus.com)
1360
1361         * Make-lang.in: Add several "else true" clauses to deal with lame
1362         systems.
1363
1364 Tue Aug 11 08:12:14 1998  H.J. Lu  (hjl@gnu.org)
1365
1366         * Make-lang.in (g77.o): Touch lang-f77 before checking it.
1367
1368 1998-08-09  Dave Love  <d.love@dl.ac.uk>
1369
1370         * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
1371         with explicit use of tex.
1372         (f77.mostlyclean): Remove TeX index files.
1373
1374         * g77install.texi (Prerequisites): Kluge round TeX lossage with
1375         hyphen in @value in @code.
1376
1377 Tue Aug  4 16:59:39 1998  Craig Burley  <burley@gnu.org>
1378
1379         * com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
1380         Allow conversion from pointer to same-sized integer,
1381         to fix invoking SIGNAL as a function.
1382
1383 1998-07-26  Dave Love  <d.love@dl.ac.uk>
1384
1385         * BUGS, INSTALL, NEWS: Rebuilt.
1386
1387 Sat Jul 25 17:23:55 1998  Craig Burley  <burley@gnu.org>
1388
1389         Fix 980615-0.f:
1390         * stc.c (ffestc_R1229_start): Set info to ANY as well.
1391
1392 Tue Jul 21 04:33:37 1998  Craig Burley  <burley@gnu.org>
1393
1394         * g77spec.c (lang_specific_driver): Return unmolested
1395         command line when --help seen.
1396         Comment out code that printed g77-specific --help info.
1397
1398 Sat Jul 18 19:16:48 1998  Craig Burley  <burley@gnu.org>
1399
1400         * lang-options.h: Fix up doc strings.
1401         Remove the unimplemented -fdcp-intrinsics-* options.
1402
1403         * str-1t.fin: Change mixed-case spelling of `GoTo' from
1404         `Goto'.
1405
1406 Thu Jul 16 13:26:36 1998  Craig Burley  <burley@gnu.org>
1407
1408         * com.c (ffecom_finish_symbol_transform_): Revert change
1409         of 1998-05-23, as it was too aggressive, in that it
1410         prevented transformation of (used) functions before
1411         primary code generation.
1412
1413 1998-07-15  Dave Love  <d.love@dl.ac.uk>
1414
1415         * intdoc.texi: Regenerated.
1416
1417 Mon Jul 13 18:45:06 1998  Craig Burley  <burley@gnu.org>
1418
1419         * Make-lang.in (f77.rebuilt): Fix to depend on
1420         build-dir-based, not source-based, g77.info.
1421
1422         * g77.texi: Merge docs with 0.5.24.
1423         * g77install.texi: Ditto.
1424
1425 Mon Jul 13 18:02:29 1998  Craig Burley  <burley@gnu.org>
1426
1427         Cleanups vis-a-vis g77-0.5.24:
1428         * g77spec.c (lang_specific_driver): Tabify source.
1429         * top.c (ffe_decode_option): Use fixed macro to set
1430         internal-checking flag.
1431         * top.h (ffe_set_is_do_internal_checks): Fix macro.
1432
1433 Mon Jul 13 17:33:44 1998  Craig Burley  <burley@gnu.org>
1434
1435         Cleanups vis-a-vis system.h cutover and g77-0.5.24:
1436         * Makefile.in (fini.o): Define USE_HCONFIG macro
1437         so source code doesn't have to.
1438         * fini.c: Don't define USE_HCONFIG here, since
1439         source code usually shouldn't care about this.
1440         * ansify.c: Include stddef.h only if we have it.
1441         * intdoc.c: Ditto.
1442         * proj.h: Ditto.
1443
1444 Mon Jul 13 17:30:29 1998  Nick Clifton  <nickc@cygnus.com>
1445
1446         * lang-options.h: Format changed to work with --help support added
1447         to gcc/toplev.c
1448
1449 Mon Jul 13 11:54:03 1998  Craig Burley  <burley@gnu.org>
1450
1451         * com.c (ffecom_push_tempvar): Replace kludge that
1452         munged back-end globals directly with proper calls
1453         to push_topmost_sequence and pop_topmost_sequence.
1454
1455 1998-07-12  Dave Love  <d.love@dl.ac.uk>
1456
1457         * version.c: Bump version.
1458
1459 Sat Jul 11 19:24:32 1998  Craig Burley  <burley@gnu.org>
1460
1461         Fix 980616-0.f:
1462         * equiv.c (ffeequiv_offset_): Don't crash on various
1463         possible ANY operands.
1464
1465 Sat Jul 11 18:24:37 1998  Craig Burley  <burley@gnu.org>
1466
1467         * com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
1468         for constant is non-zero.
1469
1470         * com.c (__eprintf): Delete this function, it is obsolete.
1471
1472 1998-07-09  Dave Love  <d.love@dl.ac.uk>
1473
1474         * intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.
1475
1476 Thu Jul  9 00:45:59 1998  Craig Burley  <burley@gnu.org>
1477
1478         Fix debugging of CHARACTER*(*), etc., which requires
1479         emitting debug info on types like `ftnlen':
1480         * com.c (ffecom_start_progunit_): Don't bother
1481         resetting "invented" flag for identifier.
1482         (ffecom_transform_equiv_): Don't bother zeroing
1483         "ignored" flag for decl.
1484         (pushdecl): No longer set "ignored", "used", or
1485         "suppressed debug" flags for decls having "invented"
1486         identifiers.
1487
1488 1998-07-06  Mike Stump  <mrs@wrs.com>
1489
1490         * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
1491         we can move g77.c.
1492
1493 1998-07-06  Dave Love  <d.love@dl.ac.uk>
1494
1495         * intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
1496         -lsocket.
1497
1498 1998-07-05  Dave Love  <d.love@dl.ac.uk>
1499
1500         * intdoc.in: Add entry for DATE_AND_TIME.
1501
1502         * intrin.def: Add implementation for DATE_AND_TIME.  Make second
1503         and third args of SYSTEM_CLOCK optional.
1504
1505         * com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
1506
1507         * com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
1508         not system_clock_.
1509         (FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.
1510
1511 Wed Jul  1 11:19:13 1998  Craig Burley  <burley@gnu.org>
1512
1513         Fix 980701-1.f (which was producing "unaligned trap"
1514         on an Alpha running GNU/Linux, as predicted):
1515         * equiv.c (ffeequiv_layout_local_): Don't bother
1516         coping with pre-padding of entire area while building
1517         it; do that instead after the building is done, and
1518         do it by modifying only the modulo field.  This covers
1519         the case of alignment stringency being increased without
1520         lowering the starting offset, unlike the previous changes,
1521         and even more elegantly than those.
1522
1523         * target.c (ffetarget_align): Make sure alignments
1524         are non-zero, just in case.
1525
1526 See ChangeLog.0 for earlier changes.
1527
1528 Local Variables:
1529 add-log-time-format: current-time-string
1530 End: