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