1 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
3 * com.c (ffecom_type_permanent_copy_): Delete unused function.
4 (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
6 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
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.
14 Fri Feb 18 13:19:34 2000 Martin von Loewis <loewis@informatik.hu-berlin.de>
16 * g77spec.c (lang_specific_driver): Use GCCBUGURL.
18 2000-02-17 Andy Vaught <andy@maxwell.la.asu.edu>
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.
24 Wed Feb 16 11:09:38 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26 * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.
28 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
30 * lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.
32 Tue Feb 15 11:14:17 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
34 * g77spec.c: Don't declare `version_string'.
36 Sat Feb 5 23:27:25 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38 * com.c (mark_tracker_head, mark_binding_level): Protoize.
40 * where.c (mark_ffewhere_head): Likewise.
42 Wed Jan 12 09:32:59 2000 Zack Weinberg <zack@wolery.cumb.org>
44 * lang-specs.h: Pass -lang-fortran to preprocessor.
46 Thu Dec 30 13:14:31 1999 Richard Henderson <rth@cygnus.com>
48 * stw.h (struct _ffestw_): Change type of uses_ to int.
50 Thu Dec 30 11:42:05 1999 Geoff Keating <geoffk@cygnus.com>
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
63 (ffecom_type_namelist_): Remove obstack use, save appropriate
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.
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.
86 (GGC_H): New variable.
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.
94 Wed Dec 29 19:29:26 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
96 * g77.texi (C Interfacing Tools): Fix an incorrect link.
98 1999-12-13 Jakub Jelinek <jakub@redhat.com>
100 * target.h: Handle sparc64 the same way as alpha.
102 Sun Nov 28 21:39:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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
108 (ffecom_init_0): Use a fully prototyped cast in call to bsearch.
109 (lang_print_error_function): ANSI-fy.
111 * com.h (ffecom_file): Constify a char*.
113 * fini.c (main): Call return, not exit.
115 * g77spec.c (lang_specific_driver): Use non-const *in_argv in
118 * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away
121 Sun Nov 28 21:15:29 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
123 * com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.
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):
134 * com.h (ffecom_get_invented_identifier): Likewise.
136 * sts.c (ffests_printf): New function taking ellipses.
137 (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
138 ffests_printf_2Us): Delete.
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_*'.
149 * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
150 ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise.
152 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
153 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
155 * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
157 Tue Oct 26 01:32:19 1999 Mark Mitchell <mark@codesourcery.com>
159 * com.c (poplevel): Don't call remember_end_note.
161 Fri Oct 15 15:18:12 1999 Greg McGary <gkm@gnu.org>
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".
169 (ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
170 (ffecom_char_args_x_): Ditto.
172 Sun Oct 10 08:40:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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.
178 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
180 * com.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
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.
186 Tue Sep 21 09:08:30 1999 Toon Moene <toon@moene.indiv.nluug.nl>
188 * g77spec.c (lang_specific_driver): Initialise return value.
190 Thu Sep 16 18:07:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
192 * bad.c (ffebad_finish): Use uppercase ctype macro from system.h.
194 * fini.c (main): Likewise.
196 * intrin.c (ffeintrin_init_0): Likewise.
198 * lex.c (ffelex_hash_): Likewise.
200 * src.c (ffesrc_init_1): Likewise.
202 Tue Sep 14 12:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
204 * g77spec.c (lang_specific_driver): Remove unnecessary argument in
205 call to function `fatal'.
207 Sun Sep 12 23:29:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209 * Make-lang.in (g77spec.o): Depend on system.h and gcc.h.
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'.
220 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
222 * com.h: Delete declarations for all tree nodes now moved to
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.
229 Sat Sep 4 13:46:27 1999 Mark Mitchell <mark@codesourcery.com>
231 * Make-lang.in (f771): Depend on ggc-callbacks.o.
232 * Makefile.in (OBJS): Add ggc-callbacks.o.
235 Mon Aug 30 22:05:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
237 * com.c (language_string): Constify.
239 Mon Aug 30 20:29:30 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
241 * Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
242 Remove hacks for stuff which now comes from libiberty.
244 Sun Aug 29 09:47:45 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
246 * com.c (lang_printable_name): Constify a char*.
248 Wed Aug 25 01:21:06 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
250 * lang-specs.h: Pass cc1 spec to f771.
252 Mon Aug 9 19:44:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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*.
258 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
260 * g77spec.c: Update URLS and mail addresses.
261 * root.texi: Update URLS and mail addresses.
263 1999-07-25 Richard Henderson <rth@cygnus.com>
265 * com.c (ptr_type_node, va_list_type_node): New.
266 (ffecom_init_0): Init and use ptr_type_node.
268 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
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.
274 Sat Jul 17 11:28:43 1999 Craig Burley <craig@jcb-sc.com>
276 * root.texi, g77install.texi: Switchover to GCC terminology.
277 Also, FSF-G77 had been mistakenly set at some point.
279 Thu Jul 8 15:38:50 1999 Craig Burley <craig@jcb-sc.com>
281 * news.texi: Describe DATE intrinsic fix.
283 Mon Jun 28 21:44:19 1999 Craig Burley <craig@jcb-sc.com>
285 * version.c: Denote experimental version.
287 Mon Jun 28 10:43:11 1999 Craig Burley <craig@jcb-sc.com>
289 * com.c (ffecom_prepare_expr_): A COMPLEX intrinsic needs
290 a temp even if -fno-f2c.
292 * version.c: Bump version.
294 Mon Jun 28 21:31:35 1999 Craig Burley <craig@jcb-sc.com>
296 * bugs.texi, news.texi: Doc upgrade to netlib libf2c as of today.
297 Explain that this fixes the NAMELIST-read bug.
299 Fri Jun 25 11:06:32 1999 Craig Burley <craig@jcb-sc.com>
301 * bugs.texi: Describe K(5)=10*3 NAMELIST-read bug.
303 Mon Jun 21 12:40:17 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
305 * g77.texi: Update links.
307 Mon Jun 21 05:33:51 1999 Jeffrey A Law (law@cygnus.com)
309 * news.texi: Add missing @end ifclear.
311 Fri Jun 18 11:43:46 1999 Craig Burley <craig@jcb-sc.com>
313 * news.texi: Doc TtyNam fix.
315 Fri Jun 18 11:26:50 1999 Craig Burley <craig@jcb-sc.com>
317 * news.texi: New heading for development version.
318 Doc upgrade to netlib libf2c as of today.
320 Wed Jun 16 11:43:02 1999 Craig Burley <craig@jcb-sc.com>
322 * news.texi: Mention BACKSPACE fix to libg2c.
324 Mon Jun 7 08:42:40 1999 Craig Burley <craig@jcb-sc.com>
326 * Make-lang.in: Any target using libsubdir must depend
329 Sat Jun 5 23:50:36 1999 Craig Burley <craig@jcb-sc.com>
331 * g77.texi: Describe a few more missing features people
332 have emailed me about.
334 Sat Jun 5 17:03:23 1999 Craig Burley <craig@jcb-sc.com>
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.
339 Fri Jun 4 13:56:56 1999 Craig Burley <craig@jcb-sc.com>
341 * Make-lang.in: Use libsubdir, not prefix, to store
342 temporary lang-f77 `flag' file.
344 Fri Jun 4 10:26:04 1999 Craig Burley <craig@jcb-sc.com>
346 * news.texi (News): Mention GCC 2.95 in favor of EGCS 1.2.
347 Mention that libg2c is multilibbed.
349 Fri Jun 4 10:09:50 1999 Craig Burley <craig@jcb-sc.com>
351 * g77.texi (Missing Features): Add `Better Warnings'
354 Fri May 28 16:51:41 1999 Craig Burley <craig@jcb-sc.com>
356 * g77.texi: Fix thinko.
358 Wed May 26 14:43:27 1999 Craig Burley <craig@jcb-sc.com>
360 * news.texi: Document Tue May 18 03:52:04 1999 patch.
363 Wed May 26 14:25:07 1999 Craig Burley <craig@jcb-sc.com>
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.
369 Wed May 26 11:45:21 1999 Craig Burley <craig@jcb-sc.com>
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
377 * top.c (ffe_decode_option): Rename recognized strings.
379 Tue May 25 18:21:09 1999 Craig Burley <craig@jcb-sc.com>
381 * com.c (FFECOM_FASTER_ARRAY_REFS): Delete this vestige,
382 now that -fflatten-arrays exists.
384 Tue May 25 17:48:34 1999 Craig Burley <craig@jcb-sc.com>
387 * com.c (ffecom_arg_ptr_to_expr): Strip off parens around
388 CHARACTER expression.
389 (ffecom_prepare_expr_): Ditto.
391 Tue May 18 03:52:04 1999 Craig Burley <craig@jcb-sc.com>
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.
401 Tue May 18 00:21:34 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
403 * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
406 Thu May 13 12:23:20 1999 Craig Burley <craig@jcb-sc.com>
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
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.
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.
432 * version.c: Bump version.
434 Wed May 12 07:30:05 1999 Craig Burley <craig@jcb-sc.com>
436 * com.c (lang_init_options): Disable back end's maintenance
438 * news.texi: Document dropping of errno.
440 1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
442 * lang-specs.h: Pass -$ to the preprocessor.
444 Mon May 10 18:14:28 1999 Craig Burley <craig@jcb-sc.com>
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.
450 Mon May 10 17:38:39 1999 Craig Burley <craig@jcb-sc.com>
452 * news.texi: Doc upgrade to netlib libf2c as of today.
454 Sun May 9 18:52:13 1999 Hans-Peter Nilsson <hp@bitrange.com>
456 * f/g77spec.c (lang_specific_driver): Correct bug-report address
457 and point to the FAQ.
459 Thu May 6 12:40:21 1999 Craig Burley <craig@jcb-sc.com>
461 * g77.texi (Arbitrary Concatenation): Put this under
462 "Missing Features" instead of "Projects".
463 (Internals Documentation): Point to new "Front End" chapter.
465 Thu May 6 08:23:52 1999 Craig Burley <craig@jcb-sc.com>
467 * bugs.texi, news.texi: Automatic arrays reportedly working
470 Thu May 6 08:19:31 1999 Craig Burley <craig@jcb-sc.com>
472 * g77.texi (Advantages Over f2c): Expand on this topic.
474 Mon May 3 19:41:48 1999 Craig Burley <craig@jcb-sc.com>
476 * com.c (ffecom_expr_intrinsic_): Fix test of CTIME_subr.
478 Mon May 3 18:11:48 1999 Craig Burley <craig@jcb-sc.com>
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
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.
490 Mon May 3 11:28:14 1999 Craig Burley <craig@jcb-sc.com>
492 * news.texi: Doc upgrade to netlib libf2c as of today.
494 Sun May 2 17:04:28 1999 Craig Burley <craig@jcb-sc.com>
496 * version.c: Bump version.
498 Sun May 2 16:53:01 1999 Craig Burley <craig@jcb-sc.com>
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.
504 Sun Apr 25 20:55:10 1999 Craig Burley <craig@jcb-sc.com>
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.
512 * version.c: Bump version.
514 Sat Apr 24 12:19:53 1999 Craig Burley <craig@jcb-sc.com>
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.
522 * version.c: Bump version.
524 Fri Apr 23 02:08:32 1999 Craig Burley <craig@jcb-sc.com>
526 * g77.texi (Compiler Prototypes): Replace "missing" subscript-
527 checking option with something else.
529 Fri Apr 23 01:48:28 1999 Craig Burley <craig@jcb-sc.com>
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.
543 * news.texi: Fix up some items to not be in "User-Visible Changes".
545 * ste.c (ffeste_R819B): Fix type for loop variable, to avoid
548 * version.c: Bump version.
550 Tue Apr 20 01:38:57 1999 Craig Burley <craig@jcb-sc.com>
552 * bugs.texi, news.texi: Clarify -malign-double situation.
554 Tue Apr 20 01:15:25 1999 Craig Burley <craig@jcb-sc.com>
556 * stb.c (ffestb_R5282_): Convert DATA repeat count
557 to default INTEGER, to avoid problems downstream.
559 * version.c: Bump version.
561 Mon Apr 19 21:36:48 1999 Craig Burley <craig@jcb-sc.com>
563 * ste.c (ffeste_R819B): Start the loop before expanding
564 the termination expression.
566 * version.c: Bump version.
568 Sun Apr 18 21:53:58 1999 Craig Burley <craig@jcb-sc.com>
570 * com.c (ffecom_sym_transform_): COMMON and EQUIVALENCE
571 variables have constant addresses (EQUIVALENCE only if
572 containing aggregate is static).
574 Sat Apr 17 16:55:59 1999 Craig Burley <craig@jcb-sc.com>
576 * bugs.texi, ffe.texi, g77.texi, g77install.texi, news.texi:
577 Clean up @code{} vs. @samp{}.
578 Clean up dashes (`--') vs. @minus{} vs. `---'.
580 * ffe.texi: Add copyright header.
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.
588 * g77.texi (Missing Features): Describe READONLY as a missing
589 feature. Describe AUTOMATIC better.
591 * news.texi: Mention libf2c upgrade.
593 Sat Apr 17 14:05:53 1999 Craig Burley <craig@jcb-sc.com>
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.
600 * g77.texi: Fix an index entry.
602 Sat Apr 17 13:53:43 1999 Craig Burley <craig@jcb-sc.com>
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):
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-
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
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
643 (ffecom_expr_power_integer_): Make a temp var for division, if
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
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
656 (ffecom_expand_let_stmt): Guess at usability of destination
657 pre-expansion, to provide better prescan preparation (fewer
659 (ffecom_init_0): Disallow temp-var generation in global scope.
660 (ffecom_type_expr): New function, returns just the type tree
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
700 * stw.h (struct _ffestw_): New variable for IFTHEN.
701 (ffestw_ifthen_fake_else, ffestw_set_ifthen_fake_else): New
703 * symbol.c, symbol.h: Support new ASSIGN'ed-to info.
705 * com.c: Clean up commentary per GNU coding standards.
707 * bld.h (ffebld_size, ffebld_size_known): Canonize.
709 * version.c: Bump version.
711 Sun Apr 11 21:33:33 1999 Mumit Khan <khan@xraylith.wisc.edu>
713 * g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
714 null to decide whether to use it.
716 Wed Apr 7 09:47:09 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
718 * ansify.c (die): Specify void argument.
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):
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*.
729 Mon Apr 5 11:57:54 1999 Donn Terry (donn@interix.com)
731 * Make-lang.in (HOST_CFLAGS): compute dynamically.
733 Mon Apr 5 02:11:23 1999 Craig Burley <craig@jcb-sc.com>
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.
743 Sat Apr 3 23:57:56 1999 Craig Burley <craig@jcb-sc.com>
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.)
749 Sat Apr 3 23:29:33 1999 Craig Burley <craig@jcb-sc.com>
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.
755 * version.c: Bump version.
757 Fri Apr 2 13:33:16 1999 Craig Burley <craig@jcb-sc.com>
759 * g77.texi: -malign-double now works.
760 Give URL for alignment-testing package.
761 * news.texi: -malign-double now works.
763 Fri Apr 2 12:49:12 1999 Craig Burley <craig@jcb-sc.com>
765 * g77.texi (Funding GNU Fortran): Dude's got a web page.
768 Tue Mar 30 12:04:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
770 * sta.c (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
773 * sta.h (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
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.
792 * stb.h (_ffestb_args_): Likewise.
794 * stc.c (ffestc_subr_binsrch_, ffestc_subr_is_present_,
795 ffestc_subr_speccmp_, ffestc_R904, ffestc_R907): Likewise.
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.
803 * ste.c (ffeste_begin_iterdo_, ffeste_subr_file_): Likewise.
805 * sts.c (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
806 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
808 * sts.h (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
809 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
811 * stt.c (ffestt_exprlist_drive, ffestt_implist_drive,
812 ffestt_tokenlist_drive): Add prototype arguments.
814 * stt.h (ffestt_exprlist_drive, ffestt_implist_drive,
815 ffestt_tokenlist_drive): Likewise.
817 * stu.c (ffestu_dummies_transition_): Likewise.
818 (ffestu_sym_end_transition): Const-ify a char*.
820 * stw.c (ffestw_display_state, ffestw_new, ffestw_pop): Add
823 * stw.h (ffestw_display_state, ffestw_new, ffestw_pop): Likewise.
825 * version.c (ffe_version_string): Const-ify a char*.
827 * version.h (ffe_version_string): Likewise.
829 Sat Mar 27 13:00:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
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*.
835 * bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
837 * bld.h (ffebld_op_string): Likewise.
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):
852 (savestring): Remove, use `xstrdup' instead.
854 * com.h (ffecom_decl_field, ffecom_get_invented_identifier):
857 * data.c (ffebld, ffedata_gather_): Make explicitly static.
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*.
866 * fini.c (xspaces): Likewise.
868 * global.c (ffeglobal_type_string_): Likewise.
869 (ffeglobal_drive): Protoize.
870 (ffeglobal_proc_def_arg): Const-ify a char*.
872 * global.h (ffeglobal_drive): Protoize.
873 (ffeglobal_proc_def_arg): Const-ify a char*.
875 * implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
878 * implic.h (ffeimplic_peek_symbol_type): Likewise.
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.
886 * info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
887 ffeinfo_kind_string, ffeinfo_kindtype_string,
888 ffeinfo_where_string): Likewise.
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.
897 * intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
898 ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
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.
904 * lex.h (ffelex_token_new_character, ffelex_token_new_name,
905 ffelex_token_new_names, ffelex_token_new_number): Likewise.
907 * malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
908 malloc_new_zinpool_): Likewise.
910 * malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
911 malloc_pool_new): Likewise.
913 * name.c (ffename_space_drive_global, ffename_space_drive_symbol):
916 * name.h (ffename_space_drive_global, ffename_space_drive_symbol):
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*.
924 * symbol.h (ffesymbol_attrs_string): Likewise.
925 (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
926 (ffesymbol_state_string): Const-ify a char*.
928 * target.c (ffetarget_layout): Likewise.
930 * target.h (ffetarget_layout): Likewise.
932 1999-03-25 Zack Weinberg <zack@rabi.columbia.edu>
934 * Make-lang.in: Remove all references to g77.o/g77.c.
937 1999-03-21 Manfred Hollstein <manfred@s-direktnet.de>
939 * Makefile.in (g77$(exeext)): Depend on intl.o. Link in intl.o.
941 Wed Mar 17 11:39:44 1999 Craig Burley <craig@jcb-sc.com>
943 * news.texi: Editorial fix.
945 Mon Mar 15 17:12:07 1999 Craig Burley <craig@jcb-sc.com>
947 * bugs.texi, g77.texi, news.texi: Editorial fixes.
949 Sat Mar 13 17:51:55 1999 Craig Burley <craig@jcb-sc.com>
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.
959 * version.c: Bump version.
961 Sat Mar 13 14:26:55 1999 Craig Burley <craig@jcb-sc.com>
963 * RELEASE-PREP: New file, lists things to do for a release.
965 * Make-lang.in, bugs.texi, bugs0.texi, g77.texi, g77install.texi,
966 install0.texi, news.texi, news0.texi: Accommodate new doc
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
972 Move description of AUTOMATIC to more suitable location.
973 * root.texi: New file for new doc architecture.
975 Thu Mar 11 17:32:55 1999 Craig Burley <craig@jcb-sc.com>
977 * g77.texi: Add AUTOMATIC to list of unsupported extensions.
979 Sat Mar 6 02:28:35 1999 Craig Burley <craig@jcb-sc.com>
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
994 * g77.texi: Document all this stuff.
995 * news.texi: Spread the joy.
996 * version.c: Bump version.
998 Fri Mar 5 13:22:44 1999 Craig Burley <craig@jcb-sc.com>
1000 * news.texi: Relocate IDATE (VXT) fix: we put it in 1.1.2
1001 so describe it there, instead of under 1.2.
1003 Wed Mar 3 00:57:56 1999 Craig Burley <craig@jcb-sc.com>
1005 * news.texi: IDATE (VXT) fixed to return year as 0..99.
1007 Wed Mar 3 00:43:49 1999 Craig Burley <craig@jcb-sc.com>
1009 * g77.texi: Add remaining changes pending from Dave Love.
1011 Wed Mar 3 00:38:42 1999 Craig Burley <craig@jcb-sc.com>
1013 * bugs.texi, news.texi: Conditionalize cross-references
1014 on non-html processing, providing temporary HTML "links".
1016 * g77.texi: Fix up a reference.
1018 Wed Mar 3 00:12:31 1999 Craig Burley <craig@jcb-sc.com>
1020 * news.texi, bugs.texi: Delete fixed bugs, make one
1021 of them into the appropriate news item.
1023 Wed Mar 3 00:05:52 1999 Craig Burley <craig@jcb-sc.com>
1025 * news.texi: Copy over 1.1.2 news.
1027 1999-03-02 Craig Burley <craig@jcb-sc.com>
1029 * g77.texi (Bug Reporting): Clarify whether to use -E.
1030 Clarify other instructions.
1032 1999-02-27 Craig Burley <craig@jcb-sc.com>
1034 * lang-specs.h: Fix specs to pass `-ax' as well as `-a' option.
1036 1999-02-26 Craig Burley <craig@jcb-sc.com>
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.
1042 1999-02-26 Craig Burley <craig@jcb-sc.com>
1044 * intdoc.in (DATE_AND_TIME): Explain that VALUES(7) holds
1045 seconds, and VALUES(8), therefore, milliseconds.
1047 1999-02-26 Craig Burley <craig@jcb-sc.com>
1049 * news.texi: Clarify IOSTAT= fix.
1051 1999-02-25 Richard Henderson <rth@cygnus.com>
1053 * lang-specs.h: Define __FAST_MATH__ when appropriate.
1055 1999-02-25 Craig Burley <craig@jcb-sc.com>
1057 * g77.texi: Clarify/index lack of run-time allocation for
1060 1999-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1062 * f/intdoc.in: Add missing `,' after cross references.
1064 1999-02-20 Craig Burley <craig@jcb-sc.com>
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.
1072 1999-02-20 Craig Burley <craig@jcb-sc.com>
1074 * g77.texi: Properly attribute Priest document; clarify
1075 that it is in the .ps version of the Goldberg document.
1077 1999-02-19 Craig Burley <craig@jcb-sc.com>
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.
1085 1999-02-19 Craig Burley <craig@jcb-sc.com>
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
1091 * news.texi: Spread the joy.
1093 1999-02-18 Craig Burley <craig@jcb-sc.com>
1095 * expr.c (ffeexpr_finished_): Disallow non-default INTEGER
1096 as argument for FILEINT and FILEASSOC as lhs.
1097 * news.texi: Document fix.
1100 1999-02-18 Craig Burley <craig@jcb-sc.com>
1102 * g77.texi: Clarify -fno-globals vs. -Wno-globals.
1104 1999-02-18 Craig Burley <craig@jcb-sc.com>
1106 * intdoc.in (LOG10): Fix typo.
1108 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
1110 * intdoc.in: Fix typo.
1112 1999-02-17 Craig Burley <craig@jcb-sc.com>
1114 * g77.texi, intdoc.in: Document Y2K and some other known
1116 * intrin.def (DTIME, FDATE): Fix capitalization of
1117 case-sensitive forms of these intrinsics' names.
1119 1999-02-17 Dave Love <fx@gnu.org>
1121 * intdoc.in: Say `common' logarithm for log10.
1123 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1125 * g77.texi: Add missing @ in email addresses.
1127 1999-02-15 Craig Burley <craig@jcb-sc.com>
1129 * *.*: Delete my (old) email address in most places, change it
1132 1999-02-14 Craig Burley <craig@jcb-sc.com>
1136 1999-02-14 Craig Burley <craig@jcb-sc.com>
1138 * version.c: Bump for 1998-10-02 change (forgot to do this
1141 1999-02-14 Craig Burley <craig@jcb-sc.com>
1143 * lang-specs.h, g77.1, g77.texi, news.texi: Recognize `.FOR'
1144 and `.FPP' as well as `.for' and `.fpp'.
1146 1999-02-14 Craig Burley <craig@jcb-sc.com>
1148 * intdoc.in (LOG10): Fix description.
1150 1999-02-14 Craig Burley <craig@jcb-sc.com>
1152 * news.texi: Mention fix for SIGNAL invocation circa egcs-1.1.
1154 1999-02-14 Craig Burley <craig@jcb-sc.com>
1156 * g77.texi, g77install.texi, bugs.texi, g77install.texi: Clean
1157 up and improve indexing, and some other areas of docs.
1159 1999-02-14 Craig Burley <craig@jcb-sc.com>
1161 * intdoc.in (MCLOCK8, TIME8): Warn about lower range on
1164 Sat Feb 6 18:02:17 1999 Jeffrey A Law (law@cygnus.com)
1166 * g77.texi: Update email addresses.
1168 Wed Feb 3 22:50:17 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1170 * Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
1171 mkstemp.o from libiberty.
1173 1999-02-01 Zack Weinberg <zack@rabi.columbia.edu>
1175 * top.c: Don't define ffe_is_ident_. Don't process
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().
1181 Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu>
1183 * lang-specs.h: Map -Qn to -fno-ident.
1185 Tue Jan 5 22:12:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187 * Make-lang.in (g77.o): Depend on prefix.h.
1189 Fri Nov 27 13:10:32 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1191 * fini.c: Rename variable `spaces' to `xspaces' to avoid
1192 conflicting with function `spaces' from libiberty.
1194 * g77spec.c: Don't prototype libiberty functions.
1195 * malloc.c: Likewise.
1197 1998-11-20 Dave Love <d.love@dl.ac.uk>
1199 * g77.texi: Assorted minor changes.
1201 1998-11-19 Dave Love <d.love@dl.ac.uk>
1203 * bugs.texi: Formatting changes from Craig.
1205 * intdoc.in: Terminate some @xrefs with `,'.
1207 1998-11-19 Manfred Hollstein <manfred@s-direktnet.de>
1209 * Make-lang.in (mandir): Replace all uses of $(mandir) by $(man1dir).
1211 Mon Nov 9 23:15:39 1998 Jeffrey A Law (law@cygnus.com)
1213 * g77.texi, news.texi: Updates from Craig.
1215 Sun Nov 8 17:47:56 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1217 * Makefile.in (INCLUDES): Add "-I$(srcdir)/../../include".
1219 Sat Nov 7 15:58:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1221 * g77spec.c: Don't include gansidecl.h.
1222 * output.j: Likewise.
1224 1998-11-04 Dave Love <d.love@dl.ac.uk>
1226 * g77.texi: Small formatting/indexing fixes.
1228 Mon Oct 12 20:41:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1230 * bad.c (ffebad_finish): Change type of variable `c' to unsigned
1231 char, change type of variable `s' to unsigned char *.
1233 * com.c (ffecom_symbol_null_): Add missing initializers.
1235 * fini.c (MAXNAMELEN): Undef it before defining.
1237 * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
1240 * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
1243 * lex.c (ffelex_splice_tokens): Change type of variable `p' to
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.
1251 * malloc.c (malloc_root_): Add missing initializer.
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'
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.
1282 * top.c (ffe_decode_option): Mark parameter `argc' with
1285 * where.c (ffewhere_unknown_line_): Add missing initializers.
1287 1998-10-02 Dave Love <d.love@dl.ac.uk>
1289 * com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1291 Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
1293 * lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
1294 HANDLE_GENERIC_PRAGMAS.
1296 Mon Sep 28 04:22:00 1998 Jeffrey A Law (law@cygnus.com)
1298 * news.texi: Update from Craig.
1300 1998-09-23 Dave Love <d.love@dl.ac.uk>
1302 * g77.texi: Additions about `/*', trailing comments and cpp.
1304 1998-09-18 Dave Love <d.love@dl.ac.uk>
1306 * g77.texi: Various additions and some small fixes.
1308 Thu Sep 10 14:55:44 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
1310 * Make-lang.in (f77.install-common): Add missing "else true;".
1312 1998-09-07 Dave Love <d.love@dl.ac.uk>
1314 * ChangeLog.egcs: Deleted. Entries merged here.
1316 1998-09-05 Dave Love <d.love@dl.ac.uk>
1318 * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
1319 (F771_LDFLAGS): Variable dispensed with.
1321 Fri Sep 4 19:53:34 1998 Craig Burley <burley@gnu.org>
1323 * intdoc.in: Minor editorial tweaks.
1325 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
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.
1331 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
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.
1337 * Makefile.in (proj-h.o): Fix dependencies list.
1339 Wed Sep 02 09:25:29 1998 Nick Clifton <nickc@cygnus.com>
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.
1350 Tue Sep 1 10:00:21 1998 Craig Burley <burley@gnu.org>
1352 * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
1355 1998-08-23 Dave Love <d.love@dl.ac.uk>
1357 * g77.texi: Increment `version-g77' and fix a few typos.
1359 Tue Aug 18 21:41:31 1998 Jeffrey A Law (law@cygnus.com)
1361 * Make-lang.in: Add several "else true" clauses to deal with lame
1364 Tue Aug 11 08:12:14 1998 H.J. Lu (hjl@gnu.org)
1366 * Make-lang.in (g77.o): Touch lang-f77 before checking it.
1368 1998-08-09 Dave Love <d.love@dl.ac.uk>
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.
1374 * g77install.texi (Prerequisites): Kluge round TeX lossage with
1375 hyphen in @value in @code.
1377 Tue Aug 4 16:59:39 1998 Craig Burley <burley@gnu.org>
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.
1383 1998-07-26 Dave Love <d.love@dl.ac.uk>
1385 * BUGS, INSTALL, NEWS: Rebuilt.
1387 Sat Jul 25 17:23:55 1998 Craig Burley <burley@gnu.org>
1390 * stc.c (ffestc_R1229_start): Set info to ANY as well.
1392 Tue Jul 21 04:33:37 1998 Craig Burley <burley@gnu.org>
1394 * g77spec.c (lang_specific_driver): Return unmolested
1395 command line when --help seen.
1396 Comment out code that printed g77-specific --help info.
1398 Sat Jul 18 19:16:48 1998 Craig Burley <burley@gnu.org>
1400 * lang-options.h: Fix up doc strings.
1401 Remove the unimplemented -fdcp-intrinsics-* options.
1403 * str-1t.fin: Change mixed-case spelling of `GoTo' from
1406 Thu Jul 16 13:26:36 1998 Craig Burley <burley@gnu.org>
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.
1413 1998-07-15 Dave Love <d.love@dl.ac.uk>
1415 * intdoc.texi: Regenerated.
1417 Mon Jul 13 18:45:06 1998 Craig Burley <burley@gnu.org>
1419 * Make-lang.in (f77.rebuilt): Fix to depend on
1420 build-dir-based, not source-based, g77.info.
1422 * g77.texi: Merge docs with 0.5.24.
1423 * g77install.texi: Ditto.
1425 Mon Jul 13 18:02:29 1998 Craig Burley <burley@gnu.org>
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.
1433 Mon Jul 13 17:33:44 1998 Craig Burley <burley@gnu.org>
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.
1444 Mon Jul 13 17:30:29 1998 Nick Clifton <nickc@cygnus.com>
1446 * lang-options.h: Format changed to work with --help support added
1449 Mon Jul 13 11:54:03 1998 Craig Burley <burley@gnu.org>
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.
1455 1998-07-12 Dave Love <d.love@dl.ac.uk>
1457 * version.c: Bump version.
1459 Sat Jul 11 19:24:32 1998 Craig Burley <burley@gnu.org>
1462 * equiv.c (ffeequiv_offset_): Don't crash on various
1463 possible ANY operands.
1465 Sat Jul 11 18:24:37 1998 Craig Burley <burley@gnu.org>
1467 * com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
1468 for constant is non-zero.
1470 * com.c (__eprintf): Delete this function, it is obsolete.
1472 1998-07-09 Dave Love <d.love@dl.ac.uk>
1474 * intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.
1476 Thu Jul 9 00:45:59 1998 Craig Burley <burley@gnu.org>
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"
1488 1998-07-06 Mike Stump <mrs@wrs.com>
1490 * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
1493 1998-07-06 Dave Love <d.love@dl.ac.uk>
1495 * intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
1498 1998-07-05 Dave Love <d.love@dl.ac.uk>
1500 * intdoc.in: Add entry for DATE_AND_TIME.
1502 * intrin.def: Add implementation for DATE_AND_TIME. Make second
1503 and third args of SYSTEM_CLOCK optional.
1505 * com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
1507 * com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
1509 (FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.
1511 Wed Jul 1 11:19:13 1998 Craig Burley <burley@gnu.org>
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.
1523 * target.c (ffetarget_align): Make sure alignments
1524 are non-zero, just in case.
1526 See ChangeLog.0 for earlier changes.
1529 add-log-time-format: current-time-string