1 2000-06-02 Richard Henderson <rth@cygnus.com>
3 * com.c (lang_get_alias_set): New.
5 2000-05-28 Toon Moene <toon@moene.indiv.nluug.nl>
7 * bugs.texi: Note that debugging information for
8 common block items is emitted now.
11 2000-05-18 Chris Demetriou <cgd@sibyte.com>
13 * com.h (FFECOM_f2cINTEGER, FFECOM_f2cLONGINT): Note that
14 these types correspond to built-in types now defined in
15 the C front end (for libf2c).
17 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
19 * top.c (ffe_decode_option): Update -Wall unused flags by calling
22 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
24 * com.c (ffecom_subscript_check_): Constify array_name
25 parameter. Clean up string bashing.
26 (ffecom_arrayref_, ffecom_char_args_x_): Constify array_name
28 (ffecom_do_entry_, ffecom_gen_sfuncdef_, ffecom_start_progunit_,
29 ffecom_sym_transform_, ffecom_sym_transform_assign_): Constify
31 (init_parse): Constify parameter and return value.
32 * lex.c: Include dwarfout.h instead of prototyping dwarfout_*
34 (ffelex_file_pop_, ffelex_file_push_): Constify filename parameter.
35 (ffelex_hash_, ffelex_include_): Constify local char *.
36 * std.c (ffestd_exec_end): Constify local char *.
37 * where.c (ffewhere_file_new): Constify filename parameter.
38 * where.h: Update prototypes.
40 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
42 * com.c (ffecom_overlap_): Set source_offset to
44 (ffecom_tree_canonize_ptr_): Use size_binop. Convert to
45 bitsizetype before multiplying by TYPE_SIZE.
46 (ffecom_tree_canonize_ref_) [case ARRAY_REF]: Break up offset
47 calculation. Convert to bitsizetype before multiplying by
50 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
52 * lex.c: Remove references to cccp.c.
53 * g77install.texi: Remove references to cexp.c/cexp.y.
55 2000-04-15 David Edelsohn <edelsohn@gnu.org>
57 * target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC
60 Wed Apr 12 15:15:26 2000 Mark Mitchell <mark@codesourcery.com>
62 * com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a
63 preprocessor constant.
64 (FFECOM_f2cLOGICAL): Likewise.
65 (FFECOM_f2cLONGINT): Likewise.
67 Wed Apr 5 17:46:39 2000 Mark Mitchell <mark@codesourcery.com>
69 * Makefile.in (GGC_H): Add varray.h.
71 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
73 * lang-specs.h: Pass -fno-show-column to the preprocessor.
75 2000-03-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
77 * com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
78 (ffecom_init_0): Likewise.
80 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
82 * com.c (ffecom_tree_canonize_ptr_): Use bitsize_zero_node.
83 (ffecom_tree_canonize_ref_): Likewise.
85 Mon Mar 20 15:49:40 2000 Jim Wilson <wilson@cygnus.com>
87 * f/target.h (FFETARGET_32bit_longs): New. Define for alpha, sparc64,
89 (ffetargetInteger1, ffetargetLogical1, ffetargetReal1, ffetargetReal2,
90 ffetarget_integerdefault_is_magical): Use FFETARGET_32bit_longs.
92 Fri Mar 10 00:43:55 2000 Jason Merrill <jason@casey.cygnus.com>
94 * com.c (ffecom_stabilize_aggregate_): Don't refer to TREE_RAISES.
96 Mon Mar 6 18:05:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
98 * com.c (ffecom_f2c_set_lio_code_): Use compare_tree_int.
99 (ffecom_sym_transform_, ffecom_transform_common_): Likewise.
100 (ffecom_transform_equiv_): Likewise.
102 Mon Mar 6 13:01:19 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
104 * ansify.c (die_unless): Don't use ANSI string concatenation.
105 (die): Mark with ATTRIBUTE_NORETURN.
107 Wed Mar 1 00:31:44 2000 Martin von Loewis <loewis@informatik.hu-berlin.de>
109 * com.c (current_function_decl): Move to toplev.c.
111 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
113 * com.c (ffecom_arrayref_): Convert args to size_binop to proper type.
114 (ffecom_tree_canonize_ptr_): Don't use size_binop for non-sizes.
115 (ffecom_tree_canonize_ref_): Likewise.
116 (type_for_mode): Handle TImode.
117 * ste.c (ffeste_io_dofio_, ffeste_io_douio_): Use TYPE_SIZE_UNIT.
118 (ffeste_io_ciclist_): Likewise.
120 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
122 * com.c (ffecom_type_permanent_copy_): Delete unused function.
123 (finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
125 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
127 * com.c (ffecom_sym_transform): Use DECL_SIZE_UNIT.
128 (ffecom_transform_common_, ffecom_transform_equiv_): Likewise.
129 (duplicate_decls): Likewise.
130 (ffecom_tree_canonize_ptr_): Delete extra arg to bitsize_int.
131 (finish_decl): Delete -Wlarger-than processing.
133 Fri Feb 18 13:19:34 2000 Martin von Loewis <loewis@informatik.hu-berlin.de>
135 * g77spec.c (lang_specific_driver): Use GCCBUGURL.
137 2000-02-17 Andy Vaught <andy@maxwell.la.asu.edu>
139 * com.c (ffecom_member_phase2_): Re-enable COMMON debug code.
140 (ffecom_finish_symbol_transform_): Likewise.
141 (ffecom_transform_common_): Call ffestorag_set_hook.
143 Wed Feb 16 11:09:38 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
145 * Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.
147 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
149 * lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to default spec.
151 Tue Feb 15 11:14:17 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
153 * g77spec.c: Don't declare `version_string'.
155 Sat Feb 5 23:27:25 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
157 * com.c (mark_tracker_head, mark_binding_level): Protoize.
159 * where.c (mark_ffewhere_head): Likewise.
161 Wed Jan 12 09:32:59 2000 Zack Weinberg <zack@wolery.cumb.org>
163 * lang-specs.h: Pass -lang-fortran to preprocessor.
165 Thu Dec 30 13:14:31 1999 Richard Henderson <rth@cygnus.com>
167 * stw.h (struct _ffestw_): Change type of uses_ to int.
169 Thu Dec 30 11:42:05 1999 Geoff Keating <geoffk@cygnus.com>
171 * com.c (ffecom_init_0): Make double_ftype_double,
172 float_ftype_float, ldouble_ftype_ldouble,
173 ffecom_tree_ptr_to_fun_type_void local.
174 (tracker_head): New static variable.
175 (mark_tracker_head): New, marker procedure for tracker_head.
176 (ffecom_save_tree_forever): New procedure.
177 (ffecom_init_zero_): Remove obstack use.
178 (ffecom_make_gfrt_): Remove obstack use.
179 (ffecom_sym_transform_): Remove obstack use, save appropriate trees.
180 (ffecom_transform_common_): Remove obstack use, save appropriate
182 (ffecom_type_namelist_): Remove obstack use, save appropriate
184 (ffecom_type_vardesc_): Remove obstack use, save appropriate trees.
185 (ffecom_lookup_label): Remove obstack use, save appropriate trees.
186 (duplicate_decls): Remove obstack use.
187 (finish_function): push & pop ggc context around
188 rest_of_compilation when building nested function.
189 (mark_binding_level): New function.
190 (init_decl_processing): Mark all the GC roots.
192 (lang_mark_tree): New function.
193 (lang_mark_false_label_stack): New trivial function.
194 * com.h (ffecom_save_tree_forever): Declare as external.
195 * lex.c (ffelex_hash_): Use GC to allocate the filename string
196 even when ffelex_kludge_flag_.
197 * ste.c (ffeste_io_ialist_): Register a static root.
198 (ffeste_io_inlist_): Likewise.
199 (ffeste_io_icilist_): Likewise.
200 (ffeste_io_cllist_): Likewise.
201 (ffeste_io_cilist_): Likewise.
202 (ffeste_io_olist_): Likewise.
203 * Makefile.in (OBJS): Don't use ggc-callbacks.o.
205 (GGC_H): New variable.
207 * where.c (ffewhere_head): New global.
208 (mark_ffewhere_head): New marker procedure for ffewhere_head.
209 (ffewhere_file_kill): Use GC to do memory management.
210 (ffewhere_file_new): Use GC to do memory management.
213 Wed Dec 29 19:29:26 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
215 * g77.texi (C Interfacing Tools): Fix an incorrect link.
217 1999-12-13 Jakub Jelinek <jakub@redhat.com>
219 * target.h: Handle sparc64 the same way as alpha.
221 Sun Nov 28 21:39:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
223 * com.c (ffecom_file_, ffecom_file, file_buf,
224 ffecom_open_include_): Constify a char*.
225 (ffecom_possible_partial_overlap_): Mark parameter `expr2' with
227 (ffecom_init_0): Use a fully prototyped cast in call to bsearch.
228 (lang_print_error_function): ANSI-fy.
230 * com.h (ffecom_file): Constify a char*.
232 * fini.c (main): Call return, not exit.
234 * g77spec.c (lang_specific_driver): Use non-const *in_argv in
237 * intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away
240 Sun Nov 28 21:15:29 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242 * com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.
244 (ffecom_char_enhance_arg_, ffecom_do_entry_,
245 ffecom_f2c_make_type_, ffecom_gen_sfuncdef_,
246 ffecom_start_progunit_, ffecom_start_progunit_,
247 ffecom_start_progunit_, ffecom_sym_transform_assign_,
248 ffecom_transform_equiv_, ffecom_transform_namelist_,
249 ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_,
250 ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label):
253 * com.h (ffecom_get_invented_identifier): Likewise.
255 * sts.c (ffests_printf): New function taking ellipses.
256 (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
257 ffests_printf_2Us): Delete.
261 * std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_,
262 ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_,
263 ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_,
264 ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
265 ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_,
266 ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'.
268 * ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
269 ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise.
271 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
272 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
274 * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
276 Tue Oct 26 01:32:19 1999 Mark Mitchell <mark@codesourcery.com>
278 * com.c (poplevel): Don't call remember_end_note.
280 Fri Oct 15 15:18:12 1999 Greg McGary <gkm@gnu.org>
282 * top.h (ffe_is_subscript_check_): Remove extern decl.
283 (ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
284 * top.c (ffe_is_subscript_check_): Remove global variable.
285 (ffe_decode_option): Remove "(no-)bounds-check" flag handling.
286 Set flag_bounds_check for "(no-)fortran-bounds-check".
288 (ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
289 (ffecom_char_args_x_): Ditto.
291 Sun Oct 10 08:40:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
293 * proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
294 __GNUC__ and __GNUC_MINOR__. Don't define BUILT_WITH_270. Define
295 macro UNUSED in terms of ATTRIBUTE_UNUSED.
297 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
299 * com.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
301 (builtin_function): No longer static. New arg CLASS. Arg
302 FUNCTION_CODE now of type int. All callers changed.
303 Set the builtin's DECL_BUILT_IN_CLASS.
305 Tue Sep 21 09:08:30 1999 Toon Moene <toon@moene.indiv.nluug.nl>
307 * g77spec.c (lang_specific_driver): Initialise return value.
309 Thu Sep 16 18:07:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
311 * bad.c (ffebad_finish): Use uppercase ctype macro from system.h.
313 * fini.c (main): Likewise.
315 * intrin.c (ffeintrin_init_0): Likewise.
317 * lex.c (ffelex_hash_): Likewise.
319 * src.c (ffesrc_init_1): Likewise.
321 Tue Sep 14 12:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
323 * g77spec.c (lang_specific_driver): Remove unnecessary argument in
324 call to function `fatal'.
326 Sun Sep 12 23:29:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
328 * Make-lang.in (g77spec.o): Depend on system.h and gcc.h.
330 * g77spec.c: Include gcc.h.
331 (g77_xargv): Constify.
332 (g77_fn): Add parameter prototypes.
333 (lookup_option, append_arg): Add static prototypes.
334 (g77_newargv): Constify.
335 (lookup_option, append_arg, lang_specific_driver): Constify a char*.
336 (lang_specific_driver): All calls to the function pointer
337 parameter now explicitly call `fatal'.
339 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
341 * com.h: Delete declarations for all tree nodes now moved to
343 * com.c: Delete their definitions.
344 (ffecom_init_0): Call build_common_tree_nodes and
345 build_common_tree_nodes_2 instead of building their nodes here.
346 Override their decisions for complex nodes.
348 Sat Sep 4 13:46:27 1999 Mark Mitchell <mark@codesourcery.com>
350 * Make-lang.in (f771): Depend on ggc-callbacks.o.
351 * Makefile.in (OBJS): Add ggc-callbacks.o.
354 Mon Aug 30 22:05:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
356 * com.c (language_string): Constify.
358 Mon Aug 30 20:29:30 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
360 * Makefile.in (LIBS, LIBDEPS): Link with & depend on libiberty.a.
361 Remove hacks for stuff which now comes from libiberty.
363 Sun Aug 29 09:47:45 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
365 * com.c (lang_printable_name): Constify a char*.
367 Wed Aug 25 01:21:06 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
369 * lang-specs.h: Pass cc1 spec to f771.
371 Mon Aug 9 19:44:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
373 * com.c (lang_print_error_function): Constify a char*.
374 (init_parse): Remove redundant prototype for `print_error_function'.
375 (lang_identify): Constify a char*.
377 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
379 * g77spec.c: Update URLS and mail addresses.
380 * root.texi: Update URLS and mail addresses.
382 1999-07-25 Richard Henderson <rth@cygnus.com>
384 * com.c (ptr_type_node, va_list_type_node): New.
385 (ffecom_init_0): Init and use ptr_type_node.
387 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
389 * root.texi: Update e-mail addresses to gcc.gnu.org.
390 * g77spec.c (lang_specific_driver): Updated URL with bug reporting
391 instructions to gcc.gnu.org. Removed e-mail address.
393 Sat Jul 17 11:28:43 1999 Craig Burley <craig@jcb-sc.com>
395 * root.texi, g77install.texi: Switchover to GCC terminology.
396 Also, FSF-G77 had been mistakenly set at some point.
398 Thu Jul 8 15:38:50 1999 Craig Burley <craig@jcb-sc.com>
400 * news.texi: Describe DATE intrinsic fix.
402 Mon Jun 28 21:44:19 1999 Craig Burley <craig@jcb-sc.com>
404 * version.c: Denote experimental version.
406 Mon Jun 28 10:43:11 1999 Craig Burley <craig@jcb-sc.com>
408 * com.c (ffecom_prepare_expr_): A COMPLEX intrinsic needs
409 a temp even if -fno-f2c.
411 * version.c: Bump version.
413 Mon Jun 28 21:31:35 1999 Craig Burley <craig@jcb-sc.com>
415 * bugs.texi, news.texi: Doc upgrade to netlib libf2c as of today.
416 Explain that this fixes the NAMELIST-read bug.
418 Fri Jun 25 11:06:32 1999 Craig Burley <craig@jcb-sc.com>
420 * bugs.texi: Describe K(5)=10*3 NAMELIST-read bug.
422 Mon Jun 21 12:40:17 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
424 * g77.texi: Update links.
426 Mon Jun 21 05:33:51 1999 Jeffrey A Law (law@cygnus.com)
428 * news.texi: Add missing @end ifclear.
430 Fri Jun 18 11:43:46 1999 Craig Burley <craig@jcb-sc.com>
432 * news.texi: Doc TtyNam fix.
434 Fri Jun 18 11:26:50 1999 Craig Burley <craig@jcb-sc.com>
436 * news.texi: New heading for development version.
437 Doc upgrade to netlib libf2c as of today.
439 Wed Jun 16 11:43:02 1999 Craig Burley <craig@jcb-sc.com>
441 * news.texi: Mention BACKSPACE fix to libg2c.
443 Mon Jun 7 08:42:40 1999 Craig Burley <craig@jcb-sc.com>
445 * Make-lang.in: Any target using libsubdir must depend
448 Sat Jun 5 23:50:36 1999 Craig Burley <craig@jcb-sc.com>
450 * g77.texi: Describe a few more missing features people
451 have emailed me about.
453 Sat Jun 5 17:03:23 1999 Craig Burley <craig@jcb-sc.com>
455 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
456 * g77.texi: Clean up fossil text vis-a-vis Intel CPUs.
458 Fri Jun 4 13:56:56 1999 Craig Burley <craig@jcb-sc.com>
460 * Make-lang.in: Use libsubdir, not prefix, to store
461 temporary lang-f77 `flag' file.
463 Fri Jun 4 10:26:04 1999 Craig Burley <craig@jcb-sc.com>
465 * news.texi (News): Mention GCC 2.95 in favor of EGCS 1.2.
466 Mention that libg2c is multilibbed.
468 Fri Jun 4 10:09:50 1999 Craig Burley <craig@jcb-sc.com>
470 * g77.texi (Missing Features): Add `Better Warnings'
473 Fri May 28 16:51:41 1999 Craig Burley <craig@jcb-sc.com>
475 * g77.texi: Fix thinko.
477 Wed May 26 14:43:27 1999 Craig Burley <craig@jcb-sc.com>
479 * news.texi: Document Tue May 18 03:52:04 1999 patch.
482 Wed May 26 14:25:07 1999 Craig Burley <craig@jcb-sc.com>
484 * g77.texi, news.texi, root.texi, version.c: Start renaming
485 EGCS 1.2 to GCC 2.95, and start using 0.5.25 to designate
486 the version of g77 within GCC 2.95.
488 Wed May 26 11:45:21 1999 Craig Burley <craig@jcb-sc.com>
490 Rename -fsubscript-check to -fbounds-check and
491 -ff2c-subscript-check to -ffortran-bounds-check:
492 * g77.texi: Rename options in docs, clarify usage.
493 * lang-options.h: Rename options, clarify doclets.
494 * news.texi: Rename options, don't bother with fortran-specific
496 * top.c (ffe_decode_option): Rename recognized strings.
498 Tue May 25 18:21:09 1999 Craig Burley <craig@jcb-sc.com>
500 * com.c (FFECOM_FASTER_ARRAY_REFS): Delete this vestige,
501 now that -fflatten-arrays exists.
503 Tue May 25 17:48:34 1999 Craig Burley <craig@jcb-sc.com>
506 * com.c (ffecom_arg_ptr_to_expr): Strip off parens around
507 CHARACTER expression.
508 (ffecom_prepare_expr_): Ditto.
510 Tue May 18 03:52:04 1999 Craig Burley <craig@jcb-sc.com>
512 Support use of back end's improved open-coding of complex divide:
513 * com.c (ffecom_tree_divide_): Use RDIV_EXPR for complex divide,
514 instead of run-time call to [cz]_div, if `-Os' option specified.
515 (lang_init_options): Tell back end we want support for wide range
516 of inputs to complex divide.
520 Tue May 18 00:21:34 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
522 * lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
525 Thu May 13 12:23:20 1999 Craig Burley <craig@jcb-sc.com>
527 Fix INTEGER*8 subscripts in array references:
528 * com.c (ffecom_subscript_check_): Convert low, high, and
529 element as necessary to make comparison work.
530 (ffecom_arrayref_): Do more of the work.
531 Properly handle subscript expr that's wider than int,
532 if pointers are wider than int.
533 (ffecom_expr_): Leave more work to ffecom_arrayref_.
534 (ffecom_init_0): Record sizes of pointers and ints for
536 Use set_sizetype etc. as done by gcc front end.
537 (ffecom_ptr_to_expr): Leave more work to ffecom_arrayref_.
538 * expr.c (ffeexpr_finished_): Don't convert INTEGER subscript
539 expressions in run-time contexts.
540 (ffeexpr_token_elements_, ffeexpr_token_substring_1_): Cope with
541 non-default INTEGER subscript expressions.
542 * news.texi: Announce.
544 Finish accepting -fflatten-arrays option:
545 * com.c (ffecom_arrayref_): Flatten references if requested.
546 * g77.texi: Describe.
547 * lang-options.h: Allow.
548 * news.texi: Announce.
549 * top.c, top.h: Recognize.
551 * version.c: Bump version.
553 Wed May 12 07:30:05 1999 Craig Burley <craig@jcb-sc.com>
555 * com.c (lang_init_options): Disable back end's maintenance
557 * news.texi: Document dropping of errno.
559 1999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
561 * lang-specs.h: Pass -$ to the preprocessor.
563 Mon May 10 18:14:28 1999 Craig Burley <craig@jcb-sc.com>
565 * g77.texi: Fix various @xref's per proper style.
566 Go ahead and use nested braces in @xref's, with care.
567 * g77install.texi: Fix @xref per proper style.
569 Mon May 10 17:38:39 1999 Craig Burley <craig@jcb-sc.com>
571 * news.texi: Doc upgrade to netlib libf2c as of today.
573 Sun May 9 18:52:13 1999 Hans-Peter Nilsson <hp@bitrange.com>
575 * f/g77spec.c (lang_specific_driver): Correct bug-report address
576 and point to the FAQ.
578 Thu May 6 12:40:21 1999 Craig Burley <craig@jcb-sc.com>
580 * g77.texi (Arbitrary Concatenation): Put this under
581 "Missing Features" instead of "Projects".
582 (Internals Documentation): Point to new "Front End" chapter.
584 Thu May 6 08:23:52 1999 Craig Burley <craig@jcb-sc.com>
586 * bugs.texi, news.texi: Automatic arrays reportedly working
589 Thu May 6 08:19:31 1999 Craig Burley <craig@jcb-sc.com>
591 * g77.texi (Advantages Over f2c): Expand on this topic.
593 Mon May 3 19:41:48 1999 Craig Burley <craig@jcb-sc.com>
595 * com.c (ffecom_expr_intrinsic_): Fix test of CTIME_subr.
597 Mon May 3 18:11:48 1999 Craig Burley <craig@jcb-sc.com>
599 Reverse order of two arguments to CTIME_subr, DTIME_subr,
600 ETIME_subr, and TTYNAM_subr:
601 * com.c (ffecom_expr_intrinsic_): Reverse the arguments.
602 While at it, set TREE_SIDE_EFFECTS for CTIME_subr and
604 * intdoc.in: Document the new calling sequences.
605 * intrin.def: Reverse the arguments.
606 * news.texi: Document the fact that they changed.
607 * version.c: Bump version.
609 Mon May 3 11:28:14 1999 Craig Burley <craig@jcb-sc.com>
611 * news.texi: Doc upgrade to netlib libf2c as of today.
613 Sun May 2 17:04:28 1999 Craig Burley <craig@jcb-sc.com>
615 * version.c: Bump version.
617 Sun May 2 16:53:01 1999 Craig Burley <craig@jcb-sc.com>
619 Fix compile/19990502-1.f:
620 * ste.c (ffeste_R819B): Don't overwrite tree for temp
621 variable when expanding the assignment into it.
623 Sun Apr 25 20:55:10 1999 Craig Burley <craig@jcb-sc.com>
625 Fix 19990325-0.f and 19990325-1.f:
626 * com.c (ffecom_possible_partial_overlap_): New function.
627 (ffecom_expand_let_stmt): Use it to determine whether to assign
628 to a COMPLEX operand through a temp.
629 * news.texi: Document fix.
631 * version.c: Bump version.
633 Sat Apr 24 12:19:53 1999 Craig Burley <craig@jcb-sc.com>
635 * expr.c (ffeexpr_finished_): Convert DATA implied-do
636 start/end/incr expressions to default INTEGER.
637 Fix some broken conditionals.
638 Clean up some code in the region.
639 * news.c: Document the fix.
641 * version.c: Bump version.
643 Fri Apr 23 02:08:32 1999 Craig Burley <craig@jcb-sc.com>
645 * g77.texi (Compiler Prototypes): Replace "missing" subscript-
646 checking option with something else.
648 Fri Apr 23 01:48:28 1999 Craig Burley <craig@jcb-sc.com>
650 Support new -fsubscript-check and -ff2c-subscript-check options:
651 * com-rt.def (FFECOM_gfrtRANGE): Describe s_rnge, in libf2c/libF77.
652 * com.c (ffecom_subscript_check_, ffecom_arrayref_): New functions.
653 (ffecom_char_args_x_): Use new ffecom_arrayref_ function for
654 FFEBLD_opARRAYREF case.
655 Compute character name, array type, and use new
656 ffecom_subscript_check_ function for FFEBLD_opSUBSTRING case.
657 (ffecom_expr_): Use new ffecom_arrayref_ function.
658 (ffecom_ptr_to_expr): Use new ffecom_arrayref_ function.
659 * g77.texi, news.texi: Document new options.
660 * top.c, top.h: Support new options.
662 * news.texi: Fix up some items to not be in "User-Visible Changes".
664 * ste.c (ffeste_R819B): Fix type for loop variable, to avoid
667 * version.c: Bump version.
669 Tue Apr 20 01:38:57 1999 Craig Burley <craig@jcb-sc.com>
671 * bugs.texi, news.texi: Clarify -malign-double situation.
673 Tue Apr 20 01:15:25 1999 Craig Burley <craig@jcb-sc.com>
675 * stb.c (ffestb_R5282_): Convert DATA repeat count
676 to default INTEGER, to avoid problems downstream.
678 * version.c: Bump version.
680 Mon Apr 19 21:36:48 1999 Craig Burley <craig@jcb-sc.com>
682 * ste.c (ffeste_R819B): Start the loop before expanding
683 the termination expression.
685 * version.c: Bump version.
687 Sun Apr 18 21:53:58 1999 Craig Burley <craig@jcb-sc.com>
689 * com.c (ffecom_sym_transform_): COMMON and EQUIVALENCE
690 variables have constant addresses (EQUIVALENCE only if
691 containing aggregate is static).
693 Sat Apr 17 16:55:59 1999 Craig Burley <craig@jcb-sc.com>
695 * bugs.texi, ffe.texi, g77.texi, g77install.texi, news.texi:
696 Clean up @code{} vs. @samp{}.
697 Clean up dashes (`--') vs. @minus{} vs. `---'.
699 * ffe.texi: Add copyright header.
701 * g77.texi, lang-options.h, news.texi, top.c (ffe_decode_option):
702 Remove support for -fugly option.
703 Clarify that -fugly-logint is needed instead of -fugly
704 to work around using .EQ./.NE. on LOGICAL operands.
705 Explain more about why -fugly-logint is bad juju.
707 * g77.texi (Missing Features): Describe READONLY as a missing
708 feature. Describe AUTOMATIC better.
710 * news.texi: Mention libf2c upgrade.
712 Sat Apr 17 14:05:53 1999 Craig Burley <craig@jcb-sc.com>
714 Make a place for front-end internals documentation:
715 * Make-lang.in (f/g77.info, f/g77.dvi): Depend on f/ffe.texi.
716 * ffe.texi: New file, containing docs on front-end internals.
717 * g77.texi: New chapter for, and inclusion of, ffe.texi.
719 * g77.texi: Fix an index entry.
721 Sat Apr 17 13:53:43 1999 Craig Burley <craig@jcb-sc.com>
723 Rewrite to use block/scope structure of GBE and to ensure
724 variables (especially those going on stack/reg) are declared
725 before executable code generated:
726 * bld.c (ffebld_new_item, ffebld_new_one, ffebld_new_two):
728 * bld.h (ffebld_item_hook, ffebld_item_set_hook,
729 ffebld_nonter_hook, ffebld_nonter_set_hook): Ditto.
730 * bld.h (ffebld_basictype, ffebld_kind, ffebld_kindtype,
731 ffebld_rank, ffebld_where): New convenience macros (used
732 by rest of this patch).
733 * com.c, com.h (ffecom_push_calltemps, ffecom_pop_calltemps,
734 ffecom_push_tempvar, ffecom_pop_tempvar): Remove temp-var-
736 * com.c (ffecom_call_, ffecom_call_binop_, ffecom_tree_divide_,
737 ffecom_call_gfrt): Support passing hooks for temp-var info.
738 (ffecom_expr_power_integer_): Takes opPOWER expression, instead
739 of its left and right operands, so it can get at the hook.
740 (ffecom_prepare_let_char_, ffecom_prepare_arg_ptr_to_expr,
741 ffecom_prepare_end, ffecom_prepare_expr_, ffecom_prepare_expr_rw,
742 ffecom_prepare_expr_w, ffecom_prepare_return_expr,
743 ffecom_prepare_ptr_to_expr): New functions supporting expression
745 (bison_rule_compstmt_): Return the tree, as in the CFE.
746 (delete_block): New function, from CFE.
747 (kept_level_p): New function, from CFE, modified.
748 (ffecom_start_compstmt, ffecom_end_compstmt): New functions,
749 replacing ffecom_start_compstmt_ and ffecom_end_compstmt_ macros,
750 and they do real work.
751 (struct binding_level): Add prep_state member. Initialize to 0.
752 (ffecom_get_invented_identifier): Now takes either or both a
753 string and an integer, using -1 to denote no integer.
754 (ffecom_do_entry_): Disallow temp-var generation via expressions
755 in body of function, since the exprs aren't prescanned.
756 (ffecom_expr_rw): Now takes destination tree.
757 (ffecom_expr_w): New function, now used in some places
758 ffecom_expr_rw had been used.
759 (ffecom_expr_intrinsic_): Move huge f2c-related comment to bottom
760 of source file, to avoid annoying problems editing com.c using
762 (ffecom_expr_power_integer_): Make a temp var for division, if
764 Handle expanded statement expression as does CFE.
765 (ffecom_start_progunit_): Disallow temp-var generation in body
766 of function, since expressions are not prescanned at this level.
767 (ffecom_sym_transform_): Transform ASSIGN variables as well,
768 so these are all transformed up front, before code-generation
770 (ffecom_arg_ptr_to_const_expr, ffecom_const_expr,
771 ffecom_ptr_to_const_expr): New functions to transform expressions
772 only if the results will surely be constants.
773 (ffecom_arg_ptr_to_expr): Precompute size, for convenience
775 (ffecom_expand_let_stmt): Guess at usability of destination
776 pre-expansion, to provide better prescan preparation (fewer
778 (ffecom_init_0): Disallow temp-var generation in global scope.
779 (ffecom_type_expr): New function, returns just the type tree
781 (start_function): Disallow temp-var generation in parm scope.
782 (incomplete_type_error): Fix introductory comment.
783 (poplevel): Update (somewhat) from CFE.
784 (pushlevel): Update (somewhat) from CFE.
785 * stc.c (ffestc_R838): Mark ASSIGNed variable as so.
786 * std.c (ffestd_stmt_pass_, ffestd_R803, ffestd_R804, ffestd_R805,
787 ffestd_R806): Remember and pass through the ffestw block info
788 for these (IFTHEN, ELSEIF, ELSE, and ENDIF) statements.
789 * ste.c (ffeste_end_iterdo_): Now takes ffestw block argument.
790 (ffeste_io_inlist_): Add prototype.
791 (ffeste_f2c_*): Macros rewritten, new ones added.
792 (ffeste_start_block_, ffeste_end_block_, ffeste_start_stmt_,
793 ffeste_end_stmt_): New macros/functions, depending on whether
794 checking is enabled, to keep track of symmetry of other ste.c code.
795 (ffeste_begin_iterdo_, ffeste_end_iterdo_, ffeste_io_impdo_,
796 ffeste_io_dofio_, ffeste_io_dolio_, ffeste_io_douio_,
797 ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
798 ffeste_icilist_, ffeste_io_inlist_, ffeste_io_olist_,
799 ffeste_subr_beru_, ffeste_do, ffeste_end_R807, ffeste_R737A,
800 ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806, ffeste_R807,
801 ffeste_R809, ffeste_R810, ffeste_R811, ffeste_R819A, ffeste_R819B,
802 ffeste_R837, ffeste_R838, ffeste_R839, ffeste_R840, ffeste_R904,
803 ffeste_R907, ffeste_R909_start, ffeste_R909_item, ffeste_R909_finish,
804 ffeste_R910_start, ffeste_R910_item, ffeste_R910_finish,
805 ffeste_R911_start, ffeste_R911_item, ffeste_R911_finish,
806 ffeste_R923A, ffeste_R1212, ffeste_R1227): Prescan/prepare
807 all pertinent expressions, update to new com.c interface, etc.
808 (ffeste_io_impdo_): Relocate.
809 (ffeste_R834, ffeste_R835, ffeste_R836, ffeste_R1226): Don't
810 bother calling clear_momentary, nothing was generated.
811 (ffeste_R842, ffeste_R843): Update to new com.c interface.
812 (ffeste_R1226): Don't try to stuff error_mark_node's DECL_INITIAL.
813 (ffeste_terminate_2): When checking enabled, make sure all blocks
814 and statements have been ended.
815 * ste.h (ffeste_R803, ffeste_R804, ffeste_R805, ffeste_R806):
816 These now take ffestw block argument.
817 (ffeste_terminate_2): When checking enabled, it's a function, not
819 * stw.h (struct _ffestw_): New variable for IFTHEN.
820 (ffestw_ifthen_fake_else, ffestw_set_ifthen_fake_else): New
822 * symbol.c, symbol.h: Support new ASSIGN'ed-to info.
824 * com.c: Clean up commentary per GNU coding standards.
826 * bld.h (ffebld_size, ffebld_size_known): Canonize.
828 * version.c: Bump version.
830 Sun Apr 11 21:33:33 1999 Mumit Khan <khan@xraylith.wisc.edu>
832 * g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
833 null to decide whether to use it.
835 Wed Apr 7 09:47:09 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
837 * ansify.c (die): Specify void argument.
839 * intdoc.c (family_name, dumpgen, dumpspec, dumpimp,
840 argument_info_ptr, argument_info_string, argument_name_ptr,
841 argument_name_string, elaborate_if_complex,
842 elaborate_if_maybe_complex, elaborate_if_real, print_type_string):
844 (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
845 (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
846 _ffeintrin_imp_, cc_pair, descriptions, summaries): Const-ify a char*.
848 Mon Apr 5 11:57:54 1999 Donn Terry (donn@interix.com)
850 * Make-lang.in (HOST_CFLAGS): compute dynamically.
852 Mon Apr 5 02:11:23 1999 Craig Burley <craig@jcb-sc.com>
854 Fix bugs exposed by configuring with --enable-checking:
855 * com.c (ffecom_do_entry_, ffecom_expr_, ffecom_arg_ptr_to_expr,
856 ffecom_list_expr, ffecom_list_ptr_to_expr, finish_function,
857 pop_f_function_context, store_parm_decls, poplevel): Handle
858 error_mark_node properly.
859 * ste.c (ffeste_begin_iterdo_, ffeste_end_iterdo_): Ditto.
860 * version.c: Bump version.
862 Sat Apr 3 23:57:56 1999 Craig Burley <craig@jcb-sc.com>
864 * g77.texi: Fix up docs for -fset-g77-defaults, and
865 describe how internal consistency checking now happens.
866 (Should have been done for EGCS version 1.1.)
868 Sat Apr 3 23:29:33 1999 Craig Burley <craig@jcb-sc.com>
870 * bugs.texi, g77.texi, lang-options.h, news.texi, top.c:
871 Make -fno-emulate-complex the default, as COMPLEX support
872 in the back end is now believed to be working.
874 * version.c: Bump version.
876 Fri Apr 2 13:33:16 1999 Craig Burley <craig@jcb-sc.com>
878 * g77.texi: -malign-double now works.
879 Give URL for alignment-testing package.
880 * news.texi: -malign-double now works.
882 Fri Apr 2 12:49:12 1999 Craig Burley <craig@jcb-sc.com>
884 * g77.texi (Funding GNU Fortran): Dude's got a web page.
887 Tue Mar 30 12:04:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
889 * sta.c (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
892 * sta.h (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
895 * stb.c (ffestb_local_u_): Likewise.
896 (ffestb_do, ffestb_dowhile, ffestb_else, ffestb_elsexyz,
897 ffestb_else3_, ffestb_endxyz, ffestb_goto, ffestb_let,
898 ffestb_type, ffestb_type1_, ffestb_varlist, ffestb_R423B,
899 ffestb_R522, ffestb_R528, ffestb_R542, ffestb_R834, ffestb_R835,
900 ffestb_R838, ffestb_R841, ffestb_R1102, ffestb_blockdata,
901 ffestb_R1212, ffestb_R1228, ffestb_V009, ffestb_module,
902 ffestb_R809, ffestb_R810, ffestb_R10014_, ffestb_R10015_,
903 ffestb_R10018_, ffestb_R1107, ffestb_R1202, ffestb_R12026_,
904 ffestb_S3P4, ffestb_V012, ffestb_V014, ffestb_V025, ffestb_V0255_,
905 ffestb_V020, ffestb_dimlist, ffestb_dummy, ffestb_R524,
906 ffestb_R547, ffestb_decl_chartype, ffestb_decl_dbltype,
907 ffestb_decl_gentype, ffestb_decl_recursive, ffestb_decl_entsp_2_,
908 ffestb_decl_func_, ffestb_V003, ffestb_V016, ffestb_V027,
909 ffestb_decl_R539): Likewise.
911 * stb.h (_ffestb_args_): Likewise.
913 * stc.c (ffestc_subr_binsrch_, ffestc_subr_is_present_,
914 ffestc_subr_speccmp_, ffestc_R904, ffestc_R907): Likewise.
916 * std.c (ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_,
917 ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_,
918 ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_1_,
919 ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
920 ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_): Likewise.
922 * ste.c (ffeste_begin_iterdo_, ffeste_subr_file_): Likewise.
924 * sts.c (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
925 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
927 * sts.h (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
928 ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
930 * stt.c (ffestt_exprlist_drive, ffestt_implist_drive,
931 ffestt_tokenlist_drive): Add prototype arguments.
933 * stt.h (ffestt_exprlist_drive, ffestt_implist_drive,
934 ffestt_tokenlist_drive): Likewise.
936 * stu.c (ffestu_dummies_transition_): Likewise.
937 (ffestu_sym_end_transition): Const-ify a char*.
939 * stw.c (ffestw_display_state, ffestw_new, ffestw_pop): Add
942 * stw.h (ffestw_display_state, ffestw_new, ffestw_pop): Likewise.
944 * version.c (ffe_version_string): Const-ify a char*.
946 * version.h (ffe_version_string): Likewise.
948 Sat Mar 27 13:00:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
950 * bad.c (_ffebad_message_, ffebad_string_, ffebad_message_,
951 ffebad_bufputs_, ffebad_bufputs_, ffebad_start_, ffebad_string,
952 ffebad_finish): Const-ify a char*.
954 * bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
956 * bld.h (ffebld_op_string): Likewise.
958 * com.c (ffecom_arglist_expr_, ffecom_build_f2c_string_,
959 ffecom_debug_kludge_, ffecom_f2c_make_type_,
960 ffecom_get_appended_identifier_, ffecom_get_identifier_,
961 ffecom_gfrt_args_): Likewise.
962 (ffecom_convert_narrow_, ffecom_convert_widen_): Add prototype.
963 (builtin_function, ffecom_gfrt_name_, ffecom_gfrt_argstring_,
964 ffecom_arglist_expr_, ffecom_build_f2c_string_,
965 ffecom_debug_kludge_, ffecom_f2c_make_type_,
966 ffecom_get_appended_identifier_, ffecom_get_external_identifier_,
967 ffecom_get_identifier_, ffecom_decl_field,
968 ffecom_get_invented_identifier, lang_print_error_function,
969 skip_redundant_dir_prefix, read_name_map, print_containing_files):
971 (savestring): Remove, use `xstrdup' instead.
973 * com.h (ffecom_decl_field, ffecom_get_invented_identifier):
976 * data.c (ffebld, ffedata_gather_): Make explicitly static.
978 * expr.c (ffeexpr_isdigits_, ffeexpr_percent_,
979 ffeexpr_reduced_concatenate_, ffeexpr_nil_real_,
980 ffeexpr_nil_number_, ffeexpr_nil_number_period_,
981 ffeexpr_nil_number_real_, ffeexpr_token_real_,
982 ffeexpr_token_number_, ffeexpr_token_number_period_,
983 ffeexpr_token_number_real_): Const-ify a char*.
985 * fini.c (xspaces): Likewise.
987 * global.c (ffeglobal_type_string_): Likewise.
988 (ffeglobal_drive): Protoize.
989 (ffeglobal_proc_def_arg): Const-ify a char*.
991 * global.h (ffeglobal_drive): Protoize.
992 (ffeglobal_proc_def_arg): Const-ify a char*.
994 * implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
997 * implic.h (ffeimplic_peek_symbol_type): Likewise.
999 * info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_,
1000 ffeinfo_kind_string_, ffeinfo_kindtype_string_,
1001 ffeinfo_where_string_, ffeinfo_basictype_string,
1002 ffeinfo_kind_message, ffeinfo_kind_string,
1003 ffeinfo_kindtype_string, ffeinfo_where_string): Likewise.
1005 * info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
1006 ffeinfo_kind_string, ffeinfo_kindtype_string,
1007 ffeinfo_where_string): Likewise.
1009 * intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
1010 _ffeintrin_imp_, ffeintrin_check_, ffeintrin_cmp_name_,
1011 ffeintrin_fulfill_specific, ffeintrin_init_0,
1012 ffeintrin_is_actualarg, ffeintrin_is_intrinsic,
1013 ffeintrin_name_generic, ffeintrin_name_implementation,
1014 ffeintrin_name_specific): Likewise.
1016 * intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
1017 ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
1019 * lex.c (ffelex_type_string_, ffelex_token_new_character,
1020 ffelex_token_new_name, ffelex_token_new_names,
1021 ffelex_token_new_number): Likewise.
1023 * lex.h (ffelex_token_new_character, ffelex_token_new_name,
1024 ffelex_token_new_names, ffelex_token_new_number): Likewise.
1026 * malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
1027 malloc_new_zinpool_): Likewise.
1029 * malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
1030 malloc_pool_new): Likewise.
1032 * name.c (ffename_space_drive_global, ffename_space_drive_symbol):
1035 * name.h (ffename_space_drive_global, ffename_space_drive_symbol):
1038 * symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_,
1039 ffesymbol_attrs_string): Const-ify a char*.
1040 (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
1041 (ffesymbol_state_string): Const-ify a char*.
1043 * symbol.h (ffesymbol_attrs_string): Likewise.
1044 (ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
1045 (ffesymbol_state_string): Const-ify a char*.
1047 * target.c (ffetarget_layout): Likewise.
1049 * target.h (ffetarget_layout): Likewise.
1051 1999-03-25 Zack Weinberg <zack@rabi.columbia.edu>
1053 * Make-lang.in: Remove all references to g77.o/g77.c.
1054 Link g77 from gcc.o.
1056 1999-03-21 Manfred Hollstein <manfred@s-direktnet.de>
1058 * Makefile.in (g77$(exeext)): Depend on intl.o. Link in intl.o.
1060 Wed Mar 17 11:39:44 1999 Craig Burley <craig@jcb-sc.com>
1062 * news.texi: Editorial fix.
1064 Mon Mar 15 17:12:07 1999 Craig Burley <craig@jcb-sc.com>
1066 * bugs.texi, g77.texi, news.texi: Editorial fixes.
1068 Sat Mar 13 17:51:55 1999 Craig Burley <craig@jcb-sc.com>
1070 Fix 19990313-0.f, 19990313-1.f, 19990313-2.f, 19990313-3.f:
1071 * bad.def (FFEBAD_NOCANDO): New error code for internal use only.
1072 * expr.c (ffeexpr_collapse_convert): If FFEBAD_NOCANDO returned
1073 by convertor, just return original expr.
1074 * target.h: Return FFEBAD_NOCANDO for (usually) 64-bit
1075 conversions that aren't yet working properly.
1076 * news.texi: Explain.
1078 * version.c: Bump version.
1080 Sat Mar 13 14:26:55 1999 Craig Burley <craig@jcb-sc.com>
1082 * RELEASE-PREP: New file, lists things to do for a release.
1084 * Make-lang.in, bugs.texi, bugs0.texi, g77.texi, g77install.texi,
1085 install0.texi, news.texi, news0.texi: Accommodate new doc
1087 Consolidate news items. Don't describe old news items in
1088 various generated docs.
1089 Don't describe FSF-g77 installation stuff in various EGCS-g77
1091 Move description of AUTOMATIC to more suitable location.
1092 * root.texi: New file for new doc architecture.
1094 Thu Mar 11 17:32:55 1999 Craig Burley <craig@jcb-sc.com>
1096 * g77.texi: Add AUTOMATIC to list of unsupported extensions.
1098 Sat Mar 6 02:28:35 1999 Craig Burley <craig@jcb-sc.com>
1100 Warn about non-Y2K-compliant intrinsics:
1101 * bad.def (FFEBAD_INTRINSIC_Y2KBAD): New diagnostic.
1102 * intrin.def (FFEINTRIN_impDATE, FFEINTRIN_impIDATE_vxt):
1103 Use new DEFIMPY macro to flag these as non-Y2K-compliant.
1104 * intdoc.c (DEFIMPY): Support new Y2K macro.
1105 * intrin.h (DEFIMPY): Ditto.
1106 * intrin.c (DEFIMPY): Ditto.
1107 (ffeintrin_fulfill_generic, ffeintrin_fulfill_specific):
1108 Warn about invocation of non-Y2K-compliant intrinsic.
1109 * com-rt.def (FFECOM_gfrtDATE, FFECOM_gfrtVXTIDATE):
1110 Rename external procedure names, to keep previously-
1111 compiled (sans-new-warnings) code from linking to
1113 * g77.texi: Document all this stuff.
1114 * news.texi: Spread the joy.
1115 * version.c: Bump version.
1117 Fri Mar 5 13:22:44 1999 Craig Burley <craig@jcb-sc.com>
1119 * news.texi: Relocate IDATE (VXT) fix: we put it in 1.1.2
1120 so describe it there, instead of under 1.2.
1122 Wed Mar 3 00:57:56 1999 Craig Burley <craig@jcb-sc.com>
1124 * news.texi: IDATE (VXT) fixed to return year as 0..99.
1126 Wed Mar 3 00:43:49 1999 Craig Burley <craig@jcb-sc.com>
1128 * g77.texi: Add remaining changes pending from Dave Love.
1130 Wed Mar 3 00:38:42 1999 Craig Burley <craig@jcb-sc.com>
1132 * bugs.texi, news.texi: Conditionalize cross-references
1133 on non-html processing, providing temporary HTML "links".
1135 * g77.texi: Fix up a reference.
1137 Wed Mar 3 00:12:31 1999 Craig Burley <craig@jcb-sc.com>
1139 * news.texi, bugs.texi: Delete fixed bugs, make one
1140 of them into the appropriate news item.
1142 Wed Mar 3 00:05:52 1999 Craig Burley <craig@jcb-sc.com>
1144 * news.texi: Copy over 1.1.2 news.
1146 1999-03-02 Craig Burley <craig@jcb-sc.com>
1148 * g77.texi (Bug Reporting): Clarify whether to use -E.
1149 Clarify other instructions.
1151 1999-02-27 Craig Burley <craig@jcb-sc.com>
1153 * lang-specs.h: Fix specs to pass `-ax' as well as `-a' option.
1155 1999-02-26 Craig Burley <craig@jcb-sc.com>
1157 * intdoc.in (STAT_func, STAT_subr,
1158 FSTAT_func, FSTAT_subr, LSTAT_func, LSTAT_subr):
1159 Properly order array elements. Specify N/A return values.
1161 1999-02-26 Craig Burley <craig@jcb-sc.com>
1163 * intdoc.in (DATE_AND_TIME): Explain that VALUES(7) holds
1164 seconds, and VALUES(8), therefore, milliseconds.
1166 1999-02-26 Craig Burley <craig@jcb-sc.com>
1168 * news.texi: Clarify IOSTAT= fix.
1170 1999-02-25 Richard Henderson <rth@cygnus.com>
1172 * lang-specs.h: Define __FAST_MATH__ when appropriate.
1174 1999-02-25 Craig Burley <craig@jcb-sc.com>
1176 * g77.texi: Clarify/index lack of run-time allocation for
1179 1999-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1181 * f/intdoc.in: Add missing `,' after cross references.
1183 1999-02-20 Craig Burley <craig@jcb-sc.com>
1185 * Make-lang.in (f77.install-common, f77.install-info,
1186 f77.install-man, f77.uninstall): Use `$(prefix)/lang-f77'
1187 instead of `lang-f77' for flag file, to be sure of a
1188 writable directory, and remove the flag file after each
1189 operation to keep things clean.
1191 1999-02-20 Craig Burley <craig@jcb-sc.com>
1193 * g77.texi: Properly attribute Priest document; clarify
1194 that it is in the .ps version of the Goldberg document.
1196 1999-02-19 Craig Burley <craig@jcb-sc.com>
1198 * bugs0.texi, bugs.texi, install0.texi, g77install.texi,
1199 news0.texi, news.texi: Update copyright dates.
1200 Clarify which files are source, which are derived,
1201 and remind maintainers where copyright dates are sourced.
1202 * BUGS, INSTALL, NEWS: Regenerated.
1204 1999-02-19 Craig Burley <craig@jcb-sc.com>
1206 * global.c (ffeglobal_ref_progunit_): Warn about a function
1207 definition that disagrees with the type of a previous reference.
1208 Improve commentary. Fix a couple of minor bugs. Clean up
1210 * news.texi: Spread the joy.
1212 1999-02-18 Craig Burley <craig@jcb-sc.com>
1214 * expr.c (ffeexpr_finished_): Disallow non-default INTEGER
1215 as argument for FILEINT and FILEASSOC as lhs.
1216 * news.texi: Document fix.
1219 1999-02-18 Craig Burley <craig@jcb-sc.com>
1221 * g77.texi: Clarify -fno-globals vs. -Wno-globals.
1223 1999-02-18 Craig Burley <craig@jcb-sc.com>
1225 * intdoc.in (LOG10): Fix typo.
1227 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
1229 * intdoc.in: Fix typo.
1231 1999-02-17 Craig Burley <craig@jcb-sc.com>
1233 * g77.texi, intdoc.in: Document Y2K and some other known
1235 * intrin.def (DTIME, FDATE): Fix capitalization of
1236 case-sensitive forms of these intrinsics' names.
1238 1999-02-17 Dave Love <fx@gnu.org>
1240 * intdoc.in: Say `common' logarithm for log10.
1242 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1244 * g77.texi: Add missing @ in email addresses.
1246 1999-02-15 Craig Burley <craig@jcb-sc.com>
1248 * *.*: Delete my (old) email address in most places, change it
1251 1999-02-14 Craig Burley <craig@jcb-sc.com>
1255 1999-02-14 Craig Burley <craig@jcb-sc.com>
1257 * version.c: Bump for 1998-10-02 change (forgot to do this
1260 1999-02-14 Craig Burley <craig@jcb-sc.com>
1262 * lang-specs.h, g77.1, g77.texi, news.texi: Recognize `.FOR'
1263 and `.FPP' as well as `.for' and `.fpp'.
1265 1999-02-14 Craig Burley <craig@jcb-sc.com>
1267 * intdoc.in (LOG10): Fix description.
1269 1999-02-14 Craig Burley <craig@jcb-sc.com>
1271 * news.texi: Mention fix for SIGNAL invocation circa egcs-1.1.
1273 1999-02-14 Craig Burley <craig@jcb-sc.com>
1275 * g77.texi, g77install.texi, bugs.texi, g77install.texi: Clean
1276 up and improve indexing, and some other areas of docs.
1278 1999-02-14 Craig Burley <craig@jcb-sc.com>
1280 * intdoc.in (MCLOCK8, TIME8): Warn about lower range on
1283 Sat Feb 6 18:02:17 1999 Jeffrey A Law (law@cygnus.com)
1285 * g77.texi: Update email addresses.
1287 Wed Feb 3 22:50:17 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1289 * Make-lang.in (g77$(exeext)): Get choose-temp.o, pexecute.o and
1290 mkstemp.o from libiberty.
1292 1999-02-01 Zack Weinberg <zack@rabi.columbia.edu>
1294 * top.c: Don't define ffe_is_ident_. Don't process
1296 * top.h: Remove declaration of ffe_is_ident_ and macros
1297 ffe_is_ident() and ffe_set_is_ident().
1298 * lex.c: Use flag_no_ident instead of ffe_is_ident().
1300 Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu>
1302 * lang-specs.h: Map -Qn to -fno-ident.
1304 Tue Jan 5 22:12:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1306 * Make-lang.in (g77.o): Depend on prefix.h.
1308 Fri Nov 27 13:10:32 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1310 * fini.c: Rename variable `spaces' to `xspaces' to avoid
1311 conflicting with function `spaces' from libiberty.
1313 * g77spec.c: Don't prototype libiberty functions.
1314 * malloc.c: Likewise.
1316 1998-11-20 Dave Love <d.love@dl.ac.uk>
1318 * g77.texi: Assorted minor changes.
1320 1998-11-19 Dave Love <d.love@dl.ac.uk>
1322 * bugs.texi: Formatting changes from Craig.
1324 * intdoc.in: Terminate some @xrefs with `,'.
1326 1998-11-19 Manfred Hollstein <manfred@s-direktnet.de>
1328 * Make-lang.in (mandir): Replace all uses of $(mandir) by $(man1dir).
1330 Mon Nov 9 23:15:39 1998 Jeffrey A Law (law@cygnus.com)
1332 * g77.texi, news.texi: Updates from Craig.
1334 Sun Nov 8 17:47:56 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1336 * Makefile.in (INCLUDES): Add "-I$(srcdir)/../../include".
1338 Sat Nov 7 15:58:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340 * g77spec.c: Don't include gansidecl.h.
1341 * output.j: Likewise.
1343 1998-11-04 Dave Love <d.love@dl.ac.uk>
1345 * g77.texi: Small formatting/indexing fixes.
1347 Mon Oct 12 20:41:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1349 * bad.c (ffebad_finish): Change type of variable `c' to unsigned
1350 char, change type of variable `s' to unsigned char *.
1352 * com.c (ffecom_symbol_null_): Add missing initializers.
1354 * fini.c (MAXNAMELEN): Undef it before defining.
1356 * implic.c (ffeimplic_lookup_): Change type of parameter `c' to
1359 * intrin.c (ffeintrin_init_0): Cast the argument of ctype macros
1362 * lex.c (ffelex_splice_tokens): Change type of variable `p' to
1364 (ffelex_token_name_from_names): Cast the argument of
1365 `ffelex_is_firstnamechar' to (unsigned char).
1366 (ffelex_token_names_from_names): Likewise.
1367 (ffelex_token_new_name): Likewise.
1368 (ffelex_token_new_names): Likewise.
1370 * malloc.c (malloc_root_): Add missing initializer.
1372 * stb.c (ffestb_do): Change type of variable `p' to unsigned char *.
1373 (ffestb_else) Likewise.
1374 (ffestb_else3_) Likewise.
1375 (ffestb_endxyz) Likewise.
1376 (ffestb_goto) Likewise.
1377 (ffestb_let) Likewise.
1378 (ffestb_varlist) Likewise.
1379 (ffestb_R522) Likewise.
1380 (ffestb_R528) Likewise.
1381 (ffestb_R834) Likewise.
1382 (ffestb_R835) Likewise.
1383 (ffestb_R838) Likewise.
1384 (ffestb_R1102) Likewise.
1385 (ffestb_blockdata) Likewise.
1386 (ffestb_R1212) Likewise.
1387 (ffestb_R810) Likewise.
1388 (ffestb_R10014_): Cast the argument of `ffelex_is_firstnamechar'
1390 (ffestb_V014): Change type of variable `p' to unsigned char *.
1391 (ffestb_dummy) Likewise.
1392 (ffestb_R524) Likewise.
1393 (ffestb_R547) Likewise.
1394 (ffestb_decl_chartype) Likewise.
1395 (ffestb_decl_dbltype) Likewise.
1396 (ffestb_decl_gentype) Likewise.
1397 (ffestb_decl_entsp_2_) Likewise.
1398 (ffestb_V027) Likewise.
1399 (ffestb_decl_R539) Likewise.
1401 * top.c (ffe_decode_option): Mark parameter `argc' with
1404 * where.c (ffewhere_unknown_line_): Add missing initializers.
1406 1998-10-02 Dave Love <d.love@dl.ac.uk>
1408 * com.c (ffecom_expr_intrinsic_): Fix return type for RAND.
1410 Thu Oct 1 10:43:45 1998 Nick Clifton <nickc@cygnus.com>
1412 * lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
1413 HANDLE_GENERIC_PRAGMAS.
1415 Mon Sep 28 04:22:00 1998 Jeffrey A Law (law@cygnus.com)
1417 * news.texi: Update from Craig.
1419 1998-09-23 Dave Love <d.love@dl.ac.uk>
1421 * g77.texi: Additions about `/*', trailing comments and cpp.
1423 1998-09-18 Dave Love <d.love@dl.ac.uk>
1425 * g77.texi: Various additions and some small fixes.
1427 Thu Sep 10 14:55:44 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
1429 * Make-lang.in (f77.install-common): Add missing "else true;".
1431 1998-09-07 Dave Love <d.love@dl.ac.uk>
1433 * ChangeLog.egcs: Deleted. Entries merged here.
1435 1998-09-05 Dave Love <d.love@dl.ac.uk>
1437 * Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
1438 (F771_LDFLAGS): Variable dispensed with.
1440 Fri Sep 4 19:53:34 1998 Craig Burley <burley@gnu.org>
1442 * intdoc.in: Minor editorial tweaks.
1444 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
1446 * lang-options.h: Convert to wrap option and doc string
1447 in a new macro invocation, FTNOPT, so the nearly identical
1448 list can be used in FSF-g77.
1450 Fri Sep 4 18:35:52 1998 Craig Burley <burley@gnu.org>
1452 * Makefile.in (fini.o): Don't define USE_HCONFIG here.
1453 * fini.c: Define USE_HCONFIG here instead, so deps-kinda
1454 picks up correct dependency.
1456 * Makefile.in (proj-h.o): Fix dependencies list.
1458 Wed Sep 02 09:25:29 1998 Nick Clifton <nickc@cygnus.com>
1460 * lex.c (ffe_lex_hash): Change how HANDLE_PRAGMA and
1461 HANDLE_SYSV_PRAGMA would be called if they pragma parsing was
1462 enabled in this code.
1463 Generate warning messages if unknown pragmas are encountered.
1464 (pragma_getc): New function: retrieves characters from the
1465 input stream. Defined when HANDLE_PRAGMA is defined.
1466 (pragma_ungetc): New function: replaces characters back into the
1467 input stream. Defined when HANDLE_PRAGMA is defined.
1469 Tue Sep 1 10:00:21 1998 Craig Burley <burley@gnu.org>
1471 * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
1474 1998-08-23 Dave Love <d.love@dl.ac.uk>
1476 * g77.texi: Increment `version-g77' and fix a few typos.
1478 Tue Aug 18 21:41:31 1998 Jeffrey A Law (law@cygnus.com)
1480 * Make-lang.in: Add several "else true" clauses to deal with lame
1483 Tue Aug 11 08:12:14 1998 H.J. Lu (hjl@gnu.org)
1485 * Make-lang.in (g77.o): Touch lang-f77 before checking it.
1487 1998-08-09 Dave Love <d.love@dl.ac.uk>
1489 * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
1490 with explicit use of tex.
1491 (f77.mostlyclean): Remove TeX index files.
1493 * g77install.texi (Prerequisites): Kluge round TeX lossage with
1494 hyphen in @value in @code.
1496 Tue Aug 4 16:59:39 1998 Craig Burley <burley@gnu.org>
1498 * com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
1499 Allow conversion from pointer to same-sized integer,
1500 to fix invoking SIGNAL as a function.
1502 1998-07-26 Dave Love <d.love@dl.ac.uk>
1504 * BUGS, INSTALL, NEWS: Rebuilt.
1506 Sat Jul 25 17:23:55 1998 Craig Burley <burley@gnu.org>
1509 * stc.c (ffestc_R1229_start): Set info to ANY as well.
1511 Tue Jul 21 04:33:37 1998 Craig Burley <burley@gnu.org>
1513 * g77spec.c (lang_specific_driver): Return unmolested
1514 command line when --help seen.
1515 Comment out code that printed g77-specific --help info.
1517 Sat Jul 18 19:16:48 1998 Craig Burley <burley@gnu.org>
1519 * lang-options.h: Fix up doc strings.
1520 Remove the unimplemented -fdcp-intrinsics-* options.
1522 * str-1t.fin: Change mixed-case spelling of `GoTo' from
1525 Thu Jul 16 13:26:36 1998 Craig Burley <burley@gnu.org>
1527 * com.c (ffecom_finish_symbol_transform_): Revert change
1528 of 1998-05-23, as it was too aggressive, in that it
1529 prevented transformation of (used) functions before
1530 primary code generation.
1532 1998-07-15 Dave Love <d.love@dl.ac.uk>
1534 * intdoc.texi: Regenerated.
1536 Mon Jul 13 18:45:06 1998 Craig Burley <burley@gnu.org>
1538 * Make-lang.in (f77.rebuilt): Fix to depend on
1539 build-dir-based, not source-based, g77.info.
1541 * g77.texi: Merge docs with 0.5.24.
1542 * g77install.texi: Ditto.
1544 Mon Jul 13 18:02:29 1998 Craig Burley <burley@gnu.org>
1546 Cleanups vis-a-vis g77-0.5.24:
1547 * g77spec.c (lang_specific_driver): Tabify source.
1548 * top.c (ffe_decode_option): Use fixed macro to set
1549 internal-checking flag.
1550 * top.h (ffe_set_is_do_internal_checks): Fix macro.
1552 Mon Jul 13 17:33:44 1998 Craig Burley <burley@gnu.org>
1554 Cleanups vis-a-vis system.h cutover and g77-0.5.24:
1555 * Makefile.in (fini.o): Define USE_HCONFIG macro
1556 so source code doesn't have to.
1557 * fini.c: Don't define USE_HCONFIG here, since
1558 source code usually shouldn't care about this.
1559 * ansify.c: Include stddef.h only if we have it.
1563 Mon Jul 13 17:30:29 1998 Nick Clifton <nickc@cygnus.com>
1565 * lang-options.h: Format changed to work with --help support added
1568 Mon Jul 13 11:54:03 1998 Craig Burley <burley@gnu.org>
1570 * com.c (ffecom_push_tempvar): Replace kludge that
1571 munged back-end globals directly with proper calls
1572 to push_topmost_sequence and pop_topmost_sequence.
1574 1998-07-12 Dave Love <d.love@dl.ac.uk>
1576 * version.c: Bump version.
1578 Sat Jul 11 19:24:32 1998 Craig Burley <burley@gnu.org>
1581 * equiv.c (ffeequiv_offset_): Don't crash on various
1582 possible ANY operands.
1584 Sat Jul 11 18:24:37 1998 Craig Burley <burley@gnu.org>
1586 * com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
1587 for constant is non-zero.
1589 * com.c (__eprintf): Delete this function, it is obsolete.
1591 1998-07-09 Dave Love <d.love@dl.ac.uk>
1593 * intdoc.in (HOSTNM_func, HOSTNM_subr): Update last change.
1595 Thu Jul 9 00:45:59 1998 Craig Burley <burley@gnu.org>
1597 Fix debugging of CHARACTER*(*), etc., which requires
1598 emitting debug info on types like `ftnlen':
1599 * com.c (ffecom_start_progunit_): Don't bother
1600 resetting "invented" flag for identifier.
1601 (ffecom_transform_equiv_): Don't bother zeroing
1602 "ignored" flag for decl.
1603 (pushdecl): No longer set "ignored", "used", or
1604 "suppressed debug" flags for decls having "invented"
1607 1998-07-06 Mike Stump <mrs@wrs.com>
1609 * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that
1612 1998-07-06 Dave Love <d.love@dl.ac.uk>
1614 * intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for
1617 1998-07-05 Dave Love <d.love@dl.ac.uk>
1619 * intdoc.in: Add entry for DATE_AND_TIME.
1621 * intrin.def: Add implementation for DATE_AND_TIME. Make second
1622 and third args of SYSTEM_CLOCK optional.
1624 * com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME.
1626 * com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0,
1628 (FFECOM_gfrtDATE_AND_TIME): New DEFGFRT.
1630 Wed Jul 1 11:19:13 1998 Craig Burley <burley@gnu.org>
1632 Fix 980701-1.f (which was producing "unaligned trap"
1633 on an Alpha running GNU/Linux, as predicted):
1634 * equiv.c (ffeequiv_layout_local_): Don't bother
1635 coping with pre-padding of entire area while building
1636 it; do that instead after the building is done, and
1637 do it by modifying only the modulo field. This covers
1638 the case of alignment stringency being increased without
1639 lowering the starting offset, unlike the previous changes,
1640 and even more elegantly than those.
1642 * target.c (ffetarget_align): Make sure alignments
1643 are non-zero, just in case.
1645 See ChangeLog.0 for earlier changes.
1648 add-log-time-format: current-time-string