1 2000-05-18 Chris Demetriou <cgd@sibyte.com>
3 * com.h (FFECOM_f2cINTEGER, FFECOM_f2cLONGINT): Note that
4 these types correspond to built-in types now defined in
5 the C front end (for libf2c).
7 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
9 * top.c (ffe_decode_option): Update -Wall unused flags by calling
12 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
14 * com.c (ffecom_subscript_check_): Constify array_name
15 parameter. Clean up string bashing.
16 (ffecom_arrayref_, ffecom_char_args_x_): Constify array_name
18 (ffecom_do_entry_, ffecom_gen_sfuncdef_, ffecom_start_progunit_,
19 ffecom_sym_transform_, ffecom_sym_transform_assign_): Constify
21 (init_parse): Constify parameter and return value.
22 * lex.c: Include dwarfout.h instead of prototyping dwarfout_*
24 (ffelex_file_pop_, ffelex_file_push_): Constify filename parameter.
25 (ffelex_hash_, ffelex_include_): Constify local char *.
26 * std.c (ffestd_exec_end): Constify local char *.
27 * where.c (ffewhere_file_new): Constify filename parameter.
28 * where.h: Update prototypes.
30 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
32 * com.c (ffecom_overlap_): Set source_offset to
34 (ffecom_tree_canonize_ptr_): Use size_binop. Convert to
35 bitsizetype before multiplying by TYPE_SIZE.
36 (ffecom_tree_canonize_ref_) [case ARRAY_REF]: Break up offset
37 calculation. Convert to bitsizetype before multiplying by
40 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
42 * lex.c: Remove references to cccp.c.
43 * g77install.texi: Remove references to cexp.c/cexp.y.
45 2000-04-15 David Edelsohn <edelsohn@gnu.org>
47 * target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC
50 Wed Apr 12 15:15:26 2000 Mark Mitchell <mark@codesourcery.com>
52 * com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a
53 preprocessor constant.
54 (FFECOM_f2cLOGICAL): Likewise.
55 (FFECOM_f2cLONGINT): Likewise.
57 Wed Apr 5 17:46:39 2000 Mark Mitchell <mark@codesourcery.com>
59 * Makefile.in (GGC_H): Add varray.h.
61 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
63 * lang-specs.h: Pass -fno-show-column to the preprocessor.
65 2000-03-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
67 * com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
68 (ffecom_init_0): Likewise.
70 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
72 * com.c (ffecom_tree_canonize_ptr_): Use bitsize_zero_node.
73 (ffecom_tree_canonize_ref_): Likewise.
75 Mon Mar 20 15:49:40 2000 Jim Wilson <wilson@cygnus.com>
77 * f/target.h (FFETARGET_32bit_longs): New. Define for alpha, sparc64,
79 (ffetargetInteger1, ffetargetLogical1, ffetargetReal1, ffetargetReal2,
80 ffetarget_integerdefault_is_magical): Use FFETARGET_32bit_longs.
82 Fri Mar 10 00:43:55 2000 Jason Merrill <jason@casey.cygnus.com>
84 * com.c (ffecom_stabilize_aggregate_): Don't refer to TREE_RAISES.
86 Mon Mar 6 18:05:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
88 * com.c (ffecom_f2c_set_lio_code_): Use compare_tree_int.
89 (ffecom_sym_transform_, ffecom_transform_common_): Likewise.
90 (ffecom_transform_equiv_): Likewise.
92 Mon Mar 6 13:01:19 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
94 * ansify.c (die_unless): Don't use ANSI string concatenation.
95 (die): Mark with ATTRIBUTE_NORETURN.
97 Wed Mar 1 00:31:44 2000 Martin von Loewis <loewis@informatik.hu-berlin.de>
99 * com.c (current_function_decl): Move to toplev.c.
101 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
103 * com.c (ffecom_arrayref_): Convert args to size_binop to proper type.
104 (ffecom_tree_canonize_ptr_): Don't use size_binop for non-sizes.
105 (ffecom_tree_canonize_ref_): Likewise.
106 (type_for_mode): Handle TImode.
107 * ste.c (ffeste_io_dofio_, ffeste_io_douio_): Use TYPE_SIZE_UNIT.
108 (ffeste_io_ciclist_): Likewise.
110 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
112 * com.c (ffecom_type_permanent_copy_): Delete unused function.
113 (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
115 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
117 * com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
118 (ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
119 (duplicate_decls): Likewise.
120 (ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
121 (finish_decl): Delete -Wlarger-than processing.
123 Fri Feb 18 13:19:34 2000 Martin von Loewis <loewis@informatik.hu-berlin.de>
125 * g77spec.c (lang_specific_driver): Use GCCBUGURL.
127 2000-02-17 Andy Vaught <andy@maxwell.la.asu.edu>
129 * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
130 (ffecom_finish_symbol_transform_): Likewise.
131 (ffecom_transform_common_): Call ffestorag_set_hook.
133 Wed Feb 16 11:09:38 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
135 * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.
137 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
139 * lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.
141 Tue Feb 15 11:14:17 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
143 * g77spec.c: Don't declare `version_string'.
145 Sat Feb 5 23:27:25 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
147 * com.c (mark_tracker_head, mark_binding_level): Protoize.
149 * where.c (mark_ffewhere_head): Likewise.
151 Wed Jan 12 09:32:59 2000 Zack Weinberg <zack@wolery.cumb.org>
153 * lang-specs.h: Pass -lang-fortran to preprocessor.
155 Thu Dec 30 13:14:31 1999 Richard Henderson <rth@cygnus.com>
157 * stw.h (struct _ffestw_): Change type of uses_ to int.
159 Thu Dec 30 11:42:05 1999 Geoff Keating <geoffk@cygnus.com>
161 * com.c (ffecom_init_0): Make double_ftype_double,
162 float_ftype_float, ldouble_ftype_ldouble,
163 ffecom_tree_ptr_to_fun_type_void local.
164 (tracker_head): New static variable.
165 (mark_tracker_head): New, marker procedure for tracker_head.
166 (ffecom_save_tree_forever): New procedure.
167 (ffecom_init_zero_): Remove obstack use.
168 (ffecom_make_gfrt_): Remove obstack use.
169 (ffecom_sym_transform_): Remove obstack use, save appropriate trees.
170 (ffecom_transform_common_): Remove obstack use, save appropriate
172 (ffecom_type_namelist_): Remove obstack use, save appropriate
174 (ffecom_type_vardesc_): Remove obstack use, save appropriate trees.
175 (ffecom_lookup_label): Remove obstack use, save appropriate trees.
176 (duplicate_decls): Remove obstack use.
177 (finish_function): push & pop ggc context around
178 rest_of_compilation when building nested function.
179 (mark_binding_level): New function.
180 (init_decl_processing): Mark all the GC roots.
182 (lang_mark_tree): New function.
183 (lang_mark_false_label_stack): New trivial function.
184 * com.h (ffecom_save_tree_forever): Declare as external.
185 * lex.c (ffelex_hash_): Use GC to allocate the filename string
186 even when ffelex_kludge_flag_.
187 * ste.c (ffeste_io_ialist_): Register a static root.
188 (ffeste_io_inlist_): Likewise.
189 (ffeste_io_icilist_): Likewise.
190 (ffeste_io_cllist_): Likewise.
191 (ffeste_io_cilist_): Likewise.
192 (ffeste_io_olist_): Likewise.
193 * Makefile.in (OBJS): Don't use ggc-callbacks.o.
195 (GGC_H): New variable.
197 * where.c (ffewhere_head): New global.
198 (mark_ffewhere_head): New marker procedure for ffewhere_head.
199 (ffewhere_file_kill): Use GC to do memory management.
200 (ffewhere_file_new): Use GC to do memory management.
203 Wed Dec 29 19:29:26 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
205 * g77.texi (C Interfacing Tools): Fix an incorrect link.
207 1999-12-13 Jakub Jelinek <jakub@redhat.com>
209 * target.h: Handle sparc64 the same way as alpha.
211 Sun Nov 28 21:39:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
213 * com.c (ffecom_file_, ffecom_file, file_buf,
214 ffecom_open_include_): Constify a char*.
215 (ffecom_possible_partial_overlap_): Mark parameter `expr2' with
217 (ffecom_init_0): Use a fully prototyped cast in call to bsearch.
218 (lang_print_error_function): ANSI-fy.
220 * com.h (ffecom_file): Constify a char*.
222 * fini.c (main): Call return, not exit.
224 * g77spec.c (lang_specific_driver): Use non-const *in_argv in
227 * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away
230 Sun Nov 28 21:15:29 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232 * com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.
234 (ffecom_char_enhance_arg_, ffecom_do_entry_,
235 ffecom_f2c_make_type_, ffecom_gen_sfuncdef_,
236 ffecom_start_progunit_, ffecom_start_progunit_,
237 ffecom_start_progunit_, ffecom_sym_transform_assign_,
238 ffecom_transform_equiv_, ffecom_transform_namelist_,
239 ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_,
240 ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label):
243 * com.h (ffecom_get_invented_identifier): Likewise.
245 * sts.c (ffests_printf): New function taking ellipses.
246 (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
247 ffests_printf_2Us): Delete.
251 * std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_,
252 ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_,
253 ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_,
254 ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
255 ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_,
256 ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'.
258 * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
259 ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise.
261 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
262 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
264 * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
266 Tue Oct 26 01:32:19 1999 Mark Mitchell <mark@codesourcery.com>
268 * com.c (poplevel): Don't call remember_end_note.
270 Fri Oct 15 15:18:12 1999 Greg McGary <gkm@gnu.org>
272 * top.h (ffe_is_subscript_check_): Remove extern decl.
273 (ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
274 * top.c (ffe_is_subscript_check_): Remove global variable.
275 (ffe_decode_option): Remove "(no-)bounds-check" flag handling.
276 Set flag_bounds_check for "(no-)fortran-bounds-check".
278 (ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
279 (ffecom_char_args_x_): Ditto.
281 Sun Oct 10 08:40:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283 * proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
284 __GNUC__ and __GNUC_MINOR__. Don't define BUILT_WITH_270. Define
285 macro UNUSED in terms of ATTRIBUTE_UNUSED.
287 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
289 * com.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
291 (builtin_function): No longer static. New arg CLASS. Arg
292 FUNCTION_CODE now of type int. All callers changed.
293 Set the builtin's DECL_BUILT_IN_CLASS.
295 Tue Sep 21 09:08:30 1999 Toon Moene <toon@moene.indiv.nluug.nl>
297 * g77spec.c (lang_specific_driver): Initialise return value.
299 Thu Sep 16 18:07:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
301 * bad.c (ffebad_finish): Use uppercase ctype macro from system.h.
303 * fini.c (main): Likewise.
305 * intrin.c (ffeintrin_init_0): Likewise.
307 * lex.c (ffelex_hash_): Likewise.
309 * src.c (ffesrc_init_1): Likewise.
311 Tue Sep 14 12:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
313 * g77spec.c (lang_specific_driver): Remove unnecessary argument in
314 call to function `fatal'.
316 Sun Sep 12 23:29:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
318 * Make-lang.in (g77spec.o): Depend on system.h and gcc.h.
320 * g77spec.c: Include gcc.h.
321 (g77_xargv): Constify.
322 (g77_fn): Add parameter prototypes.
323 (lookup_option, append_arg): Add static prototypes.
324 (g77_newargv): Constify.
325 (lookup_option, append_arg, lang_specific_driver): Constify a char*.
326 (lang_specific_driver): All calls to the function pointer
327 parameter now explicitly call `fatal'.
329 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
331 * com.h: Delete declarations for all tree nodes now moved to
333 * com.c: Delete their definitions.
334 (ffecom_init_0): Call build_common_tree_nodes and
335 build_common_tree_nodes_2 instead of building their nodes here.
336 Override their decisions for complex nodes.
338 Sat Sep 4 13:46:27 1999 Mark Mitchell <mark@codesourcery.com>
340 * Make-lang.in (f771): Depend on ggc-callbacks.o.
341 * Makefile.in (OBJS): Add ggc-callbacks.o.
344 Mon Aug 30 22:05:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
346 * com.c (language_string): Constify.
348 Mon Aug 30 20:29:30 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
350 * Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
351 Remove hacks for stuff which now comes from libiberty.
353 Sun Aug 29 09:47:45 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
355 * com.c (lang_printable_name): Constify a char*.
357 Wed Aug 25 01:21:06 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
359 * lang-specs.h: Pass cc1 spec to f771.
361 Mon Aug 9 19:44:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363 * com.c (lang_print_error_function): Constify a char*.
364 (init_parse): Remove redundant prototype for `print_error_function'.
365 (lang_identify): Constify a char*.
367 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
369 * g77spec.c: Update URLS and mail addresses.
370 * root.texi: Update URLS and mail addresses.
372 1999-07-25 Richard Henderson <rth@cygnus.com>
374 * com.c (ptr_type_node, va_list_type_node): New.
375 (ffecom_init_0): Init and use ptr_type_node.
377 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
379 * root.texi: Update e-mail addresses to gcc.gnu.org.
380 * g77spec.c (lang_specific_driver): Updated URL with bug reporting
381 instructions to gcc.gnu.org. Removed e-mail address.
383 Sat Jul 17 11:28:43 1999 Craig Burley <craig@jcb-sc.com>
385 * root.texi, g77install.texi: Switchover to GCC terminology.
386 Also, FSF-G77 had been mistakenly set at some point.
388 Thu Jul 8 15:38:50 1999 Craig Burley <craig@jcb-sc.com>
390 * news.texi: Describe DATE intrinsic fix.
392 Mon Jun 28 21:44:19 1999 Craig Burley <craig@jcb-sc.com>
394 * version.c: Denote experimental version.
396 Mon Jun 28 10:43:11 1999 Craig Burley <craig@jcb-sc.com>
398 * com.c (ffecom_prepare_expr_): A COMPLEX intrinsic needs
399 a temp even if -fno-f2c.
401 * version.c: Bump version.
403 Mon Jun 28 21:31:35 1999 Craig Burley <craig@jcb-sc.com>
405 * bugs.texi, news.texi: Doc upgrade to netlib libf2c as of today.
406 Explain that this fixes the NAMELIST-read bug.
408 Fri Jun 25 11:06:32 1999 Craig Burley <craig@jcb-sc.com>
410 * bugs.texi: Describe K(5)=10*3 NAMELIST-read bug.
412 Mon Jun 21 12:40:17 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
414 * g77.texi: Update links.
416 Mon Jun 21 05:33:51 1999 Jeffrey A Law (law@cygnus.com)
418 * news.texi: Add missing @end ifclear.
420 Fri Jun 18 11:43:46 1999 Craig Burley <craig@jcb-sc.com>
422 * news.texi: Doc TtyNam fix.
424 Fri Jun 18 11:26:50 1999 Craig Burley <craig@jcb-sc.com>
426 * news.texi: New heading for development version.
427 Doc upgrade to netlib libf2c as of today.
429 Wed Jun 16 11:43:02 1999 Craig Burley <craig@jcb-sc.com>
431 * news.texi: Mention BACKSPACE fix to libg2c.
433 Mon Jun 7 08:42:40 1999 Craig Burley <craig@jcb-sc.com>
435 * Make-lang.in: Any target using libsubdir must depend
438 Sat Jun 5 23:50:36 1999 Craig Burley <craig@jcb-sc.com>
440 * g77.texi: Describe a few more missing features people
441 have emailed me about.
443 Sat Jun 5 17:03:23 1999 Craig Burley <craig@jcb-sc.com>
445 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
446 * g77.texi: Clean up fossil text vis-a-vis Intel CPUs.
448 Fri Jun 4 13:56:56 1999 Craig Burley <craig@jcb-sc.com>
450 * Make-lang.in: Use libsubdir, not prefix, to store
451 temporary lang-f77 `flag' file.
453 Fri Jun 4 10:26:04 1999 Craig Burley <craig@jcb-sc.com>
455 * news.texi (News): Mention GCC 2.95 in favor of EGCS 1.2.
456 Mention that libg2c is multilibbed.
458 Fri Jun 4 10:09:50 1999 Craig Burley <craig@jcb-sc.com>
460 * g77.texi (Missing Features): Add `Better Warnings'
463 Fri May 28 16:51:41 1999 Craig Burley <craig@jcb-sc.com>
465 * g77.texi: Fix thinko.
467 Wed May 26 14:43:27 1999 Craig Burley <craig@jcb-sc.com>
469 * news.texi: Document Tue May 18 03:52:04 1999 patch.
472 Wed May 26 14:25:07 1999 Craig Burley <craig@jcb-sc.com>
474 * g77.texi, news.texi, root.texi, version.c: Start renaming
475 EGCS 1.2 to GCC 2.95, and start using 0.5.25 to designate
476 the version of g77 within GCC 2.95.
478 Wed May 26 11:45:21 1999 Craig Burley <craig@jcb-sc.com>
480 Rename -fsubscript-check to -fbounds-check and
481 -ff2c-subscript-check to -ffortran-bounds-check:
482 * g77.texi: Rename options in docs, clarify usage.
483 * lang-options.h: Rename options, clarify doclets.
484 * news.texi: Rename options, don't bother with fortran-specific
486 * top.c (ffe_decode_option): Rename recognized strings.
488 Tue May 25 18:21:09 1999 Craig Burley <craig@jcb-sc.com>
490 * com.c (FFECOM_FASTER_ARRAY_REFS): Delete this vestige,
491 now that -fflatten-arrays exists.
493 Tue May 25 17:48:34 1999 Craig Burley <craig@jcb-sc.com>
496 * com.c (ffecom_arg_ptr_to_expr): Strip off parens around
497 CHARACTER expression.
498 (ffecom_prepare_expr_): Ditto.
500 Tue May 18 03:52:04 1999 Craig Burley <craig@jcb-sc.com>
502 Support use of back end's improved open-coding of complex divide:
503 * com.c (ffecom_tree_divide_): Use RDIV_EXPR for complex divide,
504 instead of run-time call to [cz]_div, if `-Os' option specified.
505 (lang_init_options): Tell back end we want support for wide range
506 of inputs to complex divide.
510 Tue May 18 00:21:34 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
512 * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
515 Thu May 13 12:23:20 1999 Craig Burley <craig@jcb-sc.com>
517 Fix INTEGER*8 subscripts in array references:
518 * com.c (ffecom_subscript_check_): Convert low, high, and
519 element as necessary to make comparison work.
520 (ffecom_arrayref_): Do more of the work.
521 Properly handle subscript expr that's wider than int,
522 if pointers are wider than int.
523 (ffecom_expr_): Leave more work to ffecom_arrayref_.
524 (ffecom_init_0): Record sizes of pointers and ints for
526 Use set_sizetype etc. as done by gcc front end.
527 (ffecom_ptr_to_expr): Leave more work to ffecom_arrayref_.
528 * expr.c (ffeexpr_finished_): Don't convert INTEGER subscript
529 expressions in run-time contexts.
530 (ffeexpr_token_elements_, ffeexpr_token_substring_1_): Cope with
531 non-default INTEGER subscript expressions.
532 * news.texi: Announce.
534 Finish accepting -fflatten-arrays option:
535 * com.c (ffecom_arrayref_): Flatten references if requested.
536 * g77.texi: Describe.
537 * lang-options.h: Allow.
538 * news.texi: Announce.
539 * top.c, top.h: Recognize.
541 * version.c: Bump version.
543 Wed May 12 07:30:05 1999 Craig Burley <craig@jcb-sc.com>
545 * com.c (lang_init_options): Disable back end's maintenance
547 * news.texi: Document dropping of errno.
549 1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
551 * lang-specs.h: Pass -$ to the preprocessor.
553 Mon May 10 18:14:28 1999 Craig Burley <craig@jcb-sc.com>
555 * g77.texi: Fix various @xref's per proper style.
556 Go ahead and use nested braces in @xref's, with care.
557 * g77install.texi: Fix @xref per proper style.
559 Mon May 10 17:38:39 1999 Craig Burley <craig@jcb-sc.com>
561 * news.texi: Doc upgrade to netlib libf2c as of today.
563 Sun May 9 18:52:13 1999 Hans-Peter Nilsson <hp@bitrange.com>
565 * f/g77spec.c (lang_specific_driver): Correct bug-report address
566 and point to the FAQ.
568 Thu May 6 12:40:21 1999 Craig Burley <craig@jcb-sc.com>
570 * g77.texi (Arbitrary Concatenation): Put this under
571 "Missing Features" instead of "Projects".
572 (Internals Documentation): Point to new "Front End" chapter.
574 Thu May 6 08:23:52 1999 Craig Burley <craig@jcb-sc.com>
576 * bugs.texi, news.texi: Automatic arrays reportedly working
579 Thu May 6 08:19:31 1999 Craig Burley <craig@jcb-sc.com>
581 * g77.texi (Advantages Over f2c): Expand on this topic.
583 Mon May 3 19:41:48 1999 Craig Burley <craig@jcb-sc.com>
585 * com.c (ffecom_expr_intrinsic_): Fix test of CTIME_subr.
587 Mon May 3 18:11:48 1999 Craig Burley <craig@jcb-sc.com>
589 Reverse order of two arguments to CTIME_subr, DTIME_subr,
590 ETIME_subr, and TTYNAM_subr:
591 * com.c (ffecom_expr_intrinsic_): Reverse the arguments.
592 While at it, set TREE_SIDE_EFFECTS for CTIME_subr and
594 * intdoc.in: Document the new calling sequences.
595 * intrin.def: Reverse the arguments.
596 * news.texi: Document the fact that they changed.
597 * version.c: Bump version.
599 Mon May 3 11:28:14 1999 Craig Burley <craig@jcb-sc.com>
601 * news.texi: Doc upgrade to netlib libf2c as of today.
603 Sun May 2 17:04:28 1999 Craig Burley <craig@jcb-sc.com>
605 * version.c: Bump version.
607 Sun May 2 16:53:01 1999 Craig Burley <craig@jcb-sc.com>
609 Fix compile/19990502-1.f:
610 * ste.c (ffeste_R819B): Don't overwrite tree for temp
611 variable when expanding the assignment into it.
613 Sun Apr 25 20:55:10 1999 Craig Burley <craig@jcb-sc.com>
615 Fix 19990325-0.f and 19990325-1.f:
616 * com.c (ffecom_possible_partial_overlap_): New function.
617 (ffecom_expand_let_stmt): Use it to determine whether to assign
618 to a COMPLEX operand through a temp.
619 * news.texi: Document fix.
621 * version.c: Bump version.
623 Sat Apr 24 12:19:53 1999 Craig Burley <craig@jcb-sc.com>
625 * expr.c (ffeexpr_finished_): Convert DATA implied-do
626 start/end/incr expressions to default INTEGER.
627 Fix some broken conditionals.
628 Clean up some code in the region.
629 * news.c: Document the fix.
631 * version.c: Bump version.
633 Fri Apr 23 02:08:32 1999 Craig Burley <craig@jcb-sc.com>
635 * g77.texi (Compiler Prototypes): Replace "missing" subscript-
636 checking option with something else.
638 Fri Apr 23 01:48:28 1999 Craig Burley <craig@jcb-sc.com>
640 Support new -fsubscript-check and -ff2c-subscript-check options:
641 * com-rt.def (FFECOM_gfrtRANGE): Describe s_rnge, in libf2c/libF77.
642 * com.c (ffecom_subscript_check_, ffecom_arrayref_): New functions.
643 (ffecom_char_args_x_): Use new ffecom_arrayref_ function for
644 FFEBLD_opARRAYREF case.
645 Compute character name, array type, and use new
646 ffecom_subscript_check_ function for FFEBLD_opSUBSTRING case.
647 (ffecom_expr_): Use new ffecom_arrayref_ function.
648 (ffecom_ptr_to_expr): Use new ffecom_arrayref_ function.
649 * g77.texi, news.texi: Document new options.
650 * top.c, top.h: Support new options.
652 * news.texi: Fix up some items to not be in "User-Visible Changes".
654 * ste.c (ffeste_R819B): Fix type for loop variable, to avoid
657 * version.c: Bump version.
659 Tue Apr 20 01:38:57 1999 Craig Burley <craig@jcb-sc.com>
661 * bugs.texi, news.texi: Clarify -malign-double situation.
663 Tue Apr 20 01:15:25 1999 Craig Burley <craig@jcb-sc.com>
665 * stb.c (ffestb_R5282_): Convert DATA repeat count
666 to default INTEGER, to avoid problems downstream.
668 * version.c: Bump version.
670 Mon Apr 19 21:36:48 1999 Craig Burley <craig@jcb-sc.com>
672 * ste.c (ffeste_R819B): Start the loop before expanding
673 the termination expression.
675 * version.c: Bump version.
677 Sun Apr 18 21:53:58 1999 Craig Burley <craig@jcb-sc.com>
679 * com.c (ffecom_sym_transform_): COMMON and EQUIVALENCE
680 variables have constant addresses (EQUIVALENCE only if
681 containing aggregate is static).
683 Sat Apr 17 16:55:59 1999 Craig Burley <craig@jcb-sc.com>
685 * bugs.texi, ffe.texi, g77.texi, g77install.texi, news.texi:
686 Clean up @code{} vs. @samp{}.
687 Clean up dashes (`--') vs. @minus{} vs. `---'.
689 * ffe.texi: Add copyright header.
691 * g77.texi, lang-options.h, news.texi, top.c (ffe_decode_option):
692 Remove support for -fugly option.
693 Clarify that -fugly-logint is needed instead of -fugly
694 to work around using .EQ./.NE. on LOGICAL operands.
695 Explain more about why -fugly-logint is bad juju.
697 * g77.texi (Missing Features): Describe READONLY as a missing
698 feature. Describe AUTOMATIC better.
700 * news.texi: Mention libf2c upgrade.
702 Sat Apr 17 14:05:53 1999 Craig Burley <craig@jcb-sc.com>
704 Make a place for front-end internals documentation:
705 * Make-lang.in (f/g77.info, f/g77.dvi): Depend on f/ffe.texi.
706 * ffe.texi: New file, containing docs on front-end internals.
707 * g77.texi: New chapter for, and inclusion of, ffe.texi.
709 * g77.texi: Fix an index entry.
711 Sat Apr 17 13:53:43 1999 Craig Burley <craig@jcb-sc.com>
713 Rewrite to use block/scope structure of GBE and to ensure
714 variables (especially those going on stack/reg) are declared
715 before executable code generated:
716 * bld.c (ffebld_new_item, ffebld_new_one, ffebld_new_two):
718 * bld.h (ffebld_item_hook, ffebld_item_set_hook,
719 ffebld_nonter_hook, ffebld_nonter_set_hook): Ditto.
720 * bld.h (ffebld_basictype, ffebld_kind, ffebld_kindtype,
721 ffebld_rank, ffebld_where): New convenience macros (used
722 by rest of this patch).
723 * com.c, com.h (ffecom_push_calltemps, ffecom_pop_calltemps,
724 ffecom_push_tempvar, ffecom_pop_tempvar): Remove temp-var-
726 * com.c (ffecom_call_, ffecom_call_binop_, ffecom_tree_divide_,
727 ffecom_call_gfrt): Support passing hooks for temp-var info.
728 (ffecom_expr_power_integer_): Takes opPOWER expression, instead
729 of its left and right operands, so it can get at the hook.
730 (ffecom_prepare_let_char_, ffecom_prepare_arg_ptr_to_expr,
731 ffecom_prepare_end, ffecom_prepare_expr_, ffecom_prepare_expr_rw,
732 ffecom_prepare_expr_w, ffecom_prepare_return_expr,
733 ffecom_prepare_ptr_to_expr): New functions supporting expression
735 (bison_rule_compstmt_): Return the tree, as in the CFE.
736 (delete_block): New function, from CFE.
737 (kept_level_p): New function, from CFE, modified.
738 (ffecom_start_compstmt, ffecom_end_compstmt): New functions,
739 replacing ffecom_start_compstmt_ and ffecom_end_compstmt_ macros,
740 and they do real work.
741 (struct binding_level): Add prep_state member. Initialize to 0.
742 (ffecom_get_invented_identifier): Now takes either or both a
743 string and an integer, using -1 to denote no integer.
744 (ffecom_do_entry_): Disallow temp-var generation via expressions
745 in body of function, since the exprs aren't prescanned.
746 (ffecom_expr_rw): Now takes destination tree.
747 (ffecom_expr_w): New function, now used in some places
748 ffecom_expr_rw had been used.
749 (ffecom_expr_intrinsic_): Move huge f2c-related comment to bottom
750 of source file, to avoid annoying problems editing com.c using
752 (ffecom_expr_power_integer_): Make a temp var for division, if
754 Handle expanded statement expression as does CFE.
755 (ffecom_start_progunit_): Disallow temp-var generation in body
756 of function, since expressions are not prescanned at this level.
757 (ffecom_sym_transform_): Transform ASSIGN variables as well,
758 so these are all transformed up front, before code-generation
760 (ffecom_arg_ptr_to_const_expr, ffecom_const_expr,
761 ffecom_ptr_to_const_expr): New functions to transform expressions
762 only if the results will surely be constants.
763 (ffecom_arg_ptr_to_expr): Precompute size, for convenience
765 (ffecom_expand_let_stmt): Guess at usability of destination
766 pre-expansion, to provide better prescan preparation (fewer
768 (ffecom_init_0): Disallow temp-var generation in global scope.
769 (ffecom_type_expr): New function, returns just the type tree
771 (start_function): Disallow temp-var generation in parm scope.
772 (incomplete_type_error): Fix introductory comment.
773 (poplevel): Update (somewhat) from CFE.
774 (pushlevel): Update (somewhat) from CFE.
775 * stc.c (ffestc_R838): Mark ASSIGNed variable as so.
776 * std.c (ffestd_stmt_pass_, ffestd_R803, ffestd_R804, ffestd_R805,
777 ffestd_R806): Remember and pass through the ffestw block info
778 for these (IFTHEN, ELSEIF, ELSE, and ENDIF) statements.
779 * ste.c (ffeste_end_iterdo_): Now takes ffestw block argument.
780 (ffeste_io_inlist_): Add prototype.
781 (ffeste_f2c_*): Macros rewritten, new ones added.
782 (ffeste_start_block_, ffeste_end_block_, ffeste_start_stmt_,
783 ffeste_end_stmt_): New macros/functions, depending on whether
784 checking is enabled, to keep track of symmetry of other ste.c code.
785 (ffeste_begin_iterdo_, ffeste_end_iterdo_, ffeste_io_impdo_,
786 ffeste_io_dofio_, ffeste_io_dolio_, ffeste_io_douio_,
787 ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
788 ffeste_icilist_, ffeste_io_inlist_, ffeste_io_olist_,
789 ffeste_subr_beru_, ffeste_do, ffeste_end_R807, ffeste_R737A,
790 ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806, ffeste_R807,
791 ffeste_R809, ffeste_R810, ffeste_R811, ffeste_R819A, ffeste_R819B,
792 ffeste_R837, ffeste_R838, ffeste_R839, ffeste_R840, ffeste_R904,
793 ffeste_R907, ffeste_R909_start, ffeste_R909_item, ffeste_R909_finish,
794 ffeste_R910_start, ffeste_R910_item, ffeste_R910_finish,
795 ffeste_R911_start, ffeste_R911_item, ffeste_R911_finish,
796 ffeste_R923A, ffeste_R1212, ffeste_R1227): Prescan/prepare
797 all pertinent expressions, update to new com.c interface, etc.
798 (ffeste_io_impdo_): Relocate.
799 (ffeste_R834, ffeste_R835, ffeste_R836, ffeste_R1226): Don't
800 bother calling clear_momentary, nothing was generated.
801 (ffeste_R842, ffeste_R843): Update to new com.c interface.
802 (ffeste_R1226): Don't try to stuff error_mark_node's DECL_INITIAL.
803 (ffeste_terminate_2): When checking enabled, make sure all blocks
804 and statements have been ended.
805 * ste.h (ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806):
806 These now take ffestw block argument.
807 (ffeste_terminate_2): When checking enabled, it's a function, not
809 * stw.h (struct _ffestw_): New variable for IFTHEN.
810 (ffestw_ifthen_fake_else, ffestw_set_ifthen_fake_else): New
812 * symbol.c, symbol.h: Support new ASSIGN'ed-to info.
814 * com.c: Clean up commentary per GNU coding standards.
816 * bld.h (ffebld_size, ffebld_size_known): Canonize.
818 * version.c: Bump version.
820 Sun Apr 11 21:33:33 1999 Mumit Khan <khan@xraylith.wisc.edu>
822 * g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
823 null to decide whether to use it.
825 Wed Apr 7 09:47:09 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
827 * ansify.c (die): Specify void argument.
829 * intdoc.c (family_name, dumpgen, dumpspec, dumpimp,
830 argument_info_ptr, argument_info_string, argument_name_ptr,
831 argument_name_string, elaborate_if_complex,
832 elaborate_if_maybe_complex, elaborate_if_real, print_type_string):
834 (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
835 (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
836 _ffeintrin_imp_, cc_pair, descriptions, summaries): Const-ify a char*.
838 Mon Apr 5 11:57:54 1999 Donn Terry (donn@interix.com)
840 * Make-lang.in (HOST_CFLAGS): compute dynamically.
842 Mon Apr 5 02:11:23 1999 Craig Burley <craig@jcb-sc.com>
844 Fix bugs exposed by configuring with --enable-checking:
845 * com.c (ffecom_do_entry_, ffecom_expr_, ffecom_arg_ptr_to_expr,
846 ffecom_list_expr, ffecom_list_ptr_to_expr, finish_function,
847 pop_f_function_context, store_parm_decls, poplevel): Handle
848 error_mark_node properly.
849 * ste.c (ffeste_begin_iterdo_, ffeste_end_iterdo_): Ditto.
850 * version.c: Bump version.
852 Sat Apr 3 23:57:56 1999 Craig Burley <craig@jcb-sc.com>
854 * g77.texi: Fix up docs for -fset-g77-defaults, and
855 describe how internal consistency checking now happens.
856 (Should have been done for EGCS version 1.1.)
858 Sat Apr 3 23:29:33 1999 Craig Burley <craig@jcb-sc.com>
860 * bugs.texi, g77.texi, lang-options.h, news.texi, top.c:
861 Make -fno-emulate-complex the default, as COMPLEX support
862 in the back end is now believed to be working.
864 * version.c: Bump version.
866 Fri Apr 2 13:33:16 1999 Craig Burley <craig@jcb-sc.com>
868 * g77.texi: -malign-double now works.
869 Give URL for alignment-testing package.
870 * news.texi: -malign-double now works.
872 Fri Apr 2 12:49:12 1999 Craig Burley <craig@jcb-sc.com>
874 * g77.texi (Funding GNU Fortran): Dude's got a web page.
877 Tue Mar 30 12:04:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
879 * sta.c (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
882 * sta.h (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
885 * stb.c (ffestb_local_u_): Likewise.
886 (ffestb_do, ffestb_dowhile, ffestb_else, ffestb_elsexyz,
887 ffestb_else3_, ffestb_endxyz, ffestb_goto, ffestb_let,
888 ffestb_type, ffestb_type1_, ffestb_varlist, ffestb_R423B,
889 ffestb_R522, ffestb_R528, ffestb_R542, ffestb_R834, ffestb_R835,
890 ffestb_R838, ffestb_R841, ffestb_R1102, ffestb_blockdata,
891 ffestb_R1212, ffestb_R1228, ffestb_V009, ffestb_module,
892 ffestb_R809, ffestb_R810, ffestb_R10014_, ffestb_R10015_,
893 ffestb_R10018_, ffestb_R1107, ffestb_R1202, ffestb_R12026_,
894 ffestb_S3P4, ffestb_V012, ffestb_V014, ffestb_V025, ffestb_V0255_,
895 ffestb_V020, ffestb_dimlist, ffestb_dummy, ffestb_R524,
896 ffestb_R547, ffestb_decl_chartype, ffestb_decl_dbltype,
897 ffestb_decl_gentype, ffestb_decl_recursive, ffestb_decl_entsp_2_,
898 ffestb_decl_func_, ffestb_V003, ffestb_V016, ffestb_V027,
899 ffestb_decl_R539): Likewise.
901 * stb.h (_ffestb_args_): Likewise.
903 * stc.c (ffestc_subr_binsrch_, ffestc_subr_is_present_,
904 ffestc_subr_speccmp_, ffestc_R904, ffestc_R907): Likewise.
906 * std.c (ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_,
907 ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_,
908 ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_1_,
909 ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
910 ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_): Likewise.
912 * ste.c (ffeste_begin_iterdo_, ffeste_subr_file_): Likewise.
914 * sts.c (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
915 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
917 * sts.h (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
918 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
920 * stt.c (ffestt_exprlist_drive, ffestt_implist_drive,
921 ffestt_tokenlist_drive): Add prototype arguments.
923 * stt.h (ffestt_exprlist_drive, ffestt_implist_drive,
924 ffestt_tokenlist_drive): Likewise.
926 * stu.c (ffestu_dummies_transition_): Likewise.
927 (ffestu_sym_end_transition): Const-ify a char*.
929 * stw.c (ffestw_display_state, ffestw_new, ffestw_pop): Add
932 * stw.h (ffestw_display_state, ffestw_new, ffestw_pop): Likewise.
934 * version.c (ffe_version_string): Const-ify a char*.
936 * version.h (ffe_version_string): Likewise.
938 Sat Mar 27 13:00:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
940 * bad.c (_ffebad_message_, ffebad_string_, ffebad_message_,
941 ffebad_bufputs_, ffebad_bufputs_, ffebad_start_, ffebad_string,
942 ffebad_finish): Const-ify a char*.
944 * bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
946 * bld.h (ffebld_op_string): Likewise.
948 * com.c (ffecom_arglist_expr_, ffecom_build_f2c_string_,
949 ffecom_debug_kludge_, ffecom_f2c_make_type_,
950 ffecom_get_appended_identifier_, ffecom_get_identifier_,
951 ffecom_gfrt_args_): Likewise.
952 (ffecom_convert_narrow_, ffecom_convert_widen_): Add prototype.
953 (builtin_function, ffecom_gfrt_name_, ffecom_gfrt_argstring_,
954 ffecom_arglist_expr_, ffecom_build_f2c_string_,
955 ffecom_debug_kludge_, ffecom_f2c_make_type_,
956 ffecom_get_appended_identifier_, ffecom_get_external_identifier_,
957 ffecom_get_identifier_, ffecom_decl_field,
958 ffecom_get_invented_identifier, lang_print_error_function,
959 skip_redundant_dir_prefix, read_name_map, print_containing_files):
961 (savestring): Remove, use `xstrdup' instead.
963 * com.h (ffecom_decl_field, ffecom_get_invented_identifier):
966 * data.c (ffebld, ffedata_gather_): Make explicitly static.
968 * expr.c (ffeexpr_isdigits_, ffeexpr_percent_,
969 ffeexpr_reduced_concatenate_, ffeexpr_nil_real_,
970 ffeexpr_nil_number_, ffeexpr_nil_number_period_,
971 ffeexpr_nil_number_real_, ffeexpr_token_real_,
972 ffeexpr_token_number_, ffeexpr_token_number_period_,
973 ffeexpr_token_number_real_): Const-ify a char*.
975 * fini.c (xspaces): Likewise.
977 * global.c (ffeglobal_type_string_): Likewise.
978 (ffeglobal_drive): Protoize.
979 (ffeglobal_proc_def_arg): Const-ify a char*.
981 * global.h (ffeglobal_drive): Protoize.
982 (ffeglobal_proc_def_arg): Const-ify a char*.
984 * implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
987 * implic.h (ffeimplic_peek_symbol_type): Likewise.
989 * info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_,
990 ffeinfo_kind_string_, ffeinfo_kindtype_string_,
991 ffeinfo_where_string_, ffeinfo_basictype_string,
992 ffeinfo_kind_message, ffeinfo_kind_string,
993 ffeinfo_kindtype_string, ffeinfo_where_string): Likewise.
995 * info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
996 ffeinfo_kind_string, ffeinfo_kindtype_string,
997 ffeinfo_where_string): Likewise.
999 * intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
1000 _ffeintrin_imp_, ffeintrin_check_, ffeintrin_cmp_name_,
1001 ffeintrin_fulfill_specific, ffeintrin_init_0,
1002 ffeintrin_is_actualarg, ffeintrin_is_intrinsic,
1003 ffeintrin_name_generic, ffeintrin_name_implementation,
1004 ffeintrin_name_specific): Likewise.
1006 * intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
1007 ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
1009 * lex.c (ffelex_type_string_, ffelex_token_new_character,
1010 ffelex_token_new_name, ffelex_token_new_names,
1011 ffelex_token_new_number): Likewise.
1013 * lex.h (ffelex_token_new_character, ffelex_token_new_name,
1014 ffelex_token_new_names, ffelex_token_new_number): Likewise.
1016 * malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
1017 malloc_new_zinpool_): Likewise.
1019 * malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
1020 malloc_pool_new): Likewise.
1022 * name.c (ffename_space_drive_global, ffename_space_drive_symbol):
1025 * name.h (ffename_space_drive_global, ffename_space_drive_symbol):
1028 * symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_,
1029 ffesymbol_attrs_string): Const-ify a char*.
1030 (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
1031 (ffesymbol_state_string): Const-ify a char*.
1033 * symbol.h (ffesymbol_attrs_string): Likewise.
1034 (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
1035 (ffesymbol_state_string): Const-ify a char*.
1037 * target.c (ffetarget_layout): Likewise.
1039 * target.h (ffetarget_layout): Likewise.
1041 1999-03-25 Zack Weinberg <zack@rabi.columbia.edu>
1043 * Make-lang.in: Remove all references to g77.o/g77.c.
1044 Link g77 from gcc.o.
1046 1999-03-21 Manfred Hollstein <manfred@s-direktnet.de>
1048 * Makefile.in (g77$(exeext)): Depend on intl.o. Link in intl.o.
1050 Wed Mar 17 11:39:44 1999 Craig Burley <craig@jcb-sc.com>
1052 * news.texi: Editorial fix.
1054 Mon Mar 15 17:12:07 1999 Craig Burley <craig@jcb-sc.com>
1056 * bugs.texi, g77.texi, news.texi: Editorial fixes.
1058 Sat Mar 13 17:51:55 1999 Craig Burley <craig@jcb-sc.com>
1060 Fix 19990313-0.f, 19990313-1.f, 19990313-2.f, 19990313-3.f:
1061 * bad.def (FFEBAD_NOCANDO): New error code for internal use only.
1062 * expr.c (ffeexpr_collapse_convert): If FFEBAD_NOCANDO returned
1063 by convertor, just return original expr.
1064 * target.h: Return FFEBAD_NOCANDO for (usually) 64-bit
1065 conversions that aren't yet working properly.
1066 * news.texi: Explain.
1068 * version.c: Bump version.
1070 Sat Mar 13 14:26:55 1999 Craig Burley <craig@jcb-sc.com>
1072 * RELEASE-PREP: New file, lists things to do for a release.
1074 * Make-lang.in, bugs.texi, bugs0.texi, g77.texi, g77install.texi,
1075 install0.texi, news.texi, news0.texi: Accommodate new doc
1077 Consolidate news items. Don't describe old news items in
1078 various generated docs.
1079 Don't describe FSF-g77 installation stuff in various EGCS-g77
1081 Move description of AUTOMATIC to more suitable location.
1082 * root.texi: New file for new doc architecture.
1084 Thu Mar 11 17:32:55 1999 Craig Burley <craig@jcb-sc.com>
1086 * g77.texi: Add AUTOMATIC to list of unsupported extensions.
1088 Sat Mar 6 02:28:35 1999 Craig Burley <craig@jcb-sc.com>
1090 Warn about non-Y2K-compliant intrinsics:
1091 * bad.def (FFEBAD_INTRINSIC_Y2KBAD): New diagnostic.
1092 * intrin.def (FFEINTRIN_impDATE, FFEINTRIN_impIDATE_vxt):
1093 Use new DEFIMPY macro to flag these as non-Y2K-compliant.
1094 * intdoc.c (DEFIMPY): Support new Y2K macro.
1095 * intrin.h (DEFIMPY): Ditto.
1096 * intrin.c (DEFIMPY): Ditto.
1097 (ffeintrin_fulfill_generic, ffeintrin_fulfill_specific):
1098 Warn about invocation of non-Y2K-compliant intrinsic.
1099 * com-rt.def (FFECOM_gfrtDATE, FFECOM_gfrtVXTIDATE):
1100 Rename external procedure names, to keep previously-
1101 compiled (sans-new-warnings) code from linking to
1103 * g77.texi: Document all this stuff.
1104 * news.texi: Spread the joy.
1105 * version.c: Bump version.
1107 Fri Mar 5 13:22:44 1999 Craig Burley <craig@jcb-sc.com>
1109 * news.texi: Relocate IDATE (VXT) fix: we put it in 1.1.2
1110 so describe it there, instead of under 1.2.
1112 Wed Mar 3 00:57:56 1999 Craig Burley <craig@jcb-sc.com>
1114 * news.texi: IDATE (VXT) fixed to return year as 0..99.
1116 Wed Mar 3 00:43:49 1999 Craig Burley <craig@jcb-sc.com>
1118 * g77.texi: Add remaining changes pending from Dave Love.
1120 Wed Mar 3 00:38:42 1999 Craig Burley <craig@jcb-sc.com>
1122 * bugs.texi, news.texi: Conditionalize cross-references
1123 on non-html processing, providing temporary HTML "links".
1125 * g77.texi: Fix up a reference.
1127 Wed Mar 3 00:12:31 1999 Craig Burley <craig@jcb-sc.com>
1129 * news.texi, bugs.texi: Delete fixed bugs, make one
1130 of them into the appropriate news item.
1132 Wed Mar 3 00:05:52 1999 Craig Burley <craig@jcb-sc.com>
1134 * news.texi: Copy over 1.1.2 news.
1136 1999-03-02 Craig Burley <craig@jcb-sc.com>
1138 * g77.texi (Bug Reporting): Clarify whether to use -E.
1139 Clarify other instructions.
1141 1999-02-27 Craig Burley <craig@jcb-sc.com>
1143 * lang-specs.h: Fix specs to pass `-ax' as well as `-a' option.
1145 1999-02-26 Craig Burley <craig@jcb-sc.com>
1147 * intdoc.in (STAT_func, STAT_subr,
1148 FSTAT_func, FSTAT_subr, LSTAT_func, LSTAT_subr):
1149 Properly order array elements. Specify N/A return values.
1151 1999-02-26 Craig Burley <craig@jcb-sc.com>
1153 * intdoc.in (DATE_AND_TIME): Explain that VALUES(7) holds
1154 seconds, and VALUES(8), therefore, milliseconds.
1156 1999-02-26 Craig Burley <craig@jcb-sc.com>
1158 * news.texi: Clarify IOSTAT= fix.
1160 1999-02-25 Richard Henderson <rth@cygnus.com>
1162 * lang-specs.h: Define __FAST_MATH__ when appropriate.
1164 1999-02-25 Craig Burley <craig@jcb-sc.com>
1166 * g77.texi: Clarify/index lack of run-time allocation for
1169 1999-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1171 * f/intdoc.in: Add missing `,' after cross references.
1173 1999-02-20 Craig Burley <craig@jcb-sc.com>
1175 * Make-lang.in (f77.install-common, f77.install-info,
1176 f77.install-man, f77.uninstall): Use `$(prefix)/lang-f77'
1177 instead of `lang-f77' for flag file, to be sure of a
1178 writable directory, and remove the flag file after each
1179 operation to keep things clean.
1181 1999-02-20 Craig Burley <craig@jcb-sc.com>
1183 * g77.texi: Properly attribute Priest document; clarify
1184 that it is in the .ps version of the Goldberg document.
1186 1999-02-19 Craig Burley <craig@jcb-sc.com>
1188 * bugs0.texi, bugs.texi, install0.texi, g77install.texi,
1189 news0.texi, news.texi: Update copyright dates.
1190 Clarify which files are source, which are derived,
1191 and remind maintainers where copyright dates are sourced.
1192 * BUGS, INSTALL, NEWS: Regenerated.
1194 1999-02-19 Craig Burley <craig@jcb-sc.com>
1196 * global.c (ffeglobal_ref_progunit_): Warn about a function
1197 definition that disagrees with the type of a previous reference.
1198 Improve commentary. Fix a couple of minor bugs. Clean up
1200 * news.texi: Spread the joy.
1202 1999-02-18 Craig Burley <craig@jcb-sc.com>
1204 * expr.c (ffeexpr_finished_): Disallow non-default INTEGER
1205 as argument for FILEINT and FILEASSOC as lhs.
1206 * news.texi: Document fix.
1209 1999-02-18 Craig Burley <craig@jcb-sc.com>
1211 * g77.texi: Clarify -fno-globals vs. -Wno-globals.
1213 1999-02-18 Craig Burley <craig@jcb-sc.com>
1215 * intdoc.in (LOG10): Fix typo.
1217 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
1219 * intdoc.in: Fix typo.
1221 1999-02-17 Craig Burley <craig@jcb-sc.com>
1223 * g77.texi, intdoc.in: Document Y2K and some other known
1225 * intrin.def (DTIME, FDATE): Fix capitalization of
1226 case-sensitive forms of these intrinsics' names.
1228 1999-02-17 Dave Love <fx@gnu.org>
1230 * intdoc.in: Say `common' logarithm for log10.
1232 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1234 * g77.texi: Add missing @ in email addresses.
1236 1999-02-15 Craig Burley <craig@jcb-sc.com>
1238 * *.*: Delete my (old) email address in most places, change it
1241 1999-02-14 Craig Burley <craig@jcb-sc.com>
1245 1999-02-14 Craig Burley <craig@jcb-sc.com>
1247 * version.c: Bump for 1998-10-02 change (forgot to do this
1250 1999-02-14 Craig Burley <craig@jcb-sc.com>
1252 * lang-specs.h, g77.1, g77.texi, news.texi: Recognize `.FOR'
1253 and `.FPP' as well as `.for' and `.fpp'.
1255 1999-02-14 Craig Burley <craig@jcb-sc.com>
1257 * intdoc.in (LOG10): Fix description.
1259 1999-02-14 Craig Burley <craig@jcb-sc.com>
1261 * news.texi: Mention fix for SIGNAL invocation circa egcs-1.1.
1263 1999-02-14 Craig Burley <craig@jcb-sc.com>
1265 * g77.texi, g77install.texi, bugs.texi, g77install.texi: Clean
1266 up and improve indexing, and some other areas of docs.
1268 1999-02-14 Craig Burley <craig@jcb-sc.com>
1270 * intdoc.in (MCLOCK8, TIME8): Warn about lower range on
1273 Sat Feb 6 18:02:17 1999 Jeffrey A Law (law@cygnus.com)
1275 * g77.texi: Update email addresses.
1277 Wed Feb 3 22:50:17 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1279 * Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
1280 mkstemp.o from libiberty.
1282 1999-02-01 Zack Weinberg <zack@rabi.columbia.edu>
1284 * top.c: Don't define ffe_is_ident_. Don't process
1286 * top.h: Remove declaration of ffe_is_ident_ and macros
1287 ffe_is_ident() and ffe_set_is_ident().
1288 * lex.c: Use flag_no_ident instead of ffe_is_ident().
1290 Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu>
1292 * lang-specs.h: Map -Qn to -fno-ident.
1294 Tue Jan 5 22:12:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1296 * Make-lang.in (g77.o): Depend on prefix.h.
1298 Fri Nov 27 13:10:32 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1300 * fini.c: Rename variable `spaces' to `xspaces' to avoid
1301 conflicting with function `spaces' from libiberty.
1303 * g77spec.c: Don't prototype libiberty functions.
1304 * malloc.c: Likewise.
1306 1998-11-20 Dave Love <d.love@dl.ac.uk>
1308 * g77.texi: Assorted minor changes.
1310 1998-11-19 Dave Love <d.love@dl.ac.uk>
1312 * bugs.texi: Formatting changes from Craig.
1314 * intdoc.in: Terminate some @xrefs with `,'.
1316 1998-11-19 Manfred Hollstein <manfred@s-direktnet.de>
1318 * Make-lang.in (mandir): Replace all uses of $(mandir) by $(man1dir).
1320 Mon Nov 9 23:15:39 1998 Jeffrey A Law (law@cygnus.com)
1322 * g77.texi, news.texi: Updates from Craig.
1324 Sun Nov 8 17:47:56 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1326 * Makefile.in (INCLUDES): Add "-I$(srcdir)/../../include".
1328 Sat Nov 7 15:58:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1330 * g77spec.c: Don't include gansidecl.h.
1331 * output.j: Likewise.
1333 1998-11-04 Dave Love <d.love@dl.ac.uk>
1335 * g77.texi: Small formatting/indexing fixes.
1337 Mon Oct 12 20:41:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339 * bad.c (ffebad_finish): Change type of variable `c' to unsigned
1340 char, change type of variable `s' to unsigned char *.
1342 * com.c (ffecom_symbol_null_): Add missing initializers.
1344 * fini.c (MAXNAMELEN): Undef it before defining.
1346 * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
1349 * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
1352 * lex.c (ffelex_splice_tokens): Change type of variable `p' to
1354 (ffelex_token_name_from_names): Cast the argument of
1355 `ffelex_is_firstnamechar' to (unsigned char).
1356 (ffelex_token_names_from_names): Likewise.
1357 (ffelex_token_new_name): Likewise.
1358 (ffelex_token_new_names): Likewise.
1360 * malloc.c (malloc_root_): Add missing initializer.
1362 * stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
1363 (ffestb_else) Likewise.
1364 (ffestb_else3_) Likewise.
1365 (ffestb_endxyz) Likewise.
1366 (ffestb_goto) Likewise.
1367 (ffestb_let) Likewise.
1368 (ffestb_varlist) Likewise.
1369 (ffestb_R522) Likewise.
1370 (ffestb_R528) Likewise.
1371 (ffestb_R834) Likewise.
1372 (ffestb_R835) Likewise.
1373 (ffestb_R838) Likewise.
1374 (ffestb_R1102) Likewise.
1375 (ffestb_blockdata) Likewise.
1376 (ffestb_R1212) Likewise.
1377 (ffestb_R810) Likewise.
1378 (ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
1380 (ffestb_V014): Change type of variable `p' to unsigned char *.
1381 (ffestb_dummy) Likewise.
1382 (ffestb_R524) Likewise.
1383 (ffestb_R547) Likewise.
1384 (ffestb_decl_chartype) Likewise.
1385 (ffestb_decl_dbltype) Likewise.
1386 (ffestb_decl_gentype) Likewise.
1387 (ffestb_decl_entsp_2_) Likewise.
1388 (ffestb_V027) Likewise.
1389 (ffestb_decl_R539) Likewise.
1391 * top.c (ffe_decode_option): Mark parameter `argc' with
1394 * where.c (ffewhere_unknown_line_): Add missing initializers.
1396 1998-10-02 Dave Love <d.love@dl.ac.uk>
1398 * com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1400 Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
1402 * lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
1403 HANDLE_GENERIC_PRAGMAS.
1405 Mon Sep 28 04:22:00 1998 Jeffrey A Law (law@cygnus.com)
1407 * news.texi: Update from Craig.
1409 1998-09-23 Dave Love <d.love@dl.ac.uk>
1411 * g77.texi: Additions about `/*', trailing comments and cpp.
1413 1998-09-18 Dave Love <d.love@dl.ac.uk>
1415 * g77.texi: Various additions and some small fixes.
1417 Thu Sep 10 14:55:44 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
1419 * Make-lang.in (f77.install-common): Add missing "else true;".
1421 1998-09-07 Dave Love <d.love@dl.ac.uk>
1423 * ChangeLog.egcs: Deleted. Entries merged here.
1425 1998-09-05 Dave Love <d.love@dl.ac.uk>
1427 * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
1428 (F771_LDFLAGS): Variable dispensed with.
1430 Fri Sep 4 19:53:34 1998 Craig Burley <burley@gnu.org>
1432 * intdoc.in: Minor editorial tweaks.
1434 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
1436 * lang-options.h: Convert to wrap option and doc string
1437 in a new macro invocation, FTNOPT, so the nearly identical
1438 list can be used in FSF-g77.
1440 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
1442 * Makefile.in (fini.o): Don't define USE_HCONFIG here.
1443 * fini.c: Define USE_HCONFIG here instead, so deps-kinda
1444 picks up correct dependency.
1446 * Makefile.in (proj-h.o): Fix dependencies list.
1448 Wed Sep 02 09:25:29 1998 Nick Clifton <nickc@cygnus.com>
1450 * lex.c (ffe_lex_hash): Change how HANDLE_PRAGMA and
1451 HANDLE_SYSV_PRAGMA would be called if they pragma parsing was
1452 enabled in this code.
1453 Generate warning messages if unknown pragmas are encountered.
1454 (pragma_getc): New function: retrieves characters from the
1455 input stream. Defined when HANDLE_PRAGMA is defined.
1456 (pragma_ungetc): New function: replaces characters back into the
1457 input stream. Defined when HANDLE_PRAGMA is defined.
1459 Tue Sep 1 10:00:21 1998 Craig Burley <burley@gnu.org>
1461 * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
1464 1998-08-23 Dave Love <d.love@dl.ac.uk>
1466 * g77.texi: Increment `version-g77' and fix a few typos.
1468 Tue Aug 18 21:41:31 1998 Jeffrey A Law (law@cygnus.com)
1470 * Make-lang.in: Add several "else true" clauses to deal with lame
1473 Tue Aug 11 08:12:14 1998 H.J. Lu (hjl@gnu.org)
1475 * Make-lang.in (g77.o): Touch lang-f77 before checking it.
1477 1998-08-09 Dave Love <d.love@dl.ac.uk>
1479 * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
1480 with explicit use of tex.
1481 (f77.mostlyclean): Remove TeX index files.
1483 * g77install.texi (Prerequisites): Kluge round TeX lossage with
1484 hyphen in @value in @code.
1486 Tue Aug 4 16:59:39 1998 Craig Burley <burley@gnu.org>
1488 * com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
1489 Allow conversion from pointer to same-sized integer,
1490 to fix invoking SIGNAL as a function.
1492 1998-07-26 Dave Love <d.love@dl.ac.uk>
1494 * BUGS, INSTALL, NEWS: Rebuilt.
1496 Sat Jul 25 17:23:55 1998 Craig Burley <burley@gnu.org>
1499 * stc.c (ffestc_R1229_start): Set info to ANY as well.
1501 Tue Jul 21 04:33:37 1998 Craig Burley <burley@gnu.org>
1503 * g77spec.c (lang_specific_driver): Return unmolested
1504 command line when --help seen.
1505 Comment out code that printed g77-specific --help info.
1507 Sat Jul 18 19:16:48 1998 Craig Burley <burley@gnu.org>
1509 * lang-options.h: Fix up doc strings.
1510 Remove the unimplemented -fdcp-intrinsics-* options.
1512 * str-1t.fin: Change mixed-case spelling of `GoTo' from
1515 Thu Jul 16 13:26:36 1998 Craig Burley <burley@gnu.org>
1517 * com.c (ffecom_finish_symbol_transform_): Revert change
1518 of 1998-05-23, as it was too aggressive, in that it
1519 prevented transformation of (used) functions before
1520 primary code generation.
1522 1998-07-15 Dave Love <d.love@dl.ac.uk>
1524 * intdoc.texi: Regenerated.
1526 Mon Jul 13 18:45:06 1998 Craig Burley <burley@gnu.org>
1528 * Make-lang.in (f77.rebuilt): Fix to depend on
1529 build-dir-based, not source-based, g77.info.
1531 * g77.texi: Merge docs with 0.5.24.
1532 * g77install.texi: Ditto.
1534 Mon Jul 13 18:02:29 1998 Craig Burley <burley@gnu.org>
1536 Cleanups vis-a-vis g77-0.5.24:
1537 * g77spec.c (lang_specific_driver): Tabify source.
1538 * top.c (ffe_decode_option): Use fixed macro to set
1539 internal-checking flag.
1540 * top.h (ffe_set_is_do_internal_checks): Fix macro.
1542 Mon Jul 13 17:33:44 1998 Craig Burley <burley@gnu.org>
1544 Cleanups vis-a-vis system.h cutover and g77-0.5.24:
1545 * Makefile.in (fini.o): Define USE_HCONFIG macro
1546 so source code doesn't have to.
1547 * fini.c: Don't define USE_HCONFIG here, since
1548 source code usually shouldn't care about this.
1549 * ansify.c: Include stddef.h only if we have it.
1553 Mon Jul 13 17:30:29 1998 Nick Clifton <nickc@cygnus.com>
1555 * lang-options.h: Format changed to work with --help support added
1558 Mon Jul 13 11:54:03 1998 Craig Burley <burley@gnu.org>
1560 * com.c (ffecom_push_tempvar): Replace kludge that
1561 munged back-end globals directly with proper calls
1562 to push_topmost_sequence and pop_topmost_sequence.
1564 1998-07-12 Dave Love <d.love@dl.ac.uk>
1566 * version.c: Bump version.
1568 Sat Jul 11 19:24:32 1998 Craig Burley <burley@gnu.org>
1571 * equiv.c (ffeequiv_offset_): Don't crash on various
1572 possible ANY operands.
1574 Sat Jul 11 18:24:37 1998 Craig Burley <burley@gnu.org>
1576 * com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
1577 for constant is non-zero.
1579 * com.c (__eprintf): Delete this function, it is obsolete.
1581 1998-07-09 Dave Love <d.love@dl.ac.uk>
1583 * intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.
1585 Thu Jul 9 00:45:59 1998 Craig Burley <burley@gnu.org>
1587 Fix debugging of CHARACTER*(*), etc., which requires
1588 emitting debug info on types like `ftnlen':
1589 * com.c (ffecom_start_progunit_): Don't bother
1590 resetting "invented" flag for identifier.
1591 (ffecom_transform_equiv_): Don't bother zeroing
1592 "ignored" flag for decl.
1593 (pushdecl): No longer set "ignored", "used", or
1594 "suppressed debug" flags for decls having "invented"
1597 1998-07-06 Mike Stump <mrs@wrs.com>
1599 * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
1602 1998-07-06 Dave Love <d.love@dl.ac.uk>
1604 * intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
1607 1998-07-05 Dave Love <d.love@dl.ac.uk>
1609 * intdoc.in: Add entry for DATE_AND_TIME.
1611 * intrin.def: Add implementation for DATE_AND_TIME. Make second
1612 and third args of SYSTEM_CLOCK optional.
1614 * com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
1616 * com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
1618 (FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.
1620 Wed Jul 1 11:19:13 1998 Craig Burley <burley@gnu.org>
1622 Fix 980701-1.f (which was producing "unaligned trap"
1623 on an Alpha running GNU/Linux, as predicted):
1624 * equiv.c (ffeequiv_layout_local_): Don't bother
1625 coping with pre-padding of entire area while building
1626 it; do that instead after the building is done, and
1627 do it by modifying only the modulo field. This covers
1628 the case of alignment stringency being increased without
1629 lowering the starting offset, unlike the previous changes,
1630 and even more elegantly than those.
1632 * target.c (ffetarget_align): Make sure alignments
1633 are non-zero, just in case.
1635 See ChangeLog.0 for earlier changes.
1638 add-log-time-format: current-time-string