diff -Nrc3pad gcc-3.0.4/gcc/f/.cvsignore gcc-3.1/gcc/f/.cvsignore *** gcc-3.0.4/gcc/f/.cvsignore Sat Dec 9 10:22:30 2000 --- gcc-3.1/gcc/f/.cvsignore Mon Nov 19 22:56:50 2001 *************** *** 1 **** --- 1,2 ---- g77.info* + g77.1 diff -Nrc3pad gcc-3.0.4/gcc/f/BUGS gcc-3.1/gcc/f/BUGS *** gcc-3.0.4/gcc/f/BUGS Wed Feb 20 20:24:01 2002 --- gcc-3.1/gcc/f/BUGS Wed May 15 03:48:01 2002 *************** _Note:_ This file is automatically gener *** 2,9 **** `bugs0.texi' and `bugs.texi'. `BUGS' is _not_ a source file, although it is normally included within source distributions. ! This file lists known bugs in the GCC-3.0 version of the GNU Fortran ! compiler. Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. You may copy, distribute, and modify it freely as long as you preserve this copyright notice and permission notice. --- 2,9 ---- `bugs0.texi' and `bugs.texi'. `BUGS' is _not_ a source file, although it is normally included within source distributions. ! This file lists known bugs in the GCC-3.1 version of the GNU Fortran ! compiler. Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. You may copy, distribute, and modify it freely as long as you preserve this copyright notice and permission notice. *************** Known Bugs In GNU Fortran *** 12,18 **** ************************* This section identifies bugs that `g77' _users_ might run into in ! the GCC-3.0 version of `g77'. This includes bugs that are actually in the `gcc' back end (GBE) or in `libf2c', because those sets of code are at least somewhat under the control of (and necessarily intertwined with) `g77', so it isn't worth separating them out. --- 12,18 ---- ************************* This section identifies bugs that `g77' _users_ might run into in ! the GCC-3.1 version of `g77'. This includes bugs that are actually in the `gcc' back end (GBE) or in `libf2c', because those sets of code are at least somewhat under the control of (and necessarily intertwined with) `g77', so it isn't worth separating them out. *************** the mainline, development version of `g7 *** 26,32 **** via `http://www.gnu.org/software/gcc/onlinedocs/g77_bugs.html'. Follow the "Known Bugs" link. ! The following information was last updated on 2001-06-10: * `g77' fails to warn about use of a "live" iterative-DO variable as an implied-DO variable in a `WRITE' or `PRINT' statement (although --- 26,32 ---- via `http://www.gnu.org/software/gcc/onlinedocs/g77_bugs.html'. Follow the "Known Bugs" link. ! The following information was last updated on 2002-02-01: * `g77' fails to warn about use of a "live" iterative-DO variable as an implied-DO variable in a `WRITE' or `PRINT' statement (although *************** the "Known Bugs" link. *** 52,67 **** Included with this item is the fact that `g77' doesn't recognize that, on IEEE-754/854-compliant systems, `0./0.' should produce a ! NaN and no warning instead of the value `0.' and a warning. This ! is to be fixed in version 0.6, when `g77' will use the `gcc' back ! end's constant-handling mechanisms to replace its own. * `g77' uses way too much memory and CPU time to process large aggregate areas having any initialized elements. For example, `REAL A(1000000)' followed by `DATA A(1)/1/' takes up way too much time and space, including the size of the generated ! assembler file. This is to be mitigated somewhat in version 0.6. Version 0.5.18 improves cases like this--specifically, cases of _sparse_ initialization that leave large, contiguous areas --- 52,65 ---- Included with this item is the fact that `g77' doesn't recognize that, on IEEE-754/854-compliant systems, `0./0.' should produce a ! NaN and no warning instead of the value `0.' and a warning. * `g77' uses way too much memory and CPU time to process large aggregate areas having any initialized elements. For example, `REAL A(1000000)' followed by `DATA A(1)/1/' takes up way too much time and space, including the size of the generated ! assembler file. Version 0.5.18 improves cases like this--specifically, cases of _sparse_ initialization that leave large, contiguous areas *************** the "Known Bugs" link. *** 78,92 **** Note that `g77' does display a warning message to notify the user before the compiler appears to hang. - * Previous versions of `g77' didn't emit information on variable and - array members of common blocks and equivalences for use with a - debugger (the `-g' command-line option). As of the version of - `g77' shipped with version 3.0 of `GCC', this is corrected. - - As of Version 0.5.19, a temporary kludge solution is provided - whereby some rudimentary information on a member is written as a - string that is the member's value as a character string. - * When debugging, after starting up the debugger but before being able to see the source code for the main program unit, the user must currently set a breakpoint at `MAIN__' (or `MAIN___' or --- 76,81 ---- *************** the "Known Bugs" link. *** 114,122 **** * `g77' doesn't work perfectly on 64-bit configurations such as the Digital Semiconductor ("DEC") Alpha. ! This problem is largely resolved as of version 0.5.23. Version ! 0.6 should solve most or all remaining problems (such as ! cross-compiling involving 64-bit machines). * `g77' currently inserts needless padding for things like `COMMON A,IPAD' where `A' is `CHARACTER*1' and `IPAD' is `INTEGER(KIND=1)' --- 103,109 ---- * `g77' doesn't work perfectly on 64-bit configurations such as the Digital Semiconductor ("DEC") Alpha. ! This problem is largely resolved as of version 0.5.23. * `g77' currently inserts needless padding for things like `COMMON A,IPAD' where `A' is `CHARACTER*1' and `IPAD' is `INTEGER(KIND=1)' diff -Nrc3pad gcc-3.0.4/gcc/f/ChangeLog gcc-3.1/gcc/f/ChangeLog *** gcc-3.0.4/gcc/f/ChangeLog Wed Feb 20 18:41:51 2002 --- gcc-3.1/gcc/f/ChangeLog Wed May 15 02:19:40 2002 *************** *** 1,60 **** ! 2002-02-20 Release Manager ! * GCC 3.0.4 Released. ! 2002-02-20 Release Manager ! * GCC 3.0.4 Released. ! 2002-02-02 Richard Henderson * ste.c (ffeste_begin_iterdo_): Use expand_exit_loop_top_cond. (ffeste_R819B): Likewise. ! 2001-12-20 Release Manager ! * GCC 3.0.3 Released. ! 2001-11-25 Toon Moene PR fortran/3957 * lang-specs.h: Correct !pipe conditional in tradcpp0 invocation. ! 2001-11-15 Craig Prescott ! * target.h (FFETARGET_32bit_longs): Don't define ! for 64-bit hppa. 2001-11-14 Joseph S. Myers * Make-lang.in: Change all uses of $(manext) to $(man1ext). ! 2001-10-23 Release Manager ! * GCC 3.0.2 Released. 2001-10-23 Joseph S. Myers * g77.texi (Sending Patches): Remove. ! 2001-08-19 Release Manager ! * GCC 3.0.1 Released. ! 2001-08-19 Release Manager ! * GCC 3.0.1 Released. 2000-08-14 Ulrich Weigand ! * target.h (FFETARGET_32bit_longs): Don't define ! for 64-bit S/390. 2001-07-19 Jakub Jelinek * top.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form. 2001-07-04 Joseph S. Myers * g77.texi: Use gpl.texi and funding.texi. Remove Look and Feel --- 1,555 ---- ! 2002-05-14 Release Manager ! * GCC 3.1 Released. ! 2002-05-14 Release Manager ! * GCC 3.1 Released. ! 2002-04-29 Joseph S. Myers ! ! * invoke.texi: Use @gol at ends of lines inside @gccoptlist. ! * g77.texi: Update last update date. ! ! 2002-04-20 Toon Moene ! ! * root.texi: Remove variable version-g77. ! * g77.texi: Remove the single use of that variable. ! ! Tue Apr 16 14:55:47 2002 Mark Mitchell ! ! * com.c (ffecom_expr_power_integer): Add has_scope argument to ! call to expand_start_stmt_expr. ! ! Mon Apr 15 10:59:14 2002 Mark Mitchell ! ! * g77.texi: Remove Chill reference. ! ! 2002-04-14 Hans-Peter Nilsson ! ! * Make-lang.in (f/target.o): Depend on diagnostic.h. ! * target.c: Include diagnostic.h. ! (ffetarget_memcpy_): Call sorry if host and target endians are ! not matching. ! ! 2002-04-13 Toon Moene ! ! * news.texi: Deprecate frontend version number; ! update list of fixed bugs. ! ! 2002-04-01 Phil Edwards ! ! * version.c: Fix misplaced leading blanks on first line. ! ! 2002-03-23 Toon Moene ! ! * com.c (ffecom_check_size_overflow_): Add a test ! so that arrays too large for 32-bit byte-offset ! addressing get caught. ! * news.texi: Document the fixing of this problem. ! ! Mon Mar 18 18:43:22 CET 2002 Jan Hubicka ! ! * target.h (FFETARGET_32bit_longs): Undefine for x86-64. ! ! 2002-02-13 Toon Moene ! ! * news.texi: List Problem Reports fixed in 3.1. ! ! 2002-02-13 Toon Moene ! ! * data.c (ffedata_eval_offset_): Only convert index, ! low and high bound in data statements to default integer ! if they are constants. Use a copy of the data structure. ! ! 2002-02-09 Toon Moene ! ! * data.c (ffedata_eval_offset_): Convert non-default integer ! constants to default integer kind if necessary. ! ! 2002-02-09 Toon Moene ! ! * invoke.texi: Add a short debugging session ! as an example to the documentation of -g. ! ! 2002-02-06 Toon Moene ! ! PR fortran/4730 fortran/5473 ! * com.c (ffecom_expr_): Deal with %VAL constructs. ! * intrin.c (ffeintrin_check_): Handle 'N' constraints for intrinsics, ! to indicate "no larger than default kind" integers and logicals. ! * intrin.def: Use 'N' constraints in table of intrinsics. ! * intdoc.c: Document this constraint. ! * intdoc.texi: Regenerated. ! ! 2002-02-04 Philipp Thomas ! ! * implic.c lex.c stb.c ste.c stu.c: Update copyright dates. ! ! 2002-02-04 Philipp Thomas ! ! * bad.def com.c expr.c implic.c lex.c stb.c ste.c stu.c: ! Insert comments to mark messages as not being printf style ! where appropriate. ! ! 2002-02-03 Toon Moene ! ! * expr.c (ffeexpr_sym_impdoitem_): Allow other than ! default INTEGER implied-do loop counts. ! ! 2002-02-01 Toon Moene ! ! * bad.def: Remove non-historical reference to version 0.6. ! * bugs.texi: Ditto. ! * com.c: Ditto. ! * ffe.texi: Ditto. ! * proj.h: Ditto. ! * g77.texi: Ditto. ! ! 2002-01-31 Joseph S. Myers ! ! * g77spec.c (lang_specific_driver): Follow GNU Coding Standards ! for --version. ! ! 2002-01-30 Richard Henderson * ste.c (ffeste_begin_iterdo_): Use expand_exit_loop_top_cond. (ffeste_R819B): Likewise. ! 2002-01-30 Toon Moene ! * intrin.c (upcasecmp_): New function. ! (ffeintrin_cmp_name_): Use it to correctly compare name ! and table entry for bsearch. ! 2002-01-26 Toon Moene ! ! * intrin.c (ffeintrin_cmp_name_): Correct comparison ! for intrinsics in intrinsic table (intrin.def). ! ! 2002-01-22 Zack Weinberg ! ! * bad.c: Include intl.h. ! (FFEBAD_MSGS1, FFEBAD_MSGS2): Replace by FFEBAD_MSG, SHORT, ! LONG. Adjust definitions to work with exgettext. ! (ffebad_start_): Translate all error messages. ! (ffebad_finish): Mark constant strings for translation. ! * bad.h: Use FFEBAD_MSG. Adjust prototype of ffebad_start_ ! and definitions of ffebad_start_msg, ffebad_start_msg_lex to ! work with exgettext. ! * bad.def: Use FFEBAD_MSG, SHORT, LONG throughout. ! ! * com.c: Include intl.h. ! (lang_print_error_function): Always use ffeinfo_kind_message ! to get the kind label for a non-nested construct. Translate ! it. Translate constant strings. ! * info.c (FFEINFO_KIND): Adjust definition to work with exgettext. ! * info-k.def: Block xgettext from slurping copyright notice ! into gcc.pot. Adjust strings for their sole use, in com.c. ! ! * Make-lang.in (f/bad.o, f/com.o): Depend on intl.h. ! ! 2002-01-14 David Billinghurst ! ! PR fortran/3807 ! * f/intrin.c (ffeintrin_check_): Allow for case of intrinsic ! control string have COL-spec an integer > 0. ! ! 2002-01-08 Joseph S. Myers ! ! * g77spec.c (lookup_option): Handle -fversion. ! (lang_specific_driver): Update copyright date in --version output. ! ! Mon Jan 7 00:03:42 2002 Gerald Pfeifer ! ! * invoke.texi: Markup g77 as @command. Remove reference to ! http://gcc.gnu.org/thanks.html. ! ! Wed Jan 2 18:13:11 2002 Kaveh R. Ghazi ! ! * com.c (clear_binding_level): Const-ify. ! (ffecom_arglist_expr_): Likewise. ! * info.c (ffeinfo_types_): Don't needlessly zero init. ! * lex.c (ffelex_hash_kludge): Const-ify. ! ! Sun Dec 23 10:45:09 2001 Kaveh R. Ghazi ! ! * com.c (ffecom_gfrt_volatile_, ffecom_gfrt_complex_, ! ffecom_gfrt_const_, ffecom_gfrt_type_): Const-ify. ! ! Sat Dec 22 16:01:51 2001 Kaveh R. Ghazi ! ! * bld.c (ffebld_arity_op_): Declare array size explicitly. ! * bld.h (ffebld_arity_op_): Likewise. ! ! 2001-12-20 Joseph S. Myers ! ! * config-lang.in (diff_excludes): Remove. ! ! 2001-12-17 Joseph S. Myers ! ! * g77.texi, invoke.texi: Update links to GCC manual. ! ! Sun Dec 16 16:08:57 2001 Joseph S. Myers ! ! * news.texi: Fix spelling errors. ! ! Sun Dec 16 10:36:51 2001 Kaveh R. Ghazi ! ! * Make-lang.in (f/version.o): Depend on f/version.h. ! * version.c: Include ansidecl.h and f/version.h. ! ! Sun Dec 16 08:52:48 2001 Kaveh R. Ghazi ! ! * lex.c (ffelex_backslash_, ffelex_cfebackslash_): Use hex_value. ! * target.c (ffetarget_integerhex, ffetarget_typeless_hex): Use ! hex_p/hex_value. ! ! 2001-12-14 Roger Sayle ! ! * com-rt.def: Use __builtin_sqrt instead of __builtin_fsqrt. ! * com.c (ffecom_init_0): Same, and fixed enumeration usage. ! ! 2001-12-10 Joseph S. Myers ! ! * g77.texi: Don't condition menus on @ifinfo. ! ! Wed Dec 5 06:49:21 2001 Richard Kenner ! ! * com.c (ffecom_1): Properly handle TREE_READONLY for INDIRECT_REF. ! ! Mon Dec 3 18:56:04 2001 Neil Booth ! ! * com.c: Remove leading capital from diagnostic messages, as ! per GNU coding standards. ! * g77spec.c: Similarly. ! * lex.c: Similarly. ! ! 2001-12-01 Zack Weinberg ! ! * f/fini.c: Use xmalloc. ! ! Fri Nov 30 20:54:02 2001 Kaveh R. Ghazi ! ! * Make-lang.in: Delete references to proj.[co], proj-h.[co]. ! * proj.c: Delete file. ! ! 2001-11-29 Zack Weinberg ! ! * Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS) ! and link with $(HOST_LIBS), not safe-ctype.o. ! ! 2001-11-29 Joseph S. Myers ! ! * Make-lang.in (f77.generated-manpages): New target. ! ($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES). Allow ! manpage generation to fail. ! (f77.info): Don't depend on $(srcdir)/f/g77.1. ! (f77.install-man): Depend on $(GENERATED_MANPAGES) rather than ! directly on $(srcdir)/g77.1. ! ! 2001-11-24 Toon Moene PR fortran/3957 * lang-specs.h: Correct !pipe conditional in tradcpp0 invocation. ! 2001-11-21 Toon Moene ! * g77.texi: egcs was not a `@command'. ! * invoke.texi: Ditto. ! * news.texi: Substitute `@command' for `@code' ! and `@option' for `@samp' where appropriate. ! ! 2001-11-19 Loren J. Rittle ! ! * Make-lang.in: Complete ``Build g77.1 in $(srcdir)''. ! ! 2001-11-19 Geoffrey Keating ! ! * g77spec.c (lang_specific_driver) [ENABLE_SHARED_LIBGCC]: Add ! libgcc_s.so if libf2c is used. ! * Make-lang.in (g77spec.o): Use DRIVER_DEFINES. ! ! 2001-11-19 Toon Moene ! ! * .cvsignore: Ignore g77.1 ! * g77.texi: Substitute `@command' for `@code' ! where appropriate. ! * invoke.texi: Ditto. ! ! 2001-11-18 Toon Moene ! ! * Make-lang.in: Remove all references to LANGUAGES ! and the stamp files that depend on its value. ! ! Sun Nov 18 11:13:04 2001 Neil Booth ! ! * com.c (finish_parse): Remove. ! (ffe_finish): Move body of finish_parse. ! ! Thu Nov 15 10:06:38 2001 Neil Booth ! ! * com.c (ffecom_init_decl_processing): Renamed from ! init_decl_processing. ! (init_parse): Move contents to ffe_init. ! (ffe_init): Update prototype. ! ! 2001-11-14 Toon Moene ! ! * g77.texi: Update to use `@command', `@option. ! * invoke.texi: Ditto 2001-11-14 Joseph S. Myers * Make-lang.in: Change all uses of $(manext) to $(man1ext). ! 2001-11-14 Toon Moene ! * g77.1: Remove from CVS. ! * Make-lang.in: Build g77.1 in $(srcdir). ! Add --section=1 to POD2MAN command line. ! * invoke.texi: Correct copyright years. ! Add more sections to man page. Add GFDL. ! ! Fri Nov 9 23:16:45 2001 Neil Booth ! ! * com.c (ffe_print_identifier): Rename. ! (LANG_HOOKS_PRINT_IDENTIFIER): Override. ! (lang_print_xnode, print_lang_decl, print_lang_statistics, ! print_lang_type, set_yydebug): Remove. ! ! 2001-11-09 Zack Weinberg ! ! * g77spec.c (lang_specific_driver): Adjust behavior of -v and ! --version for consistency with other front ends. Remove large ! #if 0 block. Do not add libraries to argv if there are no ! input files. ! (add_version_magic): Delete all references and dependent code. ! * lang-options.h: Delete -fnull-version. ! * lang-specs.h: Delete f77-version spec. ! ! * lex.c: Delete logic conditional on ffe_is_null_version() and ! now-unused label. ! * top.c: Delete ffe_is_null_version_ variable. ! (ffe_decode_option): Delete -fnull-version case. ! * top.h: Delete declaration of ffe_is_null_version_ and ! ffe_is_null_version(), ffe_set_is_null_version() macros. ! ! Fri Nov 9 07:14:47 2001 Neil Booth ! ! * com.c (language_string, lang_identify): Remove. ! (struct lang_hooks): Constify. ! (LANG_HOOKS_NAME): Override. ! (init_parse): Update. ! ! 2001-11-08 Andreas Franck ! ! * Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle ! program_transform_name the way suggested by autoconf. ! ! 2001-11-08 Toon Moene ! ! * Make-lang.in: Add rules for building g77.1. ! * invoke.texi: Add man page stuff. Move indexing ! from g77.texi to here. ! * g77.texi: Remove indexing specific to invoke.texi. ! * news.texi: Document that g77.1 is now a generated ! file. ! ! Tue Nov 6 21:17:47 2001 Neil Booth ! ! * com.c: Include langhooks-def.h. ! * Make-lang.in: Update. ! ! 2001-11-04 Toon Moene ! ! * g77.texi: Split off invoke.texi (preliminary to using it ! to generate a man page). ! * Make-lang.in: Reflect in build rules. ! ! Fri Nov 2 10:51:34 2001 Kaveh R. Ghazi ! ! * com.c (ffecom_initialize_char_syntax_, U_CHAR, is_idchar, ! is_idstart, is_hor_space, is_space, SKIP_WHITE_SPACE, ! SKIP_ALL_WHITE_SPACE): Delete. ! (read_filename_string, read_name_map): Don't use is_space or ! is_hor_space. ! ! 2001-10-29 Toon Moene ! ! * news.texi: Document new ability to compile programs with ! arrays larger than 512 Mbyte on 32-bit targets. ! ! 2001-10-24 Toon Moene ! ! * com.c (ffecom_check_size_overflow_): Only check for TREE_OVERFLOW. ! ! Tue Oct 23 14:01:27 2001 Richard Kenner ! ! * com.c (LANG_HOOKS_GET_ALIAS_SET): New macro. ! (lang_get_alias_set): Delete. 2001-10-23 Joseph S. Myers * g77.texi (Sending Patches): Remove. ! 2001-10-22 Zack Weinberg ! * Make-lang.in (f/intdoc): Depend on safe-ctype.o. ! Sun Oct 21 17:28:17 2001 Kaveh R. Ghazi ! * bad.c (ffebad_finish): Use safe-ctype macros and/or fold extra ! calls into fewer ones. ! * implic.c (ffeimplic_lookup_): Likewise. ! * intdoc.c (dumpimp): Likewise. ! * intrin.c (ffeintrin_init_0): Likewise. ! * lex.c (ffelex_backslash_, ffelex_cfebackslash_, ffelex_hash_): ! Likewise. ! * lex.h (ffelex_is_firstnamechar): Likewise. ! * target.c (ffetarget_integerhex): Likewise. ! ! 2001-10-21 Craig Prescott ! ! * target.h (FFETARGET_32bit_longs): Don't define ! for 64-bit hppa. ! ! 2001-10-17 Richard Henderson ! ! * std.c (ffestd_labeldef_format): Fix variable/stmt ordering. ! (ffestd_R737A): Likewise. ! ! 2001-10-17 Richard Henderson ! ! * com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270, ! BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all ! related conditional compilation directives. ! * bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c, ! intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c, ! stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise. ! ! 2001-10-17 Richard Henderson ! ! * Make-lang.in (f/com.o): Depend on langhooks.h. ! * com.c: Include it. ! (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New. ! (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New. ! (lang_hooks): Use LANG_HOOKS_INITIALIZER. ! ! Sun Oct 7 12:27:54 2001 Kaveh R. Ghazi ! ! * bad.c (_ffebad_message_, ffebad_messages_): Const-ify. ! * bld.c (ffebld_arity_op_): Likewise. ! * bld.h (ffebld_arity_op_): Likewise. ! * com.c (ffecom_init_0): Likewise. ! * intdoc.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_, ! _ffeintrin_imp_, names, gens, imps, specs, cc_pair, ! cc_descriptions, cc_summaries): Likewise. ! * intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_, ! _ffeintrin_imp_, ffeintrin_names_, ffeintrin_gens_, ! ffeintrin_imps_, ffeintrin_specs_): Likewise. ! ! 2001-10-05 Toon Moene ! ! * news.texi: Document libf2c being built as a shared library. ! Use of array elements in bounds of adjustable arrays ditto. ! ! 2001-10-03 Toon Moene ! ! * Make-lang.in: Remove reference to FORTRAN_INIT. ! * g77spec.c: Add reference to FORTRAN_INIT. ! ! 2001-09-29 Juergen Pfeifer ! ! Make libf2c a shared library. ! ! * Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c. ! * g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o. ! ! 2001-09-28 Robert Anderson ! ! * expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements ! as bounds of adjustable arrays. ! ! Thu Sep 20 15:05:20 JST 2001 George Helffrich ! ! * com.c (ffecom_subscript_check_): Loosen subscript checking rules ! for character strings, to permit substring expressions like ! string(1:0). ! * news.texi: Document this as a new feature. ! ! Thu Sep 13 10:33:27 2001 Kaveh R. Ghazi ! ! * bad.c (ffebad_finish): Const-ification and/or static-ization. ! * intrin.c (ffeintrin_cmp_name_): Likewise. ! * stc.c (ffestc_R904): Likewise. ! ! Wed Sep 12 12:09:04 2001 Kaveh R. Ghazi ! ! * bld.c (ffebld_op_string_): Const-ification. ! * com.c (ffecom_gfrt_name_, ffecom_gfrt_argstring_): Likewise. ! * fini.c (xspaces): Likewise. ! * global.c (ffeglobal_type_string_): Likewise. ! * info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_, ! ffeinfo_kind_string_, ffeinfo_kindtype_string_, ! ffeinfo_where_string_): Likewise. ! * lex.c (ffelex_type_string_): Likewise. ! * malloc.c (malloc_types_): Likewise. ! * stc.c (ffestc_subr_binsrch_, ffestc_R904, ffestc_R904, ! ffestc_R907): Likewise. ! * symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_): ! Likewise. ! * version.c (ffe_version_string): Likewise. ! * version.h (ffe_version_string): Likewise. ! ! 2001-09-11 Richard Henderson ! ! * parse.c (finput): Mark extern. ! ! 2001-09-11 Jakub Jelinek ! ! * com.c (ffe_init_options): Default to -fmerge-all-constants ! if optimizing. 2000-08-14 Ulrich Weigand ! * target.h (FFETARGET_32bit_longs): Don't define ! for 64-bit S/390. ! ! 2001-07-20 Toon Moene ! ! * com.c (ffecom_expr_intrinsic_): ! case FFEINTRIN_impIBITS: Remove TREE_SHIFT_FULLWIDTH define. ! case FFEINTRIN_impISHFT: Ditto. Change LT_EXPR to NE_EXPR. ! case FFEINTRIN_impISHFTC: Ditto. ! case FFEINTRIN_impMVBITS: Ditto. 2001-07-19 Jakub Jelinek * top.c (ffe_decode_option): Disallow lang-independent processing for -ffixed-form. + 2001-07-19 Toon Moene + + * f/com.c (ffecom_expr_intrinsic_): Deal (correctly) with + {L|R}SHIFT_EXPR not working when shift > size of type. + + 2001-07-17 Toon Moene + + * com.c (lang_print_error_function): Argument context + is unused. + + 2001-07-14 Tim Josling + + * com.c (ffecom_overlap_): Remove references to EXPON_EXPR. + (ffecom_tree_canonize_ref_): Likewise. + + 2001-07-10 James Smaby + + * intdoc.in: Fix the definition of COMPLEX ABS. + Remove `the' where inappropriate. + * intdoc.texi: Rebuilt. + 2001-07-04 Joseph S. Myers * g77.texi: Use gpl.texi and funding.texi. Remove Look and Feel *************** *** 62,70 **** * Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Update dependencies and use doc/include in search path. ! 20010617 Release Manager ! * GCC 3.0 Released. Wed Jun 13 11:22:39 2001 Mark Mitchell --- 557,567 ---- * Make-lang.in ($(srcdir)/f/g77.info, f/g77.dvi): Update dependencies and use doc/include in search path. ! 2001-06-28 Gabriel Dos Reis ! * Make-lang.in (f/com.o): Depend on diagnostic.h ! * com.c: #include diagnostic.h ! (lang_print_error_function): Take a 'diagnostic_context *'. Wed Jun 13 11:22:39 2001 Mark Mitchell *************** Wed Jun 13 11:22:39 2001 Mark Mitchell *** 73,92 **** 2001-06-10 Toon Moene ! * g77install.texi: Remove all documentation here. Point ! to the GCC installation procedures. * g77.texi: Add documentation on how to get output always flushed and how to increase the maximum unit number. * bugs.texi: Add documentation on how to change the threshold for putting local arrays on the stack. - 2001-06-07 Theodore Papadopoulo - - * Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on - fdl.texi. - (f/g77.dvi): Use TEXI2DVI instead of custom tex calls. Create the - dvi file in the f directory. - 2001-06-03 Toon Moene * root.texi: Fix typo in patches e-mail address. --- 570,583 ---- 2001-06-10 Toon Moene ! * g77install.texi: Remove. ! * Make-lang.in: Remove all mention of g77install.texi. * g77.texi: Add documentation on how to get output always flushed and how to increase the maximum unit number. + Remove all mention of g77install.texi. * bugs.texi: Add documentation on how to change the threshold for putting local arrays on the stack. 2001-06-03 Toon Moene * root.texi: Fix typo in patches e-mail address. *************** Wed Jun 13 11:22:39 2001 Mark Mitchell *** 109,125 **** * com.c (ffecom_init_0): Make CHARACTER*1 unsigned. 2001-05-22 Toon Moene * g77.texi: Update last-changed date. * news.texi: Update copyright years, last-changed date. 2001-05-22 Toon Moene * g77.texi: Update maintenance information for ! GNU Fortran. * news.texi: Make more news in 0.5.26 `user visible changes'. Acknowledge work by important contributors. 2001-05-20 Joseph S. Myers --- 600,635 ---- * com.c (ffecom_init_0): Make CHARACTER*1 unsigned. + 2001-05-23 Theodore Papadopoulo + + * Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on + fdl.texi. + (f/g77.dvi): Use TEXI2DVI instead of custom tex calls. Create the + dvi file in the f directory. + + 2001-05-25 Sam TH + + * bad.h: Fix header include guards. + * bit.h bld.h com.h data.h equiv.h expr.h global.h + implic.h info.h intrin.h lab.h lex.h malloc.h name.h + proj.h src.h st.h sta.h stb.h stc.h std.h ste.h + storag.h stp.h str.h sts.h stt.h stu.h stv.h stw.h + symbol.h target.h top.h type.h version.h + where.h: Likewise. + 2001-05-22 Toon Moene * g77.texi: Update last-changed date. * news.texi: Update copyright years, last-changed date. + * bugs.texi: Update copyright years, last-changed date. 2001-05-22 Toon Moene * g77.texi: Update maintenance information for ! GNU Fortran. Remove all mention of -fdebug-kludge. * news.texi: Make more news in 0.5.26 `user visible changes'. Acknowledge work by important contributors. + * bugs.texi: Remove all mention of -fdebug-kludge. 2001-05-20 Joseph S. Myers *************** Sun May 13 12:25:06 2001 Mark Mitchell *** 135,149 **** * Make-lang.in: Replace all uses of `touch' with $(STAMP). 2001-04-21 Toon Moene ! * news.texi: Update release information for 0.5.26. Thu Apr 19 12:49:24 2001 Mark Mitchell * top.c (ffe_decode_option): Do not permit language-independent processing for -ffixed-line-length. 2001-04-02 Jakub Jelinek * lex.c (ffelex_hash_): Avoid eating one whole line after --- 645,676 ---- * Make-lang.in: Replace all uses of `touch' with $(STAMP). + Wed May 2 10:20:08 2001 Kaveh R. Ghazi + + * com.c: NULL_PTR -> NULL. + + Sun Apr 22 20:18:01 2001 Kaveh R. Ghazi + + * com.c (ffecom_subscript_check_): Use concat in lieu of + xmalloc/sprintf. + 2001-04-21 Toon Moene ! * news.texi: Update release information for 0.5.27. Thu Apr 19 12:49:24 2001 Mark Mitchell * top.c (ffe_decode_option): Do not permit language-independent processing for -ffixed-line-length. + Thu Apr 12 17:57:55 2001 Kaveh R. Ghazi + + * bad.c (inhibit_warnings): Delete redundant declaration. + + * com.c (skip_redundant_dir_prefix): Likewise. + + * com.h (mark_addressable): Likewise. + 2001-04-02 Jakub Jelinek * lex.c (ffelex_hash_): Avoid eating one whole line after *************** Mon Apr 2 22:38:09 2001 Toon Moene ! * com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE. ! 2001-03-22 Zack Weinberg ! * lang-specs.h: Add zero initializer for cpp_spec field to ! all array elements. Mon Mar 19 15:05:39 2001 Mark Mitchell * com.c (builtin_function): Use SET_DECL_ASSEMBLER_NAME. - 2001-03-15 Zack Weinberg - - * proj.h, intdoc.c: Delete 'bool' type. Don't include - stddef.h here. - * com.c: Rename variables named 'true' and/or 'false'. - Wed Mar 14 09:29:27 2001 Mark Mitchell * com.c (ffecom_member_phase_2): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (duplicate_decls): Likewise. (start_decl): Likewise. ! Fri Feb 23 15:28:39 2001 Richard Kenner * com.c (set_block): Set NAMES and BLOCKS from BLOCK. 2001-02-19 Joseph S. Myers ! * root.texi: Clear DEVELOPMENT. Update GCC version number to 3.0. * BUGS, NEWS: Regenerate. Sun Feb 4 15:52:44 2001 Richard Kenner --- 681,741 ---- * com.c (duplicate_decls): Fix thinko in lazy DECL_RTL patch of 2001-03-04. ! Tue Mar 27 17:40:08 2001 Kaveh R. Ghazi ! * Make-lang.in: Depend on $(SYSTEM_H), not system.h. ! Mon Mar 26 18:13:30 2001 Mark Mitchell ! * com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE. Mon Mar 19 15:05:39 2001 Mark Mitchell * com.c (builtin_function): Use SET_DECL_ASSEMBLER_NAME. Wed Mar 14 09:29:27 2001 Mark Mitchell * com.c (ffecom_member_phase_2): Use COPY_DECL_RTL, DECL_RTL_SET_P, etc. (duplicate_decls): Likewise. (start_decl): Likewise. ! ! Fri Mar 9 22:52:55 2001 Kaveh R. Ghazi ! ! * fini.c (main): Use really_call_malloc, not malloc. ! ! Thu Mar 8 13:27:47 2001 Kaveh R. Ghazi ! ! * com.c: Don't rely on the POSIX macro to define autoconf stuff. ! ! 2001-03-07 Brad Lucier ! ! * g77.texi: Document new options -funsafe-math-optimizations ! and -fno-trapping-math. Revise documentation for -ffast-math. ! ! 2001-03-01 Zack Weinberg ! ! * proj.h: Delete 'bool' type. Don't include stddef.h here. ! * com.c: Rename variables named 'true' and/or 'false'. ! * intdoc.c: Delete 'bool' type. ! ! 2001-03-01 Zack Weinberg ! ! * lang-specs.h: Add zero initializer for cpp_spec field to all ! array elements. ! ! 2001-02-24 Zack Weinberg ! ! * com.c: Don't define STDC_HEADERS, autoconf handles it. ! Fri Feb 23 15:28:39 2001 Richard Kenner * com.c (set_block): Set NAMES and BLOCKS from BLOCK. 2001-02-19 Joseph S. Myers ! * version.c, root.texi: Update GCC version number to 3.1. Update ! G77 version number to 0.5.27. * BUGS, NEWS: Regenerate. Sun Feb 4 15:52:44 2001 Richard Kenner *************** Sun Feb 4 15:52:44 2001 Richard Kenner *** 197,203 **** (ffecom_decode_include_option_): Make errors non-fatal. * lex.c (ffelex_cfelex_, ffelex_get_directive_line_): Likewise. (ffelex_hash_): Likewise. ! Sat Jan 27 20:52:18 2001 Kaveh R. Ghazi * Make-lang.in: Remove all dependencies on defaults.h. --- 746,752 ---- (ffecom_decode_include_option_): Make errors non-fatal. * lex.c (ffelex_cfelex_, ffelex_get_directive_line_): Likewise. (ffelex_hash_): Likewise. ! Sat Jan 27 20:52:18 2001 Kaveh R. Ghazi * Make-lang.in: Remove all dependencies on defaults.h. *************** Sun Jun 11 00:03:00 2000 Kaveh R. Ghazi *** 616,622 **** Wed May 17 17:27:44 2000 Andrew Cagney * top.c (ffe_decode_option): Update -Wall unused flags by calling ! set_Wunused. 2000-05-09 Zack Weinberg --- 1165,1171 ---- Wed May 17 17:27:44 2000 Andrew Cagney * top.c (ffe_decode_option): Update -Wall unused flags by calling ! set_Wunused. 2000-05-09 Zack Weinberg *************** Sun Sep 12 23:29:47 1999 Kaveh R. Ghazi *** 933,939 **** (g77_newargv): Constify. (lookup_option, append_arg, lang_specific_driver): Constify a char*. (lang_specific_driver): All calls to the function pointer ! parameter now explicitly call `fatal'. Fri Sep 10 10:32:32 1999 Bernd Schmidt --- 1482,1488 ---- (g77_newargv): Constify. (lookup_option, append_arg, lang_specific_driver): Constify a char*. (lang_specific_driver): All calls to the function pointer ! parameter now explicitly call `fatal'. Fri Sep 10 10:32:32 1999 Bernd Schmidt diff -Nrc3pad gcc-3.0.4/gcc/f/Make-lang.in gcc-3.1/gcc/f/Make-lang.in *** gcc-3.0.4/gcc/f/Make-lang.in Wed Nov 14 22:33:42 2001 --- gcc-3.1/gcc/f/Make-lang.in Sun Apr 14 16:21:51 2002 *************** *** 1,5 **** # Top level makefile fragment for GNU Fortran. -*-makefile-*- ! # Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. #This file is part of GNU Fortran. --- 1,5 ---- # Top level makefile fragment for GNU Fortran. -*-makefile-*- ! # Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. #This file is part of GNU Fortran. *************** *** 39,48 **** # $(srcdir) must be set to the gcc/ source directory (not gcc/f/). # # Actual name to use when installing a native compiler. ! G77_INSTALL_NAME = `t='$(program_transform_name)'; echo g77 | sed $$t` # Actual name to use when installing a cross-compiler. ! G77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo g77 | sed $$t` # Some versions of `touch' (such as the version on Solaris 2.8) # do not correctly set the timestamp due to buggy versions of `utime' --- 39,48 ---- # $(srcdir) must be set to the gcc/ source directory (not gcc/f/). # # Actual name to use when installing a native compiler. ! G77_INSTALL_NAME = `echo g77|sed '$(program_transform_name)'` # Actual name to use when installing a cross-compiler. ! G77_CROSS_NAME = `echo g77|sed '$(program_transform_cross_name)'` # Some versions of `touch' (such as the version on Solaris 2.8) # do not correctly set the timestamp due to buggy versions of `utime' *************** F77 f77: f771$(exeext) *** 65,111 **** f77.extraclean f77.maintainer-clean f77.rebuilt \ f77.stage1 f77.stage2 f77.stage3 f77.stage4 ! g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h system.h $(GCC_H) \ $(CONFIG_H) ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) lang-f77;; \ ! *) rm -f lang-f77;; \ ! esac ! if [ -f lang-f77 ]; then \ ! $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ ! $(srcdir)/f/g77spec.c $(OUTPUT_OPTION); \ ! else true; fi g77version.o: $(srcdir)/f/version.c ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) lang-f77;; \ ! *) rm -f lang-f77;; \ ! esac ! if [ -f lang-f77 ]; then \ ! $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o g77version.o \ ! $(srcdir)/f/version.c; \ ! else true; fi # Create the compiler driver for g77. g77$(exeext): gcc.o g77spec.o g77version.o version.o prefix.o intl.o \ $(LIBDEPS) $(EXTRA_GCC_OBJS) ! if [ -f lang-f77 ]; then \ ! $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ gcc.o g77spec.o g77version.o \ ! version.o prefix.o intl.o $(EXTRA_GCC_OBJS) $(LIBS); \ ! else true; fi # Create a version of the g77 driver which calls the cross-compiler. g77-cross$(exeext): g77$(exeext) ! if [ -f lang-f77 ]; then \ ! rm -f g77-cross$(exeext); \ ! cp g77$(exeext) g77-cross$(exeext); \ ! else true; fi # The compiler itself. F77_OBJS = f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o \ f/global.o f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o \ ! f/name.o f/parse.o f/proj.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o \ f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o f/stu.o \ f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/version.o f/where.o --- 65,97 ---- f77.extraclean f77.maintainer-clean f77.rebuilt \ f77.stage1 f77.stage2 f77.stage3 f77.stage4 ! g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h $(SYSTEM_H) $(GCC_H) \ $(CONFIG_H) ! (SHLIB_LINK='$(SHLIB_LINK)' \ ! SHLIB_MULTILIB='$(SHLIB_MULTILIB)'; \ ! $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(DRIVER_DEFINES) \ ! $(INCLUDES) $(srcdir)/f/g77spec.c) g77version.o: $(srcdir)/f/version.c ! $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o g77version.o \ ! $(srcdir)/f/version.c # Create the compiler driver for g77. g77$(exeext): gcc.o g77spec.o g77version.o version.o prefix.o intl.o \ $(LIBDEPS) $(EXTRA_GCC_OBJS) ! $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ gcc.o g77spec.o g77version.o \ ! version.o prefix.o intl.o $(EXTRA_GCC_OBJS) $(LIBS) # Create a version of the g77 driver which calls the cross-compiler. g77-cross$(exeext): g77$(exeext) ! rm -f g77-cross$(exeext); \ ! cp g77$(exeext) g77-cross$(exeext) # The compiler itself. F77_OBJS = f/bad.o f/bit.o f/bld.o f/com.o f/data.o f/equiv.o f/expr.o \ f/global.o f/implic.o f/info.o f/intrin.o f/lab.o f/lex.o f/malloc.o \ ! f/name.o f/parse.o f/src.o f/st.o f/sta.o f/stb.o f/stc.o \ f/std.o f/ste.o f/storag.o f/stp.o f/str.o f/sts.o f/stt.o f/stu.o \ f/stv.o f/stw.o f/symbol.o f/target.o f/top.o f/type.o f/version.o f/where.o *************** f/str-op.h f/str-op.j: f/fini$(build_exe *** 143,162 **** f/str-ot.h f/str-ot.j: f/fini$(build_exeext) f/str-ot.fin ./f/fini$(build_exeext) $(srcdir)/f/str-ot.fin f/str-ot.j f/str-ot.h ! f/fini$(build_exeext): f/fini.o f/proj-h.o safe-ctype.o $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o f/fini$(build_exeext) \ ! f/fini.o f/proj-h.o safe-ctype.o ! f/fini.o: $(HCONFIG_H) $(HOST_CC) $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \ -c $(srcdir)/f/fini.c $(OUTPUT_OPTION) - # Like proj.o, but depends on hconfig.h instead of config.h. - f/proj-h.o: f/proj.c f/proj.h $(HCONFIG_H) $(SYSTEM_H) $(ASSERT_H) $(GLIMITS_H) - $(HOST_CC) -DUSE_HCONFIG \ - $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \ - -c $(srcdir)/f/proj.c $(OUTPUT_OPTION) - # # Build hooks: --- 129,142 ---- f/str-ot.h f/str-ot.j: f/fini$(build_exeext) f/str-ot.fin ./f/fini$(build_exeext) $(srcdir)/f/str-ot.fin f/str-ot.j f/str-ot.h ! f/fini$(build_exeext): f/fini.o $(HOST_LIBDEPS) $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o f/fini$(build_exeext) \ ! f/fini.o $(HOST_LIBS) ! f/fini.o: $(HOST_CC) $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \ -c $(srcdir)/f/fini.c $(OUTPUT_OPTION) # # Build hooks: *************** f77.rest.encap: *** 167,203 **** f77.info: $(srcdir)/f/g77.info f77.dvi: f/g77.dvi # g77 documentation. $(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ! $(srcdir)/f/ffe.texi $(srcdir)/f/g77install.texi \ $(srcdir)/f/news.texi $(srcdir)/f/intdoc.texi \ $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \ $(srcdir)/doc/include/gpl.texi \ $(srcdir)/doc/include/funding.texi ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) lang-f77;; \ ! *) rm -f lang-f77;; \ ! esac ! if [ -f lang-f77 ] && [ x$(BUILD_INFO) = xinfo ]; then \ rm -f $(srcdir)/f/g77.info-*; \ cd $(srcdir)/f && $(MAKEINFO) -I../doc/include -o g77.info g77.texi; \ else true; fi f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ! $(srcdir)/f/ffe.texi $(srcdir)/f/g77install.texi \ $(srcdir)/f/news.texi $(srcdir)/f/intdoc.texi \ $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \ $(srcdir)/doc/include/gpl.texi \ $(srcdir)/doc/include/funding.texi ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) lang-f77;; \ ! *) rm -f lang-f77;; \ ! esac ! if [ -f lang-f77 ]; then \ ! s=`cd $(srcdir); pwd`; export s; \ ! cd f && $(TEXI2DVI) -I $$s/doc/include $$s/f/g77.texi; \ ! else true; fi # This dance is all about producing accurate documentation for g77's # intrinsics with minimum fuss. f/ansify appends "\n\" to C strings --- 147,181 ---- f77.info: $(srcdir)/f/g77.info f77.dvi: f/g77.dvi + f77.generated-manpages: $(srcdir)/f/g77.1 # g77 documentation. $(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ! $(srcdir)/f/ffe.texi $(srcdir)/f/invoke.texi \ $(srcdir)/f/news.texi $(srcdir)/f/intdoc.texi \ $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \ $(srcdir)/doc/include/gpl.texi \ $(srcdir)/doc/include/funding.texi ! if [ x$(BUILD_INFO) = xinfo ]; then \ rm -f $(srcdir)/f/g77.info-*; \ cd $(srcdir)/f && $(MAKEINFO) -I../doc/include -o g77.info g77.texi; \ else true; fi f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ! $(srcdir)/f/ffe.texi $(srcdir)/f/invoke.texi \ $(srcdir)/f/news.texi $(srcdir)/f/intdoc.texi \ $(srcdir)/f/root.texi $(srcdir)/doc/include/fdl.texi \ $(srcdir)/doc/include/gpl.texi \ $(srcdir)/doc/include/funding.texi ! s=`cd $(srcdir); pwd`; export s; \ ! cd f && $(TEXI2DVI) -I $$s/doc/include $$s/f/g77.texi ! ! $(srcdir)/f/g77.1: $(srcdir)/f/invoke.texi ! -$(TEXI2POD) < $(srcdir)/f/invoke.texi > f/g77.pod; \ ! ($(POD2MAN) --section=1 f/g77.pod > f/g77.1.T$$$$ && \ ! mv -f f/g77.1.T$$$$ $(srcdir)/f/g77.1) || \ ! (rm -f f/g77.1.T$$$$ && exit 1); \ ! rm -f f/g77.pod; \ # This dance is all about producing accurate documentation for g77's # intrinsics with minimum fuss. f/ansify appends "\n\" to C strings *************** $(srcdir)/f/intdoc.texi: $(INTDOC_DEPS) *** 233,247 **** $(MAKE) f/intdoc$(build_exeext) f/intdoc$(build_exeext) > $(srcdir)/f/intdoc.texi ! f/intdoc$(build_exeext): $(INTDOC_DEPS) f/intdoc.h0 hconfig.h system.h $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \ ! $(srcdir)/f/intdoc.c -o f/intdoc$(build_exeext) f/intdoc.h0: f/intdoc.in f/ansify$(build_exeext) f/ansify$(build_exeext) $(srcdir)/f/intdoc.in \ < $(srcdir)/f/intdoc.in > f/intdoc.h0 ! f/ansify$(build_exeext): f/ansify.c hconfig.h system.h $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \ $(srcdir)/f/ansify.c -o f/ansify$(build_exeext) --- 211,226 ---- $(MAKE) f/intdoc$(build_exeext) f/intdoc$(build_exeext) > $(srcdir)/f/intdoc.texi ! f/intdoc$(build_exeext): $(INTDOC_DEPS) f/intdoc.h0 hconfig.h $(SYSTEM_H) \ ! $(HOST_LIBDEPS) $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \ ! $(srcdir)/f/intdoc.c $(HOST_LIBS) -o f/intdoc$(build_exeext) f/intdoc.h0: f/intdoc.in f/ansify$(build_exeext) f/ansify$(build_exeext) $(srcdir)/f/intdoc.in \ < $(srcdir)/f/intdoc.in > f/intdoc.h0 ! f/ansify$(build_exeext): f/ansify.c hconfig.h $(SYSTEM_H) $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \ $(srcdir)/f/ansify.c -o f/ansify$(build_exeext) *************** f77.install-normal: *** 264,277 **** # Install the driver program as $(target)-g77 # and also as either g77 (if native) or $(tooldir)/bin/g77. - # Make sure `installdirs' target (from gcc Makefile) has been - # run, since we use libsubdir to store our `flag' file, lang-f77. f77.install-common: installdirs ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) $(libsubdir)/lang-f77.com;; \ ! *) rm -f $(libsubdir)/lang-f77.com;; \ ! esac ! -if [ -f $(libsubdir)/lang-f77.com -a -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \ $(INSTALL_PROGRAM) g77-cross$(exeext) $(bindir)/$(G77_CROSS_NAME)$(exeext); \ --- 243,250 ---- # Install the driver program as $(target)-g77 # and also as either g77 (if native) or $(tooldir)/bin/g77. f77.install-common: installdirs ! -if [ -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \ $(INSTALL_PROGRAM) g77-cross$(exeext) $(bindir)/$(G77_CROSS_NAME)$(exeext); \ *************** f77.install-common: installdirs *** 291,308 **** echo ' f77-install-ok in the source or build directory.)'; \ echo ''; \ else true; fi - rm -f $(libsubdir)/lang-f77.com # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir # to do the install. The sed rule was copied from stmp-int-hdrs. - # Make sure `installdirs' target (from gcc Makefile) has been - # run, since we use libsubdir to store our `flag' file, lang-f77. f77.install-info: f77.info installdirs ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) $(libsubdir)/lang-f77.info;; \ ! *) rm -f $(libsubdir)/lang-f77.info;; \ ! esac ! if [ -f $(libsubdir)/lang-f77.info -a -f $(srcdir)/f/g77.info ] ; then \ rm -f $(infodir)/g77.info*; \ for f in $(srcdir)/f/g77.info*; do \ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ --- 264,274 ---- echo ' f77-install-ok in the source or build directory.)'; \ echo ''; \ else true; fi # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir # to do the install. The sed rule was copied from stmp-int-hdrs. f77.install-info: f77.info installdirs ! if [ -f $(srcdir)/f/g77.info ] ; then \ rm -f $(infodir)/g77.info*; \ for f in $(srcdir)/f/g77.info*; do \ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ *************** f77.install-info: f77.info installdirs *** 310,331 **** done; \ chmod a-x $(infodir)/g77.info*; \ else true; fi ! @if [ -f $(libsubdir)/lang-f77.info -a -f $(srcdir)/f/g77.info ] ; then \ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \ install-info --info-dir=$(infodir) $(infodir)/g77.info || : ; \ else : ; fi; \ else : ; fi - rm -f $(libsubdir)/lang-f77.info ! # Make sure `installdirs' target (from gcc Makefile) has been ! # run, since we use libsubdir to store our `flag' file, lang-f77. ! f77.install-man: $(srcdir)/f/g77.1 installdirs ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) $(libsubdir)/lang-f77.man;; \ ! *) rm -f $(libsubdir)/lang-f77.man;; \ ! esac ! -if [ -f $(libsubdir)/lang-f77.man -a -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ --- 276,290 ---- done; \ chmod a-x $(infodir)/g77.info*; \ else true; fi ! @if [ -f $(srcdir)/f/g77.info ] ; then \ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \ install-info --info-dir=$(infodir) $(infodir)/g77.info || : ; \ else : ; fi; \ else : ; fi ! f77.install-man: $(GENERATED_MANPAGES) installdirs ! -if [ -f f771$(exeext) ] ; then \ if [ -f g77-cross$(exeext) ] ; then \ rm -f $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ $(INSTALL_DATA) $(srcdir)/f/g77.1 $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ *************** f77.install-man: $(srcdir)/f/g77.1 insta *** 336,364 **** chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \ fi; \ else true; fi - rm -f $(libsubdir)/lang-f77.man - # Make sure `installdirs' target (from gcc Makefile) has been - # run, since we use libsubdir to store our `flag' file, lang-f77. f77.uninstall: installdirs ! case "$(LANGUAGES)" in \ ! *[fF]77*) $(STAMP) $(libsubdir)/lang-f77.un;; \ ! *) rm -f $(libsubdir)/lang-f77.un;; \ ! esac ! @if [ -f $(libsubdir)/lang-f77.un ] ; then \ ! if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ ! echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \ ! install-info --delete --info-dir=$(infodir) $(infodir)/g77.info || : ; \ ! else : ; fi; \ else : ; fi ! -if [ -f $(libsubdir)/lang-f77.un ]; then \ ! rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \ ! rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \ ! rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \ ! rm -rf $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ ! rm -rf $(infodir)/g77.info*; \ ! fi ! rm -f $(libsubdir)/lang-f77.un # # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. --- 295,311 ---- chmod a-x $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \ fi; \ else true; fi f77.uninstall: installdirs ! if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ ! echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \ ! install-info --delete --info-dir=$(infodir) $(infodir)/g77.info || : ; \ else : ; fi ! rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \ ! rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \ ! rm -rf $(man1dir)/$(G77_INSTALL_NAME)$(man1ext); \ ! rm -rf $(man1dir)/$(G77_CROSS_NAME)$(man1ext); \ ! rm -rf $(infodir)/g77.info* # # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. *************** f77.mostlyclean: *** 373,379 **** f77.clean: -rm -f g77spec.o g77version.o f77.distclean: ! -rm -f lang-f77 f/Makefile f77.extraclean: f77.maintainer-clean: -rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/NEWS f/intdoc.texi --- 320,326 ---- f77.clean: -rm -f g77spec.o g77version.o f77.distclean: ! -rm -f f/Makefile f77.extraclean: f77.maintainer-clean: -rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/NEWS f/intdoc.texi *************** f77.maintainer-clean: *** 382,585 **** # The main makefile has already created stage?/f. G77STAGESTUFF = f/*$(objext) f/fini$(build_exeext) f/stamp-str \ ! f/str-*.h f/str-*.j lang-f77 g77spec.o g77version.o f77.stage1: stage1-start ! -if [ -f lang-f77 ]; then \ ! mv -f $(G77STAGESTUFF) stage1/f; \ ! fi f77.stage2: stage2-start ! -if [ -f lang-f77 ]; then \ ! mv -f $(G77STAGESTUFF) stage2/f; \ ! fi f77.stage3: stage3-start ! -if [ -f lang-f77 ]; then \ ! mv -f $(G77STAGESTUFF) stage3/f; \ ! fi f77.stage4: stage4-start ! -if [ -f lang-f77 ]; then \ ! mv -f $(G77STAGESTUFF) stage4/f; \ ! fi # # .o: .h dependencies. ! f/bad.o: f/bad.c f/proj.h $(CONFIG_H) system.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h flags.h f/com.h f/com-rt.def $(TREE_H) f/bld.h \ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ ! f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h toplev.h ! f/bit.o: f/bit.c f/proj.h $(CONFIG_H) system.h glimits.h f/bit.h \ f/malloc.h ! f/bld.o: f/bld.c f/proj.h $(CONFIG_H) system.h f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h f/lex.h \ f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h f/global.h \ f/name.h f/intrin.h f/intrin.def ! f/com.o: f/com.c f/proj.h $(CONFIG_H) system.h flags.h $(RTL_H) $(TREE_H) \ output.h convert.h f/com.h f/com-rt.def f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \ f/intrin.def f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ ! f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h ! f/data.o: f/data.c f/proj.h $(CONFIG_H) system.h f/data.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/st.h ! f/equiv.o: f/equiv.c f/proj.h $(CONFIG_H) system.h f/equiv.h f/bld.h \ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \ f/global.h f/name.h f/intrin.h f/intrin.def f/data.h ! f/expr.o: f/expr.c f/proj.h $(CONFIG_H) system.h f/expr.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/implic.h f/src.h f/st.h \ f/stamp-str ! f/fini.o: f/fini.c f/proj.h hconfig.h system.h f/malloc.h ! f/global.o: f/global.c f/proj.h $(CONFIG_H) system.h f/global.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/name.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h ! f/implic.o: f/implic.c f/proj.h $(CONFIG_H) system.h f/implic.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/src.h ! f/info.o: f/info.c f/proj.h $(CONFIG_H) system.h f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h f/lex.h f/type.h ! f/intrin.o: f/intrin.c f/proj.h $(CONFIG_H) system.h f/intrin.h \ f/intrin.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def \ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/expr.h f/src.h ! f/lab.o: f/lab.c f/proj.h $(CONFIG_H) system.h f/lab.h f/com.h f/com-rt.def \ $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def f/symbol.h f/symbol.def \ f/equiv.h f/storag.h f/global.h f/name.h ! f/lex.o: f/lex.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h f/where.h \ glimits.h f/bad.h f/bad.def f/com.h f/com-rt.def $(TREE_H) f/bld.h \ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/src.h flags.h \ ! input.h toplev.h output.h $(GGC_H) ! f/malloc.o: f/malloc.c f/proj.h $(CONFIG_H) system.h f/malloc.h ! f/name.o: f/name.c f/proj.h $(CONFIG_H) system.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h f/name.h f/global.h f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/lex.h f/type.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/src.h ! f/parse.o: f/parse.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h \ f/where.h glimits.h f/com.h f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def \ f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/version.h flags.h ! f/proj.o: f/proj.c f/proj.h $(CONFIG_H) system.h glimits.h ! f/src.o: f/src.c f/proj.h $(CONFIG_H) system.h f/src.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h ! f/st.o: f/st.c f/proj.h $(CONFIG_H) system.h f/st.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/symbol.h f/symbol.def \ f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/sta.h \ f/stamp-str f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h \ f/stv.h f/stw.h f/ste.h f/sts.h f/stu.h ! f/sta.o: f/sta.c f/proj.h $(CONFIG_H) system.h f/sta.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/stamp-str f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/implic.h \ f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h f/stv.h f/stw.h ! f/stb.o: f/stb.c f/proj.h $(CONFIG_H) system.h f/stb.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/expr.h f/bld.h f/bld-op.def f/bit.h \ f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \ f/stt.h f/stamp-str f/src.h f/sta.h f/stc.h ! f/stc.o: f/stc.c f/proj.h $(CONFIG_H) system.h f/stc.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/bld.h f/bld-op.def f/bit.h f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \ f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/stp.h \ f/stt.h f/stamp-str f/data.h f/implic.h f/src.h f/sta.h f/std.h f/stv.h f/stw.h ! f/std.o: f/std.c f/proj.h $(CONFIG_H) system.h f/std.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h f/stt.h f/stamp-str \ f/stv.h f/stw.h f/sta.h f/ste.h f/sts.h ! f/ste.o: f/ste.c f/proj.h $(CONFIG_H) system.h $(RTL_H) toplev.h f/ste.h \ f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \ f/stt.h f/stamp-str f/sts.h f/stv.h f/stw.h f/expr.h f/sta.h $(GGC_H) ! f/storag.o: f/storag.c f/proj.h $(CONFIG_H) system.h f/storag.h f/bld.h \ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/data.h ! f/stp.o: f/stp.c f/proj.h $(CONFIG_H) system.h f/stp.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/stt.h ! f/str.o: f/str.c f/proj.h $(CONFIG_H) system.h f/src.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/stamp-str f/lex.h ! f/sts.o: f/sts.c f/proj.h $(CONFIG_H) system.h f/sts.h f/malloc.h f/com.h \ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def \ f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ f/name.h ! f/stt.o: f/stt.c f/proj.h $(CONFIG_H) system.h f/stt.h f/top.h f/malloc.h \ f/where.h glimits.h f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def \ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h \ f/bad.h f/bad.def f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \ f/stp.h f/expr.h f/sta.h f/stamp-str ! f/stu.o: f/stu.c f/proj.h $(CONFIG_H) system.h f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \ f/implic.h f/stu.h f/sta.h f/stamp-str ! f/stv.o: f/stv.c f/proj.h $(CONFIG_H) system.h f/stv.h f/lab.h f/com.h \ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \ f/intrin.def f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ f/name.h ! f/stw.o: f/stw.c f/proj.h $(CONFIG_H) system.h f/stw.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/stv.h f/sta.h f/stamp-str ! f/symbol.o: f/symbol.c f/proj.h $(CONFIG_H) system.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h \ f/lex.h f/type.h f/lab.h f/storag.h f/intrin.h f/intrin.def f/equiv.h \ f/global.h f/name.h f/src.h f/st.h ! f/target.o: f/target.c f/proj.h $(CONFIG_H) system.h glimits.h f/target.h \ $(TREE_H) f/bad.h f/bad.def f/where.h f/top.h f/malloc.h f/info.h \ ! f/info-b.def f/info-k.def f/info-w.def f/type.h f/lex.h ! f/top.o: f/top.c f/proj.h $(CONFIG_H) system.h f/top.h f/malloc.h f/where.h \ glimits.h f/bad.h f/bad.def f/bit.h f/bld.h f/bld-op.def f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/data.h f/expr.h f/implic.h f/src.h f/st.h flags.h \ toplev.h ! f/type.o: f/type.c f/proj.h $(CONFIG_H) system.h f/type.h f/malloc.h ! f/version.o: f/version.c ! f/where.o: f/where.c f/proj.h $(CONFIG_H) system.h f/where.h glimits.h f/top.h \ f/malloc.h f/lex.h $(GGC_H) --- 329,527 ---- # The main makefile has already created stage?/f. G77STAGESTUFF = f/*$(objext) f/fini$(build_exeext) f/stamp-str \ ! f/str-*.h f/str-*.j g77spec.o g77version.o f77.stage1: stage1-start ! -mv -f $(G77STAGESTUFF) stage1/f ! f77.stage2: stage2-start ! -mv -f $(G77STAGESTUFF) stage2/f ! f77.stage3: stage3-start ! -mv -f $(G77STAGESTUFF) stage3/f ! f77.stage4: stage4-start ! -mv -f $(G77STAGESTUFF) stage4/f # # .o: .h dependencies. ! f/bad.o: f/bad.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h flags.h f/com.h f/com-rt.def $(TREE_H) f/bld.h \ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ ! f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h toplev.h intl.h ! f/bit.o: f/bit.c f/proj.h $(CONFIG_H) $(SYSTEM_H) glimits.h f/bit.h \ f/malloc.h ! f/bld.o: f/bld.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h f/lex.h \ f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h f/global.h \ f/name.h f/intrin.h f/intrin.def ! f/com.o: f/com.c f/proj.h $(CONFIG_H) $(SYSTEM_H) flags.h $(RTL_H) $(TREE_H) \ output.h convert.h f/com.h f/com-rt.def f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \ f/intrin.def f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ ! f/name.h f/expr.h f/implic.h f/src.h f/st.h $(GGC_H) toplev.h diagnostic.h \ ! langhooks.h langhooks-def.h intl.h ! f/data.o: f/data.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/data.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/st.h ! f/equiv.o: f/equiv.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/equiv.h f/bld.h \ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \ f/global.h f/name.h f/intrin.h f/intrin.def f/data.h ! f/expr.o: f/expr.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/expr.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/implic.h f/src.h f/st.h \ f/stamp-str ! f/fini.o: f/fini.c f/proj.h hconfig.h $(SYSTEM_H) f/malloc.h ! f/global.o: f/global.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/global.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/name.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h ! f/implic.o: f/implic.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/implic.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/type.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/src.h ! f/info.o: f/info.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h f/lex.h f/type.h ! f/intrin.o: f/intrin.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/intrin.h \ f/intrin.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def \ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/expr.h f/src.h ! f/lab.o: f/lab.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/lab.h f/com.h f/com-rt.def \ $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def f/symbol.h f/symbol.def \ f/equiv.h f/storag.h f/global.h f/name.h ! f/lex.o: f/lex.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/top.h f/malloc.h f/where.h \ glimits.h f/bad.h f/bad.def f/com.h f/com-rt.def $(TREE_H) f/bld.h \ f/bld-op.def f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/src.h flags.h \ ! debug.h input.h toplev.h output.h $(GGC_H) ! f/malloc.o: f/malloc.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/malloc.h ! f/name.o: f/name.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/malloc.h f/name.h f/global.h f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h $(TREE_H) f/lex.h f/type.h f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/src.h ! f/parse.o: f/parse.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/top.h f/malloc.h \ f/where.h glimits.h f/com.h f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def \ f/bit.h f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/lex.h f/type.h f/intrin.h f/intrin.def f/lab.h f/symbol.h \ f/symbol.def f/equiv.h f/storag.h f/global.h f/name.h f/version.h flags.h ! f/src.o: f/src.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/src.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h ! f/st.o: f/st.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/st.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/symbol.h f/symbol.def \ f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/sta.h \ f/stamp-str f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h \ f/stv.h f/stw.h f/ste.h f/sts.h f/stu.h ! f/sta.o: f/sta.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/sta.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/lex.h f/stamp-str f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/type.h f/lab.h \ f/storag.h f/intrin.h f/intrin.def f/equiv.h f/global.h f/name.h f/implic.h \ f/stb.h f/expr.h f/stp.h f/stt.h f/stc.h f/std.h f/stv.h f/stw.h ! f/stb.o: f/stb.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stb.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/expr.h f/bld.h f/bld-op.def f/bit.h \ f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \ f/stt.h f/stamp-str f/src.h f/sta.h f/stc.h ! f/stc.o: f/stc.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stc.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/bld.h f/bld-op.def f/bit.h f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def \ f/target.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def \ f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/expr.h f/stp.h \ f/stt.h f/stamp-str f/data.h f/implic.h f/src.h f/sta.h f/std.h f/stv.h f/stw.h ! f/std.o: f/std.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/std.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h \ f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h f/symbol.def f/equiv.h \ f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h f/stt.h f/stamp-str \ f/stv.h f/stw.h f/sta.h f/ste.h f/sts.h ! f/ste.o: f/ste.c f/proj.h $(CONFIG_H) $(SYSTEM_H) $(RTL_H) toplev.h f/ste.h \ f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def f/stp.h \ f/stt.h f/stamp-str f/sts.h f/stv.h f/stw.h f/expr.h f/sta.h $(GGC_H) ! f/storag.o: f/storag.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/storag.h f/bld.h \ f/bld-op.def f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/data.h ! f/stp.o: f/stp.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stp.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/stt.h ! f/str.o: f/str.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/src.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/malloc.h f/stamp-str f/lex.h ! f/sts.o: f/sts.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/sts.h f/malloc.h f/com.h \ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h f/intrin.def \ f/lab.h f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ f/name.h ! f/stt.o: f/stt.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stt.h f/top.h f/malloc.h \ f/where.h glimits.h f/bld.h f/bld-op.def f/bit.h f/com.h f/com-rt.def \ $(TREE_H) f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h \ f/bad.h f/bad.def f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \ f/stp.h f/expr.h f/sta.h f/stamp-str ! f/stu.o: f/stu.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/bld.h f/bld-op.def f/bit.h \ f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h f/info-b.def \ f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def f/where.h \ glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h f/symbol.h \ f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h f/intrin.def \ f/implic.h f/stu.h f/sta.h f/stamp-str ! f/stv.o: f/stv.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stv.h f/lab.h f/com.h \ f/com-rt.def $(TREE_H) f/bld.h f/bld-op.def f/bit.h f/malloc.h \ f/info.h f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h \ f/bad.def f/where.h glimits.h f/top.h f/lex.h f/type.h f/intrin.h \ f/intrin.def f/symbol.h f/symbol.def f/equiv.h f/storag.h f/global.h \ f/name.h ! f/stw.o: f/stw.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/stw.h f/bld.h f/bld-op.def \ f/bit.h f/malloc.h f/com.h f/com-rt.def $(TREE_H) f/info.h \ f/info-b.def f/info-k.def f/info-w.def f/target.h f/bad.h f/bad.def \ f/where.h glimits.h f/top.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/stv.h f/sta.h f/stamp-str ! f/symbol.o: f/symbol.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/symbol.h \ f/symbol.def f/bld.h f/bld-op.def f/bit.h f/malloc.h f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/bad.h f/bad.def f/where.h glimits.h f/top.h \ f/lex.h f/type.h f/lab.h f/storag.h f/intrin.h f/intrin.def f/equiv.h \ f/global.h f/name.h f/src.h f/st.h ! f/target.o: f/target.c f/proj.h $(CONFIG_H) $(SYSTEM_H) glimits.h f/target.h \ $(TREE_H) f/bad.h f/bad.def f/where.h f/top.h f/malloc.h f/info.h \ ! f/info-b.def f/info-k.def f/info-w.def f/type.h f/lex.h diagnostic.h ! f/top.o: f/top.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/top.h f/malloc.h f/where.h \ glimits.h f/bad.h f/bad.def f/bit.h f/bld.h f/bld-op.def f/com.h \ f/com-rt.def $(TREE_H) f/info.h f/info-b.def f/info-k.def \ f/info-w.def f/target.h f/lex.h f/type.h f/lab.h f/storag.h \ f/symbol.h f/symbol.def f/equiv.h f/global.h f/name.h f/intrin.h \ f/intrin.def f/data.h f/expr.h f/implic.h f/src.h f/st.h flags.h \ toplev.h ! f/type.o: f/type.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/type.h f/malloc.h ! f/version.o: f/version.c f/version.h ! f/where.o: f/where.c f/proj.h $(CONFIG_H) $(SYSTEM_H) f/where.h glimits.h f/top.h \ f/malloc.h f/lex.h $(GGC_H) diff -Nrc3pad gcc-3.0.4/gcc/f/NEWS gcc-3.1/gcc/f/NEWS *** gcc-3.0.4/gcc/f/NEWS Wed Feb 20 20:24:01 2002 --- gcc-3.1/gcc/f/NEWS Wed May 15 03:48:01 2002 *************** _Note:_ This file is automatically gener *** 2,12 **** `news0.texi' and `news.texi'. `NEWS' is _not_ a source file, although it is normally included within source distributions. ! This file lists news about the GCC-3.0 version (and some other versions) of the GNU Fortran compiler. Copyright (C) ! 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. You ! may copy, distribute, and modify it freely as long as you preserve this ! copyright notice and permission notice. News About GNU Fortran ********************** --- 2,12 ---- `news0.texi' and `news.texi'. `NEWS' is _not_ a source file, although it is normally included within source distributions. ! This file lists news about the GCC-3.1 version (and some other versions) of the GNU Fortran compiler. Copyright (C) ! 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. ! You may copy, distribute, and modify it freely as long as you preserve ! this copyright notice and permission notice. News About GNU Fortran ********************** *************** somewhat more difficult. *** 49,55 **** the mainline, development version of `g77' within `gcc') is available at `http://www.gnu.org/software/gcc/onlinedocs/g77_news.html'. ! The following information was last updated on 2001-06-03: In 0.5.26, `GCC' 3.0 versus `GCC' 2.95: ======================================= --- 49,140 ---- the mainline, development version of `g77' within `gcc') is available at `http://www.gnu.org/software/gcc/onlinedocs/g77_news.html'. ! The following information was last updated on 2002-04-13: ! ! In `GCC' 3.1 (formerly known as g77-0.5.27) versus `GCC' 3.0: ! ============================================================= ! ! * Problem Reports fixed (in chronological order of submission): ! `947' ! Data statement initialization with subscript of kind INTEGER*2 ! ! `3743' ! Reference to intrinsic `ISHFT' invalid ! ! `3807' ! Function BESJN(integer,double) problems ! ! `3957' ! g77 -pipe -xf77-cpp-input sends output to stdout ! ! `4279' ! g77 -h" gives bogus output ! ! `4730' ! ICE on valid input using CALL EXIT(%VAL(...)) ! ! `4752' ! g77 -v -c -xf77-version /dev/null -xnone causes ice ! ! `4885' ! BACKSPACE example that doesn't work as of gcc/g77-3.0.x ! ! `5122' ! g77 rejects accepted use of INTEGER*2 as type of DATA ! statement loop index ! ! `5397' ! ICE on compiling source with 540 000 000 REAL array ! ! `5473' ! ICE on BESJN(integer*8,real) ! ! `5837' ! bug in loop unrolling ! ! * `g77' now has its man page generated from the texinfo ! documentation, to guarantee that it remains up to date. ! ! * `g77' used to reject the following program on 32-bit targets: ! PROGRAM PROG ! DIMENSION A(140 000 000) ! END ! with the message: ! prog.f: In program `prog': ! prog.f:2: ! DIMENSION A(140 000 000) ! ^ ! Array `a' at (^) is too large to handle ! because 140 000 000 reals is larger than the largest bit-extent ! that can be expressed in 32 bits. However, bit-sizes never play a ! role after offsets have been converted to byte addresses. ! Therefore this check has been removed. Note: On GNU/Linux systems ! one has to compile programs that occupy more than 1 Gbyte ! statically, i.e. `g77 -static ...'. ! ! * Based on work done by Juergen Pfeifer () ! libf2c is now a shared library. One can still link in all objects ! with the program by specifying the `-static' option. ! ! * Robert Anderson () thought up a two line ! change that enables g77 to compile such code as: ! SUBROUTINE SUB(A, N) ! DIMENSION N(2) ! DIMENSION A(N(1),N(2)) ! A(1,1) = 1. ! END ! Note the use of array elements in the bounds of the adjustable ! array A. ! ! * George Helffrich () implemented a change ! in substring index checking (when specifying `-fbounds-check') ! that permits the use of zero length substrings of the form ! `string(1:0)'. ! ! * Based on code developed by Pedro Vazquez ! (), the `libf2c' library is now ! able to read and write files larger than 2 Gbyte on 32-bit target ! machines, if the operating system supports this. In 0.5.26, `GCC' 3.0 versus `GCC' 2.95: ======================================= *************** In `EGCS' 1.1 versus `EGCS' 1.0.3: *** 309,334 **** shared library. * `g77' no longer installs the `f77' command and `f77.1' man page in ! the `/usr' or `/usr/local' heirarchy, even if the `f77-install-ok' file exists in the source or build directory. See the installation documentation for more information. * `g77' no longer installs the `libf2c.a' library and `f2c.h' ! include file in the `/usr' or `/usr/local' heirarchy, even if the `f2c-install-ok' or `f2c-exists-ok' files exist in the source or build directory. See the installation documentation for more information. * The `libf2c.a' library produced by `g77' has been renamed to `libg2c.a'. It is installed only in the `gcc' "private" directory ! heirarchy, `gcc-lib'. This allows system administrators and users to choose which version of the `libf2c' library from `netlib' they wish to use on a case-by-case basis. See the installation documentation for more information. * The `f2c.h' include (header) file produced by `g77' has been renamed to `g2c.h'. It is installed only in the `gcc' "private" ! directory heirarchy, `gcc-lib'. This allows system administrators and users to choose which version of the include file from `netlib' they wish to use on a case-by-case basis. See the installation documentation for more information. --- 394,419 ---- shared library. * `g77' no longer installs the `f77' command and `f77.1' man page in ! the `/usr' or `/usr/local' hierarchy, even if the `f77-install-ok' file exists in the source or build directory. See the installation documentation for more information. * `g77' no longer installs the `libf2c.a' library and `f2c.h' ! include file in the `/usr' or `/usr/local' hierarchy, even if the `f2c-install-ok' or `f2c-exists-ok' files exist in the source or build directory. See the installation documentation for more information. * The `libf2c.a' library produced by `g77' has been renamed to `libg2c.a'. It is installed only in the `gcc' "private" directory ! hierarchy, `gcc-lib'. This allows system administrators and users to choose which version of the `libf2c' library from `netlib' they wish to use on a case-by-case basis. See the installation documentation for more information. * The `f2c.h' include (header) file produced by `g77' has been renamed to `g2c.h'. It is installed only in the `gcc' "private" ! directory hierarchy, `gcc-lib'. This allows system administrators and users to choose which version of the include file from `netlib' they wish to use on a case-by-case basis. See the installation documentation for more information. diff -Nrc3pad gcc-3.0.4/gcc/f/bad.c gcc-3.1/gcc/f/bad.c *** gcc-3.0.4/gcc/f/bad.c Fri Dec 8 03:00:25 2000 --- gcc-3.1/gcc/f/bad.c Wed Jan 23 03:01:52 2002 *************** *** 1,5 **** /* bad.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. --- 1,5 ---- /* bad.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. *************** the Free Software Foundation, 59 Temple *** 42,47 **** --- 42,48 ---- #include "com.h" #include "toplev.h" #include "where.h" + #include "intl.h" /* Externals defined here. */ *************** bool ffebad_is_inhibited_ = FALSE; *** 61,84 **** struct _ffebad_message_ { ! ffebadSeverity severity; ! const char *message; }; /* Static objects accessed by functions in this module. */ ! static struct _ffebad_message_ ffebad_messages_[] = { ! #define FFEBAD_MSGS1(KWD,SEV,MSG) { SEV, MSG }, #if FFEBAD_LONG_MSGS_ == 0 ! #define FFEBAD_MSGS2(KWD,SEV,LMSG,SMSG) { SEV, SMSG }, #else ! #define FFEBAD_MSGS2(KWD,SEV,LMSG,SMSG) { SEV, LMSG }, #endif #include "bad.def" ! #undef FFEBAD_MSGS1 ! #undef FFEBAD_MSGS2 }; static struct --- 62,88 ---- struct _ffebad_message_ { ! const ffebadSeverity severity; ! const char *const message; }; /* Static objects accessed by functions in this module. */ ! static const struct _ffebad_message_ ffebad_messages_[] = { ! #define FFEBAD_MSG(kwd,sev,msgid) { sev, msgid }, #if FFEBAD_LONG_MSGS_ == 0 ! #define LONG(m) ! #define SHORT(m) m #else ! #define LONG(m) m ! #define SHORT(m) #endif #include "bad.def" ! #undef FFEBAD_MSG ! #undef LONG ! #undef SHORT }; static struct *************** ffebad_severity (ffebad errnum) *** 161,167 **** bool ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev, ! const char *message) { unsigned char i; --- 165,171 ---- bool ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev, ! const char *msgid) { unsigned char i; *************** ffebad_start_ (bool lex_override, ffebad *** 174,227 **** if (errnum != FFEBAD) { ffebad_severity_ = ffebad_messages_[errnum].severity; ! ffebad_message_ = ffebad_messages_[errnum].message; } else { ffebad_severity_ = sev; ! ffebad_message_ = message; } ! #if FFECOM_targetCURRENT == FFECOM_targetGCC ! { ! extern int inhibit_warnings; /* From toplev.c. */ ! ! switch (ffebad_severity_) ! { /* Tell toplev.c about this message. */ ! case FFEBAD_severityINFORMATIONAL: ! case FFEBAD_severityTRIVIAL: ! if (inhibit_warnings) ! { /* User wants no warnings. */ ! ffebad_is_temp_inhibited_ = TRUE; ! return FALSE; ! } ! /* Fall through. */ ! case FFEBAD_severityWARNING: ! case FFEBAD_severityPECULIAR: ! case FFEBAD_severityPEDANTIC: ! if ((ffebad_severity_ != FFEBAD_severityPEDANTIC) ! || !flag_pedantic_errors) ! { ! if (count_error (1) == 0) ! { /* User wants no warnings. */ ! ffebad_is_temp_inhibited_ = TRUE; ! return FALSE; ! } ! break; ! } ! /* Fall through (PEDANTIC && flag_pedantic_errors). */ ! case FFEBAD_severityFATAL: ! case FFEBAD_severityWEIRD: ! case FFEBAD_severitySEVERE: ! case FFEBAD_severityDISASTER: ! count_error (0); ! break; ! default: ! break; ! } ! } ! #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ ffebad_is_temp_inhibited_ = FALSE; ffebad_errnum_ = errnum; --- 178,225 ---- if (errnum != FFEBAD) { ffebad_severity_ = ffebad_messages_[errnum].severity; ! ffebad_message_ = gettext (ffebad_messages_[errnum].message); } else { ffebad_severity_ = sev; ! ffebad_message_ = gettext (msgid); } ! switch (ffebad_severity_) ! { /* Tell toplev.c about this message. */ ! case FFEBAD_severityINFORMATIONAL: ! case FFEBAD_severityTRIVIAL: ! if (inhibit_warnings) ! { /* User wants no warnings. */ ! ffebad_is_temp_inhibited_ = TRUE; ! return FALSE; ! } ! /* Fall through. */ ! case FFEBAD_severityWARNING: ! case FFEBAD_severityPECULIAR: ! case FFEBAD_severityPEDANTIC: ! if ((ffebad_severity_ != FFEBAD_severityPEDANTIC) ! || !flag_pedantic_errors) ! { ! if (count_error (1) == 0) ! { /* User wants no warnings. */ ! ffebad_is_temp_inhibited_ = TRUE; ! return FALSE; ! } ! break; ! } ! /* Fall through (PEDANTIC && flag_pedantic_errors). */ ! case FFEBAD_severityFATAL: ! case FFEBAD_severityWEIRD: ! case FFEBAD_severitySEVERE: ! case FFEBAD_severityDISASTER: ! count_error (0); ! break; ! default: ! break; ! } ffebad_is_temp_inhibited_ = FALSE; ffebad_errnum_ = errnum; *************** void *** 351,357 **** ffebad_finish () { #define MAX_SPACES 132 ! static const char *spaces = "...>\ \040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\ \040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\ --- 349,355 ---- ffebad_finish () { #define MAX_SPACES 132 ! static const char *const spaces = "...>\ \040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\ \040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\040\ *************** ffebad_finish () *** 385,399 **** switch (ffebad_severity_) { case FFEBAD_severityINFORMATIONAL: ! s = "note:"; break; case FFEBAD_severityWARNING: ! s = "warning:"; break; case FFEBAD_severitySEVERE: ! s = "fatal:"; break; default: --- 383,397 ---- switch (ffebad_severity_) { case FFEBAD_severityINFORMATIONAL: ! s = _("note:"); break; case FFEBAD_severityWARNING: ! s = _("warning:"); break; case FFEBAD_severitySEVERE: ! s = _("fatal:"); break; default: *************** ffebad_finish () *** 422,448 **** { if (bi != 0) fputc ('\n', stderr); - #if FFECOM_targetCURRENT == FFECOM_targetGCC report_error_function (fn); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ fprintf (stderr, - #if 0 - "Line %" ffewhereLineNumber_f "u of %s:\n %s\n %s%c", - rn, fn, - #else /* the trailing space on the :: line fools emacs19 compilation mode into finding the report */ "%s:%" ffewhereLineNumber_f "u: %s\n %s\n %s%c", fn, rn, - #endif s, ffewhere_line_content (l), &spaces[cn > MAX_SPACES ? 0 : MAX_SPACES - cn + 4], pointer); last_line_num = ln; last_col_num = cn; ! s = "(continued):"; } else { --- 420,439 ---- { if (bi != 0) fputc ('\n', stderr); report_error_function (fn); fprintf (stderr, /* the trailing space on the :: line fools emacs19 compilation mode into finding the report */ "%s:%" ffewhereLineNumber_f "u: %s\n %s\n %s%c", fn, rn, s, ffewhere_line_content (l), &spaces[cn > MAX_SPACES ? 0 : MAX_SPACES - cn + 4], pointer); last_line_num = ln; last_col_num = cn; ! s = _("(continued):"); } else { *************** ffebad_finish () *** 486,505 **** if (c == '%') { c = ffebad_message_[++i]; ! if (ISALPHA (c) && ISUPPER (c)) { index = c - 'A'; if ((index < 0) || (index >= FFEBAD_MAX_)) { ! bufi = ffebad_bufputs_ (buf, bufi, "[REPORT BUG!!] %"); bufi = ffebad_bufputc_ (buf, bufi, c); } else { s = ffebad_string_[index]; if (s == NULL) ! bufi = ffebad_bufputs_ (buf, bufi, "[REPORT BUG!!]"); else bufi = ffebad_bufputs_ (buf, bufi, s); } --- 477,496 ---- if (c == '%') { c = ffebad_message_[++i]; ! if (ISUPPER (c)) { index = c - 'A'; if ((index < 0) || (index >= FFEBAD_MAX_)) { ! bufi = ffebad_bufputs_ (buf, bufi, _("[REPORT BUG!!] %")); bufi = ffebad_bufputc_ (buf, bufi, c); } else { s = ffebad_string_[index]; if (s == NULL) ! bufi = ffebad_bufputs_ (buf, bufi, _("[REPORT BUG!!]")); else bufi = ffebad_bufputs_ (buf, bufi, s); } *************** ffebad_finish () *** 510,516 **** if ((index < 0) || (index >= FFEBAD_MAX_)) { ! bufi = ffebad_bufputs_ (buf, bufi, "[REPORT BUG!!] %"); bufi = ffebad_bufputc_ (buf, bufi, c); } else --- 501,507 ---- if ((index < 0) || (index >= FFEBAD_MAX_)) { ! bufi = ffebad_bufputs_ (buf, bufi, _("[REPORT BUG!!] %")); bufi = ffebad_bufputc_ (buf, bufi, c); } else *************** ffebad_finish () *** 531,537 **** bufi = ffebad_bufputc_ (buf, bufi, '%'); else { ! bufi = ffebad_bufputs_ (buf, bufi, "[REPORT BUG!!]"); bufi = ffebad_bufputc_ (buf, bufi, '%'); bufi = ffebad_bufputc_ (buf, bufi, c); } --- 522,528 ---- bufi = ffebad_bufputc_ (buf, bufi, '%'); else { ! bufi = ffebad_bufputs_ (buf, bufi, _("[REPORT BUG!!]")); bufi = ffebad_bufputc_ (buf, bufi, '%'); bufi = ffebad_bufputc_ (buf, bufi, c); } diff -Nrc3pad gcc-3.0.4/gcc/f/bad.def gcc-3.1/gcc/f/bad.def *** gcc-3.0.4/gcc/f/bad.def Sat Feb 26 20:02:00 2000 --- gcc-3.1/gcc/f/bad.def Mon Feb 4 15:58:50 2002 *************** *** 1,5 **** /* bad.def -- Public #include File (module.h template V1.0) ! Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. --- 1,5 ---- /* bad.def -- Public #include File (module.h template V1.0) ! Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. *************** the Free Software Foundation, 59 Temple *** 34,708 **** #define SEVERE FFEBAD_severitySEVERE #define DISASTER FFEBAD_severityDISASTER ! FFEBAD_MSGS1 (FFEBAD_MISSING_FIRST_BINARY_OPERAND, FATAL, "Missing first operand for binary operator at %0") ! FFEBAD_MSGS1 (FFEBAD_NULL_CHAR_CONST, WARN, "Zero-length character constant at %0") ! FFEBAD_MSGS1 (FFEBAD_INVALID_TOKEN_IN_EXPRESSION, FATAL, "Invalid token at %0 in expression or subexpression at %1") ! FFEBAD_MSGS1 (FFEBAD_MISSING_OPERAND_FOR_OPERATOR, FATAL, "Missing operand for operator at %1 at end of expression at %0") ! FFEBAD_MSGS1 (FFEBAD_LABEL_ALREADY_DEFINED, FATAL, "Label %A already defined at %1 when redefined at %0") ! FFEBAD_MSGS1 (FFEBAD_UNRECOGNIZED_CHARACTER, FATAL, "Unrecognized character at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_LABEL_WITHOUT_STMT, WARN, "Label definition %A at %0 on empty statement (as of %1)") ! FFEBAD_MSGS2 (FFEBAD_EXTRA_LABEL_DEF, FATAL, ! "Extra label definition %A at %0 -- perhaps previous label definition %B at %1 should have CONTINUE statement?", ! "Extra label definition %A at %0 following label definition %B at %1") ! FFEBAD_MSGS1 (FFEBAD_FIRST_CHAR_INVALID, FATAL, "Invalid first character at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_LINE_TOO_LONG, FATAL, "Line too long as of %0 [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_LABEL_FIELD_NOT_NUMERIC, FATAL, "Non-numeric character at %0 in label field [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_LABEL_NUMBER_INVALID, FATAL, "Label number at %0 not in range 1-99999") ! FFEBAD_MSGS1 (FFEBAD_NON_ANSI_COMMENT, WARN, "At %0, '!' and '/*' are not valid comment delimiters") ! FFEBAD_MSGS1 (FFEBAD_NON_ANSI_CONTINUATION_COLUMN, WARN, "Continuation indicator at %0 must appear in column 6 [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_LABEL_ON_CONTINUATION, FATAL, "Label at %0 invalid with continuation line indicator at %1 [info -f g77 M LEX]") ! FFEBAD_MSGS2 (FFEBAD_INVALID_CONTINUATION, FATAL, ! "Continuation indicator at %0 invalid on first non-comment line of file or following END or INCLUDE [info -f g77 M LEX]", ! "Continuation indicator at %0 invalid here [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_NO_CLOSING_APOSTROPHE, FATAL, "Character constant at %0 has no closing apostrophe at %1") ! FFEBAD_MSGS1 (FFEBAD_NOT_ENOUGH_HOLLERITH_CHARS, FATAL, "Hollerith constant at %0 specified %A more characters than are present as of %1") ! FFEBAD_MSGS1 (FFEBAD_MISSING_CLOSE_PAREN, FATAL, "Missing close parenthese at %0 needed to match open parenthese at %1") ! FFEBAD_MSGS1 (FFEBAD_INTEGER_TOO_LARGE, FATAL, "Integer at %0 too large") ! FFEBAD_MSGS2 (FFEBAD_BAD_MAGICAL, WARN, ! "Integer at %0 too large except as negative number (preceded by unary minus sign)", ! "Non-negative integer at %0 too large") ! FFEBAD_MSGS2 (FFEBAD_BAD_MAGICAL_PRECEDENCE, WARN, ! "Integer at %0 too large; even though preceded by unary minus sign at %1, subsequent operator at %2 has precedence over unary minus -- enclose unary minus sign and integer in parentheses to force precedence", ! "Integer at %0 too large (%2 has precedence over %1)") ! FFEBAD_MSGS2 (FFEBAD_BAD_MAGICAL_BINARY, WARN, ! "Integer at %0 too large; even though preceded by minus sign at %1, because minus sign is a binary, not unary, operator -- insert plus sign before minus sign to change it to a unary minus sign", ! "Integer at %0 too large (needs unary, not binary, minus at %1)") ! FFEBAD_MSGS2 (FFEBAD_BAD_MAGICAL_PRECEDENCE_BINARY, WARN, ! "Integer at %0 too large; even though preceded by minus sign at %1, subsequent operator at %2 has precedence over minus, and that minus sign should be a unary minus rather than a binary minus -- insert plus sign before minus sign to change it to a unary minus sign, and enclose unary minus sign and integer in parentheses to force precedence", ! "Integer at %0 too large (%2 has precedence over %1, which needs to be unary, not binary, minus)") ! FFEBAD_MSGS1 (FFEBAD_IGNORING_PERIOD, FATAL, "Period at %0 not followed by digits for floating-point number or by `NOT.', `TRUE.', or `FALSE.'") ! FFEBAD_MSGS1 (FFEBAD_INSERTING_PERIOD, FATAL, "Missing close-period between `.%A' at %0 and %1") ! FFEBAD_MSGS1 (FFEBAD_INVALID_EXPONENT, FATAL, "Invalid exponent at %0 for real constant at %1; nondigit `%A' in exponent field") ! FFEBAD_MSGS1 (FFEBAD_MISSING_EXPONENT_VALUE, FATAL, "Missing value at %1 for real-number exponent at %0") ! FFEBAD_MSGS1 (FFEBAD_MISSING_BINARY_OPERATOR, FATAL, "Expected binary operator between expressions at %0 and at %1") ! FFEBAD_MSGS2 (FFEBAD_INVALID_DOTDOT, FATAL, ! "Period at %0 not followed by valid keyword forming a valid binary operator; `.%A.' is not a valid binary operator", ! "`.%A.' at %0 not a binary operator") ! FFEBAD_MSGS2 (FFEBAD_QUOTE_MISSES_DIGITS, FATAL, ! "Double-quote at %0 not followed by a string of valid octal digits at %1", ! "Invalid octal constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_BINARY_DIGIT, FATAL, ! "Invalid binary digit(s) found in string of digits at %0", ! "Invalid binary constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_HEX_DIGIT, FATAL, ! "Invalid hexadecimal digit(s) found in string of digits at %0", ! "Invalid hexadecimal constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_OCTAL_DIGIT, FATAL, ! "Invalid octal digit(s) found in string of digits at %0", ! "Invalid octal constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_RADIX_SPECIFIER, FATAL, ! "Invalid radix specifier `%A' at %0 for typeless constant at %1", ! "Invalid typeless constant at %1") ! FFEBAD_MSGS2 (FFEBAD_INVALID_TYPELESS_BINARY_DIGIT, FATAL, ! "Invalid binary digit(s) found in string of digits at %0", ! "Invalid binary constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_TYPELESS_OCTAL_DIGIT, FATAL, ! "Invalid octal digit(s) found in string of digits at %0", ! "Invalid octal constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_TYPELESS_HEX_DIGIT, FATAL, ! "Invalid hexadecimal digit(s) found in string of digits at %0", ! "Invalid hexadecimal constant at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_COMPLEX_PART, FATAL, ! "%A part of complex constant at %0 must be a real or integer constant -- otherwise use CMPLX() or COMPLEX() in place of ()", ! "%A part of complex constant at %0 not a real or integer constant") ! FFEBAD_MSGS2 (FFEBAD_INVALID_PERCENT, FATAL, ! "Invalid keyword `%%%A' at %0 in this context", ! "Invalid keyword `%%%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_NULL_EXPRESSION, FATAL, ! "Null expression between %0 and %1 invalid in this context", ! "Invalid null expression between %0 and %1") ! FFEBAD_MSGS2 (FFEBAD_CONCAT_ARGS_TYPE, FATAL, ! "Concatenation operator at %0 must operate on two subexpressions of character type, but neither subexpression at %1 or %2 is of character type", ! "Invalid operands at %1 and %2 for concatenation operator at %0") ! FFEBAD_MSGS2 (FFEBAD_CONCAT_ARG_TYPE, FATAL, ! "Concatenation operator at %0 must operate on two subexpressions of character type, but the subexpression at %1 is not of character type", ! "Invalid operand at %1 for concatenation operator at %0") ! FFEBAD_MSGS2 (FFEBAD_CONCAT_ARG_KIND, FATAL, ! "Concatenation operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning character scalars, or a combination of both -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for concatenation operator at %0") ! FFEBAD_MSGS2 (FFEBAD_MATH_ARGS_TYPE, FATAL, ! "Arithmetic operator at %0 must operate on two subexpressions of arithmetic type, but neither subexpression at %1 or %2 is of arithmetic type", ! "Invalid operands at %1 and %2 for arithmetic operator at %0") ! FFEBAD_MSGS2 (FFEBAD_MATH_ARG_TYPE, FATAL, ! "Arithmetic operator at %0 must operate on two subexpressions of arithmetic type, but the subexpression at %1 is not of arithmetic type", ! "Invalid operand at %1 for arithmetic operator at %0") ! FFEBAD_MSGS2 (FFEBAD_MATH_ARG_KIND, FATAL, ! "Arithmetic operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning arithmetic scalars, or a combination of both -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for arithmetic operator at %0") ! FFEBAD_MSGS2 (FFEBAD_NO_CLOSING_QUOTE, FATAL, ! "Character constant at %0 has no closing quote at %1 [info -f g77 M LEX]", ! "Unterminated character constant at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS2 (FFEBAD_BAD_CHAR_CONTINUE, FATAL, ! "Continuation line at %0 must have initial `&' since it continues a character context [info -f g77 M LEX]", ! "Missing initial `&' on continuation line at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS2 (FFEBAD_BAD_LEXTOK_CONTINUE, FATAL, ! "Continuation line at %0 must have initial `&' since it continues a split lexical token [info -f g77 M LEX]", ! "Missing initial `&' on continuation line at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS2 (FFEBAD_BAD_FREE_CONTINUE, FATAL, ! "Continuation line at %0 invalid because it consists only of a single `&' as the only nonblank character", ! "Invalid continuation line at %0") ! FFEBAD_MSGS2 (FFEBAD_STMT_BEGINS_BAD, FATAL, ! "Statement at %0 begins with invalid token [info -f g77 M LEX]", ! "Invalid statement at %0 [info -f g77 M LEX]") ! FFEBAD_MSGS1 (FFEBAD_SEMICOLON, FATAL, "Semicolon at %0 is an invalid token") ! FFEBAD_MSGS2 (FFEBAD_UNREC_STMT, FATAL, ! "Unrecognized statement name at %0 and invalid form for assignment or statement-function definition at %1", ! "Invalid statement at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_STMT_FORM, FATAL, ! "Invalid form for %A statement at %0", ! "Invalid %A statement at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_HOLL_IN_STMT, FATAL, ! "Invalid use of hollerith constant in statement at %0 -- enclose the constant in parentheses (for example, change BACKSPACE 2HAB to BACKSPACE (2HAB))", ! "Enclose hollerith constant in statement at %0 in parentheses") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_EXTRA_COMMA, FATAL, "Extraneous comma in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_MISSING_COMMA, WARN, "Missing comma in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_SPURIOUS_SIGN, FATAL, "Spurious sign in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_SPURIOUS_NUMBER, FATAL, "Spurious number in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_TEXT_IN_NUMBER, FATAL, "Spurious text trailing number in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_P_NOCOMMA, FATAL, ! "nP control edit descriptor not followed by comma but followed by edit descriptor at %0 other than D, E, EN, F, or G", ! "Invalid edit descriptor at %0 following nP control edit descriptor") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_BAD_SPEC, FATAL, "Unrecognized FORMAT specifier at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_I_SPEC, FATAL, ! "Invalid I specifier in FORMAT statement at %0 -- correct form: [r]Iw.[m]", ! "Invalid I specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_B_SPEC, FATAL, ! "Invalid B specifier in FORMAT statement at %0 -- correct form: [r]Bw.[m]", ! "Invalid B specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_O_SPEC, FATAL, ! "Invalid O specifier in FORMAT statement at %0 -- correct form: [r]Ow.[m]", ! "Invalid O specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_Z_SPEC, FATAL, ! "Invalid Z specifier in FORMAT statement at %0 -- correct form: [r]Zw.[m]", ! "Invalid Z specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_F_SPEC, FATAL, ! "Invalid F specifier in FORMAT statement at %0 -- correct form: [r]Fw.d", ! "Invalid F specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_E_SPEC, FATAL, ! "Invalid E specifier in FORMAT statement at %0 -- correct form: [r]Ew.d[Ee]", ! "Invalid E specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_EN_SPEC, FATAL, ! "Invalid EN specifier in FORMAT statement at %0 -- correct form: [r]ENw.d[Ee]", ! "Invalid EN specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_G_SPEC, FATAL, ! "Invalid G specifier in FORMAT statement at %0 -- correct form: [r]Gw.d[Ee]", ! "Invalid G specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_L_SPEC, FATAL, ! "Invalid L specifier in FORMAT statement at %0 -- correct form: [r]Lw", ! "Invalid L specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_A_SPEC, FATAL, ! "Invalid A specifier in FORMAT statement at %0 -- correct form: [r]A[w]", ! "Invalid A specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_D_SPEC, FATAL, ! "Invalid D specifier in FORMAT statement at %0 -- correct form: [r]Dw.d", ! "Invalid D specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_Q_SPEC, FATAL, ! "Invalid Q specifier in FORMAT statement at %0 -- correct form: Q", ! "Invalid Q specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_DOLLAR_SPEC, FATAL, ! "Invalid $ specifier in FORMAT statement at %0 -- correct form: $", ! "Invalid $ specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_P_SPEC, FATAL, ! "Invalid P specifier in FORMAT statement at %0 -- correct form: kP", ! "Invalid P specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_T_SPEC, FATAL, ! "Invalid T specifier in FORMAT statement at %0 -- correct form: Tn", ! "Invalid T specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_TL_SPEC, FATAL, ! "Invalid TL specifier in FORMAT statement at %0 -- correct form: TLn", ! "Invalid TL specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_TR_SPEC, FATAL, ! "Invalid TR specifier in FORMAT statement at %0 -- correct form: TRn", ! "Invalid TR specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_X_SPEC, FATAL, ! "Invalid X specifier in FORMAT statement at %0 -- correct form: nX", ! "Invalid X specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_S_SPEC, FATAL, ! "Invalid S specifier in FORMAT statement at %0 -- correct form: S", ! "Invalid S specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_SP_SPEC, FATAL, ! "Invalid SP specifier in FORMAT statement at %0 -- correct form: SP", ! "Invalid SP specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_SS_SPEC, FATAL, ! "Invalid SS specifier in FORMAT statement at %0 -- correct form: SS", ! "Invalid SS specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_BN_SPEC, FATAL, ! "Invalid BN specifier in FORMAT statement at %0 -- correct form: BN", ! "Invalid BN specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_BZ_SPEC, FATAL, ! "Invalid BZ specifier in FORMAT statement at %0 -- correct form: BZ", ! "Invalid BZ specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_COLON_SPEC, FATAL, ! "Invalid : specifier in FORMAT statement at %0 -- correct form: :", ! "Invalid : specifier in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_BAD_H_SPEC, FATAL, ! "Invalid H specifier in FORMAT statement at %0 -- correct form: nHcharacters !where n is an unsigned decimal constant, and characters !contains exactly n characters (including spaces)", ! "Invalid H specifier in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_MISSING_PAREN, FATAL, "Missing close-parenthese(s) in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_MISSING_DOT, FATAL, "Missing number following period in FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_MISSING_EXP, FATAL, "Missing number following `E' in FORMAT statement at %0") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_EXPR_TOKEN, FATAL, ! "Invalid token with FORMAT run-time expression at %0 -- use the traditional operators .LT., .LE., .GT., .GE., .EQ., and .NE. in place of the newer tokens <, <=, >, >=, ==, and !=, because > ends an expression within a FORMAT statement", ! "Invalid token with FORMAT run-time expression at %0") ! FFEBAD_MSGS1 (FFEBAD_TRAILING_COMMA, WARN, "Spurious trailing comma preceding terminator at %0") ! FFEBAD_MSGS1 (FFEBAD_INTERFACE_ASSIGNMENT, WARN, "At %0, specify OPERATOR instead of ASSIGNMENT for INTERFACE statement not specifying the assignment operator (=)") ! FFEBAD_MSGS1 (FFEBAD_INTERFACE_OPERATOR, WARN, "At %0, specify ASSIGNMENT instead of OPERATOR for INTERFACE statement specifying the assignment operator (=)") ! FFEBAD_MSGS2 (FFEBAD_INTERFACE_NONLETTER, FATAL, ! "Defined operator at %0 contains a nonletter -- must contain only letters A-Z (or a-z)", ! "Nonletter in defined operator at %0") ! FFEBAD_MSGS2 (FFEBAD_INVALID_TYPEDECL_ATTR, FATAL, ! "Invalid type-declaration attribute at %0 -- must be one of: DIMENSION(array-spec), EXTERNAL, INTRINSIC, PARAMETER, or SAVE", ! "Invalid type-declaration attribute at %0") ! FFEBAD_MSGS1 (FFEBAD_INVALID_TYPEDECL_INIT, FATAL, "Cannot specify =initialization-expr at %0 unless `::' appears before list of objects") ! FFEBAD_MSGS1 (FFEBAD_LABEL_USE_DEF, FATAL, "Reference to label at %1 inconsistent with its definition at %0") ! FFEBAD_MSGS1 (FFEBAD_LABEL_USE_USE, FATAL, "Reference to label at %1 inconsistent with earlier reference at %0") ! FFEBAD_MSGS1 (FFEBAD_LABEL_DEF_DO, FATAL, "DO-statement reference to label at %1 follows its definition at %0") ! FFEBAD_MSGS1 (FFEBAD_LABEL_BLOCK, WARN, "Reference to label at %1 is outside block containing definition at %0") ! FFEBAD_MSGS1 (FFEBAD_LABEL_DO_BLOCK_DO, FATAL, "DO-statement references to label at %0 and %2 separated by unterminated block starting at %1") ! FFEBAD_MSGS1 (FFEBAD_LABEL_DO_BLOCK_END, FATAL, "DO-statement reference to label at %0 and label definition at %2 separated by unterminated block starting at %1") ! FFEBAD_MSGS1 (FFEBAD_INVALID_LABEL_DEF, FATAL, "Label definition at %0 invalid on this kind of statement") ! FFEBAD_MSGS1 (FFEBAD_ORDER_1, FATAL, "Statement at %0 invalid in this context") ! FFEBAD_MSGS1 (FFEBAD_ORDER_2, FATAL, "Statement at %0 invalid in context established by statement at %1") ! FFEBAD_MSGS1 (FFEBAD_CONSTRUCT_NAMED, FATAL, "Statement at %0 must specify construct name specified at %1") ! FFEBAD_MSGS1 (FFEBAD_CONSTRUCT_NOT_NAMED, FATAL, "Construct name at %0 superfluous, no construct name specified at %1") ! FFEBAD_MSGS1 (FFEBAD_CONSTRUCT_WRONG_NAME, FATAL, "Construct name at %0 not the same as construct name at %1") ! FFEBAD_MSGS1 (FFEBAD_CONSTRUCT_NO_DO_NAME, FATAL, "Construct name at %0 does not match construct name for any containing DO constructs") ! FFEBAD_MSGS1 (FFEBAD_DO_HAD_LABEL, FATAL, "Label definition missing at %0 for DO construct specifying label at %1") ! FFEBAD_MSGS1 (FFEBAD_AFTER_ELSE, FATAL, "Statement at %0 follows ELSE block for IF construct at %1") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_NO_LABEL_DEF, FATAL, "No label definition for FORMAT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_SECOND_ELSE_WHERE, FATAL, "Second occurrence of ELSE WHERE at %0 within WHERE at %1") ! FFEBAD_MSGS1 (FFEBAD_END_WO, WARN, "END statement at %0 missing `%A' keyword required for internal or module procedure(s) bounded by %1") ! FFEBAD_MSGS1 (FFEBAD_INVALID_MODULE_PROCEDURE, FATAL, "MODULE PROCEDURE statement at %0 disallowed because INTERFACE at %1 specifies no generic name, operator, or assignment") ! FFEBAD_MSGS1 (FFEBAD_BLOCKDATA_NOT_NAMED, FATAL, "BLOCK DATA name at %0 superfluous, no name specified at %1") ! FFEBAD_MSGS1 (FFEBAD_PROGRAM_NOT_NAMED, FATAL, "Program name at %0 superfluous, no PROGRAM statement specified at %1") ! FFEBAD_MSGS1 (FFEBAD_UNIT_WRONG_NAME, FATAL, "Program unit name at %0 not the same as name at %1") ! FFEBAD_MSGS1 (FFEBAD_TYPE_WRONG_NAME, FATAL, "Type name at %0 not the same as name at %1") ! FFEBAD_MSGS1 (FFEBAD_EOF_BEFORE_BLOCK_END, FATAL, "End of source file before end of block started at %0") ! FFEBAD_MSGS1 (FFEBAD_UNDEF_LABEL, FATAL, "Undefined label, first referenced at %0") ! FFEBAD_MSGS1 (FFEBAD_CONFLICTING_SAVES, WARN, "SAVE statement or attribute at %1 cannot be specified along with SAVE statement or attribute at %0") ! FFEBAD_MSGS1 (FFEBAD_CONFLICTING_ACCESSES, FATAL, "PUBLIC or PRIVATE statement at %1 cannot be specified along with PUBLIC or PRIVATE statement at %0") ! FFEBAD_MSGS1 (FFEBAD_RETURN_IN_MAIN, WARN, "RETURN statement at %0 invalid within a main program unit") ! FFEBAD_MSGS1 (FFEBAD_ALTRETURN_IN_PROGRAM, FATAL, "Alternate return specifier at %0 invalid within a main program unit") ! FFEBAD_MSGS1 (FFEBAD_ALTRETURN_IN_FUNCTION, FATAL, "Alternate return specifier at %0 invalid within a function") ! FFEBAD_MSGS1 (FFEBAD_DERIVTYP_ACCESS, FATAL, "Access specifier or PRIVATE statement at %0 invalid for derived-type definition within other than the specification part of a module") ! FFEBAD_MSGS1 (FFEBAD_DERIVTYP_ACCESS_FIRST, FATAL, "Access specifier at %0 must immediately follow derived-type statement at %1 with no intervening statements") ! FFEBAD_MSGS1 (FFEBAD_DERIVTYP_NO_COMPONENTS, FATAL, "No components specified as of %0 for derived-type definition beginning at %1") ! FFEBAD_MSGS1 (FFEBAD_STRUCT_NO_COMPONENTS, FATAL, "No components specified as of %0 for structure definition beginning at %1") ! FFEBAD_MSGS1 (FFEBAD_STRUCT_MISSING_NAME, FATAL, "Missing structure name for outer structure definition at %0") ! FFEBAD_MSGS1 (FFEBAD_STRUCT_IGNORING_FIELD, FATAL, "Field names at %0 for outer structure definition -- specify them in a subsequent RECORD statement instead") ! FFEBAD_MSGS1 (FFEBAD_STRUCT_MISSING_FIELD, FATAL, "Missing field name(s) for structure definition at %0 within structure definition at %1") ! FFEBAD_MSGS1 (FFEBAD_MAP_NO_COMPONENTS, FATAL, "No components specified as of %0 for map beginning at %1") ! FFEBAD_MSGS1 (FFEBAD_UNION_NO_TWO_MAPS, FATAL, "Zero or one maps specified as of %0 for union beginning at %1 -- at least two are required") ! FFEBAD_MSGS1 (FFEBAD_MISSING_SPECIFIER, FATAL, "Missing %A specifier in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_NAMELIST_ITEMS, FATAL, "Items in I/O list starting at %0 invalid for namelist-directed I/O") ! FFEBAD_MSGS1 (FFEBAD_CONFLICTING_SPECS, FATAL, "Conflicting I/O control specifications at %0 and %1") ! FFEBAD_MSGS1 (FFEBAD_NO_UNIT_SPEC, FATAL, "No UNIT= specifier in I/O control list at %0") ! FFEBAD_MSGS1 (FFEBAD_MISSING_ADVANCE_SPEC, FATAL, "Specification at %0 requires ADVANCE=`NO' specification in same I/O control list") ! FFEBAD_MSGS1 (FFEBAD_MISSING_FORMAT_SPEC, FATAL, "Specification at %0 requires explicit FMT= specification in same I/O control list") ! FFEBAD_MSGS2 (FFEBAD_SPEC_VALUE, FATAL, ! "Unrecognized value for character constant at %0 -- expecting %A", ! "Unrecognized value for character constant at %0") ! FFEBAD_MSGS1 (FFEBAD_CASE_SECOND_DEFAULT, FATAL, "Second occurrence of CASE DEFAULT at %0 within SELECT CASE at %1") ! FFEBAD_MSGS1 (FFEBAD_CASE_DUPLICATE, FATAL, "Duplicate or overlapping case values/ranges at %0 and %1") ! FFEBAD_MSGS1 (FFEBAD_CASE_TYPE_DISAGREE, FATAL, "Type and/or kind-type parameter disagreement between CASE value or value within range at %0 and SELECT CASE at %1") ! FFEBAD_MSGS1 (FFEBAD_CASE_LOGICAL_RANGE, FATAL, "Range specification at %0 invalid for CASE statement within logical-type SELECT CASE statement") ! FFEBAD_MSGS2 (FFEBAD_CASE_BAD_RANGE, FATAL, ! "Range specification at %0 invalid -- at least one expression must be specified, or use CASE DEFAULT", ! "Range specification at %0 invalid") ! FFEBAD_MSGS2 (FFEBAD_CASE_RANGE_USELESS, INFORM, ! "Range specification at %0 useless; first expression greater than second expression in range, so range can never be matched by any selection expression", ! "Useless range at %0") ! FFEBAD_MSGS1 (FFEBAD_F90, FATAL, "Fortran 90 feature at %0 unsupported") ! FFEBAD_MSGS2 (FFEBAD_KINDTYPE, FATAL, ! "Invalid kind at %0 for type at %1 -- unsupported or not permitted", ! "Invalid kind at %0 for type at %1") ! FFEBAD_MSGS2 (FFEBAD_BAD_IMPLICIT, FATAL, ! "Cannot establish implicit type for initial letter `%A' at %0 -- already explicitly established or used to set implicit type of some name, or backwards order of letters in letter range", ! "Cannot establish implicit type for initial letter `%A' at %0") ! FFEBAD_MSGS1 (FFEBAD_SYMERR, FATAL, "Invalid declaration of or reference to symbol `%A' at %0 [initially seen at %1]") ! FFEBAD_MSGS2 (FFEBAD_LABEL_WRONG_PLACE, FATAL, ! "Label definition %A (at %0) invalid -- must be in columns 1-5", ! "Invalid label definition %A (at %0)") ! FFEBAD_MSGS1 (FFEBAD_NULL_ELEMENT, FATAL, "Null element at %0 for array reference at %1") ! FFEBAD_MSGS1 (FFEBAD_TOO_FEW_ELEMENTS, FATAL, "Too few elements (%A missing) as of %0 for array reference at %1") ! FFEBAD_MSGS1 (FFEBAD_TOO_MANY_ELEMENTS, FATAL, "Too many elements as of %0 for array reference at %1") ! FFEBAD_MSGS1 (FFEBAD_MISSING_COLON_IN_SUBSTR, FATAL, "Missing colon as of %0 in substring reference for %1") ! FFEBAD_MSGS1 (FFEBAD_BAD_SUBSTR, FATAL, "Invalid use at %0 of substring operator on %1") ! FFEBAD_MSGS1 (FFEBAD_RANGE_SUBSTR, WARN, "Substring begin/end point at %0 out of defined range") ! FFEBAD_MSGS1 (FFEBAD_RANGE_ARRAY, WARN, "Array element value at %0 out of defined range") ! FFEBAD_MSGS1 (FFEBAD_EXPR_WRONG, FATAL, "Expression at %0 has incorrect data type or rank for its context") ! FFEBAD_MSGS1 (FFEBAD_DIV_BY_ZERO, WARN, "Division by 0 (zero) at %0 (IEEE not yet supported)") ! FFEBAD_MSGS1 (FFEBAD_DO_STEP_ZERO, FATAL, "%A step count known to be 0 (zero) at %0") ! FFEBAD_MSGS1 (FFEBAD_DO_END_OVERFLOW, WARN, "%A end value plus step count known to overflow at %0") ! FFEBAD_MSGS1 (FFEBAD_DO_IMP_OVERFLOW, WARN, "%A begin, end, and step-count values known to result in implementation-dependent behavior due to overflow(s) in intermediate calculations at %0") ! FFEBAD_MSGS1 (FFEBAD_DO_NULL, WARN, "%A begin, end, and step-count values known to result in no iterations at %0") ! FFEBAD_MSGS1 (FFEBAD_BAD_TYPES, FATAL, "Type disagreement between expressions at %0 and %1") ! FFEBAD_MSGS2 (FFEBAD_FORMAT_EXPR_SPEC, FATAL, ! "Run-time expression at %0 in FORMAT statement that does not follow the first executable statement in the program unit -- move the statement", ! "FORMAT at %0 with run-time expression must follow first executable statement") ! FFEBAD_MSGS2 (FFEBAD_BAD_IMPDO, FATAL, ! "Unexpected token at %0 in implied-DO construct at %1 -- form of implied-DO is `(item-list,do-var=start,end[,incr])'", ! "Unexpected token at %0 in implied-DO construct at %1") ! FFEBAD_MSGS1 (FFEBAD_BAD_IMPDCL, FATAL, "No specification for implied-DO iterator `%A' at %0") ! FFEBAD_MSGS1 (FFEBAD_IMPDO_PAREN, WARN, "Gratuitous parentheses surround implied-DO construct at %0") ! FFEBAD_MSGS1 (FFEBAD_ZERO_SIZE, FATAL, "Zero-size specification invalid at %0") ! FFEBAD_MSGS1 (FFEBAD_ZERO_ARRAY, FATAL, "Zero-size array at %0") ! FFEBAD_MSGS1 (FFEBAD_BAD_COMPLEX, FATAL, "Target machine does not support complex entity of kind specified at %0") ! FFEBAD_MSGS1 (FFEBAD_BAD_DBLCMPLX, FATAL, "Target machine does not support DOUBLE COMPLEX, specified at %0") ! FFEBAD_MSGS1 (FFEBAD_BAD_POWER, WARN, "Attempt to raise constant zero to a power at %0") ! FFEBAD_MSGS2 (FFEBAD_BOOL_ARGS_TYPE, FATAL, ! "Boolean/logical operator at %0 must operate on two subexpressions of logical type, but neither subexpression at %1 or %2 is of logical type", ! "Invalid operands at %1 and %2 for boolean operator at %0") ! FFEBAD_MSGS2 (FFEBAD_BOOL_ARG_TYPE, FATAL, ! "Boolean/logical operator at %0 must operate on two subexpressions of logical type, but the subexpression at %1 is not of logical type", ! "Invalid operand at %1 for boolean operator at %0") ! FFEBAD_MSGS2 (FFEBAD_BOOL_ARG_KIND, FATAL, ! "Boolean/logical operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning logical scalars, or a combination of both -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for boolean operator at %0") ! FFEBAD_MSGS2 (FFEBAD_NOT_ARG_TYPE, FATAL, ! ".NOT. operator at %0 must operate on subexpression of logical type, but the subexpression at %1 is not of logical type", ! "Invalid operand at %1 for .NOT. operator at %0") ! FFEBAD_MSGS2 (FFEBAD_NOT_ARG_KIND, FATAL, ! ".NOT. operator at %0 must operate on scalar subexpressions -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for .NOT. operator at %0") ! FFEBAD_MSGS2 (FFEBAD_EQOP_ARGS_TYPE, FATAL, ! "Equality operator at %0 must operate on two subexpressions of arithmetic or character type, but neither subexpression at %1 or %2 is of arithmetic or character type", ! "Invalid operands at %1 and %2 for equality operator at %0") ! FFEBAD_MSGS2 (FFEBAD_EQOP_ARG_TYPE, FATAL, ! "Equality operator at %0 must operate on two subexpressions of arithmetic or character type, but the subexpression at %1 is not of arithmetic or character type", ! "Invalid operand at %1 for equality operator at %0") ! FFEBAD_MSGS2 (FFEBAD_EQOP_ARG_KIND, FATAL, ! "Equality operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning arithmetic or character scalars, or a combination of both -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for equality operator at %0") ! FFEBAD_MSGS2 (FFEBAD_RELOP_ARGS_TYPE, FATAL, ! "Relational operator at %0 must operate on two subexpressions of integer, real, or character type, but neither subexpression at %1 or %2 is of integer, real, or character type", ! "Invalid operands at %1 and %2 for relational operator at %0") ! FFEBAD_MSGS2 (FFEBAD_RELOP_ARG_TYPE, FATAL, ! "Relational operator at %0 must operate on two subexpressions of integer, real, or character type, but the subexpression at %1 is not of integer, real, or character type", ! "Invalid operand at %1 for relational operator at %0") ! FFEBAD_MSGS2 (FFEBAD_RELOP_ARG_KIND, FATAL, ! "Relational operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning integer, real, or character scalars, or a combination of both -- but the subexpression at %1 is %A", ! "Invalid operand (is %A) at %1 for relational operator at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_REF, FATAL, ! "Reference to intrinsic `%A' at %0 invalid -- one or more arguments have incorrect type", ! "Invalid reference to intrinsic `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_TOOFEW, FATAL, ! "Too few arguments passed to intrinsic `%A' at %0", ! "Too few arguments for intrinsic `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_TOOMANY, FATAL, ! "Too many arguments passed to intrinsic `%A' at %0", ! "Too many arguments for intrinsic `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_DISABLED, FATAL, ! "Reference to disabled intrinsic `%A' at %0", ! "Disabled intrinsic `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_IS_SUBR, FATAL, ! "Reference to intrinsic subroutine `%A' as if it were a function at %0", ! "Function reference to intrinsic subroutine `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_IS_FUNC, FATAL, ! "Reference to intrinsic function `%A' as if it were a subroutine at %0", ! "Subroutine reference to intrinsic function `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_UNIMPL, FATAL, ! "Reference to unimplemented intrinsic `%A' at %0 -- use EXTERNAL to reference user-written procedure with this name", ! "Unimplemented intrinsic `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_INTRINSIC_UNIMPLW, WARN, ! "Reference to unimplemented intrinsic `%A' at %0 (assumed EXTERNAL)", ! "Unimplemented intrinsic `%A' at %0 (assumed EXTERNAL)") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_AMBIG, FATAL, "Reference to generic intrinsic `%A' at %0 could be to form %B or %C") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_CMPAMBIG, FATAL, "Ambiguous use of intrinsic `%A' at %0 [info -f g77 M CMPAMBIG]") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_EXPIMP, WARN, "Intrinsic `%A' referenced %Bly at %0, %Cly at %1 [info -f g77 M EXPIMP]") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_GLOBAL, WARN, "Same name `%A' used for %B at %0 and %C at %1 [info -f g77 M INTGLOB]") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_TYPE, WARN, "Explicit type declaration for intrinsic `%A' disagrees with invocation at %0") ! FFEBAD_MSGS1 (FFEBAD_OPEN_INCLUDE, FATAL, "Unable to open INCLUDE file `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_DOITER, FATAL, ! "Attempt to modify variable `%A' at %0 while it serves as DO-loop iterator at %1", ! "Modification of DO-loop iterator `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_DOITER_IMPDO, FATAL, ! "Attempt to modify variable `%A' via item #%B in list at %0 while it serves as implied-DO iterator at %1", ! "Modification of DO-loop iterator `%A' at %0") ! FFEBAD_MSGS2 (FFEBAD_TOO_MANY_DIMS, FATAL, ! "Array has too many dimensions, as of dimension specifier at %0", ! "Too many dimensions at %0") ! FFEBAD_MSGS1 (FFEBAD_NULL_ARGUMENT, FATAL, "Null argument at %0 for statement function reference at %1") ! FFEBAD_MSGS1 (FFEBAD_NULL_ARGUMENT_W, WARN, "Null argument at %0 for procedure invocation at %1") ! FFEBAD_MSGS1 (FFEBAD_TOO_FEW_ARGUMENTS, FATAL, "%A too few arguments (starting with dummy argument `%B') as of %0 for statement function reference at %1") ! FFEBAD_MSGS1 (FFEBAD_TOO_MANY_ARGUMENTS, FATAL, "%A too many arguments as of %0 for statement function reference at %1") ! FFEBAD_MSGS1 (FFEBAD_ARRAY_AS_SFARG, FATAL, "Array supplied at %1 for dummy argument `%A' in statement function reference at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_UNSUPPORTED, FATAL, "Unsupported FORMAT specifier at %0") ! FFEBAD_MSGS1 (FFEBAD_FORMAT_VARIABLE, FATAL, "Variable-expression FORMAT specifier at %0 -- unsupported") ! FFEBAD_MSGS2 (FFEBAD_OPEN_UNSUPPORTED, FATAL, ! "Unsupported OPEN control item at %0 -- ACTION=, ASSOCIATEVARIABLE=, BLOCKSIZE=, BUFFERCOUNT=, CARRIAGECONTROL=, DEFAULTFILE=, DELIM=, DISPOSE=, EXTENDSIZE=, INITIALSIZE=, KEY=, MAXREC=, NOSPANBLOCKS, ORGANIZATION=, PAD=, POSITION=, READONLY=, RECORDTYPE=, SHARED=, and USEROPEN= are not supported", ! "Unsupported OPEN control item at %0") ! FFEBAD_MSGS2 (FFEBAD_INQUIRE_UNSUPPORTED, FATAL, ! "Unsupported INQUIRE control item at %0 -- ACTION=, CARRIAGECONTROL=, DEFAULTFILE=, DELIM=, KEYED=, ORGANIZATION=, PAD=, POSITION=, READ=, READWRITE=, RECORDTYPE=, and WRITE= are not supported", ! "Unsupported INQUIRE control item at %0") ! FFEBAD_MSGS2 (FFEBAD_READ_UNSUPPORTED, FATAL, ! "Unsupported READ control item at %0 -- ADVANCE=, EOR=, KEYEQ=, KEYGE=, KEYGT=, KEYID=, NULLS=, and SIZE= are not supported", ! "Unsupported READ control item at %0") ! FFEBAD_MSGS2 (FFEBAD_WRITE_UNSUPPORTED, FATAL, ! "Unsupported WRITE control item at %0 -- ADVANCE= and EOR= are not supported", ! "Unsupported WRITE control item at %0") ! FFEBAD_MSGS1 (FFEBAD_VXT_UNSUPPORTED, FATAL, "Unsupported VXT statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_REINIT, FATAL, "Attempt to specify second initial value for `%A' at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_TOOFEW, FATAL, "Too few initial values in list of initializers for `%A' at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_TOOMANY, FATAL, "Too many initial values in list of initializers starting at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_RANGE, FATAL, "Array or substring specification for `%A' out of range in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_SUBSCRIPT, FATAL, "Array subscript #%B out of range for initialization of `%A' in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_ZERO, FATAL, "Implied do-loop step count of 0 (zero) for iteration variable `%A' in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_EMPTY, FATAL, "Implied do-loop iteration count of 0 (zero) for iteration variable `%A' in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_EVAL, FATAL, "Not an integer constant expression in implied do-loop in statement at %0") ! FFEBAD_MSGS1 (FFEBAD_DATA_MULTIPLE, FATAL, "Attempt to specify second initial value for element of `%A' at %0") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_COMMON, FATAL, "Attempt to EQUIVALENCE common areas `%A' and `%B' at %0") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_ALIGN, FATAL, "Can't place `%A' as directed by EQUIVALENCE due to alignment restrictions") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_MISMATCH, FATAL, "Mismatched EQUIVALENCE requirements for placement of `%A' at both %C and %D bytes offset from `%B'") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_RANGE, FATAL, "Array or substring specification for `%A' out of range in EQUIVALENCE statement") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_SUBSTR, FATAL, "Substring of non-CHARACTER entity `%A' in EQUIVALENCE statement") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_ARRAY, FATAL, "Array reference to scalar variable `%A' in EQUIVALENCE statement") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_SUBSCRIPT, WARN, "Array subscript #%B out of range for EQUIVALENCE of `%A'") ! FFEBAD_MSGS2 (FFEBAD_COMMON_PAD, WARN, ! "Padding of %A %D required before `%B' in common block `%C' at %0 -- consider reordering members, largest-type-size first", ! "Padding of %A %D required before `%B' in common block `%C' at %0") ! FFEBAD_MSGS1 (FFEBAD_COMMON_NEG, FATAL, "Attempt to extend COMMON area beyond its starting point via EQUIVALENCE of `%A'") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_FEW, FATAL, "Too few elements in reference to array `%A' in EQUIVALENCE statement") ! FFEBAD_MSGS1 (FFEBAD_EQUIV_MANY, FATAL, "Too many elements in reference to array `%A' in EQUIVALENCE statement") ! FFEBAD_MSGS1 (FFEBAD_MIXED_TYPES, WARN, "Mixed CHARACTER and non-CHARACTER types via COMMON/EQUIVALENCE -- for example, `%A' and `%B'") ! FFEBAD_MSGS2 (FFEBAD_IMPLICIT_ADJLEN, FATAL, ! "Invalid length specification at %0 for IMPLICIT statement -- must be integer constant expression", ! "Invalid length specification at %0") ! FFEBAD_MSGS2 (FFEBAD_ENTRY_CONFLICTS, FATAL, ! "Type of ENTRY point at %0 to function conflicts with type(s) of previous entrypoint(s) -- must all be identical-length CHARACTER or none be CHARACTER type", ! "Type of ENTRY point at %0 to function conflicts with type(s) of previous entrypoint(s)") ! FFEBAD_MSGS1 (FFEBAD_RETURN_VALUE_UNSET, WARN, "Return value `%A' for FUNCTION at %0 not referenced in subprogram") ! FFEBAD_MSGS2 (FFEBAD_COMMON_ALREADY_INIT, FATAL, ! "Common block `%A' initialized at %0 already initialized at %1 -- only one program unit may specify initial values for a particular common block", ! "Common block `%A' initialized at %0 already initialized at %1") ! FFEBAD_MSGS2 (FFEBAD_COMMON_INIT_PAD, WARN, ! "Initial padding for common block `%A' is %B %C at %0 -- consider reordering members, largest-type-size first", ! "Initial padding for common block `%A' is %B %C at %0") ! FFEBAD_MSGS2 (FFEBAD_COMMON_DIFF_PAD, FATAL, ! "Initial padding for common block `%A' is %B %D at %0 but %C %E at %1 -- consider reordering members, largest-type-size first", ! "Initial padding for common block `%A' is %B %D at %0 but %C %E at %1") ! FFEBAD_MSGS1 (FFEBAD_COMMON_DIFF_SAVE, WARN, "Common block `%A' is SAVEd, explicitly or implicitly, at %0 but not SAVEd at %1") ! FFEBAD_MSGS1 (FFEBAD_COMMON_DIFF_SIZE, WARN, "Common block `%A' is %B %D in length at %0 but %C %E at %1") ! FFEBAD_MSGS2 (FFEBAD_COMMON_ENLARGED, FATAL, ! "Common block `%A' is initialized to %B %D long at %0 but enlarged to %C %E at %1 -- use consistent definitions or reorder program units in source file", ! "Common block `%A' is initialized to %B %D long at %0 but enlarged to %C %E at %1") ! FFEBAD_MSGS1 (FFEBAD_COMMON_BLANK_INIT, WARN, "Blank common initialized at %0") ! FFEBAD_MSGS1 (FFEBAD_NEED_INTRINSIC, WARN, "Intrinsic `%A' is passed as actual argument at %0 but not explicitly declared INTRINSIC") ! FFEBAD_MSGS1 (FFEBAD_NEED_EXTERNAL, WARN, "External procedure `%A' is passed as actual argument at %0 but not explicitly declared EXTERNAL") ! FFEBAD_MSGS1 (FFEBAD_SYMBOL_UPPER_CASE, WARN, "Character `%A' (for example) is upper-case in symbol name at %0") ! FFEBAD_MSGS1 (FFEBAD_SYMBOL_LOWER_CASE, WARN, "Character `%A' (for example) is lower-case in symbol name at %0") ! FFEBAD_MSGS1 (FFEBAD_SYMBOL_NOLOWER_INITCAP, WARN, "Character `%A' not followed at some point by lower-case character in symbol name at %0") ! FFEBAD_MSGS1 (FFEBAD_SYMBOL_LOWER_INITCAP, WARN, "Initial character `%A' is lower-case in symbol name at %0") ! FFEBAD_MSGS2 (FFEBAD_DO_REAL, WARN, ! "DO-variable `%A' is type REAL or DOUBLE PRECISION at %0 -- unexpected behavior likely", ! "DO-variable `%A' is type REAL or DOUBLE PRECISION at %0") ! FFEBAD_MSGS1 (FFEBAD_NAMELIST_CASE, WARN, "NAMELIST not adequately supported by run-time library for source files with case preserved") ! FFEBAD_MSGS1 (FFEBAD_NESTED_PERCENT, WARN, "Nested %% construct (%%VAL, %%REF, or %%DESCR) at %0") ! FFEBAD_MSGS2 (FFEBAD_ACTUALARG, WARN, ! "Invalid actual argument at %0 -- replace hollerith constants with %%REF('string') and typeless constants with INTEGER constant equivalents, or use -fugly-args or -fugly", ! "Invalid actual argument at %0") ! FFEBAD_MSGS2 (FFEBAD_QUAD_UNSUPPORTED, FATAL, ! "Quadruple-precision floating-point unsupported -- treating constant at %0 as double-precision", ! "Quadruple-precision floating-point unsupported") ! FFEBAD_MSGS2 (FFEBAD_TOO_BIG_INIT, WARN, ! "Initialization of large (%B-unit) aggregate area `%A' at %0 currently very slow and takes lots of memory during g77 compile -- to be improved in 0.6", ! "This could take a while (initializing `%A' at %0)...") ! FFEBAD_MSGS1 (FFEBAD_BLOCKDATA_STMT, FATAL, "Statement at %0 invalid in BLOCK DATA program unit at %1") ! FFEBAD_MSGS1 (FFEBAD_TRUNCATING_CHARACTER, FATAL, "Truncating characters on right side of character constant at %0") ! FFEBAD_MSGS1 (FFEBAD_TRUNCATING_HOLLERITH, FATAL, "Truncating characters on right side of hollerith constant at %0") ! FFEBAD_MSGS1 (FFEBAD_TRUNCATING_NUMERIC, FATAL, "Truncating non-zero data on left side of numeric constant at %0") ! FFEBAD_MSGS1 (FFEBAD_TRUNCATING_TYPELESS, FATAL, "Truncating non-zero data on left side of typeless constant at %0") ! FFEBAD_MSGS1 (FFEBAD_TYPELESS_OVERFLOW, FATAL, "Typeless constant at %0 too large") ! FFEBAD_MSGS1 (FFEBAD_AMPERSAND, WARN, "First-column ampersand continuation at %0") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_ALREADY_SEEN, FATAL, "Global name `%A' defined at %0 already defined at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_ALREADY_SEEN_W, WARN, "Global name `%A' defined at %0 already defined at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_DISAGREEMENT, FATAL, "Global name `%A' is %B at %0 but is %C at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_DISAGREEMENT_W, WARN, "Global name `%A' is %B at %0 but is %C at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_TYPE_MISMATCH, FATAL, "Global name `%A' at %0 has different type at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_TYPE_MISMATCH_W, WARN, "Global name `%A' at %0 has different type at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_NARGS, FATAL, "Too %B arguments passed to `%A' at %0 versus definition at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_NARGS_W, WARN, "Too %B arguments for `%A' at %0 versus invocation at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_ARG, FATAL, "Argument #%B of `%A' is %C at %0 but is %D at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_FILEWIDE_ARG_W, WARN, "Argument #%B of `%A' is %C at %0 but is %D at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSGS1 (FFEBAD_ARRAY_LARGE, FATAL, "Array `%A' at %0 is too large to handle") ! FFEBAD_MSGS1 (FFEBAD_SFUNC_UNUSED, WARN, "Statement function `%A' defined at %0 is not used") ! FFEBAD_MSGS1 (FFEBAD_INTRINSIC_Y2KBAD, WARN, "Intrinsic `%A', invoked at %0, known to be non-Y2K-compliant [info -f g77 M Y2KBAD]") ! FFEBAD_MSGS1 (FFEBAD_NOCANDO, DISASTER, "Internal compiler error -- cannot perform operation") #undef INFORM --- 34,1096 ---- #define SEVERE FFEBAD_severitySEVERE #define DISASTER FFEBAD_severityDISASTER ! FFEBAD_MSG (FFEBAD_MISSING_FIRST_BINARY_OPERAND, FATAL, ! /* xgettext:no-c-format */ "Missing first operand for binary operator at %0") ! FFEBAD_MSG (FFEBAD_NULL_CHAR_CONST, WARN, ! /* xgettext:no-c-format */ "Zero-length character constant at %0") ! FFEBAD_MSG (FFEBAD_INVALID_TOKEN_IN_EXPRESSION, FATAL, ! /* xgettext:no-c-format */ "Invalid token at %0 in expression or subexpression at %1") ! FFEBAD_MSG (FFEBAD_MISSING_OPERAND_FOR_OPERATOR, FATAL, ! /* xgettext:no-c-format */ "Missing operand for operator at %1 at end of expression at %0") ! FFEBAD_MSG (FFEBAD_LABEL_ALREADY_DEFINED, FATAL, ! /* xgettext:no-c-format */ "Label %A already defined at %1 when redefined at %0") ! FFEBAD_MSG (FFEBAD_UNRECOGNIZED_CHARACTER, FATAL, ! /* xgettext:no-c-format */ "Unrecognized character at %0 [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_LABEL_WITHOUT_STMT, WARN, ! /* xgettext:no-c-format */ "Label definition %A at %0 on empty statement (as of %1)") ! FFEBAD_MSG (FFEBAD_EXTRA_LABEL_DEF, FATAL, ! /* xgettext:no-c-format */ ! LONG("Extra label definition %A at %0 -- perhaps previous label definition %B at %1 should have CONTINUE statement?") ! /* xgettext:no-c-format */ ! SHORT("Extra label definition %A at %0 following label definition %B at %1")) ! FFEBAD_MSG (FFEBAD_FIRST_CHAR_INVALID, FATAL, ! /* xgettext:no-c-format */ "Invalid first character at %0 [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_LINE_TOO_LONG, FATAL, ! /* xgettext:no-c-format */ "Line too long as of %0 [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_LABEL_FIELD_NOT_NUMERIC, FATAL, ! /* xgettext:no-c-format */ "Non-numeric character at %0 in label field [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_LABEL_NUMBER_INVALID, FATAL, ! /* xgettext:no-c-format */ "Label number at %0 not in range 1-99999") ! FFEBAD_MSG (FFEBAD_NON_ANSI_COMMENT, WARN, ! /* xgettext:no-c-format */ "At %0, '!' and '/*' are not valid comment delimiters") ! FFEBAD_MSG (FFEBAD_NON_ANSI_CONTINUATION_COLUMN, WARN, ! /* xgettext:no-c-format */ "Continuation indicator at %0 must appear in column 6 [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_LABEL_ON_CONTINUATION, FATAL, ! /* xgettext:no-c-format */ "Label at %0 invalid with continuation line indicator at %1 [info -f g77 M LEX]") ! FFEBAD_MSG (FFEBAD_INVALID_CONTINUATION, FATAL, ! /* xgettext:no-c-format */ ! LONG("Continuation indicator at %0 invalid on first non-comment line of file or following END or INCLUDE [info -f g77 M LEX]") ! /* xgettext:no-c-format */ ! SHORT("Continuation indicator at %0 invalid here [info -f g77 M LEX]")) ! FFEBAD_MSG (FFEBAD_NO_CLOSING_APOSTROPHE, FATAL, ! /* xgettext:no-c-format */ "Character constant at %0 has no closing apostrophe at %1") ! FFEBAD_MSG (FFEBAD_NOT_ENOUGH_HOLLERITH_CHARS, FATAL, ! /* xgettext:no-c-format */ "Hollerith constant at %0 specified %A more characters than are present as of %1") ! FFEBAD_MSG (FFEBAD_MISSING_CLOSE_PAREN, FATAL, ! /* xgettext:no-c-format */ "Missing close parenthese at %0 needed to match open parenthese at %1") ! FFEBAD_MSG (FFEBAD_INTEGER_TOO_LARGE, FATAL, ! /* xgettext:no-c-format */ "Integer at %0 too large") ! FFEBAD_MSG (FFEBAD_BAD_MAGICAL, WARN, ! /* xgettext:no-c-format */ ! LONG("Integer at %0 too large except as negative number (preceded by unary minus sign)") ! /* xgettext:no-c-format */ ! SHORT("Non-negative integer at %0 too large")) ! FFEBAD_MSG (FFEBAD_BAD_MAGICAL_PRECEDENCE, WARN, ! /* xgettext:no-c-format */ ! LONG("Integer at %0 too large; even though preceded by unary minus sign at %1, subsequent operator at %2 has precedence over unary minus -- enclose unary minus sign and integer in parentheses to force precedence") ! /* xgettext:no-c-format */ ! SHORT("Integer at %0 too large (%2 has precedence over %1)")) ! FFEBAD_MSG (FFEBAD_BAD_MAGICAL_BINARY, WARN, ! /* xgettext:no-c-format */ ! LONG("Integer at %0 too large; even though preceded by minus sign at %1, because minus sign is a binary, not unary, operator -- insert plus sign before minus sign to change it to a unary minus sign") ! /* xgettext:no-c-format */ ! SHORT("Integer at %0 too large (needs unary, not binary, minus at %1)")) ! FFEBAD_MSG (FFEBAD_BAD_MAGICAL_PRECEDENCE_BINARY, WARN, ! /* xgettext:no-c-format */ ! LONG("Integer at %0 too large; even though preceded by minus sign at %1, subsequent operator at %2 has precedence over minus, and that minus sign should be a unary minus rather than a binary minus -- insert plus sign before minus sign to change it to a unary minus sign, and enclose unary minus sign and integer in parentheses to force precedence") ! /* xgettext:no-c-format */ ! SHORT("Integer at %0 too large (%2 has precedence over %1, which needs to be unary, not binary, minus)")) ! FFEBAD_MSG (FFEBAD_IGNORING_PERIOD, FATAL, ! /* xgettext:no-c-format */ "Period at %0 not followed by digits for floating-point number or by `NOT.', `TRUE.', or `FALSE.'") ! FFEBAD_MSG (FFEBAD_INSERTING_PERIOD, FATAL, ! /* xgettext:no-c-format */ "Missing close-period between `.%A' at %0 and %1") ! FFEBAD_MSG (FFEBAD_INVALID_EXPONENT, FATAL, ! /* xgettext:no-c-format */ "Invalid exponent at %0 for real constant at %1; nondigit `%A' in exponent field") ! FFEBAD_MSG (FFEBAD_MISSING_EXPONENT_VALUE, FATAL, ! /* xgettext:no-c-format */ "Missing value at %1 for real-number exponent at %0") ! FFEBAD_MSG (FFEBAD_MISSING_BINARY_OPERATOR, FATAL, ! /* xgettext:no-c-format */ "Expected binary operator between expressions at %0 and at %1") ! FFEBAD_MSG (FFEBAD_INVALID_DOTDOT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Period at %0 not followed by valid keyword forming a valid binary operator; `.%A.' is not a valid binary operator") ! /* xgettext:no-c-format */ ! SHORT("`.%A.' at %0 not a binary operator")) ! FFEBAD_MSG (FFEBAD_QUOTE_MISSES_DIGITS, FATAL, ! /* xgettext:no-c-format */ ! LONG("Double-quote at %0 not followed by a string of valid octal digits at %1") ! /* xgettext:no-c-format */ ! SHORT("Invalid octal constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_BINARY_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid binary digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid binary constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_HEX_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid hexadecimal digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid hexadecimal constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_OCTAL_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid octal digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid octal constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_RADIX_SPECIFIER, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid radix specifier `%A' at %0 for typeless constant at %1") ! /* xgettext:no-c-format */ ! SHORT("Invalid typeless constant at %1")) ! FFEBAD_MSG (FFEBAD_INVALID_TYPELESS_BINARY_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid binary digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid binary constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_TYPELESS_OCTAL_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid octal digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid octal constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_TYPELESS_HEX_DIGIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid hexadecimal digit(s) found in string of digits at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid hexadecimal constant at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_COMPLEX_PART, FATAL, ! /* xgettext:no-c-format */ ! LONG("%A part of complex constant at %0 must be a real or integer constant -- otherwise use CMPLX() or COMPLEX() in place of ()") ! /* xgettext:no-c-format */ ! SHORT("%A part of complex constant at %0 not a real or integer constant")) ! FFEBAD_MSG (FFEBAD_INVALID_PERCENT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid keyword `%%%A' at %0 in this context") ! /* xgettext:no-c-format */ ! SHORT("Invalid keyword `%%%A' at %0")) ! FFEBAD_MSG (FFEBAD_NULL_EXPRESSION, FATAL, ! /* xgettext:no-c-format */ ! LONG("Null expression between %0 and %1 invalid in this context") ! /* xgettext:no-c-format */ ! SHORT("Invalid null expression between %0 and %1")) ! FFEBAD_MSG (FFEBAD_CONCAT_ARGS_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Concatenation operator at %0 must operate on two subexpressions of character type, but neither subexpression at %1 or %2 is of character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operands at %1 and %2 for concatenation operator at %0")) ! FFEBAD_MSG (FFEBAD_CONCAT_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Concatenation operator at %0 must operate on two subexpressions of character type, but the subexpression at %1 is not of character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for concatenation operator at %0")) ! FFEBAD_MSG (FFEBAD_CONCAT_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG("Concatenation operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning character scalars, or a combination of both -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for concatenation operator at %0")) ! FFEBAD_MSG (FFEBAD_MATH_ARGS_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Arithmetic operator at %0 must operate on two subexpressions of arithmetic type, but neither subexpression at %1 or %2 is of arithmetic type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operands at %1 and %2 for arithmetic operator at %0")) ! FFEBAD_MSG (FFEBAD_MATH_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Arithmetic operator at %0 must operate on two subexpressions of arithmetic type, but the subexpression at %1 is not of arithmetic type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for arithmetic operator at %0")) ! FFEBAD_MSG (FFEBAD_MATH_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG("Arithmetic operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning arithmetic scalars, or a combination of both -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for arithmetic operator at %0")) ! FFEBAD_MSG (FFEBAD_NO_CLOSING_QUOTE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Character constant at %0 has no closing quote at %1 [info -f g77 M LEX]") ! /* xgettext:no-c-format */ ! SHORT("Unterminated character constant at %0 [info -f g77 M LEX]")) ! FFEBAD_MSG (FFEBAD_BAD_CHAR_CONTINUE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Continuation line at %0 must have initial `&' since it continues a character context [info -f g77 M LEX]") ! /* xgettext:no-c-format */ ! SHORT("Missing initial `&' on continuation line at %0 [info -f g77 M LEX]")) ! FFEBAD_MSG (FFEBAD_BAD_LEXTOK_CONTINUE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Continuation line at %0 must have initial `&' since it continues a split lexical token [info -f g77 M LEX]") ! /* xgettext:no-c-format */ ! SHORT("Missing initial `&' on continuation line at %0 [info -f g77 M LEX]")) ! FFEBAD_MSG (FFEBAD_BAD_FREE_CONTINUE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Continuation line at %0 invalid because it consists only of a single `&' as the only nonblank character") ! /* xgettext:no-c-format */ ! SHORT("Invalid continuation line at %0")) ! FFEBAD_MSG (FFEBAD_STMT_BEGINS_BAD, FATAL, ! /* xgettext:no-c-format */ ! LONG("Statement at %0 begins with invalid token [info -f g77 M LEX]") ! /* xgettext:no-c-format */ ! SHORT("Invalid statement at %0 [info -f g77 M LEX]")) ! FFEBAD_MSG (FFEBAD_SEMICOLON, FATAL, ! /* xgettext:no-c-format */ "Semicolon at %0 is an invalid token") ! FFEBAD_MSG (FFEBAD_UNREC_STMT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unrecognized statement name at %0 and invalid form for assignment or statement-function definition at %1") ! /* xgettext:no-c-format */ ! SHORT("Invalid statement at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_STMT_FORM, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid form for %A statement at %0") ! /* xgettext:no-c-format */ ! SHORT("Invalid %A statement at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_HOLL_IN_STMT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid use of hollerith constant in statement at %0 -- enclose the constant in parentheses (for example, change BACKSPACE 2HAB to BACKSPACE (2HAB))") ! /* xgettext:no-c-format */ ! SHORT("Enclose hollerith constant in statement at %0 in parentheses")) ! FFEBAD_MSG (FFEBAD_FORMAT_EXTRA_COMMA, FATAL, ! /* xgettext:no-c-format */ "Extraneous comma in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_MISSING_COMMA, WARN, ! /* xgettext:no-c-format */ "Missing comma in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_SPURIOUS_SIGN, FATAL, ! /* xgettext:no-c-format */ "Spurious sign in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_SPURIOUS_NUMBER, FATAL, ! /* xgettext:no-c-format */ "Spurious number in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_TEXT_IN_NUMBER, FATAL, ! /* xgettext:no-c-format */ "Spurious text trailing number in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_P_NOCOMMA, FATAL, ! /* xgettext:no-c-format */ ! LONG("nP control edit descriptor not followed by comma but followed by edit descriptor at %0 other than D, E, EN, F, or G") ! /* xgettext:no-c-format */ ! SHORT("Invalid edit descriptor at %0 following nP control edit descriptor")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_SPEC, FATAL, ! /* xgettext:no-c-format */ "Unrecognized FORMAT specifier at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_I_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid I specifier in FORMAT statement at %0 -- correct form: [r]Iw.[m]") ! /* xgettext:no-c-format */ ! SHORT("Invalid I specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_B_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid B specifier in FORMAT statement at %0 -- correct form: [r]Bw.[m]") ! /* xgettext:no-c-format */ ! SHORT("Invalid B specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_O_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid O specifier in FORMAT statement at %0 -- correct form: [r]Ow.[m]") ! /* xgettext:no-c-format */ ! SHORT("Invalid O specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_Z_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid Z specifier in FORMAT statement at %0 -- correct form: [r]Zw.[m]") ! /* xgettext:no-c-format */ ! SHORT("Invalid Z specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_F_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid F specifier in FORMAT statement at %0 -- correct form: [r]Fw.d") ! /* xgettext:no-c-format */ ! SHORT("Invalid F specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_E_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid E specifier in FORMAT statement at %0 -- correct form: [r]Ew.d[Ee]") ! /* xgettext:no-c-format */ ! SHORT("Invalid E specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_EN_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid EN specifier in FORMAT statement at %0 -- correct form: [r]ENw.d[Ee]") ! /* xgettext:no-c-format */ ! SHORT("Invalid EN specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_G_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid G specifier in FORMAT statement at %0 -- correct form: [r]Gw.d[Ee]") ! /* xgettext:no-c-format */ ! SHORT("Invalid G specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_L_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid L specifier in FORMAT statement at %0 -- correct form: [r]Lw") ! /* xgettext:no-c-format */ ! SHORT("Invalid L specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_A_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid A specifier in FORMAT statement at %0 -- correct form: [r]A[w]") ! /* xgettext:no-c-format */ ! SHORT("Invalid A specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_D_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid D specifier in FORMAT statement at %0 -- correct form: [r]Dw.d") ! /* xgettext:no-c-format */ ! SHORT("Invalid D specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_Q_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid Q specifier in FORMAT statement at %0 -- correct form: Q") ! /* xgettext:no-c-format */ ! SHORT("Invalid Q specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_DOLLAR_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid $ specifier in FORMAT statement at %0 -- correct form: $") ! /* xgettext:no-c-format */ ! SHORT("Invalid $ specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_P_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid P specifier in FORMAT statement at %0 -- correct form: kP") ! /* xgettext:no-c-format */ ! SHORT("Invalid P specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_T_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid T specifier in FORMAT statement at %0 -- correct form: Tn") ! /* xgettext:no-c-format */ ! SHORT("Invalid T specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_TL_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid TL specifier in FORMAT statement at %0 -- correct form: TLn") ! /* xgettext:no-c-format */ ! SHORT("Invalid TL specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_TR_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid TR specifier in FORMAT statement at %0 -- correct form: TRn") ! /* xgettext:no-c-format */ ! SHORT("Invalid TR specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_X_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid X specifier in FORMAT statement at %0 -- correct form: nX") ! /* xgettext:no-c-format */ ! SHORT("Invalid X specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_S_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid S specifier in FORMAT statement at %0 -- correct form: S") ! /* xgettext:no-c-format */ ! SHORT("Invalid S specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_SP_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid SP specifier in FORMAT statement at %0 -- correct form: SP") ! /* xgettext:no-c-format */ ! SHORT("Invalid SP specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_SS_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid SS specifier in FORMAT statement at %0 -- correct form: SS") ! /* xgettext:no-c-format */ ! SHORT("Invalid SS specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_BN_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid BN specifier in FORMAT statement at %0 -- correct form: BN") ! /* xgettext:no-c-format */ ! SHORT("Invalid BN specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_BZ_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid BZ specifier in FORMAT statement at %0 -- correct form: BZ") ! /* xgettext:no-c-format */ ! SHORT("Invalid BZ specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_COLON_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid : specifier in FORMAT statement at %0 -- correct form: :") ! /* xgettext:no-c-format */ ! SHORT("Invalid : specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_BAD_H_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid H specifier in FORMAT statement at %0 -- correct form: nHcharacters !where n is an unsigned decimal constant, and characters !contains exactly n characters (including spaces)") ! /* xgettext:no-c-format */ ! SHORT("Invalid H specifier in FORMAT statement at %0")) ! FFEBAD_MSG (FFEBAD_FORMAT_MISSING_PAREN, FATAL, ! /* xgettext:no-c-format */ "Missing close-parenthese(s) in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_MISSING_DOT, FATAL, ! /* xgettext:no-c-format */ "Missing number following period in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_MISSING_EXP, FATAL, ! /* xgettext:no-c-format */ "Missing number following `E' in FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_EXPR_TOKEN, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid token with FORMAT run-time expression at %0 -- use the traditional operators .LT., .LE., .GT., .GE., .EQ., and .NE. in place of the newer tokens <, <=, >, >=, ==, and !=, because > ends an expression within a FORMAT statement") ! /* xgettext:no-c-format */ ! SHORT("Invalid token with FORMAT run-time expression at %0")) ! FFEBAD_MSG (FFEBAD_TRAILING_COMMA, WARN, ! /* xgettext:no-c-format */ "Spurious trailing comma preceding terminator at %0") ! FFEBAD_MSG (FFEBAD_INTERFACE_ASSIGNMENT, WARN, ! /* xgettext:no-c-format */ "At %0, specify OPERATOR instead of ASSIGNMENT for INTERFACE statement not specifying the assignment operator (=)") ! FFEBAD_MSG (FFEBAD_INTERFACE_OPERATOR, WARN, ! /* xgettext:no-c-format */ "At %0, specify ASSIGNMENT instead of OPERATOR for INTERFACE statement specifying the assignment operator (=)") ! FFEBAD_MSG (FFEBAD_INTERFACE_NONLETTER, FATAL, ! /* xgettext:no-c-format */ ! LONG("Defined operator at %0 contains a nonletter -- must contain only letters A-Z (or a-z)") ! /* xgettext:no-c-format */ ! SHORT("Nonletter in defined operator at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_TYPEDECL_ATTR, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid type-declaration attribute at %0 -- must be one of: DIMENSION(array-spec), EXTERNAL, INTRINSIC, PARAMETER, or SAVE") ! /* xgettext:no-c-format */ ! SHORT("Invalid type-declaration attribute at %0")) ! FFEBAD_MSG (FFEBAD_INVALID_TYPEDECL_INIT, FATAL, ! /* xgettext:no-c-format */ "Cannot specify =initialization-expr at %0 unless `::' appears before list of objects") ! FFEBAD_MSG (FFEBAD_LABEL_USE_DEF, FATAL, ! /* xgettext:no-c-format */ "Reference to label at %1 inconsistent with its definition at %0") ! FFEBAD_MSG (FFEBAD_LABEL_USE_USE, FATAL, ! /* xgettext:no-c-format */ "Reference to label at %1 inconsistent with earlier reference at %0") ! FFEBAD_MSG (FFEBAD_LABEL_DEF_DO, FATAL, ! /* xgettext:no-c-format */ "DO-statement reference to label at %1 follows its definition at %0") ! FFEBAD_MSG (FFEBAD_LABEL_BLOCK, WARN, ! /* xgettext:no-c-format */ "Reference to label at %1 is outside block containing definition at %0") ! FFEBAD_MSG (FFEBAD_LABEL_DO_BLOCK_DO, FATAL, ! /* xgettext:no-c-format */ "DO-statement references to label at %0 and %2 separated by unterminated block starting at %1") ! FFEBAD_MSG (FFEBAD_LABEL_DO_BLOCK_END, FATAL, ! /* xgettext:no-c-format */ "DO-statement reference to label at %0 and label definition at %2 separated by unterminated block starting at %1") ! FFEBAD_MSG (FFEBAD_INVALID_LABEL_DEF, FATAL, ! /* xgettext:no-c-format */ "Label definition at %0 invalid on this kind of statement") ! FFEBAD_MSG (FFEBAD_ORDER_1, FATAL, ! /* xgettext:no-c-format */ "Statement at %0 invalid in this context") ! FFEBAD_MSG (FFEBAD_ORDER_2, FATAL, ! /* xgettext:no-c-format */ "Statement at %0 invalid in context established by statement at %1") ! FFEBAD_MSG (FFEBAD_CONSTRUCT_NAMED, FATAL, ! /* xgettext:no-c-format */ "Statement at %0 must specify construct name specified at %1") ! FFEBAD_MSG (FFEBAD_CONSTRUCT_NOT_NAMED, FATAL, ! /* xgettext:no-c-format */ "Construct name at %0 superfluous, no construct name specified at %1") ! FFEBAD_MSG (FFEBAD_CONSTRUCT_WRONG_NAME, FATAL, ! /* xgettext:no-c-format */ "Construct name at %0 not the same as construct name at %1") ! FFEBAD_MSG (FFEBAD_CONSTRUCT_NO_DO_NAME, FATAL, ! /* xgettext:no-c-format */ "Construct name at %0 does not match construct name for any containing DO constructs") ! FFEBAD_MSG (FFEBAD_DO_HAD_LABEL, FATAL, ! /* xgettext:no-c-format */ "Label definition missing at %0 for DO construct specifying label at %1") ! FFEBAD_MSG (FFEBAD_AFTER_ELSE, FATAL, ! /* xgettext:no-c-format */ "Statement at %0 follows ELSE block for IF construct at %1") ! FFEBAD_MSG (FFEBAD_FORMAT_NO_LABEL_DEF, FATAL, ! /* xgettext:no-c-format */ "No label definition for FORMAT statement at %0") ! FFEBAD_MSG (FFEBAD_SECOND_ELSE_WHERE, FATAL, ! /* xgettext:no-c-format */ "Second occurrence of ELSE WHERE at %0 within WHERE at %1") ! FFEBAD_MSG (FFEBAD_END_WO, WARN, ! /* xgettext:no-c-format */ "END statement at %0 missing `%A' keyword required for internal or module procedure(s) bounded by %1") ! FFEBAD_MSG (FFEBAD_INVALID_MODULE_PROCEDURE, FATAL, ! /* xgettext:no-c-format */ "MODULE PROCEDURE statement at %0 disallowed because INTERFACE at %1 specifies no generic name, operator, or assignment") ! FFEBAD_MSG (FFEBAD_BLOCKDATA_NOT_NAMED, FATAL, ! /* xgettext:no-c-format */ "BLOCK DATA name at %0 superfluous, no name specified at %1") ! FFEBAD_MSG (FFEBAD_PROGRAM_NOT_NAMED, FATAL, ! /* xgettext:no-c-format */ "Program name at %0 superfluous, no PROGRAM statement specified at %1") ! FFEBAD_MSG (FFEBAD_UNIT_WRONG_NAME, FATAL, ! /* xgettext:no-c-format */ "Program unit name at %0 not the same as name at %1") ! FFEBAD_MSG (FFEBAD_TYPE_WRONG_NAME, FATAL, ! /* xgettext:no-c-format */ "Type name at %0 not the same as name at %1") ! FFEBAD_MSG (FFEBAD_EOF_BEFORE_BLOCK_END, FATAL, ! /* xgettext:no-c-format */ "End of source file before end of block started at %0") ! FFEBAD_MSG (FFEBAD_UNDEF_LABEL, FATAL, ! /* xgettext:no-c-format */ "Undefined label, first referenced at %0") ! FFEBAD_MSG (FFEBAD_CONFLICTING_SAVES, WARN, ! /* xgettext:no-c-format */ "SAVE statement or attribute at %1 cannot be specified along with SAVE statement or attribute at %0") ! FFEBAD_MSG (FFEBAD_CONFLICTING_ACCESSES, FATAL, ! /* xgettext:no-c-format */ "PUBLIC or PRIVATE statement at %1 cannot be specified along with PUBLIC or PRIVATE statement at %0") ! FFEBAD_MSG (FFEBAD_RETURN_IN_MAIN, WARN, ! /* xgettext:no-c-format */ "RETURN statement at %0 invalid within a main program unit") ! FFEBAD_MSG (FFEBAD_ALTRETURN_IN_PROGRAM, FATAL, ! /* xgettext:no-c-format */ "Alternate return specifier at %0 invalid within a main program unit") ! FFEBAD_MSG (FFEBAD_ALTRETURN_IN_FUNCTION, FATAL, ! /* xgettext:no-c-format */ "Alternate return specifier at %0 invalid within a function") ! FFEBAD_MSG (FFEBAD_DERIVTYP_ACCESS, FATAL, ! /* xgettext:no-c-format */ "Access specifier or PRIVATE statement at %0 invalid for derived-type definition within other than the specification part of a module") ! FFEBAD_MSG (FFEBAD_DERIVTYP_ACCESS_FIRST, FATAL, ! /* xgettext:no-c-format */ "Access specifier at %0 must immediately follow derived-type statement at %1 with no intervening statements") ! FFEBAD_MSG (FFEBAD_DERIVTYP_NO_COMPONENTS, FATAL, ! /* xgettext:no-c-format */ "No components specified as of %0 for derived-type definition beginning at %1") ! FFEBAD_MSG (FFEBAD_STRUCT_NO_COMPONENTS, FATAL, ! /* xgettext:no-c-format */ "No components specified as of %0 for structure definition beginning at %1") ! FFEBAD_MSG (FFEBAD_STRUCT_MISSING_NAME, FATAL, ! /* xgettext:no-c-format */ "Missing structure name for outer structure definition at %0") ! FFEBAD_MSG (FFEBAD_STRUCT_IGNORING_FIELD, FATAL, ! /* xgettext:no-c-format */ "Field names at %0 for outer structure definition -- specify them in a subsequent RECORD statement instead") ! FFEBAD_MSG (FFEBAD_STRUCT_MISSING_FIELD, FATAL, ! /* xgettext:no-c-format */ "Missing field name(s) for structure definition at %0 within structure definition at %1") ! FFEBAD_MSG (FFEBAD_MAP_NO_COMPONENTS, FATAL, ! /* xgettext:no-c-format */ "No components specified as of %0 for map beginning at %1") ! FFEBAD_MSG (FFEBAD_UNION_NO_TWO_MAPS, FATAL, ! /* xgettext:no-c-format */ "Zero or one maps specified as of %0 for union beginning at %1 -- at least two are required") ! FFEBAD_MSG (FFEBAD_MISSING_SPECIFIER, FATAL, ! /* xgettext:no-c-format */ "Missing %A specifier in statement at %0") ! FFEBAD_MSG (FFEBAD_NAMELIST_ITEMS, FATAL, ! /* xgettext:no-c-format */ "Items in I/O list starting at %0 invalid for namelist-directed I/O") ! FFEBAD_MSG (FFEBAD_CONFLICTING_SPECS, FATAL, ! /* xgettext:no-c-format */ "Conflicting I/O control specifications at %0 and %1") ! FFEBAD_MSG (FFEBAD_NO_UNIT_SPEC, FATAL, ! /* xgettext:no-c-format */ "No UNIT= specifier in I/O control list at %0") ! FFEBAD_MSG (FFEBAD_MISSING_ADVANCE_SPEC, FATAL, ! /* xgettext:no-c-format */ "Specification at %0 requires ADVANCE=`NO' specification in same I/O control list") ! FFEBAD_MSG (FFEBAD_MISSING_FORMAT_SPEC, FATAL, ! /* xgettext:no-c-format */ "Specification at %0 requires explicit FMT= specification in same I/O control list") ! FFEBAD_MSG (FFEBAD_SPEC_VALUE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unrecognized value for character constant at %0 -- expecting %A") ! /* xgettext:no-c-format */ ! SHORT("Unrecognized value for character constant at %0")) ! FFEBAD_MSG (FFEBAD_CASE_SECOND_DEFAULT, FATAL, ! /* xgettext:no-c-format */ "Second occurrence of CASE DEFAULT at %0 within SELECT CASE at %1") ! FFEBAD_MSG (FFEBAD_CASE_DUPLICATE, FATAL, ! /* xgettext:no-c-format */ "Duplicate or overlapping case values/ranges at %0 and %1") ! FFEBAD_MSG (FFEBAD_CASE_TYPE_DISAGREE, FATAL, ! /* xgettext:no-c-format */ "Type and/or kind-type parameter disagreement between CASE value or value within range at %0 and SELECT CASE at %1") ! FFEBAD_MSG (FFEBAD_CASE_LOGICAL_RANGE, FATAL, ! /* xgettext:no-c-format */ "Range specification at %0 invalid for CASE statement within logical-type SELECT CASE statement") ! FFEBAD_MSG (FFEBAD_CASE_BAD_RANGE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Range specification at %0 invalid -- at least one expression must be specified, or use CASE DEFAULT") ! /* xgettext:no-c-format */ ! SHORT("Range specification at %0 invalid")) ! FFEBAD_MSG (FFEBAD_CASE_RANGE_USELESS, INFORM, ! /* xgettext:no-c-format */ ! LONG("Range specification at %0 useless; first expression greater than second expression in range, so range can never be matched by any selection expression") ! /* xgettext:no-c-format */ ! SHORT("Useless range at %0")) ! FFEBAD_MSG (FFEBAD_F90, FATAL, ! /* xgettext:no-c-format */ "Fortran 90 feature at %0 unsupported") ! FFEBAD_MSG (FFEBAD_KINDTYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid kind at %0 for type at %1 -- unsupported or not permitted") ! /* xgettext:no-c-format */ ! SHORT("Invalid kind at %0 for type at %1")) ! FFEBAD_MSG (FFEBAD_BAD_IMPLICIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Cannot establish implicit type for initial letter `%A' at %0 -- already explicitly established or used to set implicit type of some name, or backwards order of letters in letter range") ! /* xgettext:no-c-format */ ! SHORT("Cannot establish implicit type for initial letter `%A' at %0")) ! FFEBAD_MSG (FFEBAD_SYMERR, FATAL, ! /* xgettext:no-c-format */ "Invalid declaration of or reference to symbol `%A' at %0 [initially seen at %1]") ! FFEBAD_MSG (FFEBAD_LABEL_WRONG_PLACE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Label definition %A (at %0) invalid -- must be in columns 1-5") ! /* xgettext:no-c-format */ ! SHORT("Invalid label definition %A (at %0)")) ! FFEBAD_MSG (FFEBAD_NULL_ELEMENT, FATAL, ! /* xgettext:no-c-format */ "Null element at %0 for array reference at %1") ! FFEBAD_MSG (FFEBAD_TOO_FEW_ELEMENTS, FATAL, ! /* xgettext:no-c-format */ "Too few elements (%A missing) as of %0 for array reference at %1") ! FFEBAD_MSG (FFEBAD_TOO_MANY_ELEMENTS, FATAL, ! /* xgettext:no-c-format */ "Too many elements as of %0 for array reference at %1") ! FFEBAD_MSG (FFEBAD_MISSING_COLON_IN_SUBSTR, FATAL, ! /* xgettext:no-c-format */ "Missing colon as of %0 in substring reference for %1") ! FFEBAD_MSG (FFEBAD_BAD_SUBSTR, FATAL, ! /* xgettext:no-c-format */ "Invalid use at %0 of substring operator on %1") ! FFEBAD_MSG (FFEBAD_RANGE_SUBSTR, WARN, ! /* xgettext:no-c-format */ "Substring begin/end point at %0 out of defined range") ! FFEBAD_MSG (FFEBAD_RANGE_ARRAY, WARN, ! /* xgettext:no-c-format */ "Array element value at %0 out of defined range") ! FFEBAD_MSG (FFEBAD_EXPR_WRONG, FATAL, ! /* xgettext:no-c-format */ "Expression at %0 has incorrect data type or rank for its context") ! FFEBAD_MSG (FFEBAD_DIV_BY_ZERO, WARN, ! /* xgettext:no-c-format */ "Division by 0 (zero) at %0 (IEEE not yet supported)") ! FFEBAD_MSG (FFEBAD_DO_STEP_ZERO, FATAL, ! /* xgettext:no-c-format */ "%A step count known to be 0 (zero) at %0") ! FFEBAD_MSG (FFEBAD_DO_END_OVERFLOW, WARN, ! /* xgettext:no-c-format */ "%A end value plus step count known to overflow at %0") ! FFEBAD_MSG (FFEBAD_DO_IMP_OVERFLOW, WARN, ! /* xgettext:no-c-format */ "%A begin, end, and step-count values known to result in implementation-dependent behavior due to overflow(s) in intermediate calculations at %0") ! FFEBAD_MSG (FFEBAD_DO_NULL, WARN, ! /* xgettext:no-c-format */ "%A begin, end, and step-count values known to result in no iterations at %0") ! FFEBAD_MSG (FFEBAD_BAD_TYPES, FATAL, ! /* xgettext:no-c-format */ "Type disagreement between expressions at %0 and %1") ! FFEBAD_MSG (FFEBAD_FORMAT_EXPR_SPEC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Run-time expression at %0 in FORMAT statement that does not follow the first executable statement in the program unit -- move the statement") ! /* xgettext:no-c-format */ ! SHORT("FORMAT at %0 with run-time expression must follow first executable statement")) ! FFEBAD_MSG (FFEBAD_BAD_IMPDO, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unexpected token at %0 in implied-DO construct at %1 -- form of implied-DO is `(item-list,do-var=start,end[,incr])'") ! /* xgettext:no-c-format */ ! SHORT("Unexpected token at %0 in implied-DO construct at %1")) ! FFEBAD_MSG (FFEBAD_BAD_IMPDCL, FATAL, ! /* xgettext:no-c-format */ "No specification for implied-DO iterator `%A' at %0") ! FFEBAD_MSG (FFEBAD_IMPDO_PAREN, WARN, ! /* xgettext:no-c-format */ "Gratuitous parentheses surround implied-DO construct at %0") ! FFEBAD_MSG (FFEBAD_ZERO_SIZE, FATAL, ! /* xgettext:no-c-format */ "Zero-size specification invalid at %0") ! FFEBAD_MSG (FFEBAD_ZERO_ARRAY, FATAL, ! /* xgettext:no-c-format */ "Zero-size array at %0") ! FFEBAD_MSG (FFEBAD_BAD_COMPLEX, FATAL, ! /* xgettext:no-c-format */ "Target machine does not support complex entity of kind specified at %0") ! FFEBAD_MSG (FFEBAD_BAD_DBLCMPLX, FATAL, ! /* xgettext:no-c-format */ "Target machine does not support DOUBLE COMPLEX, specified at %0") ! FFEBAD_MSG (FFEBAD_BAD_POWER, WARN, ! /* xgettext:no-c-format */ "Attempt to raise constant zero to a power at %0") ! FFEBAD_MSG (FFEBAD_BOOL_ARGS_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Boolean/logical operator at %0 must operate on two subexpressions of logical type, but neither subexpression at %1 or %2 is of logical type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operands at %1 and %2 for boolean operator at %0")) ! FFEBAD_MSG (FFEBAD_BOOL_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Boolean/logical operator at %0 must operate on two subexpressions of logical type, but the subexpression at %1 is not of logical type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for boolean operator at %0")) ! FFEBAD_MSG (FFEBAD_BOOL_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG("Boolean/logical operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning logical scalars, or a combination of both -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for boolean operator at %0")) ! FFEBAD_MSG (FFEBAD_NOT_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG(".NOT. operator at %0 must operate on subexpression of logical type, but the subexpression at %1 is not of logical type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for .NOT. operator at %0")) ! FFEBAD_MSG (FFEBAD_NOT_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG(".NOT. operator at %0 must operate on scalar subexpressions -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for .NOT. operator at %0")) ! FFEBAD_MSG (FFEBAD_EQOP_ARGS_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Equality operator at %0 must operate on two subexpressions of arithmetic or character type, but neither subexpression at %1 or %2 is of arithmetic or character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operands at %1 and %2 for equality operator at %0")) ! FFEBAD_MSG (FFEBAD_EQOP_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Equality operator at %0 must operate on two subexpressions of arithmetic or character type, but the subexpression at %1 is not of arithmetic or character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for equality operator at %0")) ! FFEBAD_MSG (FFEBAD_EQOP_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG("Equality operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning arithmetic or character scalars, or a combination of both -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for equality operator at %0")) ! FFEBAD_MSG (FFEBAD_RELOP_ARGS_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Relational operator at %0 must operate on two subexpressions of integer, real, or character type, but neither subexpression at %1 or %2 is of integer, real, or character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operands at %1 and %2 for relational operator at %0")) ! FFEBAD_MSG (FFEBAD_RELOP_ARG_TYPE, FATAL, ! /* xgettext:no-c-format */ ! LONG("Relational operator at %0 must operate on two subexpressions of integer, real, or character type, but the subexpression at %1 is not of integer, real, or character type") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand at %1 for relational operator at %0")) ! FFEBAD_MSG (FFEBAD_RELOP_ARG_KIND, FATAL, ! /* xgettext:no-c-format */ ! LONG("Relational operator at %0 must operate on two scalar (not array) subexpressions, two function invocations returning integer, real, or character scalars, or a combination of both -- but the subexpression at %1 is %A") ! /* xgettext:no-c-format */ ! SHORT("Invalid operand (is %A) at %1 for relational operator at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_REF, FATAL, ! /* xgettext:no-c-format */ ! LONG("Reference to intrinsic `%A' at %0 invalid -- one or more arguments have incorrect type") ! /* xgettext:no-c-format */ ! SHORT("Invalid reference to intrinsic `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_TOOFEW, FATAL, ! /* xgettext:no-c-format */ ! LONG("Too few arguments passed to intrinsic `%A' at %0") ! /* xgettext:no-c-format */ ! SHORT("Too few arguments for intrinsic `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_TOOMANY, FATAL, ! /* xgettext:no-c-format */ ! LONG("Too many arguments passed to intrinsic `%A' at %0") ! /* xgettext:no-c-format */ ! SHORT("Too many arguments for intrinsic `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_DISABLED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Reference to disabled intrinsic `%A' at %0") ! /* xgettext:no-c-format */ ! SHORT("Disabled intrinsic `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_IS_SUBR, FATAL, ! /* xgettext:no-c-format */ ! LONG("Reference to intrinsic subroutine `%A' as if it were a function at %0") ! /* xgettext:no-c-format */ ! SHORT("Function reference to intrinsic subroutine `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_IS_FUNC, FATAL, ! /* xgettext:no-c-format */ ! LONG("Reference to intrinsic function `%A' as if it were a subroutine at %0") ! /* xgettext:no-c-format */ ! SHORT("Subroutine reference to intrinsic function `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_UNIMPL, FATAL, ! /* xgettext:no-c-format */ ! LONG("Reference to unimplemented intrinsic `%A' at %0 -- use EXTERNAL to reference user-written procedure with this name") ! /* xgettext:no-c-format */ ! SHORT("Unimplemented intrinsic `%A' at %0")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_UNIMPLW, WARN, ! /* xgettext:no-c-format */ ! LONG("Reference to unimplemented intrinsic `%A' at %0 (assumed EXTERNAL)") ! /* xgettext:no-c-format */ ! SHORT("Unimplemented intrinsic `%A' at %0 (assumed EXTERNAL)")) ! FFEBAD_MSG (FFEBAD_INTRINSIC_AMBIG, FATAL, ! /* xgettext:no-c-format */ "Reference to generic intrinsic `%A' at %0 could be to form %B or %C") ! FFEBAD_MSG (FFEBAD_INTRINSIC_CMPAMBIG, FATAL, ! /* xgettext:no-c-format */ "Ambiguous use of intrinsic `%A' at %0 [info -f g77 M CMPAMBIG]") ! FFEBAD_MSG (FFEBAD_INTRINSIC_EXPIMP, WARN, ! /* xgettext:no-c-format */ "Intrinsic `%A' referenced %Bly at %0, %Cly at %1 [info -f g77 M EXPIMP]") ! FFEBAD_MSG (FFEBAD_INTRINSIC_GLOBAL, WARN, ! /* xgettext:no-c-format */ "Same name `%A' used for %B at %0 and %C at %1 [info -f g77 M INTGLOB]") ! FFEBAD_MSG (FFEBAD_INTRINSIC_TYPE, WARN, ! /* xgettext:no-c-format */ "Explicit type declaration for intrinsic `%A' disagrees with invocation at %0") ! FFEBAD_MSG (FFEBAD_OPEN_INCLUDE, FATAL, ! /* xgettext:no-c-format */ "Unable to open INCLUDE file `%A' at %0") ! FFEBAD_MSG (FFEBAD_DOITER, FATAL, ! /* xgettext:no-c-format */ ! LONG("Attempt to modify variable `%A' at %0 while it serves as DO-loop iterator at %1") ! /* xgettext:no-c-format */ ! SHORT("Modification of DO-loop iterator `%A' at %0")) ! FFEBAD_MSG (FFEBAD_DOITER_IMPDO, FATAL, ! /* xgettext:no-c-format */ ! LONG("Attempt to modify variable `%A' via item #%B in list at %0 while it serves as implied-DO iterator at %1") ! /* xgettext:no-c-format */ ! SHORT("Modification of DO-loop iterator `%A' at %0")) ! FFEBAD_MSG (FFEBAD_TOO_MANY_DIMS, FATAL, ! /* xgettext:no-c-format */ ! LONG("Array has too many dimensions, as of dimension specifier at %0") ! /* xgettext:no-c-format */ ! SHORT("Too many dimensions at %0")) ! FFEBAD_MSG (FFEBAD_NULL_ARGUMENT, FATAL, ! /* xgettext:no-c-format */ "Null argument at %0 for statement function reference at %1") ! FFEBAD_MSG (FFEBAD_NULL_ARGUMENT_W, WARN, ! /* xgettext:no-c-format */ "Null argument at %0 for procedure invocation at %1") ! FFEBAD_MSG (FFEBAD_TOO_FEW_ARGUMENTS, FATAL, ! /* xgettext:no-c-format */ "%A too few arguments (starting with dummy argument `%B') as of %0 for statement function reference at %1") ! FFEBAD_MSG (FFEBAD_TOO_MANY_ARGUMENTS, FATAL, ! /* xgettext:no-c-format */ "%A too many arguments as of %0 for statement function reference at %1") ! FFEBAD_MSG (FFEBAD_ARRAY_AS_SFARG, FATAL, ! /* xgettext:no-c-format */ "Array supplied at %1 for dummy argument `%A' in statement function reference at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ "Unsupported FORMAT specifier at %0") ! FFEBAD_MSG (FFEBAD_FORMAT_VARIABLE, FATAL, ! /* xgettext:no-c-format */ "Variable-expression FORMAT specifier at %0 -- unsupported") ! FFEBAD_MSG (FFEBAD_OPEN_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unsupported OPEN control item at %0 -- ACTION=, ASSOCIATEVARIABLE=, BLOCKSIZE=, BUFFERCOUNT=, CARRIAGECONTROL=, DEFAULTFILE=, DELIM=, DISPOSE=, EXTENDSIZE=, INITIALSIZE=, KEY=, MAXREC=, NOSPANBLOCKS, ORGANIZATION=, PAD=, POSITION=, READONLY=, RECORDTYPE=, SHARED=, and USEROPEN= are not supported") ! /* xgettext:no-c-format */ ! SHORT("Unsupported OPEN control item at %0")) ! FFEBAD_MSG (FFEBAD_INQUIRE_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unsupported INQUIRE control item at %0 -- ACTION=, CARRIAGECONTROL=, DEFAULTFILE=, DELIM=, KEYED=, ORGANIZATION=, PAD=, POSITION=, READ=, READWRITE=, RECORDTYPE=, and WRITE= are not supported") ! /* xgettext:no-c-format */ ! SHORT("Unsupported INQUIRE control item at %0")) ! FFEBAD_MSG (FFEBAD_READ_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unsupported READ control item at %0 -- ADVANCE=, EOR=, KEYEQ=, KEYGE=, KEYGT=, KEYID=, NULLS=, and SIZE= are not supported") ! /* xgettext:no-c-format */ ! SHORT("Unsupported READ control item at %0")) ! FFEBAD_MSG (FFEBAD_WRITE_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Unsupported WRITE control item at %0 -- ADVANCE= and EOR= are not supported") ! /* xgettext:no-c-format */ ! SHORT("Unsupported WRITE control item at %0")) ! FFEBAD_MSG (FFEBAD_VXT_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ "Unsupported VXT statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_REINIT, FATAL, ! /* xgettext:no-c-format */ "Attempt to specify second initial value for `%A' at %0") ! FFEBAD_MSG (FFEBAD_DATA_TOOFEW, FATAL, ! /* xgettext:no-c-format */ "Too few initial values in list of initializers for `%A' at %0") ! FFEBAD_MSG (FFEBAD_DATA_TOOMANY, FATAL, ! /* xgettext:no-c-format */ "Too many initial values in list of initializers starting at %0") ! FFEBAD_MSG (FFEBAD_DATA_RANGE, FATAL, ! /* xgettext:no-c-format */ "Array or substring specification for `%A' out of range in statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_SUBSCRIPT, FATAL, ! /* xgettext:no-c-format */ "Array subscript #%B out of range for initialization of `%A' in statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_ZERO, FATAL, ! /* xgettext:no-c-format */ "Implied do-loop step count of 0 (zero) for iteration variable `%A' in statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_EMPTY, FATAL, ! /* xgettext:no-c-format */ "Implied do-loop iteration count of 0 (zero) for iteration variable `%A' in statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_EVAL, FATAL, ! /* xgettext:no-c-format */ "Not an integer constant expression in implied do-loop in statement at %0") ! FFEBAD_MSG (FFEBAD_DATA_MULTIPLE, FATAL, ! /* xgettext:no-c-format */ "Attempt to specify second initial value for element of `%A' at %0") ! FFEBAD_MSG (FFEBAD_EQUIV_COMMON, FATAL, ! /* xgettext:no-c-format */ "Attempt to EQUIVALENCE common areas `%A' and `%B' at %0") ! FFEBAD_MSG (FFEBAD_EQUIV_ALIGN, FATAL, ! /* xgettext:no-c-format */ "Can't place `%A' as directed by EQUIVALENCE due to alignment restrictions") ! FFEBAD_MSG (FFEBAD_EQUIV_MISMATCH, FATAL, ! /* xgettext:no-c-format */ "Mismatched EQUIVALENCE requirements for placement of `%A' at both %C and %D bytes offset from `%B'") ! FFEBAD_MSG (FFEBAD_EQUIV_RANGE, FATAL, ! /* xgettext:no-c-format */ "Array or substring specification for `%A' out of range in EQUIVALENCE statement") ! FFEBAD_MSG (FFEBAD_EQUIV_SUBSTR, FATAL, ! /* xgettext:no-c-format */ "Substring of non-CHARACTER entity `%A' in EQUIVALENCE statement") ! FFEBAD_MSG (FFEBAD_EQUIV_ARRAY, FATAL, ! /* xgettext:no-c-format */ "Array reference to scalar variable `%A' in EQUIVALENCE statement") ! FFEBAD_MSG (FFEBAD_EQUIV_SUBSCRIPT, WARN, ! /* xgettext:no-c-format */ "Array subscript #%B out of range for EQUIVALENCE of `%A'") ! FFEBAD_MSG (FFEBAD_COMMON_PAD, WARN, ! /* xgettext:no-c-format */ ! LONG("Padding of %A %D required before `%B' in common block `%C' at %0 -- consider reordering members, largest-type-size first") ! /* xgettext:no-c-format */ ! SHORT("Padding of %A %D required before `%B' in common block `%C' at %0")) ! FFEBAD_MSG (FFEBAD_COMMON_NEG, FATAL, ! /* xgettext:no-c-format */ "Attempt to extend COMMON area beyond its starting point via EQUIVALENCE of `%A'") ! FFEBAD_MSG (FFEBAD_EQUIV_FEW, FATAL, ! /* xgettext:no-c-format */ "Too few elements in reference to array `%A' in EQUIVALENCE statement") ! FFEBAD_MSG (FFEBAD_EQUIV_MANY, FATAL, ! /* xgettext:no-c-format */ "Too many elements in reference to array `%A' in EQUIVALENCE statement") ! FFEBAD_MSG (FFEBAD_MIXED_TYPES, WARN, ! /* xgettext:no-c-format */ "Mixed CHARACTER and non-CHARACTER types via COMMON/EQUIVALENCE -- for example, `%A' and `%B'") ! FFEBAD_MSG (FFEBAD_IMPLICIT_ADJLEN, FATAL, ! /* xgettext:no-c-format */ ! LONG("Invalid length specification at %0 for IMPLICIT statement -- must be integer constant expression") ! /* xgettext:no-c-format */ ! SHORT("Invalid length specification at %0")) ! FFEBAD_MSG (FFEBAD_ENTRY_CONFLICTS, FATAL, ! /* xgettext:no-c-format */ ! LONG("Type of ENTRY point at %0 to function conflicts with type(s) of previous entrypoint(s) -- must all be identical-length CHARACTER or none be CHARACTER type") ! /* xgettext:no-c-format */ ! SHORT("Type of ENTRY point at %0 to function conflicts with type(s) of previous entrypoint(s)")) ! FFEBAD_MSG (FFEBAD_RETURN_VALUE_UNSET, WARN, ! /* xgettext:no-c-format */ "Return value `%A' for FUNCTION at %0 not referenced in subprogram") ! FFEBAD_MSG (FFEBAD_COMMON_ALREADY_INIT, FATAL, ! /* xgettext:no-c-format */ ! LONG("Common block `%A' initialized at %0 already initialized at %1 -- only one program unit may specify initial values for a particular common block") ! /* xgettext:no-c-format */ ! SHORT("Common block `%A' initialized at %0 already initialized at %1")) ! FFEBAD_MSG (FFEBAD_COMMON_INIT_PAD, WARN, ! /* xgettext:no-c-format */ ! LONG("Initial padding for common block `%A' is %B %C at %0 -- consider reordering members, largest-type-size first") ! /* xgettext:no-c-format */ ! SHORT("Initial padding for common block `%A' is %B %C at %0")) ! FFEBAD_MSG (FFEBAD_COMMON_DIFF_PAD, FATAL, ! /* xgettext:no-c-format */ ! LONG("Initial padding for common block `%A' is %B %D at %0 but %C %E at %1 -- consider reordering members, largest-type-size first") ! /* xgettext:no-c-format */ ! SHORT("Initial padding for common block `%A' is %B %D at %0 but %C %E at %1")) ! FFEBAD_MSG (FFEBAD_COMMON_DIFF_SAVE, WARN, ! /* xgettext:no-c-format */ "Common block `%A' is SAVEd, explicitly or implicitly, at %0 but not SAVEd at %1") ! FFEBAD_MSG (FFEBAD_COMMON_DIFF_SIZE, WARN, ! /* xgettext:no-c-format */ "Common block `%A' is %B %D in length at %0 but %C %E at %1") ! FFEBAD_MSG (FFEBAD_COMMON_ENLARGED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Common block `%A' is initialized to %B %D long at %0 but enlarged to %C %E at %1 -- use consistent definitions or reorder program units in source file") ! /* xgettext:no-c-format */ ! SHORT("Common block `%A' is initialized to %B %D long at %0 but enlarged to %C %E at %1")) ! FFEBAD_MSG (FFEBAD_COMMON_BLANK_INIT, WARN, ! /* xgettext:no-c-format */ "Blank common initialized at %0") ! FFEBAD_MSG (FFEBAD_NEED_INTRINSIC, WARN, ! /* xgettext:no-c-format */ "Intrinsic `%A' is passed as actual argument at %0 but not explicitly declared INTRINSIC") ! FFEBAD_MSG (FFEBAD_NEED_EXTERNAL, WARN, ! /* xgettext:no-c-format */ "External procedure `%A' is passed as actual argument at %0 but not explicitly declared EXTERNAL") ! FFEBAD_MSG (FFEBAD_SYMBOL_UPPER_CASE, WARN, ! /* xgettext:no-c-format */ "Character `%A' (for example) is upper-case in symbol name at %0") ! FFEBAD_MSG (FFEBAD_SYMBOL_LOWER_CASE, WARN, ! /* xgettext:no-c-format */ "Character `%A' (for example) is lower-case in symbol name at %0") ! FFEBAD_MSG (FFEBAD_SYMBOL_NOLOWER_INITCAP, WARN, ! /* xgettext:no-c-format */ "Character `%A' not followed at some point by lower-case character in symbol name at %0") ! FFEBAD_MSG (FFEBAD_SYMBOL_LOWER_INITCAP, WARN, ! /* xgettext:no-c-format */ "Initial character `%A' is lower-case in symbol name at %0") ! FFEBAD_MSG (FFEBAD_DO_REAL, WARN, ! /* xgettext:no-c-format */ ! LONG("DO-variable `%A' is type REAL or DOUBLE PRECISION at %0 -- unexpected behavior likely") ! /* xgettext:no-c-format */ ! SHORT("DO-variable `%A' is type REAL or DOUBLE PRECISION at %0")) ! FFEBAD_MSG (FFEBAD_NAMELIST_CASE, WARN, ! /* xgettext:no-c-format */ "NAMELIST not adequately supported by run-time library for source files with case preserved") ! FFEBAD_MSG (FFEBAD_NESTED_PERCENT, WARN, ! /* xgettext:no-c-format */ "Nested %% construct (%%VAL, %%REF, or %%DESCR) at %0") ! FFEBAD_MSG (FFEBAD_ACTUALARG, WARN, ! /* xgettext:no-c-format */ ! LONG("Invalid actual argument at %0 -- replace hollerith constants with %%REF('string') and typeless constants with INTEGER constant equivalents, or use -fugly-args or -fugly") ! /* xgettext:no-c-format */ ! SHORT("Invalid actual argument at %0")) ! FFEBAD_MSG (FFEBAD_QUAD_UNSUPPORTED, FATAL, ! /* xgettext:no-c-format */ ! LONG("Quadruple-precision floating-point unsupported -- treating constant at %0 as double-precision") ! /* xgettext:no-c-format */ ! SHORT("Quadruple-precision floating-point unsupported")) ! FFEBAD_MSG (FFEBAD_TOO_BIG_INIT, WARN, ! /* xgettext:no-c-format */ ! LONG("Initialization of large (%B-unit) aggregate area `%A' at %0 slow and takes lots of memory during g77 compile") ! /* xgettext:no-c-format */ ! SHORT("This could take a while (initializing `%A' at %0)...")) ! FFEBAD_MSG (FFEBAD_BLOCKDATA_STMT, FATAL, ! /* xgettext:no-c-format */ "Statement at %0 invalid in BLOCK DATA program unit at %1") ! FFEBAD_MSG (FFEBAD_TRUNCATING_CHARACTER, FATAL, ! /* xgettext:no-c-format */ "Truncating characters on right side of character constant at %0") ! FFEBAD_MSG (FFEBAD_TRUNCATING_HOLLERITH, FATAL, ! /* xgettext:no-c-format */ "Truncating characters on right side of hollerith constant at %0") ! FFEBAD_MSG (FFEBAD_TRUNCATING_NUMERIC, FATAL, ! /* xgettext:no-c-format */ "Truncating non-zero data on left side of numeric constant at %0") ! FFEBAD_MSG (FFEBAD_TRUNCATING_TYPELESS, FATAL, ! /* xgettext:no-c-format */ "Truncating non-zero data on left side of typeless constant at %0") ! FFEBAD_MSG (FFEBAD_TYPELESS_OVERFLOW, FATAL, ! /* xgettext:no-c-format */ "Typeless constant at %0 too large") ! FFEBAD_MSG (FFEBAD_AMPERSAND, WARN, ! /* xgettext:no-c-format */ "First-column ampersand continuation at %0") ! FFEBAD_MSG (FFEBAD_FILEWIDE_ALREADY_SEEN, FATAL, ! /* xgettext:no-c-format */ "Global name `%A' defined at %0 already defined at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_ALREADY_SEEN_W, WARN, ! /* xgettext:no-c-format */ "Global name `%A' defined at %0 already defined at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_DISAGREEMENT, FATAL, ! /* xgettext:no-c-format */ "Global name `%A' is %B at %0 but is %C at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_DISAGREEMENT_W, WARN, ! /* xgettext:no-c-format */ "Global name `%A' is %B at %0 but is %C at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_TYPE_MISMATCH, FATAL, ! /* xgettext:no-c-format */ "Global name `%A' at %0 has different type at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_TYPE_MISMATCH_W, WARN, ! /* xgettext:no-c-format */ "Global name `%A' at %0 has different type at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_NARGS, FATAL, ! /* xgettext:no-c-format */ "Too %B arguments passed to `%A' at %0 versus definition at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_NARGS_W, WARN, ! /* xgettext:no-c-format */ "Too %B arguments for `%A' at %0 versus invocation at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_ARG, FATAL, ! /* xgettext:no-c-format */ "Argument #%B of `%A' is %C at %0 but is %D at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_FILEWIDE_ARG_W, WARN, ! /* xgettext:no-c-format */ "Argument #%B of `%A' is %C at %0 but is %D at %1 [info -f g77 M GLOBALS]") ! FFEBAD_MSG (FFEBAD_ARRAY_LARGE, FATAL, ! /* xgettext:no-c-format */ "Array `%A' at %0 is too large to handle") ! FFEBAD_MSG (FFEBAD_SFUNC_UNUSED, WARN, ! /* xgettext:no-c-format */ "Statement function `%A' defined at %0 is not used") ! FFEBAD_MSG (FFEBAD_INTRINSIC_Y2KBAD, WARN, ! /* xgettext:no-c-format */ "Intrinsic `%A', invoked at %0, known to be non-Y2K-compliant [info -f g77 M Y2KBAD]") ! FFEBAD_MSG (FFEBAD_NOCANDO, DISASTER, ! /* xgettext:no-c-format */ "Internal compiler error -- cannot perform operation") #undef INFORM diff -Nrc3pad gcc-3.0.4/gcc/f/bad.h gcc-3.1/gcc/f/bad.h *** gcc-3.0.4/gcc/f/bad.h Sat Mar 27 10:23:38 1999 --- gcc-3.1/gcc/f/bad.h Wed Jan 23 03:01:52 2002 *************** *** 1,5 **** /* bad.h -- Public #include File (module.h template V1.0) ! Copyright (C) 1995 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. --- 1,5 ---- /* bad.h -- Public #include File (module.h template V1.0) ! Copyright (C) 1995, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. *************** the Free Software Foundation, 59 Temple *** 27,44 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_bad ! #define _H_f_bad /* Simple definitions and enumerations. */ typedef enum { ! #define FFEBAD_MSGS1(KWD,SEV,MSG) KWD, ! #define FFEBAD_MSGS2(KWD,SEV,LMSG,SMSG) KWD, #include "bad.def" ! #undef FFEBAD_MSGS1 ! #undef FFEBAD_MSGS2 FFEBAD } ffebad; --- 27,42 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_BAD_H ! #define GCC_F_BAD_H /* Simple definitions and enumerations. */ typedef enum { ! #define FFEBAD_MSG(KWD,SEV,MSG) KWD, #include "bad.def" ! #undef FFEBAD_MSG FFEBAD } ffebad; *************** void ffebad_init_0 (void); *** 82,88 **** bool ffebad_is_fatal (ffebad errnum); ffebadSeverity ffebad_severity (ffebad errnum); bool ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev, ! const char *message); void ffebad_string (const char *string); /* Define macros. */ --- 80,86 ---- bool ffebad_is_fatal (ffebad errnum); ffebadSeverity ffebad_severity (ffebad errnum); bool ffebad_start_ (bool lex_override, ffebad errnum, ffebadSeverity sev, ! const char *msgid); void ffebad_string (const char *string); /* Define macros. */ *************** void ffebad_string (const char *string); *** 95,102 **** #define ffebad_set_inhibit(f) (ffebad_is_inhibited_ = (f)) #define ffebad_start(e) ffebad_start_ (FALSE, (e), FFEBAD_severity, NULL) #define ffebad_start_lex(e) ffebad_start_ (TRUE, (e), FFEBAD_severity, NULL) ! #define ffebad_start_msg(m,s) ffebad_start_ (FALSE, FFEBAD, (s), (m)) ! #define ffebad_start_msg_lex(m,s) ffebad_start_ (TRUE, FFEBAD, (s), (m)) #define ffebad_terminate_0() #define ffebad_terminate_1() #define ffebad_terminate_2() --- 93,100 ---- #define ffebad_set_inhibit(f) (ffebad_is_inhibited_ = (f)) #define ffebad_start(e) ffebad_start_ (FALSE, (e), FFEBAD_severity, NULL) #define ffebad_start_lex(e) ffebad_start_ (TRUE, (e), FFEBAD_severity, NULL) ! #define ffebad_start_msg(msgid,s) ffebad_start_ (FALSE, FFEBAD, (s), (msgid)) ! #define ffebad_start_msg_lex(msgid,s) ffebad_start_ (TRUE, FFEBAD, (s), (msgid)) #define ffebad_terminate_0() #define ffebad_terminate_1() #define ffebad_terminate_2() *************** void ffebad_string (const char *string); *** 105,108 **** /* End of #include file. */ ! #endif --- 103,106 ---- /* End of #include file. */ ! #endif /* ! GCC_F_BAD_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/bit.h gcc-3.1/gcc/f/bit.h *** gcc-3.0.4/gcc/f/bit.h Mon Feb 15 18:16:27 1999 --- gcc-3.1/gcc/f/bit.h Sat May 26 01:31:46 2001 *************** the Free Software Foundation, 59 Temple *** 27,34 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_bit ! #define _H_f_bit /* Simple definitions and enumerations. */ --- 27,34 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_BIT_H ! #define GCC_F_BIT_H /* Simple definitions and enumerations. */ *************** void ffebit_test (ffebit b, ffebitCount *** 81,84 **** /* End of #include file. */ ! #endif --- 81,84 ---- /* End of #include file. */ ! #endif /* ! GCC_F_BIT_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/bld.c gcc-3.1/gcc/f/bld.c *** gcc-3.0.4/gcc/f/bld.c Sat Apr 17 10:58:21 1999 --- gcc-3.1/gcc/f/bld.c Sun Dec 23 04:59:08 2001 *************** the Free Software Foundation, 59 Temple *** 46,52 **** /* Externals defined here. */ ! ffebldArity ffebld_arity_op_[] = { #define FFEBLD_OP(KWD,NAME,ARITY) ARITY, --- 46,52 ---- /* Externals defined here. */ ! const ffebldArity ffebld_arity_op_[(int) FFEBLD_op] = { #define FFEBLD_OP(KWD,NAME,ARITY) ARITY, *************** static ffebldConstant ffebld_constant_ho *** 203,209 **** static ffebldConstant ffebld_constant_typeless_[FFEBLD_constTYPELESS_LAST - FFEBLD_constTYPELESS_FIRST + 1]; ! static const char *ffebld_op_string_[] = { #define FFEBLD_OP(KWD,NAME,ARITY) NAME, --- 203,209 ---- static ffebldConstant ffebld_constant_typeless_[FFEBLD_constTYPELESS_LAST - FFEBLD_constTYPELESS_FIRST + 1]; ! static const char *const ffebld_op_string_[] = { #define FFEBLD_OP(KWD,NAME,ARITY) NAME, *************** ffebld_constant_cmp (ffebldConstant c1, *** 438,870 **** } } - /* ffebld_constant_dump -- Display summary of constant's contents - - ffebldConstant c; - ffebld_constant_dump(c); - - Displays the constant in summary form. */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffebld_constant_dump (ffebldConstant c) - { - switch (ffebld_constant_type (c)) - { - #if FFETARGET_okINTEGER1 - case FFEBLD_constINTEGER1: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER1); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER1); - break; - #endif - - #if FFETARGET_okINTEGER2 - case FFEBLD_constINTEGER2: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER2); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER2); - break; - #endif - - #if FFETARGET_okINTEGER3 - case FFEBLD_constINTEGER3: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER3); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER3); - break; - #endif - - #if FFETARGET_okINTEGER4 - case FFEBLD_constINTEGER4: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER4); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER4); - break; - #endif - - #if FFETARGET_okINTEGER5 - case FFEBLD_constINTEGER5: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER5); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER5); - break; - #endif - - #if FFETARGET_okINTEGER6 - case FFEBLD_constINTEGER6: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER6); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER6); - break; - #endif - - #if FFETARGET_okINTEGER7 - case FFEBLD_constINTEGER7: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER7); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER7); - break; - #endif - - #if FFETARGET_okINTEGER8 - case FFEBLD_constINTEGER8: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER8); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeINTEGER, FFEINFO_kindtypeINTEGER8); - break; - #endif - - #if FFETARGET_okLOGICAL1 - case FFEBLD_constLOGICAL1: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL1); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL1); - break; - #endif - - #if FFETARGET_okLOGICAL2 - case FFEBLD_constLOGICAL2: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL2); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL2); - break; - #endif - - #if FFETARGET_okLOGICAL3 - case FFEBLD_constLOGICAL3: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL3); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL3); - break; - #endif - - #if FFETARGET_okLOGICAL4 - case FFEBLD_constLOGICAL4: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL4); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL4); - break; - #endif - - #if FFETARGET_okLOGICAL5 - case FFEBLD_constLOGICAL5: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL5); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL5); - break; - #endif - - #if FFETARGET_okLOGICAL6 - case FFEBLD_constLOGICAL6: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL6); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL6); - break; - #endif - - #if FFETARGET_okLOGICAL7 - case FFEBLD_constLOGICAL7: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL7); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL7); - break; - #endif - - #if FFETARGET_okLOGICAL8 - case FFEBLD_constLOGICAL8: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeLOGICAL, - FFEINFO_kindtypeLOGICAL8); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeLOGICAL, FFEINFO_kindtypeLOGICAL8); - break; - #endif - - #if FFETARGET_okREAL1 - case FFEBLD_constREAL1: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL1); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL1); - break; - #endif - - #if FFETARGET_okREAL2 - case FFEBLD_constREAL2: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL2); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL2); - break; - #endif - - #if FFETARGET_okREAL3 - case FFEBLD_constREAL3: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL3); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL3); - break; - #endif - - #if FFETARGET_okREAL4 - case FFEBLD_constREAL4: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL4); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL4); - break; - #endif - - #if FFETARGET_okREAL5 - case FFEBLD_constREAL5: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL5); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL5); - break; - #endif - - #if FFETARGET_okREAL6 - case FFEBLD_constREAL6: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL6); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL6); - break; - #endif - - #if FFETARGET_okREAL7 - case FFEBLD_constREAL7: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL7); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL7); - break; - #endif - - #if FFETARGET_okREAL8 - case FFEBLD_constREAL8: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeREAL, - FFEINFO_kindtypeREAL8); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeREAL, FFEINFO_kindtypeREAL8); - break; - #endif - - #if FFETARGET_okCOMPLEX1 - case FFEBLD_constCOMPLEX1: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL1); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL1); - break; - #endif - - #if FFETARGET_okCOMPLEX2 - case FFEBLD_constCOMPLEX2: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL2); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL2); - break; - #endif - - #if FFETARGET_okCOMPLEX3 - case FFEBLD_constCOMPLEX3: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL3); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL3); - break; - #endif - - #if FFETARGET_okCOMPLEX4 - case FFEBLD_constCOMPLEX4: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL4); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL4); - break; - #endif - - #if FFETARGET_okCOMPLEX5 - case FFEBLD_constCOMPLEX5: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL5); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL5); - break; - #endif - - #if FFETARGET_okCOMPLEX6 - case FFEBLD_constCOMPLEX6: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL6); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL6); - break; - #endif - - #if FFETARGET_okCOMPLEX7 - case FFEBLD_constCOMPLEX7: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL7); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL7); - break; - #endif - - #if FFETARGET_okCOMPLEX8 - case FFEBLD_constCOMPLEX8: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCOMPLEX, - FFEINFO_kindtypeREAL8); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCOMPLEX, FFEINFO_kindtypeREAL8); - break; - #endif - - #if FFETARGET_okCHARACTER1 - case FFEBLD_constCHARACTER1: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER1); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER1); - break; - #endif - - #if FFETARGET_okCHARACTER2 - case FFEBLD_constCHARACTER2: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER2); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER2); - break; - #endif - - #if FFETARGET_okCHARACTER3 - case FFEBLD_constCHARACTER3: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER3); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER3); - break; - #endif - - #if FFETARGET_okCHARACTER4 - case FFEBLD_constCHARACTER4: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER4); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER4); - break; - #endif - - #if FFETARGET_okCHARACTER5 - case FFEBLD_constCHARACTER5: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER5); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER5); - break; - #endif - - #if FFETARGET_okCHARACTER6 - case FFEBLD_constCHARACTER6: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER6); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER6); - break; - #endif - - #if FFETARGET_okCHARACTER7 - case FFEBLD_constCHARACTER7: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER7); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER7); - break; - #endif - - #if FFETARGET_okCHARACTER8 - case FFEBLD_constCHARACTER8: - ffebld_dump_prefix (dmpout, FFEINFO_basictypeCHARACTER, - FFEINFO_kindtypeCHARACTER8); - ffebld_constantunion_dump (ffebld_constant_union (c), - FFEINFO_basictypeCHARACTER, FFEINFO_kindtypeCHARACTER8); - break; - #endif - - case FFEBLD_constHOLLERITH: - fprintf (dmpout, "H%" ffetargetHollerithSize_f "u/", - ffebld_constant_hollerith (c).length); - ffetarget_print_hollerith (dmpout, ffebld_constant_hollerith (c)); - break; - - case FFEBLD_constBINARY_MIL: - fprintf (dmpout, "BM/"); - ffetarget_print_binarymil (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constBINARY_VXT: - fprintf (dmpout, "BV/"); - ffetarget_print_binaryvxt (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constOCTAL_MIL: - fprintf (dmpout, "OM/"); - ffetarget_print_octalmil (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constOCTAL_VXT: - fprintf (dmpout, "OV/"); - ffetarget_print_octalvxt (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constHEX_X_MIL: - fprintf (dmpout, "XM/"); - ffetarget_print_hexxmil (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constHEX_X_VXT: - fprintf (dmpout, "XV/"); - ffetarget_print_hexxvxt (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constHEX_Z_MIL: - fprintf (dmpout, "ZM/"); - ffetarget_print_hexzmil (dmpout, ffebld_constant_typeless (c)); - break; - - case FFEBLD_constHEX_Z_VXT: - fprintf (dmpout, "ZV/"); - ffetarget_print_hexzvxt (dmpout, ffebld_constant_typeless (c)); - break; - - default: - assert ("bad constant type" == NULL); - fprintf (dmpout, "?/?"); - break; - } - } - #endif - /* ffebld_constant_is_magical -- Determine if integer is "magical" ffebldConstant c; --- 438,443 ---- *************** ffebld_constant_new_typeless_val (ffebld *** 1991,2066 **** return nc; } - /* ffebld_constantarray_dump -- Display summary of array's contents - - ffebldConstantArray a; - ffeinfoBasictype bt; - ffeinfoKindtype kt; - ffetargetOffset size; - ffebld_constant_dump(a,bt,kt,size,NULL); - - Displays the constant array in summary form. The fifth argument, if - supplied, is an ffebit object that is consulted as to whether the - constant at a particular offset is valid. */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffebld_constantarray_dump (ffebldConstantArray array, ffeinfoBasictype bt, - ffeinfoKindtype kt, ffetargetOffset size, ffebit bits) - { - ffetargetOffset i; - ffebitCount j; - - ffebld_dump_prefix (dmpout, bt, kt); - - fprintf (dmpout, "\\("); - - if (bits == NULL) - { - for (i = 0; i < size; ++i) - { - ffebld_constantunion_dump (ffebld_constantarray_get (array, bt, kt, i), bt, - kt); - if (i != size - 1) - fputc (',', dmpout); - } - } - else - { - bool value; - ffebitCount length; - ffetargetOffset offset = 0; - - do - { - ffebit_test (bits, offset, &value, &length); - if (value && (length != 0)) - { - if (length == 1) - fprintf (dmpout, "[%" ffetargetOffset_f "d]:", offset); - else - fprintf (dmpout, - "[%" ffetargetOffset_f "u..%" ffetargetOffset_f "d]:", - offset, offset + (ffetargetOffset) length - 1); - for (j = 0; j < length; ++j, ++offset) - { - ffebld_constantunion_dump (ffebld_constantarray_get (array, bt, kt, - offset), bt, kt); - if (j != length - 1) - fputc (',', dmpout); - } - fprintf (dmpout, ";"); - } - else - offset += length; - } - while (length != 0); - } - fprintf (dmpout, "\\)"); - - } - #endif - /* ffebld_constantarray_get -- Get a value from an array of constants See prototype. */ --- 1564,1569 ---- *************** ffebld_constantarray_put (ffebldConstant *** 4408,5187 **** } } - /* ffebld_constantunion_dump -- Dump a constant - - See prototype. */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffebld_constantunion_dump (ffebldConstantUnion u, ffeinfoBasictype bt, - ffeinfoKindtype kt) - { - switch (bt) - { - case FFEINFO_basictypeINTEGER: - switch (kt) - { - #if FFETARGET_okINTEGER1 - case FFEINFO_kindtypeINTEGER1: - ffetarget_print_integer1 (dmpout, u.integer1); - break; - #endif - - #if FFETARGET_okINTEGER2 - case FFEINFO_kindtypeINTEGER2: - ffetarget_print_integer2 (dmpout, u.integer2); - break; - #endif - - #if FFETARGET_okINTEGER3 - case FFEINFO_kindtypeINTEGER3: - ffetarget_print_integer3 (dmpout, u.integer3); - break; - #endif - - #if FFETARGET_okINTEGER4 - case FFEINFO_kindtypeINTEGER4: - ffetarget_print_integer4 (dmpout, u.integer4); - break; - #endif - - #if FFETARGET_okINTEGER5 - case FFEINFO_kindtypeINTEGER5: - ffetarget_print_integer5 (dmpout, u.integer5); - break; - #endif - - #if FFETARGET_okINTEGER6 - case FFEINFO_kindtypeINTEGER6: - ffetarget_print_integer6 (dmpout, u.integer6); - break; - #endif - - #if FFETARGET_okINTEGER7 - case FFEINFO_kindtypeINTEGER7: - ffetarget_print_integer7 (dmpout, u.integer7); - break; - #endif - - #if FFETARGET_okINTEGER8 - case FFEINFO_kindtypeINTEGER8: - ffetarget_print_integer8 (dmpout, u.integer8); - break; - #endif - - default: - assert ("bad INTEGER kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeLOGICAL: - switch (kt) - { - #if FFETARGET_okLOGICAL1 - case FFEINFO_kindtypeLOGICAL1: - ffetarget_print_logical1 (dmpout, u.logical1); - break; - #endif - - #if FFETARGET_okLOGICAL2 - case FFEINFO_kindtypeLOGICAL2: - ffetarget_print_logical2 (dmpout, u.logical2); - break; - #endif - - #if FFETARGET_okLOGICAL3 - case FFEINFO_kindtypeLOGICAL3: - ffetarget_print_logical3 (dmpout, u.logical3); - break; - #endif - - #if FFETARGET_okLOGICAL4 - case FFEINFO_kindtypeLOGICAL4: - ffetarget_print_logical4 (dmpout, u.logical4); - break; - #endif - - #if FFETARGET_okLOGICAL5 - case FFEINFO_kindtypeLOGICAL5: - ffetarget_print_logical5 (dmpout, u.logical5); - break; - #endif - - #if FFETARGET_okLOGICAL6 - case FFEINFO_kindtypeLOGICAL6: - ffetarget_print_logical6 (dmpout, u.logical6); - break; - #endif - - #if FFETARGET_okLOGICAL7 - case FFEINFO_kindtypeLOGICAL7: - ffetarget_print_logical7 (dmpout, u.logical7); - break; - #endif - - #if FFETARGET_okLOGICAL8 - case FFEINFO_kindtypeLOGICAL8: - ffetarget_print_logical8 (dmpout, u.logical8); - break; - #endif - - default: - assert ("bad LOGICAL kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeREAL: - switch (kt) - { - #if FFETARGET_okREAL1 - case FFEINFO_kindtypeREAL1: - ffetarget_print_real1 (dmpout, u.real1); - break; - #endif - - #if FFETARGET_okREAL2 - case FFEINFO_kindtypeREAL2: - ffetarget_print_real2 (dmpout, u.real2); - break; - #endif - - #if FFETARGET_okREAL3 - case FFEINFO_kindtypeREAL3: - ffetarget_print_real3 (dmpout, u.real3); - break; - #endif - - #if FFETARGET_okREAL4 - case FFEINFO_kindtypeREAL4: - ffetarget_print_real4 (dmpout, u.real4); - break; - #endif - - #if FFETARGET_okREAL5 - case FFEINFO_kindtypeREAL5: - ffetarget_print_real5 (dmpout, u.real5); - break; - #endif - - #if FFETARGET_okREAL6 - case FFEINFO_kindtypeREAL6: - ffetarget_print_real6 (dmpout, u.real6); - break; - #endif - - #if FFETARGET_okREAL7 - case FFEINFO_kindtypeREAL7: - ffetarget_print_real7 (dmpout, u.real7); - break; - #endif - - #if FFETARGET_okREAL8 - case FFEINFO_kindtypeREAL8: - ffetarget_print_real8 (dmpout, u.real8); - break; - #endif - - default: - assert ("bad REAL kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeCOMPLEX: - switch (kt) - { - #if FFETARGET_okCOMPLEX1 - case FFEINFO_kindtypeREAL1: - fprintf (dmpout, "("); - ffetarget_print_real1 (dmpout, u.complex1.real); - fprintf (dmpout, ","); - ffetarget_print_real1 (dmpout, u.complex1.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX2 - case FFEINFO_kindtypeREAL2: - fprintf (dmpout, "("); - ffetarget_print_real2 (dmpout, u.complex2.real); - fprintf (dmpout, ","); - ffetarget_print_real2 (dmpout, u.complex2.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX3 - case FFEINFO_kindtypeREAL3: - fprintf (dmpout, "("); - ffetarget_print_real3 (dmpout, u.complex3.real); - fprintf (dmpout, ","); - ffetarget_print_real3 (dmpout, u.complex3.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX4 - case FFEINFO_kindtypeREAL4: - fprintf (dmpout, "("); - ffetarget_print_real4 (dmpout, u.complex4.real); - fprintf (dmpout, ","); - ffetarget_print_real4 (dmpout, u.complex4.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX5 - case FFEINFO_kindtypeREAL5: - fprintf (dmpout, "("); - ffetarget_print_real5 (dmpout, u.complex5.real); - fprintf (dmpout, ","); - ffetarget_print_real5 (dmpout, u.complex5.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX6 - case FFEINFO_kindtypeREAL6: - fprintf (dmpout, "("); - ffetarget_print_real6 (dmpout, u.complex6.real); - fprintf (dmpout, ","); - ffetarget_print_real6 (dmpout, u.complex6.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX7 - case FFEINFO_kindtypeREAL7: - fprintf (dmpout, "("); - ffetarget_print_real7 (dmpout, u.complex7.real); - fprintf (dmpout, ","); - ffetarget_print_real7 (dmpout, u.complex7.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - #if FFETARGET_okCOMPLEX8 - case FFEINFO_kindtypeREAL8: - fprintf (dmpout, "("); - ffetarget_print_real8 (dmpout, u.complex8.real); - fprintf (dmpout, ","); - ffetarget_print_real8 (dmpout, u.complex8.imaginary); - fprintf (dmpout, ")"); - break; - #endif - - default: - assert ("bad COMPLEX kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeCHARACTER: - switch (kt) - { - #if FFETARGET_okCHARACTER1 - case FFEINFO_kindtypeCHARACTER1: - ffetarget_print_character1 (dmpout, u.character1); - break; - #endif - - #if FFETARGET_okCHARACTER2 - case FFEINFO_kindtypeCHARACTER2: - ffetarget_print_character2 (dmpout, u.character2); - break; - #endif - - #if FFETARGET_okCHARACTER3 - case FFEINFO_kindtypeCHARACTER3: - ffetarget_print_character3 (dmpout, u.character3); - break; - #endif - - #if FFETARGET_okCHARACTER4 - case FFEINFO_kindtypeCHARACTER4: - ffetarget_print_character4 (dmpout, u.character4); - break; - #endif - - #if FFETARGET_okCHARACTER5 - case FFEINFO_kindtypeCHARACTER5: - ffetarget_print_character5 (dmpout, u.character5); - break; - #endif - - #if FFETARGET_okCHARACTER6 - case FFEINFO_kindtypeCHARACTER6: - ffetarget_print_character6 (dmpout, u.character6); - break; - #endif - - #if FFETARGET_okCHARACTER7 - case FFEINFO_kindtypeCHARACTER7: - ffetarget_print_character7 (dmpout, u.character7); - break; - #endif - - #if FFETARGET_okCHARACTER8 - case FFEINFO_kindtypeCHARACTER8: - ffetarget_print_character8 (dmpout, u.character8); - break; - #endif - - default: - assert ("bad CHARACTER kindtype" == NULL); - break; - } - break; - - default: - assert ("bad basictype" == NULL); - break; - } - } - #endif - - /* ffebld_dump -- Dump expression tree in concise form - - ffebld b; - ffebld_dump(b); */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffebld_dump (ffebld b) - { - ffeinfoKind k; - ffeinfoWhere w; - - if (b == NULL) - { - fprintf (dmpout, "(null)"); - return; - } - - switch (ffebld_op (b)) - { - case FFEBLD_opITEM: - fputs ("[", dmpout); - while (b != NULL) - { - ffebld_dump (ffebld_head (b)); - if ((b = ffebld_trail (b)) != NULL) - fputs (",", dmpout); - } - fputs ("]", dmpout); - return; - - case FFEBLD_opSTAR: - case FFEBLD_opBOUNDS: - case FFEBLD_opREPEAT: - case FFEBLD_opLABTER: - case FFEBLD_opLABTOK: - case FFEBLD_opIMPDO: - fputs (ffebld_op_string (ffebld_op (b)), dmpout); - break; - - default: - if (ffeinfo_size (ffebld_info (b)) != FFETARGET_charactersizeNONE) - fprintf (dmpout, "%s%d%s%s*%" ffetargetCharacterSize_f "u", - ffebld_op_string (ffebld_op (b)), - (int) ffeinfo_rank (ffebld_info (b)), - ffeinfo_basictype_string (ffeinfo_basictype (ffebld_info (b))), - ffeinfo_kindtype_string (ffeinfo_kindtype (ffebld_info (b))), - ffeinfo_size (ffebld_info (b))); - else - fprintf (dmpout, "%s%d%s%s", ffebld_op_string (ffebld_op (b)), - (int) ffeinfo_rank (ffebld_info (b)), - ffeinfo_basictype_string (ffeinfo_basictype (ffebld_info (b))), - ffeinfo_kindtype_string (ffeinfo_kindtype (ffebld_info (b)))); - if ((k = ffeinfo_kind (ffebld_info (b))) != FFEINFO_kindNONE) - fprintf (dmpout, "/%s", ffeinfo_kind_string (k)); - if ((w = ffeinfo_where (ffebld_info (b))) != FFEINFO_whereNONE) - fprintf (dmpout, "@%s", ffeinfo_where_string (w)); - break; - } - - switch (ffebld_arity (b)) - { - case 2: - fputs ("(", dmpout); - ffebld_dump (ffebld_left (b)); - fputs (",", dmpout); - ffebld_dump (ffebld_right (b)); - fputs (")", dmpout); - break; - - case 1: - fputs ("(", dmpout); - ffebld_dump (ffebld_left (b)); - fputs (")", dmpout); - break; - - default: - switch (ffebld_op (b)) - { - case FFEBLD_opCONTER: - fprintf (dmpout, "<"); - ffebld_constant_dump (b->u.conter.expr); - fprintf (dmpout, ">"); - break; - - case FFEBLD_opACCTER: - fprintf (dmpout, "<"); - ffebld_constantarray_dump (b->u.accter.array, - ffeinfo_basictype (ffebld_info (b)), - ffeinfo_kindtype (ffebld_info (b)), - ffebit_size (b->u.accter.bits), b->u.accter.bits); - fprintf (dmpout, ">"); - break; - - case FFEBLD_opARRTER: - fprintf (dmpout, "<"); - ffebld_constantarray_dump (b->u.arrter.array, - ffeinfo_basictype (ffebld_info (b)), - ffeinfo_kindtype (ffebld_info (b)), - b->u.arrter.size, NULL); - fprintf (dmpout, ">"); - break; - - case FFEBLD_opLABTER: - if (b->u.labter == NULL) - fprintf (dmpout, "<>"); - else - fprintf (dmpout, "<%" ffelabValue_f "u>", ffelab_value (b->u.labter)); - break; - - case FFEBLD_opLABTOK: - fprintf (dmpout, "<%s>", ffelex_token_text (b->u.labtok)); - break; - - case FFEBLD_opSYMTER: - fprintf (dmpout, "<"); - ffesymbol_dump (b->u.symter.symbol); - if ((b->u.symter.generic != FFEINTRIN_genNONE) - || (b->u.symter.specific != FFEINTRIN_specNONE)) - fprintf (dmpout, "{%s:%s:%s}", - ffeintrin_name_generic (b->u.symter.generic), - ffeintrin_name_specific (b->u.symter.specific), - ffeintrin_name_implementation (b->u.symter.implementation)); - if (b->u.symter.do_iter) - fprintf (dmpout, "{/do-iter}"); - fprintf (dmpout, ">"); - break; - - default: - break; - } - } - } - #endif - - /* ffebld_dump_prefix -- Dump the prefix for a constant of a given type - - ffebld_dump_prefix(dmpout,FFEINFO_basictypeINTEGER, - FFEINFO_kindtypeINTEGER1); */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffebld_dump_prefix (FILE *out, ffeinfoBasictype bt, ffeinfoKindtype kt) - { - switch (bt) - { - case FFEINFO_basictypeINTEGER: - switch (kt) - { - #if FFETARGET_okINTEGER1 - case FFEINFO_kindtypeINTEGER1: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER1) "/"); - break; - #endif - - #if FFETARGET_okINTEGER2 - case FFEINFO_kindtypeINTEGER2: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER2) "/"); - break; - #endif - - #if FFETARGET_okINTEGER3 - case FFEINFO_kindtypeINTEGER3: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER3) "/"); - break; - #endif - - #if FFETARGET_okINTEGER4 - case FFEINFO_kindtypeINTEGER4: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER4) "/"); - break; - #endif - - #if FFETARGET_okINTEGER5 - case FFEINFO_kindtypeINTEGER5: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER5) "/"); - break; - #endif - - #if FFETARGET_okINTEGER6 - case FFEINFO_kindtypeINTEGER6: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER6) "/"); - break; - #endif - - #if FFETARGET_okINTEGER7 - case FFEINFO_kindtypeINTEGER7: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER7) "/"); - break; - #endif - - #if FFETARGET_okINTEGER8 - case FFEINFO_kindtypeINTEGER8: - fprintf (out, "I" STRX (FFETARGET_kindINTEGER8) "/"); - break; - #endif - - default: - assert ("bad INTEGER kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeLOGICAL: - switch (kt) - { - #if FFETARGET_okLOGICAL1 - case FFEINFO_kindtypeLOGICAL1: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL1) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL2 - case FFEINFO_kindtypeLOGICAL2: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL2) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL3 - case FFEINFO_kindtypeLOGICAL3: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL3) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL4 - case FFEINFO_kindtypeLOGICAL4: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL4) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL5 - case FFEINFO_kindtypeLOGICAL5: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL5) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL6 - case FFEINFO_kindtypeLOGICAL6: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL6) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL7 - case FFEINFO_kindtypeLOGICAL7: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL7) "/"); - break; - #endif - - #if FFETARGET_okLOGICAL8 - case FFEINFO_kindtypeLOGICAL8: - fprintf (out, "L" STRX (FFETARGET_kindLOGICAL8) "/"); - break; - #endif - - default: - assert ("bad LOGICAL kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeREAL: - switch (kt) - { - #if FFETARGET_okREAL1 - case FFEINFO_kindtypeREAL1: - fprintf (out, "R" STRX (FFETARGET_kindREAL1) "/"); - break; - #endif - - #if FFETARGET_okREAL2 - case FFEINFO_kindtypeREAL2: - fprintf (out, "R" STRX (FFETARGET_kindREAL2) "/"); - break; - #endif - - #if FFETARGET_okREAL3 - case FFEINFO_kindtypeREAL3: - fprintf (out, "R" STRX (FFETARGET_kindREAL3) "/"); - break; - #endif - - #if FFETARGET_okREAL4 - case FFEINFO_kindtypeREAL4: - fprintf (out, "R" STRX (FFETARGET_kindREAL4) "/"); - break; - #endif - - #if FFETARGET_okREAL5 - case FFEINFO_kindtypeREAL5: - fprintf (out, "R" STRX (FFETARGET_kindREAL5) "/"); - break; - #endif - - #if FFETARGET_okREAL6 - case FFEINFO_kindtypeREAL6: - fprintf (out, "R" STRX (FFETARGET_kindREAL6) "/"); - break; - #endif - - #if FFETARGET_okREAL7 - case FFEINFO_kindtypeREAL7: - fprintf (out, "R" STRX (FFETARGET_kindREAL7) "/"); - break; - #endif - - #if FFETARGET_okREAL8 - case FFEINFO_kindtypeREAL8: - fprintf (out, "R" STRX (FFETARGET_kindREAL8) "/"); - break; - #endif - - default: - assert ("bad REAL kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeCOMPLEX: - switch (kt) - { - #if FFETARGET_okCOMPLEX1 - case FFEINFO_kindtypeREAL1: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX1) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX2 - case FFEINFO_kindtypeREAL2: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX2) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX3 - case FFEINFO_kindtypeREAL3: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX3) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX4 - case FFEINFO_kindtypeREAL4: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX4) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX5 - case FFEINFO_kindtypeREAL5: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX5) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX6 - case FFEINFO_kindtypeREAL6: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX6) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX7 - case FFEINFO_kindtypeREAL7: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX7) "/"); - break; - #endif - - #if FFETARGET_okCOMPLEX8 - case FFEINFO_kindtypeREAL8: - fprintf (out, "C" STRX (FFETARGET_kindCOMPLEX8) "/"); - break; - #endif - - default: - assert ("bad COMPLEX kindtype" == NULL); - break; - } - break; - - case FFEINFO_basictypeCHARACTER: - switch (kt) - { - #if FFETARGET_okCHARACTER1 - case FFEINFO_kindtypeCHARACTER1: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER1) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER2 - case FFEINFO_kindtypeCHARACTER2: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER2) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER3 - case FFEINFO_kindtypeCHARACTER3: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER3) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER4 - case FFEINFO_kindtypeCHARACTER4: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER4) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER5 - case FFEINFO_kindtypeCHARACTER5: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER5) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER6 - case FFEINFO_kindtypeCHARACTER6: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER6) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER7 - case FFEINFO_kindtypeCHARACTER7: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER7) "/"); - break; - #endif - - #if FFETARGET_okCHARACTER8 - case FFEINFO_kindtypeCHARACTER8: - fprintf (out, "A" STRX (FFETARGET_kindCHARACTER8) "/"); - break; - #endif - - default: - assert ("bad CHARACTER kindtype" == NULL); - break; - } - break; - - default: - assert ("bad basictype" == NULL); - fprintf (out, "?/?"); - break; - } - } - #endif - /* ffebld_init_0 -- Initialize the module ffebld_init_0(); */ --- 3911,3916 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/bld.h gcc-3.1/gcc/f/bld.h *** gcc-3.0.4/gcc/f/bld.h Sat Apr 17 10:58:22 1999 --- gcc-3.1/gcc/f/bld.h Sun Dec 23 04:59:08 2001 *************** the Free Software Foundation, 59 Temple *** 27,34 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_bld ! #define _H_f_bld /* Simple definitions and enumerations. */ --- 27,34 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_BLD_H ! #define GCC_F_BLD_H /* Simple definitions and enumerations. */ *************** typedef struct _ffebld_pool_stack_ *ffeb *** 124,136 **** #define FFEBLD_whereconstPROGUNIT_ 1 #define FFEBLD_whereconstFILE_ 2 - #if FFECOM_targetCURRENT == FFECOM_targetFFE - #define FFEBLD_whereconstCURRENT_ FFEBLD_whereconstPROGUNIT_ - #elif FFECOM_targetCURRENT == FFECOM_targetGCC #define FFEBLD_whereconstCURRENT_ FFEBLD_whereconstFILE_ - #else - #error - #endif /* Structure definitions. */ --- 124,130 ---- *************** struct _ffebld_pool_stack_ *** 480,494 **** /* Global objects accessed by users of this module. */ ! extern ffebldArity ffebld_arity_op_[]; extern struct _ffebld_pool_stack_ ffebld_pool_stack_; /* Declare functions with prototypes. */ int ffebld_constant_cmp (ffebldConstant c1, ffebldConstant c2); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void ffebld_constant_dump (ffebldConstant c); - #endif bool ffebld_constant_is_magical (ffebldConstant c); bool ffebld_constant_is_zero (ffebldConstant c); #if FFETARGET_okCHARACTER1 --- 474,485 ---- /* Global objects accessed by users of this module. */ ! extern const ffebldArity ffebld_arity_op_[(int) FFEBLD_op]; extern struct _ffebld_pool_stack_ ffebld_pool_stack_; /* Declare functions with prototypes. */ int ffebld_constant_cmp (ffebldConstant c1, ffebldConstant c2); bool ffebld_constant_is_magical (ffebldConstant c); bool ffebld_constant_is_zero (ffebldConstant c); #if FFETARGET_okCHARACTER1 *************** ffebldConstant ffebld_constant_new_typel *** 691,700 **** ffebldConstant ffebld_constant_new_typeless_val (ffebldConst type, ffetargetTypeless val); ffebldConstant ffebld_constant_negated (ffebldConstant c); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void ffebld_constantarray_dump (ffebldConstantArray array, ffeinfoBasictype bt, - ffeinfoKindtype kt, ffetargetOffset size, ffebit bits); - #endif ffebldConstantUnion ffebld_constantarray_get (ffebldConstantArray array, ffeinfoBasictype bt, ffeinfoKindtype kt, ffetargetOffset offset); void ffebld_constantarray_kill (ffebldConstantArray array, ffeinfoBasictype bt, --- 682,687 ---- *************** void ffebld_constantarray_preparray (voi *** 711,722 **** ffeinfoBasictype cbt, ffeinfoKindtype ckt); void ffebld_constantarray_put (ffebldConstantArray array, ffeinfoBasictype bt, ffeinfoKindtype kt, ffetargetOffset offset, ffebldConstantUnion constant); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void ffebld_constantunion_dump (ffebldConstantUnion u, ffeinfoBasictype bt, - ffeinfoKindtype kt); - void ffebld_dump (ffebld b); - void ffebld_dump_prefix (FILE *out, ffeinfoBasictype bt, ffeinfoKindtype kt); - #endif void ffebld_init_0 (void); void ffebld_init_1 (void); void ffebld_init_2 (void); --- 698,703 ---- *************** ffetargetCharacterSize ffebld_size_max ( *** 1036,1039 **** /* End of #include file. */ ! #endif --- 1017,1020 ---- /* End of #include file. */ ! #endif /* ! GCC_F_BLD_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/bugs.texi gcc-3.1/gcc/f/bugs.texi *** gcc-3.0.4/gcc/f/bugs.texi Sun Jun 10 11:12:57 2001 --- gcc-3.1/gcc/f/bugs.texi Sat Feb 2 11:42:19 2002 *************** *** 7,15 **** @c Keep this the same as the dates above, since it's used @c in the standalone derivations of this file (e.g. BUGS). ! @set copyrights-bugs 1995,1996,1997,1998,1999,2000,2001 ! @set last-update-bugs 2001-06-10 @include root.texi --- 7,15 ---- @c Keep this the same as the dates above, since it's used @c in the standalone derivations of this file (e.g. BUGS). ! @set copyrights-bugs 1995,1996,1997,1998,1999,2000,2001,2002 ! @set last-update-bugs 2002-02-01 @include root.texi *************** configuration that it no longer makes re *** 120,127 **** Included with this item is the fact that @code{g77} doesn't recognize that, on IEEE-754/854-compliant systems, @samp{0./0.} should produce a NaN and no warning instead of the value @samp{0.} and a warning. - This is to be fixed in version 0.6, when @code{g77} will use the - @code{gcc} back end's constant-handling mechanisms to replace its own. @cindex compiler speed @cindex speed, of compiler --- 120,125 ---- *************** areas having any initialized elements. *** 138,144 **** For example, @samp{REAL A(1000000)} followed by @samp{DATA A(1)/1/} takes up way too much time and space, including the size of the generated assembler file. - This is to be mitigated somewhat in version 0.6. Version 0.5.18 improves cases like this---specifically, cases of @emph{sparse} initialization that leave large, contiguous --- 136,141 ---- *************** initialized arrays begin to cause respon *** 191,216 **** than linear performance would suggest. @end ifset - @cindex debugging - @cindex common blocks - @cindex equivalence areas - @cindex local equivalence areas - @item - Previous versions of @code{g77} didn't emit information on - variable and array members of common blocks and equivalences - for use with a debugger (the @samp{-g} command-line option). - As of the version of @code{g77} shipped with version 3.0 of - @code{GCC}, this is corrected. - - As of Version 0.5.19, a temporary kludge solution is provided whereby - some rudimentary information on a member is written as a string that - is the member's value as a character string. - - @ifset DOC-G77 - @xref{Code Gen Options,,Options for Code Generation Conventions}, - for information on the @samp{-fdebug-kludge} option. - @end ifset - @cindex code, displaying main source @cindex displaying main source code @cindex debugging main source code --- 188,193 ---- *************** working together properly sooner. *** 252,259 **** such as the Digital Semiconductor (``DEC'') Alpha. This problem is largely resolved as of version 0.5.23. - Version 0.6 should solve most or all remaining problems - (such as cross-compiling involving 64-bit machines). @cindex padding @cindex structures --- 229,234 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/com-rt.def gcc-3.1/gcc/f/com-rt.def *** gcc-3.0.4/gcc/f/com-rt.def Wed Aug 23 21:16:19 2000 --- gcc-3.1/gcc/f/com-rt.def Fri Dec 14 21:06:18 2001 *************** DEFGFRT (FFECOM_gfrtL_LOG10, "log10", FF *** 273,279 **** DEFGFRT (FFECOM_gfrtL_POW, "pow", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_SIN, "__builtin_sin", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_SINH, "sinh", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) ! DEFGFRT (FFECOM_gfrtL_SQRT, "__builtin_fsqrt", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_TAN, "tan", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_TANH, "tanh", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) --- 273,279 ---- DEFGFRT (FFECOM_gfrtL_POW, "pow", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_SIN, "__builtin_sin", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_SINH, "sinh", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) ! DEFGFRT (FFECOM_gfrtL_SQRT, "__builtin_sqrt", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_TAN, "tan", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) DEFGFRT (FFECOM_gfrtL_TANH, "tanh", FFECOM_rttypeDOUBLE_, "d", FALSE, FALSE, TRUE) diff -Nrc3pad gcc-3.0.4/gcc/f/com.c gcc-3.1/gcc/f/com.c *** gcc-3.0.4/gcc/f/com.c Sat Jun 2 15:39:46 2001 --- gcc-3.1/gcc/f/com.c Wed Apr 17 01:44:02 2002 *************** *** 1,5 **** /* com.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by James Craig Burley. --- 1,5 ---- /* com.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. *************** the Free Software Foundation, 59 Temple *** 81,87 **** /* Include files. */ #include "proj.h" - #if FFECOM_targetCURRENT == FFECOM_targetGCC #include "flags.h" #include "rtl.h" #include "toplev.h" --- 81,86 ---- *************** the Free Software Foundation, 59 Temple *** 89,148 **** #include "output.h" /* Must follow tree.h so TREE_CODE is defined! */ #include "convert.h" #include "ggc.h" ! #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ ! ! #define FFECOM_GCC_INCLUDE 1 /* Enable -I. */ ! ! /* BEGIN stuff from gcc/cccp.c. */ ! ! /* The following symbols should be autoconfigured: ! HAVE_FCNTL_H ! HAVE_STDLIB_H ! HAVE_SYS_TIME_H ! HAVE_UNISTD_H ! STDC_HEADERS ! TIME_WITH_SYS_TIME ! In the mean time, we'll get by with approximations based ! on existing GCC configuration symbols. */ ! ! #ifdef POSIX ! # ifndef HAVE_STDLIB_H ! # define HAVE_STDLIB_H 1 ! # endif ! # ifndef HAVE_UNISTD_H ! # define HAVE_UNISTD_H 1 ! # endif ! # ifndef STDC_HEADERS ! # define STDC_HEADERS 1 ! # endif ! #endif /* defined (POSIX) */ ! ! #if defined (POSIX) || (defined (USG) && !defined (VMS)) ! # ifndef HAVE_FCNTL_H ! # define HAVE_FCNTL_H 1 ! # endif ! #endif ! ! #ifdef RLIMIT_STACK ! # include ! #endif ! ! #if HAVE_FCNTL_H ! # include ! #endif ! ! /* This defines "errno" properly for VMS, and gives us EACCES. */ ! #include ! ! #if HAVE_STDLIB_H ! # include ! #else ! char *getenv (); ! #endif ! ! #if HAVE_UNISTD_H ! # include ! #endif /* VMS-specific definitions */ #ifdef VMS --- 88,97 ---- #include "output.h" /* Must follow tree.h so TREE_CODE is defined! */ #include "convert.h" #include "ggc.h" ! #include "diagnostic.h" ! #include "intl.h" ! #include "langhooks.h" ! #include "langhooks-def.h" /* VMS-specific definitions */ #ifdef VMS *************** typedef struct { unsigned :16, :16, :16; *** 169,180 **** #define INCLUDE_LEN_FUDGE 10 /* leave room for VMS syntax conversion */ #endif /* VMS */ - #ifndef O_RDONLY - #define O_RDONLY 0 - #endif - - /* END stuff from gcc/cccp.c. */ - #define FFECOM_DETERMINE_TYPES 1 /* for com.h */ #include "com.h" #include "bad.h" --- 118,123 ---- *************** typedef struct { unsigned :16, :16, :16; *** 194,206 **** /* Externals defined here. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC - - /* ~~gcc/tree.h *should* declare this, because toplev.c and dwarfout.c - reference it. */ - - const char * const language_string = "GNU F77"; - /* Stream for reading from the input file. */ FILE *finput; --- 137,142 ---- *************** tree ffecom_f2c_ftnlen_two_node; *** 268,274 **** tree ffecom_f2c_ptr_to_ftnlen_type_node; tree ffecom_f2c_ftnint_type_node; tree ffecom_f2c_ptr_to_ftnint_type_node; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Simple definitions and enumerations. */ --- 204,209 ---- *************** typedef enum *** 308,323 **** /* Internal typedefs. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC typedef struct _ffecom_concat_list_ ffecomConcatList_; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Private include files. */ /* Internal structure definitions. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC struct _ffecom_concat_list_ { ffebld *exprs; --- 243,255 ---- *************** struct _ffecom_concat_list_ *** 326,336 **** ffetargetCharacterSize minlen; ffetargetCharacterSize maxlen; }; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Static functions (internal). */ ! #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_arglist_expr_ (const char *argstring, ffebld args); static tree ffecom_widest_expr_type_ (ffebld list); static bool ffecom_overlap_ (tree dest_decl, tree dest_offset, --- 258,267 ---- ffetargetCharacterSize minlen; ffetargetCharacterSize maxlen; }; /* Static functions (internal). */ ! static void ffecom_init_decl_processing PARAMS ((void)); static tree ffecom_arglist_expr_ (const char *argstring, ffebld args); static tree ffecom_widest_expr_type_ (ffebld list); static bool ffecom_overlap_ (tree dest_decl, tree dest_offset, *************** static tree ffecom_vardesc_array_ (ffesy *** 423,434 **** static tree ffecom_vardesc_dims_ (ffesymbol s); static tree ffecom_convert_narrow_ (tree type, tree expr); static tree ffecom_convert_widen_ (tree type, tree expr); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* These are static functions that parallel those found in the C front end and thus have the same names. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree bison_rule_compstmt_ (void); static void bison_rule_pushlevel_ (void); static void delete_block (tree block); --- 354,363 ---- *************** static tree storedecls (tree decls); *** 447,461 **** static void store_parm_decls (int is_main_program); static tree start_decl (tree decl, bool is_top_level); static void start_function (tree name, tree type, int nested, int public); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ - #if FFECOM_GCC_INCLUDE static void ffecom_file_ (const char *name); - static void ffecom_initialize_char_syntax_ (void); static void ffecom_close_include_ (FILE *f); static int ffecom_decode_include_option_ (char *spec); static FILE *ffecom_open_include_ (char *name, ffewhereLine l, ffewhereColumn c); - #endif /* FFECOM_GCC_INCLUDE */ /* Static objects accessed by functions in this module. */ --- 376,386 ---- *************** static ffesymbol ffecom_primary_entry_ = *** 463,469 **** static ffesymbol ffecom_nested_entry_ = NULL; static ffeinfoKind ffecom_primary_entry_kind_; static bool ffecom_primary_entry_is_proc_; - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_outer_function_decl_; static tree ffecom_previous_function_decl_; static tree ffecom_which_entrypoint_decl_; --- 388,393 ---- *************** static tree ffecom_gfrt_[FFECOM_gfrt] *** 504,510 **** /* Holds the external names of the functions. */ ! static const char *ffecom_gfrt_name_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) NAME, --- 428,434 ---- /* Holds the external names of the functions. */ ! static const char *const ffecom_gfrt_name_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) NAME, *************** static const char *ffecom_gfrt_name_[FFE *** 514,520 **** /* Whether the function returns. */ ! static bool ffecom_gfrt_volatile_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) VOLATILE, --- 438,444 ---- /* Whether the function returns. */ ! static const bool ffecom_gfrt_volatile_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) VOLATILE, *************** static bool ffecom_gfrt_volatile_[FFECOM *** 524,530 **** /* Whether the function returns type complex. */ ! static bool ffecom_gfrt_complex_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) COMPLEX, --- 448,454 ---- /* Whether the function returns type complex. */ ! static const bool ffecom_gfrt_complex_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) COMPLEX, *************** static bool ffecom_gfrt_complex_[FFECOM_ *** 535,541 **** /* Whether the function is const (i.e., has no side effects and only depends on its arguments). */ ! static bool ffecom_gfrt_const_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) CONST, --- 459,465 ---- /* Whether the function is const (i.e., has no side effects and only depends on its arguments). */ ! static const bool ffecom_gfrt_const_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) CONST, *************** static bool ffecom_gfrt_const_[FFECOM_gf *** 545,551 **** /* Type code for the function return value. */ ! static ffecomRttype_ ffecom_gfrt_type_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) TYPE, --- 469,475 ---- /* Type code for the function return value. */ ! static const ffecomRttype_ ffecom_gfrt_type_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) TYPE, *************** static ffecomRttype_ ffecom_gfrt_type_[F *** 555,573 **** /* String of codes for the function's arguments. */ ! static const char *ffecom_gfrt_argstring_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) ARGS, #include "com-rt.def" #undef DEFGFRT }; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Internal macros. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC - /* We let tm.h override the types used here, to handle trivial differences such as the choice of unsigned int or long unsigned int for size_t. When machines start needing nontrivial differences in the size type, --- 479,494 ---- /* String of codes for the function's arguments. */ ! static const char *const ffecom_gfrt_argstring_[FFECOM_gfrt] = { #define DEFGFRT(CODE,NAME,TYPE,ARGS,VOLATILE,COMPLEX,CONST) ARGS, #include "com-rt.def" #undef DEFGFRT }; /* Internal macros. */ /* We let tm.h override the types used here, to handle trivial differences such as the choice of unsigned int or long unsigned int for size_t. When machines start needing nontrivial differences in the size type, *************** static struct binding_level *global_bind *** 643,649 **** /* Binding level structures are initialized by copying this one. */ ! static struct binding_level clear_binding_level = {NULL, NULL, NULL, NULL_BINDING_LEVEL, 0}; --- 564,570 ---- /* Binding level structures are initialized by copying this one. */ ! static const struct binding_level clear_binding_level = {NULL, NULL, NULL, NULL_BINDING_LEVEL, 0}; *************** static tree named_labels; *** 689,696 **** /* A list of LABEL_DECLs from outer contexts that are currently shadowed. */ static tree shadowed_labels; - - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Return the subscript expression, modified to do range-checking. --- 610,615 ---- *************** ffecom_subscript_check_ (tree array, tre *** 727,742 **** } element = ffecom_save_tree (element); ! cond = ffecom_2 (LE_EXPR, integer_type_node, ! low, ! element); ! if (high) { ! cond = ffecom_2 (TRUTH_ANDIF_EXPR, integer_type_node, ! cond, ! ffecom_2 (LE_EXPR, integer_type_node, ! element, ! high)); } { --- 646,691 ---- } element = ffecom_save_tree (element); ! if (total_dims == 0) { ! /* Special handling for substring range checks. Fortran allows the ! end subscript < begin subscript, which means that expressions like ! string(1:0) are valid (and yield a null string). In view of this, ! enforce two simpler conditions: ! 1) element<=high for end-substring; ! 2) element>=low for start-substring. ! Run-time character movement will enforce remaining conditions. ! ! More complicated checks would be better, but present structure only ! provides one index element at a time, so it is not possible to ! enforce a check of both i and j in string(i:j). If it were, the ! complete set of rules would read, ! if ( ((j 3 ! || TREE_OVERFLOW (TYPE_SIZE (type))))) { ffebad_start (FFEBAD_ARRAY_LARGE); ffebad_string (ffesymbol_text (s)); *************** ffecom_check_size_overflow_ (ffesymbol s *** 2362,2374 **** return type; } - #endif /* Builds a length argument (PARM_DECL). Also wraps type in an array type where the dimension info is (1:size) where is ffesymbol_size(s) if known, length_arg if not known (FFETARGET_charactersizeNONE). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_char_enhance_arg_ (tree *xtype, ffesymbol s) { --- 2280,2290 ---- *************** ffecom_char_enhance_arg_ (tree *xtype, f *** 2387,2395 **** else tlen = ffecom_get_invented_identifier ("__g77_%s", "length"); tlen = build_decl (PARM_DECL, tlen, ffecom_f2c_ftnlen_type_node); - #if BUILT_FOR_270 DECL_ARTIFICIAL (tlen) = 1; - #endif } if (sz == FFETARGET_charactersizeNONE) --- 2303,2309 ---- *************** ffecom_char_enhance_arg_ (tree *xtype, f *** 2412,2418 **** return tlen; } - #endif /* ffecom_concat_list_gather_ -- Gather list of concatenated string exprs ffecomConcatList_ catlist; --- 2326,2331 ---- *************** ffecom_char_enhance_arg_ (tree *xtype, f *** 2423,2436 **** Scans expr for character subexpressions, updates and returns catlist accordingly. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffecomConcatList_ ffecom_concat_list_gather_ (ffecomConcatList_ catlist, ffebld expr, ffetargetCharacterSize max) { ffetargetCharacterSize sz; ! recurse: /* :::::::::::::::::::: */ if (expr == NULL) return catlist; --- 2336,2348 ---- Scans expr for character subexpressions, updates and returns catlist accordingly. */ static ffecomConcatList_ ffecom_concat_list_gather_ (ffecomConcatList_ catlist, ffebld expr, ffetargetCharacterSize max) { ffetargetCharacterSize sz; ! recurse: if (expr == NULL) return catlist; *************** recurse: /* :::::::::::::::::::: */ *** 2526,2532 **** } } - #endif /* ffecom_concat_list_kill_ -- Kill list of concatenated string exprs ffecomConcatList_ catlist; --- 2438,2443 ---- *************** recurse: /* :::::::::::::::::::: */ *** 2534,2540 **** Anything allocated within the list info is deallocated. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_concat_list_kill_ (ffecomConcatList_ catlist) { --- 2445,2450 ---- *************** ffecom_concat_list_kill_ (ffecomConcatLi *** 2543,2555 **** catlist.max * sizeof (catlist.exprs[0])); } - #endif /* Make list of concatenated string exprs. Returns a flattened list of concatenated subexpressions given a tree of such expressions. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffecomConcatList_ ffecom_concat_list_new_ (ffebld expr, ffetargetCharacterSize max) { --- 2453,2463 ---- *************** ffecom_concat_list_new_ (ffebld expr, ff *** 2559,2571 **** return ffecom_concat_list_gather_ (catlist, expr, max); } - #endif - /* Provide some kind of useful info on member of aggregate area, since current g77/gcc technology does not provide debug info on these members. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_debug_kludge_ (tree aggr, const char *aggr_type, ffesymbol member, tree member_type UNUSED, ffetargetOffset offset) --- 2467,2476 ---- *************** ffecom_debug_kludge_ (tree aggr, const c *** 2644,2650 **** if (buff != &space[0]) malloc_kill_ks (malloc_pool_image (), buff, len + 1); } - #endif /* ffecom_do_entry_ -- Do compilation of a particular entrypoint --- 2549,2554 ---- *************** ffecom_debug_kludge_ (tree aggr, const c *** 2655,2661 **** Makes a public entry point that calls our private master fn (already compiled). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_do_entry_ (ffesymbol fn, int entrynum) { --- 2559,2564 ---- *************** ffecom_do_entry_ (ffesymbol fn, int entr *** 3012,3018 **** ffecom_doing_entry_ = FALSE; } - #endif /* Transform expr into gcc tree with possible destination Recursive descent on expr while making corresponding tree nodes and --- 2915,2920 ---- *************** ffecom_do_entry_ (ffesymbol fn, int entr *** 3020,3026 **** with temporary that would be made in certain cases, temporary isn't made, destination used instead, and dest_used flag set TRUE. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_expr_ (ffebld expr, tree dest_tree, ffebld dest, bool *dest_used, bool assignp, bool widenp) --- 2922,2927 ---- *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3217,3222 **** --- 3118,3124 ---- if (ffesymbol_hook (s).assign_tree == NULL_TREE) { + /* xgettext:no-c-format */ ffebad_start_msg ("ASSIGN'ed label cannot fit into `%A' at %0 -- using wider sibling", FFEBAD_severityWARNING); ffebad_string (ffesymbol_text (s)); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3271,3277 **** case FFEBLD_opUMINUS: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); --- 3173,3179 ---- case FFEBLD_opUMINUS: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3281,3287 **** case FFEBLD_opADD: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); --- 3183,3189 ---- case FFEBLD_opADD: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3292,3298 **** case FFEBLD_opSUBTRACT: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); --- 3194,3200 ---- case FFEBLD_opSUBTRACT: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3303,3309 **** case FFEBLD_opMULTIPLY: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); --- 3205,3211 ---- case FFEBLD_opMULTIPLY: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3314,3320 **** case FFEBLD_opDIVIDE: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); --- 3216,3222 ---- case FFEBLD_opDIVIDE: left = ffecom_expr_ (ffebld_left (expr), NULL, NULL, NULL, FALSE, widenp); right = ffecom_expr_ (ffebld_right (expr), NULL, NULL, NULL, FALSE, widenp); ! if (tree_type_x) { tree_type = tree_type_x; left = convert (tree_type, left); *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3833,3838 **** --- 3735,3744 ---- item = ffecom_arg_ptr_to_expr (ffebld_left (expr), &list); return convert (tree_type, item); + case FFEBLD_opPERCENT_VAL: + item = ffecom_arg_expr (ffebld_left (expr), &list); + return convert (tree_type, item); + case FFEBLD_opITEM: case FFEBLD_opSTAR: case FFEBLD_opBOUNDS: *************** ffecom_expr_ (ffebld expr, tree dest_tre *** 3876,3889 **** #endif } - #endif /* Returns the tree that does the intrinsic invocation. Note: this function applies only to intrinsics returning CHARACTER*1 or non-CHARACTER results, and to intrinsic subroutines. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_expr_intrinsic_ (ffebld expr, tree dest_tree, ffebld dest, bool *dest_used) --- 3782,3793 ---- *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4586,4592 **** integer_type_node, TYPE_SIZE (uns_type), arg3_tree)))); ! #if !defined(TREE_SHIFT_FULLWIDTH) || !TREE_SHIFT_FULLWIDTH expr_tree = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value --- 4490,4496 ---- integer_type_node, TYPE_SIZE (uns_type), arg3_tree)))); ! /* Fix up, because the RSHIFT_EXPR above can't shift over TYPE_SIZE. */ expr_tree = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4595,4601 **** integer_zero_node)), expr_tree, convert (tree_type, integer_zero_node)); - #endif } return expr_tree; --- 4499,4504 ---- *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4631,4646 **** ffecom_1 (NEGATE_EXPR, integer_type_node, arg2_tree)))); ! #if !defined(TREE_SHIFT_FULLWIDTH) || !TREE_SHIFT_FULLWIDTH expr_tree = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value (ffecom_2 (NE_EXPR, integer_type_node, ! arg2_tree, TYPE_SIZE (uns_type))), expr_tree, convert (tree_type, integer_zero_node)); - #endif /* Make sure SAVE_EXPRs get referenced early enough. */ expr_tree = ffecom_2 (COMPOUND_EXPR, tree_type, --- 4534,4550 ---- ffecom_1 (NEGATE_EXPR, integer_type_node, arg2_tree)))); ! /* Fix up, because {L|R}SHIFT_EXPR don't go over TYPE_SIZE bounds. */ expr_tree = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value (ffecom_2 (NE_EXPR, integer_type_node, ! ffecom_1 (ABS_EXPR, ! integer_type_node, ! arg2_tree), TYPE_SIZE (uns_type))), expr_tree, convert (tree_type, integer_zero_node)); /* Make sure SAVE_EXPRs get referenced early enough. */ expr_tree = ffecom_2 (COMPOUND_EXPR, tree_type, *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4670,4676 **** ffecom_1 (BIT_NOT_EXPR, tree_type, convert (tree_type, integer_zero_node)), arg3_tree); ! #if !defined(TREE_SHIFT_FULLWIDTH) || !TREE_SHIFT_FULLWIDTH mask_arg1 = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value --- 4574,4580 ---- ffecom_1 (BIT_NOT_EXPR, tree_type, convert (tree_type, integer_zero_node)), arg3_tree); ! /* Fix up, because LSHIFT_EXPR above can't shift over TYPE_SIZE. */ mask_arg1 = ffecom_3 (COND_EXPR, tree_type, ffecom_truth_value *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4679,4685 **** TYPE_SIZE (uns_type))), mask_arg1, convert (tree_type, integer_zero_node)); - #endif mask_arg1 = ffecom_save_tree (mask_arg1); masked_arg1 = ffecom_2 (BIT_AND_EXPR, tree_type, --- 4583,4588 ---- *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4828,4834 **** convert (arg4_type, integer_zero_node)), arg5_plus_arg3); ! #if !defined(TREE_SHIFT_FULLWIDTH) || !TREE_SHIFT_FULLWIDTH prep_arg4 = ffecom_3 (COND_EXPR, arg4_type, ffecom_truth_value --- 4731,4737 ---- convert (arg4_type, integer_zero_node)), arg5_plus_arg3); ! /* Fix up, because LSHIFT_EXPR above can't shift over TYPE_SIZE. */ prep_arg4 = ffecom_3 (COND_EXPR, arg4_type, ffecom_truth_value *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4838,4844 **** TYPE_SIZE (arg4_type)))), prep_arg4, convert (arg4_type, integer_zero_node)); - #endif prep_arg4 = ffecom_2 (BIT_AND_EXPR, arg4_type, arg4_tree, --- 4741,4746 ---- *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4856,4862 **** = ffecom_2 (BIT_IOR_EXPR, arg4_type, prep_arg1, prep_arg4); ! #if !defined(TREE_SHIFT_FULLWIDTH) || !TREE_SHIFT_FULLWIDTH prep_arg1 = ffecom_3 (COND_EXPR, arg4_type, ffecom_truth_value --- 4758,4765 ---- = ffecom_2 (BIT_IOR_EXPR, arg4_type, prep_arg1, prep_arg4); ! /* Fix up (twice), because LSHIFT_EXPR above ! can't shift over TYPE_SIZE. */ prep_arg1 = ffecom_3 (COND_EXPR, arg4_type, ffecom_truth_value *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 4875,4881 **** TYPE_SIZE (arg4_type)))), prep_arg1, arg1_tree); - #endif expr_tree = ffecom_2s (MODIFY_EXPR, void_type_node, arg4_tree, --- 4778,4783 ---- *************** ffecom_expr_intrinsic_ (ffebld expr, tre *** 5511,5522 **** the bottom of this source file. */ } - #endif /* For power (exponentiation) where right-hand operand is type INTEGER, generate in-line code to do it the fast way (which, if the operand is a constant, might just mean a series of multiplies). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_expr_power_integer_ (ffebld expr) { --- 5413,5422 ---- *************** ffecom_expr_power_integer_ (ffebld expr) *** 5695,5701 **** basetypeof_l_is_int = build_int_2 ((TREE_CODE (ltype) == INTEGER_TYPE), 0); ! se = expand_start_stmt_expr (); ffecom_start_compstmt (); --- 5595,5601 ---- basetypeof_l_is_int = build_int_2 ((TREE_CODE (ltype) == INTEGER_TYPE), 0); ! se = expand_start_stmt_expr (/*has_scope=*/1); ffecom_start_compstmt (); *************** ffecom_expr_power_integer_ (ffebld expr) *** 5884,5890 **** return result; } - #endif /* ffecom_expr_transform_ -- Transform symbols in expr ffebld expr; // FFE expression. --- 5784,5789 ---- *************** ffecom_expr_power_integer_ (ffebld expr) *** 5892,5905 **** Recursive descent on expr while transforming any untransformed SYMTERs. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_expr_transform_ (ffebld expr) { tree t; ffesymbol s; ! tail_recurse: /* :::::::::::::::::::: */ if (expr == NULL) return; --- 5791,5803 ---- Recursive descent on expr while transforming any untransformed SYMTERs. */ static void ffecom_expr_transform_ (ffebld expr) { tree t; ffesymbol s; ! tail_recurse: if (expr == NULL) return; *************** tail_recurse: /* :::::::::::::::::::: *** 5947,5956 **** return; } - #endif /* Make a type based on info in live f2c.h file. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_f2c_make_type_ (tree *type, int tcode, const char *name) { --- 5845,5852 ---- *************** ffecom_f2c_make_type_ (tree *type, int t *** 6019,6026 **** *type)); } - #endif - #if FFECOM_targetCURRENT == FFECOM_targetGCC /* Set the f2c list-directed-I/O code for whatever (integral) type has the given size. */ --- 5915,5920 ---- *************** ffecom_f2c_set_lio_code_ (ffeinfoBasicty *** 6041,6052 **** } } - #endif /* Finish up globals after doing all program units in file Need to handle only uninitialized COMMON areas. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffeglobal ffecom_finish_global_ (ffeglobal global) { --- 5935,5944 ---- *************** ffecom_finish_global_ (ffeglobal global) *** 6089,6098 **** return global; } - #endif /* Finish up any untransformed symbols. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffesymbol ffecom_finish_symbol_transform_ (ffesymbol s) { --- 5981,5988 ---- *************** ffecom_finish_symbol_transform_ (ffesymb *** 6136,6147 **** return s; } - #endif /* Append underscore(s) to name before calling get_identifier. "us" is nonzero if the name already contains an underscore and thus needs two underscores appended. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_get_appended_identifier_ (char us, const char *name) { --- 6026,6035 ---- *************** ffecom_get_appended_identifier_ (char us *** 6163,6173 **** return id; } - #endif /* Decide whether to append underscore to name before calling get_identifier. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_get_external_identifier_ (ffesymbol s) { --- 6051,6059 ---- *************** ffecom_get_external_identifier_ (ffesymb *** 6193,6199 **** return ffecom_get_appended_identifier_ (us, name); } - #endif /* Decide whether to append underscore to internal name before calling get_identifier. --- 6079,6084 ---- *************** ffecom_get_external_identifier_ (ffesymb *** 6209,6215 **** If the name does contain an underscore, then transform it just like we transform an external identifier. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_get_identifier_ (const char *name) { --- 6094,6099 ---- *************** ffecom_get_identifier_ (const char *name *** 6223,6229 **** name); } - #endif /* ffecom_gen_sfuncdef_ -- Generate definition of statement function tree t; --- 6107,6112 ---- *************** ffecom_get_identifier_ (const char *name *** 6234,6240 **** Call after setting up containing function and getting trees for all other symbols. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_gen_sfuncdef_ (ffesymbol s, ffeinfoBasictype bt, ffeinfoKindtype kt) { --- 6117,6122 ---- *************** ffecom_gen_sfuncdef_ (ffesymbol s, ffein *** 6363,6379 **** return func; } - #endif - - #if FFECOM_targetCURRENT == FFECOM_targetGCC static const char * ffecom_gfrt_args_ (ffecomGfrt ix) { return ffecom_gfrt_argstring_[ix]; } - #endif - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_gfrt_tree_ (ffecomGfrt ix) { --- 6245,6256 ---- *************** ffecom_gfrt_tree_ (ffecomGfrt ix) *** 6385,6409 **** ffecom_gfrt_[ix]); } - #endif /* Return initialize-to-zero expression for this VAR_DECL. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC /* A somewhat evil way to prevent the garbage collector from collecting 'tree' structures. */ #define NUM_TRACKED_CHUNK 63 ! static struct tree_ggc_tracker { struct tree_ggc_tracker *next; tree trees[NUM_TRACKED_CHUNK]; } *tracker_head = NULL; ! static void mark_tracker_head (void *arg) { struct tree_ggc_tracker *head; int i; ! for (head = * (struct tree_ggc_tracker **) arg; head != NULL; head = head->next) --- 6262,6284 ---- ffecom_gfrt_[ix]); } /* Return initialize-to-zero expression for this VAR_DECL. */ /* A somewhat evil way to prevent the garbage collector from collecting 'tree' structures. */ #define NUM_TRACKED_CHUNK 63 ! static struct tree_ggc_tracker { struct tree_ggc_tracker *next; tree trees[NUM_TRACKED_CHUNK]; } *tracker_head = NULL; ! static void mark_tracker_head (void *arg) { struct tree_ggc_tracker *head; int i; ! for (head = * (struct tree_ggc_tracker **) arg; head != NULL; head = head->next) *************** ffecom_save_tree_forever (tree t) *** 6429,6435 **** { /* Need to allocate a new block. */ struct tree_ggc_tracker *old_head = tracker_head; ! tracker_head = ggc_alloc (sizeof (*tracker_head)); tracker_head->next = old_head; tracker_head->trees[0] = t; --- 6304,6310 ---- { /* Need to allocate a new block. */ struct tree_ggc_tracker *old_head = tracker_head; ! tracker_head = ggc_alloc (sizeof (*tracker_head)); tracker_head->next = old_head; tracker_head->trees[0] = t; *************** ffecom_init_zero_ (tree decl) *** 6471,6478 **** return init; } - #endif - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_intrinsic_ichar_ (tree tree_type, ffebld arg, tree *maybe_tree) --- 6346,6351 ---- *************** ffecom_intrinsic_ichar_ (tree tree_type, *** 6576,6582 **** } } - #endif /* ffecom_intrinsic_len_ -- Return length info for char arg (LEN()) tree length_arg; --- 6449,6454 ---- *************** ffecom_intrinsic_ichar_ (tree tree_type, *** 6587,6593 **** subexpressions by constructing the appropriate tree for the length-of-character-text argument in a calling sequence. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_intrinsic_len_ (ffebld expr) { --- 6459,6464 ---- *************** ffecom_intrinsic_len_ (ffebld expr) *** 6728,6741 **** return length; } - #endif /* Handle CHARACTER assignments. Generates code to do the assignment. Used by ordinary assignment statement handler ffecom_let_stmt and by statement-function handler to generate code for a statement function. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_let_char_ (tree dest_tree, tree dest_length, ffetargetCharacterSize dest_size, ffebld source) --- 6599,6610 ---- *************** ffecom_let_char_ (tree dest_tree, tree d *** 6937,6943 **** ffecom_concat_list_kill_ (catlist); } - #endif /* ffecom_make_gfrt_ -- Make initial info for run-time routine ffecomGfrt ix; --- 6806,6811 ---- *************** ffecom_let_char_ (tree dest_tree, tree d *** 6946,6952 **** Assumes gfrt_[ix] is NULL_TREE, and replaces it with the FUNCTION_DECL for the indicated run-time routine (ix). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_make_gfrt_ (ffecomGfrt ix) { --- 6814,6819 ---- *************** ffecom_make_gfrt_ (ffecomGfrt ix) *** 7045,7054 **** ffecom_gfrt_[ix] = t; } - #endif /* Phase 1 pass over each member of a COMMON/EQUIVALENCE group. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_member_phase1_ (ffestorag mst UNUSED, ffestorag st) { --- 6912,6919 ---- *************** ffecom_member_phase1_ (ffestorag mst UNU *** 7058,7069 **** ffecom_member_namelisted_ = TRUE; } - #endif /* Phase 2 pass over each member of a COMMON/EQUIVALENCE group. Declare the member so debugger will see it. Otherwise nobody should be referencing the member. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_member_phase2_ (ffestorag mst, ffestorag st) { --- 6923,6932 ---- *************** ffecom_member_phase2_ (ffestorag mst, ff *** 7108,7114 **** finish_decl (t, NULL_TREE, FALSE); } - #endif /* Prepare source expression for assignment into a destination perhaps known to be of a specific size. */ --- 6971,6976 ---- *************** ffecom_prepare_let_char_ (ffetargetChara *** 7164,7170 **** always known by both the caller and the callee, though the code allows for someday permitting CHAR*(*) stmtfunc dummies). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_push_dummy_decls_ (ffebld dummy_list, bool stmtfunc) { --- 7026,7031 ---- *************** ffecom_push_dummy_decls_ (ffebld dummy_l *** 7234,7246 **** ffecom_transform_only_dummies_ = FALSE; } - #endif /* ffecom_start_progunit_ -- Beginning of program unit Does GNU back end stuff necessary to teach it about the start of its equivalent of a Fortran program unit. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_start_progunit_ () { --- 7095,7105 ---- *************** ffecom_start_progunit_ () *** 7463,7469 **** ffesymbol_drive (ffecom_finish_symbol_transform_); } - #endif /* ffecom_sym_transform_ -- Transform FFE sym into backend sym ffesymbol s; --- 7322,7327 ---- *************** ffecom_start_progunit_ () *** 7472,7478 **** The ffesymbol_hook info for s is updated with appropriate backend info on the symbol. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffesymbol ffecom_sym_transform_ (ffesymbol s) { --- 7330,7335 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 7536,7544 **** t = build_decl (PARM_DECL, ffecom_get_identifier_ (ffesymbol_text (s)), ffecom_tree_ptr_to_subr_type); - #if BUILT_FOR_270 DECL_ARTIFICIAL (t) = 1; - #endif addr = TRUE; break; --- 7393,7399 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 8005,8013 **** } t = build_decl (PARM_DECL, t, type); - #if BUILT_FOR_270 DECL_ARTIFICIAL (t) = 1; - #endif /* If this arg is present in every entry point's list of dummy args, then we're done. */ --- 7860,7866 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 8227,8235 **** t = build_decl (PARM_DECL, ffecom_get_identifier_ (ffesymbol_text (s)), t); - #if BUILT_FOR_270 DECL_ARTIFICIAL (t) = 1; - #endif addr = TRUE; break; --- 8080,8086 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 8297,8305 **** t = build_decl (PARM_DECL, ffecom_get_identifier_ (ffesymbol_text (s)), ffecom_tree_ptr_to_subr_type); - #if BUILT_FOR_270 DECL_ARTIFICIAL (t) = 1; - #endif addr = TRUE; break; --- 8148,8154 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 8492,8498 **** return s; } - #endif /* Transform into ASSIGNable symbol. Symbol has already been transformed, but for whatever reason, the --- 8341,8346 ---- *************** ffecom_sym_transform_ (ffesymbol s) *** 8501,8507 **** another local symbol of type void * and stuff that in the assign_tree argument. The F77/F90 standards allow this implementation. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static ffesymbol ffecom_sym_transform_assign_ (ffesymbol s) { --- 8349,8354 ---- *************** ffecom_sym_transform_assign_ (ffesymbol *** 8575,8581 **** return s; } - #endif /* Implement COMMON area in back end. Because COMMON-based variables can be referenced in the dimension --- 8422,8427 ---- *************** ffecom_sym_transform_assign_ (ffesymbol *** 8604,8610 **** though we might do that as well just for debugging purposes (and stuff the rtl with the appropriate offset expression). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_transform_common_ (ffesymbol s) { --- 8450,8455 ---- *************** ffecom_transform_common_ (ffesymbol s) *** 8756,8765 **** ffecom_save_tree_forever (cbt); } - #endif /* Make master area for local EQUIVALENCE. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_transform_equiv_ (ffestorag eqst) { --- 8601,8608 ---- *************** ffecom_transform_equiv_ (ffestorag eqst) *** 8889,8898 **** eqst); } - #endif /* Implement NAMELIST in back end. See f2c/format.c for more info. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_transform_namelist_ (ffesymbol s) { --- 8732,8739 ---- *************** ffecom_transform_namelist_ (ffesymbol s) *** 8972,8985 **** return nmlt; } - #endif - /* A subroutine of ffecom_tree_canonize_ref_. The incoming tree is analyzed on the assumption it is calculating a pointer to be indirected through. It must return the proper decl and offset, taking into account different units of measurements for offsets. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_tree_canonize_ptr_ (tree *decl, tree *offset, tree t) --- 8813,8823 ---- *************** ffecom_tree_canonize_ptr_ (tree *decl, t *** 9034,9040 **** break; } } - #endif /* Given a tree that is possibly intended for use as an lvalue, return information representing a canonical view of that tree as a decl, an --- 8872,8877 ---- *************** ffecom_tree_canonize_ptr_ (tree *decl, t *** 9067,9073 **** whereas converting the array offsets to consistant offsets will reveal the overlap. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static void ffecom_tree_canonize_ref_ (tree *decl, tree *offset, tree *size, tree t) --- 8904,8909 ---- *************** ffecom_tree_canonize_ref_ (tree *decl, t *** 9105,9111 **** case FIX_FLOOR_EXPR: case FIX_ROUND_EXPR: case FLOAT_EXPR: - case EXPON_EXPR: case NEGATE_EXPR: case MIN_EXPR: case MAX_EXPR: --- 8941,8946 ---- *************** ffecom_tree_canonize_ref_ (tree *decl, t *** 9220,9230 **** return; } } - #endif /* Do divide operation appropriate to type of operands. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_tree_divide_ (tree tree_type, tree left, tree right, tree dest_tree, ffebld dest, bool *dest_used, --- 9055,9063 ---- *************** ffecom_tree_divide_ (tree tree_type, tre *** 9312,9321 **** } } - #endif /* Build type info for non-dummy variable. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_type_localvar_ (ffesymbol s, ffeinfoBasictype bt, ffeinfoKindtype kt) --- 9145,9152 ---- *************** ffecom_type_localvar_ (ffesymbol s, ffei *** 9372,9381 **** return type; } - #endif /* Build Namelist type. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_type_namelist_ () { --- 9203,9210 ---- *************** ffecom_type_namelist_ () *** 9407,9417 **** return type; } - #endif - /* Build Vardesc type. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_type_vardesc_ () { --- 9236,9243 ---- *************** ffecom_type_vardesc_ () *** 9440,9448 **** return type; } - #endif - - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_vardesc_ (ffebld expr) { --- 9266,9271 ---- *************** ffecom_vardesc_ (ffebld expr) *** 9531,9538 **** return ffesymbol_hook (s).vardesc_tree; } - #endif - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_vardesc_array_ (ffesymbol s) { --- 9354,9359 ---- *************** ffecom_vardesc_array_ (ffesymbol s) *** 9578,9585 **** return var; } - #endif - #if FFECOM_targetCURRENT == FFECOM_targetGCC static tree ffecom_vardesc_dims_ (ffesymbol s) { --- 9399,9404 ---- *************** ffecom_vardesc_dims_ (ffesymbol s) *** 9689,9702 **** } } - #endif /* Essentially does a "fold (build1 (code, type, node))" while checking for certain housekeeping things. NOTE: for building an ADDR_EXPR around a FUNCTION_DECL, use ffecom_1_fn instead. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_1 (enum tree_code code, tree type, tree node) { --- 9508,9519 ---- *************** ffecom_1 (enum tree_code code, tree type *** 9750,9760 **** if (TREE_SIDE_EFFECTS (node)) TREE_SIDE_EFFECTS (item) = 1; ! if ((code == ADDR_EXPR) && staticp (node)) TREE_CONSTANT (item) = 1; return fold (item); } - #endif /* Like ffecom_1 (ADDR_EXPR, TREE_TYPE (node), node), except handles TREE_CODE (node) == FUNCTION_DECL. In particular, --- 9567,9578 ---- if (TREE_SIDE_EFFECTS (node)) TREE_SIDE_EFFECTS (item) = 1; ! if (code == ADDR_EXPR && staticp (node)) TREE_CONSTANT (item) = 1; + else if (code == INDIRECT_REF) + TREE_READONLY (item) = TYPE_READONLY (type); return fold (item); } /* Like ffecom_1 (ADDR_EXPR, TREE_TYPE (node), node), except handles TREE_CODE (node) == FUNCTION_DECL. In particular, *************** ffecom_1 (enum tree_code code, tree type *** 9762,9768 **** function does not mean the function needs to be separately compiled). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_1_fn (tree node) { --- 9580,9585 ---- *************** ffecom_1_fn (tree node) *** 9783,9794 **** TREE_CONSTANT (item) = 1; return fold (item); } - #endif /* Essentially does a "fold (build (code, type, node1, node2))" while checking for certain housekeeping things. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_2 (enum tree_code code, tree type, tree node1, tree node2) --- 9600,9609 ---- *************** ffecom_2 (enum tree_code code, tree type *** 9957,9963 **** return fold (item); } - #endif /* ffecom_2pass_advise_entrypoint -- Advise that there's this entrypoint ffesymbol s; // the ENTRY point itself --- 9772,9777 ---- *************** ffecom_2 (enum tree_code code, tree type *** 9976,9982 **** 03-Jan-92 JCB 2.0 Return FALSE if the return type conflicts with previous entrypoints. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC bool ffecom_2pass_advise_entrypoint (ffesymbol entry) { --- 9790,9795 ---- *************** ffecom_2pass_advise_entrypoint (ffesymbo *** 10114,10120 **** return TRUE; } - #endif /* ffecom_2pass_do_entrypoint -- Do compilation of entrypoint ffesymbol s; // the ENTRY point itself --- 9927,9932 ---- *************** ffecom_2pass_advise_entrypoint (ffesymbo *** 10124,10130 **** happen. Must be called for each entrypoint after ffecom_finish_progunit is called. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_2pass_do_entrypoint (ffesymbol entry) { --- 9936,9941 ---- *************** ffecom_2pass_do_entrypoint (ffesymbol en *** 10145,10157 **** ffecom_do_entry_ (entry, ent_num); } - #endif - /* Essentially does a "fold (build (code, type, node1, node2))" while checking for certain housekeeping things. Always sets TREE_SIDE_EFFECTS. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_2s (enum tree_code code, tree type, tree node1, tree node2) --- 9956,9965 ---- *************** ffecom_2s (enum tree_code code, tree typ *** 10168,10178 **** return fold (item); } - #endif /* Essentially does a "fold (build (code, type, node1, node2, node3))" while checking for certain housekeeping things. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_3 (enum tree_code code, tree type, tree node1, tree node2, tree node3) --- 9976,9984 ---- *************** ffecom_3 (enum tree_code code, tree type *** 10192,10203 **** return fold (item); } - #endif /* Essentially does a "fold (build (code, type, node1, node2, node3))" while checking for certain housekeeping things. Always sets TREE_SIDE_EFFECTS. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_3s (enum tree_code code, tree type, tree node1, tree node2, tree node3) --- 9998,10007 ---- *************** ffecom_3s (enum tree_code code, tree typ *** 10215,10222 **** return fold (item); } - #endif - /* ffecom_arg_expr -- Transform argument expr into gcc tree See use by ffecom_list_expr. --- 10019,10024 ---- *************** ffecom_3s (enum tree_code code, tree typ *** 10234,10240 **** we allow CHARACTER*(*) dummies to statement functions, we'll need it). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_arg_expr (ffebld expr, tree *length) { --- 10036,10041 ---- *************** ffecom_arg_expr (ffebld expr, tree *leng *** 10251,10257 **** return ffecom_arg_ptr_to_expr (expr, &ign); } - #endif /* Transform expression into constant argument-pointer-to-expression tree. If the expression can be transformed into a argument-pointer-to-expression --- 10052,10057 ---- *************** ffecom_arg_ptr_to_const_expr (ffebld exp *** 10320,10326 **** length argument. This might even be seen as a feature, if a null byte can always be appended. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_arg_ptr_to_expr (ffebld expr, tree *length) { --- 10120,10125 ---- *************** ffecom_arg_ptr_to_expr (ffebld expr, tre *** 10563,10569 **** return item; } - #endif /* Generate call to run-time function. The first arg is the GNU Fortran Run-Time function index, the second --- 10362,10367 ---- *************** ffecom_arg_ptr_to_expr (ffebld expr, tre *** 10571,10577 **** (WITHOUT TREE_SIDE_EFFECTS set!) that makes the call and returns the result (which may be void). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_call_gfrt (ffecomGfrt ix, tree args, tree hook) { --- 10369,10374 ---- *************** ffecom_call_gfrt (ffecomGfrt ix, tree ar *** 10581,10591 **** NULL_TREE, args, NULL_TREE, NULL, NULL, NULL_TREE, TRUE, hook); } - #endif /* Transform constant-union to tree. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_constantunion (ffebldConstantUnion *cu, ffeinfoBasictype bt, ffeinfoKindtype kt, tree tree_type) --- 10378,10386 ---- *************** ffecom_constantunion (ffebldConstantUnio *** 10853,10860 **** return item; } - #endif - /* Transform expression into constant tree. If the expression can be transformed into a tree that is constant, --- 10648,10653 ---- *************** ffecom_const_expr (ffebld expr) *** 10894,10900 **** /* Handy way to make a field in a struct/union. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_decl_field (tree context, tree prevfield, const char *name, tree type) --- 10687,10692 ---- *************** ffecom_decl_field (tree context, tree pr *** 10911,10945 **** return field; } - #endif - void ffecom_close_include (FILE *f) { - #if FFECOM_GCC_INCLUDE ffecom_close_include_ (f); - #endif } int ffecom_decode_include_option (char *spec) { - #if FFECOM_GCC_INCLUDE return ffecom_decode_include_option_ (spec); - #else - return 1; - #endif } /* End a compound statement (block). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_end_compstmt (void) { return bison_rule_compstmt_ (); } - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* ffecom_end_transition -- Perform end transition on all symbols --- 10703,10727 ---- *************** ffecom_end_compstmt (void) *** 10950,10977 **** void ffecom_end_transition () { - #if FFECOM_targetCURRENT == FFECOM_targetGCC ffebld item; - #endif if (ffe_is_ffedebug ()) fprintf (dmpout, "; end_stmt_transition\n"); - #if FFECOM_targetCURRENT == FFECOM_targetGCC ffecom_list_blockdata_ = NULL; ffecom_list_common_ = NULL; - #endif ffesymbol_drive (ffecom_sym_end_transition); if (ffe_is_ffedebug ()) { ffestorag_report (); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - ffesymbol_report_all (); - #endif } - #if FFECOM_targetCURRENT == FFECOM_targetGCC ffecom_start_progunit_ (); for (item = ffecom_list_blockdata_; --- 10732,10751 ---- *************** ffecom_end_transition () *** 11022,11028 **** ffecom_transform_common_ (ffebld_symter (ffebld_head (item))); ffecom_list_common_ = NULL; - #endif } /* ffecom_exec_transition -- Perform exec transition on all symbols --- 10796,10801 ---- *************** ffecom_exec_transition () *** 11048,11056 **** if (ffe_is_ffedebug ()) { ffestorag_report (); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - ffesymbol_report_all (); - #endif } if (inhibited) --- 10821,10826 ---- *************** ffecom_exec_transition () *** 11062,11068 **** Convert dest and source using ffecom_expr, then join them with an ASSIGN op and pass the whole thing to expand_expr_stmt. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_expand_let_stmt (ffebld dest, ffebld source) { --- 10832,10837 ---- *************** ffecom_expand_let_stmt (ffebld dest, ffe *** 11172,11178 **** source); } - #endif /* ffecom_expr -- Transform expr into gcc tree tree t; --- 10941,10946 ---- *************** ffecom_expand_let_stmt (ffebld dest, ffe *** 11182,11222 **** Recursive descent on expr while making corresponding tree nodes and attaching type info and such. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr (ffebld expr) { return ffecom_expr_ (expr, NULL_TREE, NULL, NULL, FALSE, FALSE); } - #endif /* Like ffecom_expr, but return tree usable for assigned GOTO or FORMAT. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr_assign (ffebld expr) { return ffecom_expr_ (expr, NULL_TREE, NULL, NULL, TRUE, FALSE); } - #endif /* Like ffecom_expr_rw, but return tree usable for ASSIGN. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr_assign_w (ffebld expr) { return ffecom_expr_ (expr, NULL_TREE, NULL, NULL, TRUE, FALSE); } - #endif /* Transform expr for use as into read/write tree and stabilize the reference. Not for use on CHARACTER expressions. Recursive descent on expr while making corresponding tree nodes and attaching type info and such. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr_rw (tree type, ffebld expr) { --- 10950,10983 ---- *************** ffecom_expr_rw (tree type, ffebld expr) *** 11227,11240 **** return stabilize_reference (ffecom_expr (expr)); } - #endif /* Transform expr for use as into write tree and stabilize the reference. Not for use on CHARACTER expressions. Recursive descent on expr while making corresponding tree nodes and attaching type info and such. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr_w (tree type, ffebld expr) { --- 10988,10999 ---- *************** ffecom_expr_w (tree type, ffebld expr) *** 11245,11254 **** return stabilize_reference (ffecom_expr (expr)); } - #endif /* Do global stuff. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_finish_compile () { --- 11004,11011 ---- *************** ffecom_finish_compile () *** 11258,11267 **** ffeglobal_drive (ffecom_finish_global_); } - #endif /* Public entry point for front end to access finish_decl. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_finish_decl (tree decl, tree init, bool is_top_level) { --- 11015,11022 ---- *************** ffecom_finish_decl (tree decl, tree init *** 11269,11278 **** finish_decl (decl, init, FALSE); } - #endif /* Finish a program unit. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_finish_progunit () { --- 11024,11031 ---- *************** ffecom_finish_progunit () *** 11284,11294 **** finish_function (0); } - #endif - /* Wrapper for get_identifier. pattern is sprintf-like. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_get_invented_identifier (const char *pattern, ...) { --- 11037,11044 ---- *************** ffecom_init_0 () *** 11421,11436 **** if (ffe_is_do_internal_checks ()) { ! static char names[][12] = {"bar", "bletch", "foo", "foobar"}; ! char *name; unsigned long ul; double fl; name = bsearch ("foo", &names[0], ARRAY_SIZE (names), sizeof (names[0]), (int (*)(const void *, const void *)) strcmp); ! if (name != (char *) &names[2]) { assert ("bsearch doesn't work, #define FFEPROJ_BSEARCH 0 in proj.h" == NULL); --- 11171,11186 ---- if (ffe_is_do_internal_checks ()) { ! static const char names[][12] = {"bar", "bletch", "foo", "foobar"}; ! const char *name; unsigned long ul; double fl; name = bsearch ("foo", &names[0], ARRAY_SIZE (names), sizeof (names[0]), (int (*)(const void *, const void *)) strcmp); ! if (name != &names[0][2]) { assert ("bsearch doesn't work, #define FFEPROJ_BSEARCH 0 in proj.h" == NULL); *************** ffecom_init_0 () *** 11454,11463 **** } } - #if FFECOM_GCC_INCLUDE - ffecom_initialize_char_syntax_ (); - #endif - ffecom_outer_function_decl_ = NULL_TREE; current_function_decl = NULL_TREE; named_labels = NULL_TREE; --- 11204,11209 ---- *************** ffecom_init_0 () *** 11978,12004 **** = build_function_type (void_type_node, NULL_TREE); builtin_function ("__builtin_sqrtf", float_ftype_float, ! BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrtf"); ! builtin_function ("__builtin_fsqrt", double_ftype_double, ! BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrt"); builtin_function ("__builtin_sqrtl", ldouble_ftype_ldouble, ! BUILT_IN_FSQRT, BUILT_IN_NORMAL, "sqrtl"); builtin_function ("__builtin_sinf", float_ftype_float, ! BUILT_IN_SIN, BUILT_IN_NORMAL, "sinf"); builtin_function ("__builtin_sin", double_ftype_double, BUILT_IN_SIN, BUILT_IN_NORMAL, "sin"); builtin_function ("__builtin_sinl", ldouble_ftype_ldouble, ! BUILT_IN_SIN, BUILT_IN_NORMAL, "sinl"); builtin_function ("__builtin_cosf", float_ftype_float, ! BUILT_IN_COS, BUILT_IN_NORMAL, "cosf"); builtin_function ("__builtin_cos", double_ftype_double, BUILT_IN_COS, BUILT_IN_NORMAL, "cos"); builtin_function ("__builtin_cosl", ldouble_ftype_ldouble, ! BUILT_IN_COS, BUILT_IN_NORMAL, "cosl"); - #if BUILT_FOR_270 pedantic_lvalues = FALSE; - #endif ffecom_f2c_make_type_ (&ffecom_f2c_integer_type_node, FFECOM_f2cINTEGER, --- 11724,11748 ---- = build_function_type (void_type_node, NULL_TREE); builtin_function ("__builtin_sqrtf", float_ftype_float, ! BUILT_IN_SQRTF, BUILT_IN_NORMAL, "sqrtf"); ! builtin_function ("__builtin_sqrt", double_ftype_double, ! BUILT_IN_SQRT, BUILT_IN_NORMAL, "sqrt"); builtin_function ("__builtin_sqrtl", ldouble_ftype_ldouble, ! BUILT_IN_SQRTL, BUILT_IN_NORMAL, "sqrtl"); builtin_function ("__builtin_sinf", float_ftype_float, ! BUILT_IN_SINF, BUILT_IN_NORMAL, "sinf"); builtin_function ("__builtin_sin", double_ftype_double, BUILT_IN_SIN, BUILT_IN_NORMAL, "sin"); builtin_function ("__builtin_sinl", ldouble_ftype_ldouble, ! BUILT_IN_SINL, BUILT_IN_NORMAL, "sinl"); builtin_function ("__builtin_cosf", float_ftype_float, ! BUILT_IN_COSF, BUILT_IN_NORMAL, "cosf"); builtin_function ("__builtin_cos", double_ftype_double, BUILT_IN_COS, BUILT_IN_NORMAL, "cos"); builtin_function ("__builtin_cosl", ldouble_ftype_ldouble, ! BUILT_IN_COSL, BUILT_IN_NORMAL, "cosl"); pedantic_lvalues = FALSE; ffecom_f2c_make_type_ (&ffecom_f2c_integer_type_node, FFECOM_f2cINTEGER, *************** ffecom_init_0 () *** 12088,12096 **** (int) FLOAT_TYPE_SIZE); warning ("and pointers are %d bits wide, but g77 doesn't yet work", (int) TREE_INT_CST_LOW (TYPE_SIZE (TREE_TYPE (null_pointer_node)))); ! warning ("properly unless they all are 32 bits wide."); ! warning ("Please keep this in mind before you report bugs. g77 should"); ! warning ("support non-32-bit machines better as of version 0.6."); } #endif --- 11832,11839 ---- (int) FLOAT_TYPE_SIZE); warning ("and pointers are %d bits wide, but g77 doesn't yet work", (int) TREE_INT_CST_LOW (TYPE_SIZE (TREE_TYPE (null_pointer_node)))); ! warning ("properly unless they all are 32 bits wide"); ! warning ("Please keep this in mind before you report bugs."); } #endif *************** ffecom_init_0 () *** 12114,12125 **** #endif } - #endif /* ffecom_init_2 -- Initialize ffecom_init_2(); */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_init_2 () { --- 11857,11866 ---- *************** ffecom_init_2 () *** 12135,12141 **** ffecom_multi_retval_ = NULL_TREE; } - #endif /* ffecom_list_expr -- Transform list of exprs into gcc tree tree t; --- 11876,11881 ---- *************** ffecom_init_2 () *** 12144,12150 **** List of actual args is transformed into corresponding gcc backend list. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_list_expr (ffebld expr) { --- 11884,11889 ---- *************** ffecom_list_expr (ffebld expr) *** 12176,12182 **** return list; } - #endif /* ffecom_list_ptr_to_expr -- Transform list of exprs into gcc tree tree t; --- 11915,11920 ---- *************** ffecom_list_expr (ffebld expr) *** 12186,12192 **** List of actual args is transformed into corresponding gcc backend list for use in calling an external procedure (vs. a statement function). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_list_ptr_to_expr (ffebld expr) { --- 11924,11929 ---- *************** ffecom_list_ptr_to_expr (ffebld expr) *** 12218,12227 **** return list; } - #endif /* Obtain gcc's LABEL_DECL tree for label. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_lookup_label (ffelab label) { --- 11955,11962 ---- *************** ffecom_lookup_label (ffelab label) *** 12281,12293 **** return glabel; } - #endif /* Stabilizes the arguments. Don't use this if the lhs and rhs come from a single source specification (as in the fourth argument of MVBITS). If the type is NULL_TREE, the type of lhs is used to make the type of the MODIFY_EXPR. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_modify (tree newtype, tree lhs, tree rhs) --- 12016,12026 ---- *************** ffecom_modify (tree newtype, tree lhs, *** 12304,12319 **** return ffecom_2s (MODIFY_EXPR, newtype, lhs, rhs); } - #endif - /* Register source file name. */ void ffecom_file (const char *name) { - #if FFECOM_GCC_INCLUDE ffecom_file_ (name); - #endif } /* ffecom_notify_init_storage -- An aggregate storage is now fully init'ed --- 12037,12048 ---- *************** void *** 12348,12357 **** ffecom_notify_init_storage (ffestorag st) { ffebld init; /* The initialization expression. */ - #if 0 && FFECOM_targetCURRENT == FFECOM_targetGCC - ffetargetOffset size; /* The size of the entity. */ - ffetargetAlign pad; /* Its initial padding. */ - #endif if (ffestorag_init (st) == NULL) { --- 12077,12082 ---- *************** ffecom_notify_init_storage (ffestorag st *** 12359,12408 **** assert (init != NULL); ffestorag_set_accretion (st, NULL); ffestorag_set_accretes (st, 0); - - #if 0 && FFECOM_targetCURRENT == FFECOM_targetGCC - /* For GNU backend, just turn ACCTER into ARRTER and proceed. */ - size = ffebld_accter_size (init); - pad = ffebld_accter_pad (init); - ffebit_kill (ffebld_accter_bits (init)); - ffebld_set_op (init, FFEBLD_opARRTER); - ffebld_set_arrter (init, ffebld_accter (init)); - ffebld_arrter_set_size (init, size); - ffebld_arrter_set_pad (init, size); - #endif - - #if FFECOM_TWOPASS ffestorag_set_init (st, init); - #endif } - #if FFECOM_ONEPASS - else - init = ffestorag_init (st); - #endif - - #if FFECOM_ONEPASS /* Process the inits, wipe 'em out. */ - ffestorag_set_init (st, ffebld_new_any ()); - - if (ffebld_op (init) == FFEBLD_opANY) - return; /* Oh, we already did this! */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - { - ffesymbol s; - - if (ffestorag_symbol (st) != NULL) - s = ffestorag_symbol (st); - else - s = ffestorag_typesymbol (st); - - fprintf (dmpout, "= initialize_storage \"%s\" ", - (s != NULL) ? ffesymbol_text (s) : "(unnamed)"); - ffebld_dump (init); - fputc ('\n', dmpout); - } - #endif - - #endif /* if FFECOM_ONEPASS */ } /* ffecom_notify_init_symbol -- A symbol is now fully init'ed --- 12084,12091 ---- *************** void *** 12437,12446 **** ffecom_notify_init_symbol (ffesymbol s) { ffebld init; /* The initialization expression. */ - #if 0 && FFECOM_targetCURRENT == FFECOM_targetGCC - ffetargetOffset size; /* The size of the entity. */ - ffetargetAlign pad; /* Its initial padding. */ - #endif if (ffesymbol_storage (s) == NULL) return; /* Do nothing until COMMON/EQUIVALENCE --- 12120,12125 ---- *************** ffecom_notify_init_symbol (ffesymbol s) *** 12451,12490 **** { ffesymbol_set_accretion (s, NULL); ffesymbol_set_accretes (s, 0); - - #if 0 && FFECOM_targetCURRENT == FFECOM_targetGCC - /* For GNU backend, just turn ACCTER into ARRTER and proceed. */ - size = ffebld_accter_size (init); - pad = ffebld_accter_pad (init); - ffebit_kill (ffebld_accter_bits (init)); - ffebld_set_op (init, FFEBLD_opARRTER); - ffebld_set_arrter (init, ffebld_accter (init)); - ffebld_arrter_set_size (init, size); - ffebld_arrter_set_pad (init, size); - #endif - - #if FFECOM_TWOPASS ffesymbol_set_init (s, init); - #endif } - #if FFECOM_ONEPASS - else - init = ffesymbol_init (s); - #endif - - #if FFECOM_ONEPASS - ffesymbol_set_init (s, ffebld_new_any ()); - - if (ffebld_op (init) == FFEBLD_opANY) - return; /* Oh, we already did this! */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - fprintf (dmpout, "= initialize_symbol \"%s\" ", ffesymbol_text (s)); - ffebld_dump (init); - fputc ('\n', dmpout); - #endif - - #endif /* if FFECOM_ONEPASS */ } /* ffecom_notify_primary_entry -- Learn which is the primary entry point --- 12130,12137 ---- *************** ffecom_notify_primary_entry (ffesymbol s *** 12516,12522 **** fprintf (stderr, " %s:\n", ffesymbol_text (s)); } - #if FFECOM_targetCURRENT == FFECOM_targetGCC if (ffecom_primary_entry_kind_ == FFEINFO_kindSUBROUTINE) { ffebld list; --- 12163,12168 ---- *************** ffecom_notify_primary_entry (ffesymbol s *** 12534,12550 **** } } } - #endif } FILE * ffecom_open_include (char *name, ffewhereLine l, ffewhereColumn c) { - #if FFECOM_GCC_INCLUDE return ffecom_open_include_ (name, l, c); - #else - return fopen (name, "r"); - #endif } /* ffecom_ptr_to_expr -- Transform expr into gcc tree with & in front --- 12180,12191 ---- *************** ffecom_open_include (char *name, ffewher *** 12555,12561 **** Like ffecom_expr, but sticks address-of in front of most things. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_ptr_to_expr (ffebld expr) { --- 12196,12201 ---- *************** ffecom_ptr_to_expr (ffebld expr) *** 12658,12664 **** return error_mark_node; } - #endif /* Obtain a temp var with given data type. size is FFETARGET_charactersizeNONE for a non-CHARACTER type --- 12298,12303 ---- *************** ffecom_ptr_to_expr (ffebld expr) *** 12666,12672 **** elements is -1 for a scalar or > 0 for an array of type. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_make_tempvar (const char *commentary, tree type, ffetargetCharacterSize size, int elements) --- 12305,12310 ---- *************** ffecom_make_tempvar (const char *comment *** 12701,12707 **** return t; } - #endif /* Prepare argument pointer to expression. --- 12339,12344 ---- *************** ffecom_ptr_to_const_expr (ffebld expr) *** 13074,13080 **** meaning no return value or the caller expects it to be returned somewhere else (which is handled by other parts of this module). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_return_expr (ffebld expr) { --- 12711,12716 ---- *************** ffecom_return_expr (ffebld expr) *** 13145,13174 **** return rtn; } - #endif /* Do save_expr only if tree is not error_mark_node. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_save_tree (tree t) { return save_expr (t); } - #endif /* Start a compound statement (block). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_start_compstmt (void) { bison_rule_pushlevel_ (); } - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Public entry point for front end to access start_decl. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_start_decl (tree decl, bool is_initialized) { --- 12781,12804 ---- *************** ffecom_start_decl (tree decl, bool is_in *** 13176,13182 **** return start_decl (decl, FALSE); } - #endif /* ffecom_sym_commit -- Symbol's state being committed to reality ffesymbol s; --- 12806,12811 ---- *************** ffecom_start_decl (tree decl, bool is_in *** 13185,13198 **** Does whatever the backend needs when a symbol is committed after having been backtrackable for a period of time. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_sym_commit (ffesymbol s UNUSED) { assert (!ffesymbol_retractable ()); } - #endif /* ffecom_sym_end_transition -- Perform end transition on all symbols ffecom_sym_end_transition(); --- 12814,12825 ---- *************** ffecom_sym_end_transition (ffesymbol s) *** 13212,13218 **** s = ffest_sym_end_transition (s); - #if FFECOM_targetCURRENT == FFECOM_targetGCC if ((ffesymbol_kind (s) == FFEINFO_kindBLOCKDATA) && (ffesymbol_where (s) == FFEINFO_whereGLOBAL)) { --- 12839,12844 ---- *************** ffecom_sym_end_transition (ffesymbol s) *** 13222,13228 **** FFEINTRIN_impNONE), ffecom_list_blockdata_); } - #endif /* This is where we finally notice that a symbol has partial initialization and finalize it. */ --- 12848,12853 ---- *************** ffecom_sym_end_transition (ffesymbol s) *** 13240,13246 **** ffecom_notify_init_storage (st); } - #if FFECOM_targetCURRENT == FFECOM_targetGCC if ((ffesymbol_kind (s) == FFEINFO_kindCOMMON) && (ffesymbol_where (s) == FFEINFO_whereLOCAL) && (ffesymbol_storage (s) != NULL)) --- 12865,12870 ---- *************** ffecom_sym_end_transition (ffesymbol s) *** 13251,13257 **** FFEINTRIN_impNONE), ffecom_list_common_); } - #endif return s; } --- 12875,12880 ---- *************** ffecom_sym_learned (ffesymbol s) *** 13329,13335 **** Does whatever the backend needs when a symbol is retracted after having been backtrackable for a period of time. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_sym_retract (ffesymbol s UNUSED) { --- 12952,12957 ---- *************** ffecom_sym_retract (ffesymbol s UNUSED) *** 13361,13370 **** #endif } - #endif /* Create temporary gcc label. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_temp_label () { --- 12983,12990 ---- *************** ffecom_temp_label () *** 13381,13415 **** return glabel; } - #endif /* Return an expression that is usable as an arg in a conditional context (IF, DO WHILE, .NOT., and so on). Use the one provided for the back end as of >2.6.0. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_truth_value (tree expr) { return truthvalue_conversion (expr); } - #endif /* Return the inversion of a truth value (the inversion of what ffecom_truth_value builds). Apparently invert_truthvalue, which is properly in the back end, is enough for now, so just use it. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_truth_value_invert (tree expr) { return invert_truthvalue (ffecom_truth_value (expr)); } - #endif - /* Return the tree that is the type of the expression, as would be returned in TREE_TYPE(ffecom_expr(expr)), without otherwise transforming the expression, generating temporaries, etc. */ --- 13001,13029 ---- *************** ffecom_type_expr (ffebld expr) *** 13485,13491 **** run time with the entrypoint number (0 for SUBROUTINE/FUNCTION, 1 for first ENTRY statement, and so on). */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_which_entrypoint_decl () { --- 13099,13104 ---- *************** ffecom_which_entrypoint_decl () *** 13493,13500 **** return ffecom_which_entrypoint_decl_; } - - #endif /* The following sections consists of private and public functions that have the same names and perform roughly the same functions --- 13106,13111 ---- *************** ffecom_which_entrypoint_decl () *** 13511,13518 **** Functions named after rule "foo:" in c-parse.y are named "bison_rule_foo_" so they are easy to find. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC - static void bison_rule_pushlevel_ () { --- 13122,13127 ---- *************** builtin_function (const char *name, tree *** 13557,13563 **** TREE_PUBLIC (decl) = 1; if (library_name) SET_DECL_ASSEMBLER_NAME (decl, get_identifier (library_name)); ! make_decl_rtl (decl, NULL_PTR); pushdecl (decl); DECL_BUILT_IN_CLASS (decl) = class; DECL_FUNCTION_CODE (decl) = function_code; --- 13166,13172 ---- TREE_PUBLIC (decl) = 1; if (library_name) SET_DECL_ASSEMBLER_NAME (decl, get_identifier (library_name)); ! make_decl_rtl (decl, NULL); pushdecl (decl); DECL_BUILT_IN_CLASS (decl) = class; DECL_FUNCTION_CODE (decl) = function_code; *************** duplicate_decls (tree newdecl, tree oldd *** 13733,13745 **** if (DECL_SECTION_NAME (newdecl) == NULL_TREE) DECL_SECTION_NAME (newdecl) = DECL_SECTION_NAME (olddecl); - #if BUILT_FOR_270 if (TREE_CODE (newdecl) == FUNCTION_DECL) { DECL_STATIC_CONSTRUCTOR(newdecl) |= DECL_STATIC_CONSTRUCTOR(olddecl); DECL_STATIC_DESTRUCTOR (newdecl) |= DECL_STATIC_DESTRUCTOR (olddecl); } - #endif } /* If cannot merge, then use the new type and qualifiers, and don't preserve the old rtl. */ --- 13342,13352 ---- *************** finish_decl (tree decl, tree init, bool *** 13935,13941 **** } else if (TREE_CODE (decl) == TYPE_DECL) { ! rest_of_decl_compilation (decl, NULL_PTR, DECL_CONTEXT (decl) == 0, 0); } --- 13542,13548 ---- } else if (TREE_CODE (decl) == TYPE_DECL) { ! rest_of_decl_compilation (decl, NULL, DECL_CONTEXT (decl) == 0, 0); } *************** lang_printable_name (tree decl, int v) *** 14049,14057 **** /* g77's function to print out name of current function that caused an error. */ - #if BUILT_FOR_270 static void ! lang_print_error_function (const char *file) { static ffeglobal last_g = NULL; static ffesymbol last_s = NULL; --- 13656,13664 ---- /* g77's function to print out name of current function that caused an error. */ static void ! lang_print_error_function (diagnostic_context *context __attribute__((unused)), ! const char *file) { static ffeglobal last_g = NULL; static ffesymbol last_s = NULL; *************** lang_print_error_function (const char *f *** 14072,14104 **** if (ffecom_nested_entry_ == NULL) { s = ffecom_primary_entry_; ! switch (ffesymbol_kind (s)) ! { ! case FFEINFO_kindFUNCTION: ! kind = "function"; ! break; ! ! case FFEINFO_kindSUBROUTINE: ! kind = "subroutine"; ! break; ! ! case FFEINFO_kindPROGRAM: ! kind = "program"; ! break; ! ! case FFEINFO_kindBLOCKDATA: ! kind = "block-data"; ! break; ! ! default: ! kind = ffeinfo_kind_message (ffesymbol_kind (s)); ! break; ! } } else { s = ffecom_nested_entry_; ! kind = "statement function"; } } --- 13679,13690 ---- if (ffecom_nested_entry_ == NULL) { s = ffecom_primary_entry_; ! kind = _(ffeinfo_kind_message (ffesymbol_kind (s))); } else { s = ffecom_nested_entry_; ! kind = _("In statement function"); } } *************** lang_print_error_function (const char *f *** 14108,14126 **** fprintf (stderr, "%s: ", file); if (s == NULL) ! fprintf (stderr, "Outside of any program unit:\n"); else { const char *name = ffesymbol_text (s); ! fprintf (stderr, "In %s `%s':\n", kind, name); } last_g = g; last_s = s; } } - #endif /* Similar to `lookup_name' but look only at current binding level. */ --- 13694,13711 ---- fprintf (stderr, "%s: ", file); if (s == NULL) ! fprintf (stderr, _("Outside of any program unit:\n")); else { const char *name = ffesymbol_text (s); ! fprintf (stderr, "%s `%s':\n", kind, name); } last_g = g; last_s = s; } } /* Similar to `lookup_name' but look only at current binding level. */ *************** incomplete_type_error (value, type) *** 14513,14519 **** } /* Mark ARG for GC. */ ! static void mark_binding_level (void *arg) { struct binding_level *level = *(struct binding_level **) arg; --- 14098,14104 ---- } /* Mark ARG for GC. */ ! static void mark_binding_level (void *arg) { struct binding_level *level = *(struct binding_level **) arg; *************** mark_binding_level (void *arg) *** 14527,14534 **** } } ! void ! init_decl_processing () { static tree *const tree_roots[] = { ¤t_function_decl, --- 14112,14119 ---- } } ! static void ! ffecom_init_decl_processing () { static tree *const tree_roots[] = { ¤t_function_decl, *************** init_decl_processing () *** 14579,14589 **** /* Record our roots. */ for (i = 0; i < ARRAY_SIZE (tree_roots); i++) ggc_add_tree_root (tree_roots[i], 1); ! ggc_add_tree_root (&ffecom_tree_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ! ggc_add_tree_root (&ffecom_tree_fun_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ! ggc_add_tree_root (&ffecom_tree_ptr_to_fun_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ggc_add_tree_root (ffecom_gfrt_, FFECOM_gfrt); ggc_add_root (¤t_binding_level, 1, sizeof current_binding_level, --- 14164,14174 ---- /* Record our roots. */ for (i = 0; i < ARRAY_SIZE (tree_roots); i++) ggc_add_tree_root (tree_roots[i], 1); ! ggc_add_tree_root (&ffecom_tree_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ! ggc_add_tree_root (&ffecom_tree_fun_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ! ggc_add_tree_root (&ffecom_tree_ptr_to_fun_type[0][0], FFEINFO_basictype*FFEINFO_kindtype); ggc_add_tree_root (ffecom_gfrt_, FFECOM_gfrt); ggc_add_root (¤t_binding_level, 1, sizeof current_binding_level, *************** init_decl_processing () *** 14595,14635 **** ffe_init_0 (); } - const char * - init_parse (filename) - const char *filename; - { - /* Open input file. */ - if (filename == 0 || !strcmp (filename, "-")) - { - finput = stdin; - filename = "stdin"; - } - else - finput = fopen (filename, "r"); - if (finput == 0) - fatal_io_error ("can't open %s", filename); - - #ifdef IO_BUFFER_SIZE - setvbuf (finput, (char *) xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE); - #endif - - /* Make identifier nodes long enough for the language-specific slots. */ - set_identifier_size (sizeof (struct lang_identifier)); - decl_printable_name = lang_printable_name; - #if BUILT_FOR_270 - print_error_function = lang_print_error_function; - #endif - - return filename; - } - - void - finish_parse () - { - fclose (finput); - } - /* Delete the node BLOCK from the current binding level. This is used for the block inside a stmt expr ({...}) so that the block can be reinserted where appropriate. */ --- 14180,14185 ---- *************** insert_block (block) *** 14664,14687 **** } /* Each front end provides its own. */ ! static void ffe_init PARAMS ((void)); static void ffe_finish PARAMS ((void)); static void ffe_init_options PARAMS ((void)); ! struct lang_hooks lang_hooks = {ffe_init, ! ffe_finish, ! ffe_init_options, ! ffe_decode_option, ! NULL /* post_options */}; ! /* used by print-tree.c */ ! void ! lang_print_xnode (file, node, indent) ! FILE *file UNUSED; ! tree node UNUSED; ! int indent UNUSED; { } static void --- 14214,14284 ---- } /* Each front end provides its own. */ ! static const char *ffe_init PARAMS ((const char *)); static void ffe_finish PARAMS ((void)); static void ffe_init_options PARAMS ((void)); + static void ffe_print_identifier PARAMS ((FILE *, tree, int)); ! #undef LANG_HOOKS_NAME ! #define LANG_HOOKS_NAME "GNU F77" ! #undef LANG_HOOKS_INIT ! #define LANG_HOOKS_INIT ffe_init ! #undef LANG_HOOKS_FINISH ! #define LANG_HOOKS_FINISH ffe_finish ! #undef LANG_HOOKS_INIT_OPTIONS ! #define LANG_HOOKS_INIT_OPTIONS ffe_init_options ! #undef LANG_HOOKS_DECODE_OPTION ! #define LANG_HOOKS_DECODE_OPTION ffe_decode_option ! #undef LANG_HOOKS_PRINT_IDENTIFIER ! #define LANG_HOOKS_PRINT_IDENTIFIER ffe_print_identifier ! /* We do not wish to use alias-set based aliasing at all. Used in the ! extreme (every object with its own set, with equivalences recorded) it ! might be helpful, but there are problems when it comes to inlining. We ! get on ok with flag_argument_noalias, and alias-set aliasing does ! currently limit how stack slots can be reused, which is a lose. */ ! #undef LANG_HOOKS_GET_ALIAS_SET ! #define LANG_HOOKS_GET_ALIAS_SET hook_get_alias_set_0 ! const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; ! ! static const char * ! ffe_init (filename) ! const char *filename; { + /* Open input file. */ + if (filename == 0 || !strcmp (filename, "-")) + { + finput = stdin; + filename = "stdin"; + } + else + finput = fopen (filename, "r"); + if (finput == 0) + fatal_io_error ("can't open %s", filename); + + #ifdef IO_BUFFER_SIZE + setvbuf (finput, (char *) xmalloc (IO_BUFFER_SIZE), _IOFBF, IO_BUFFER_SIZE); + #endif + + ffecom_init_decl_processing (); + decl_printable_name = lang_printable_name; + print_error_function = lang_print_error_function; + + /* If the file is output from cpp, it should contain a first line + `# 1 "real-filename"', and the current design of gcc (toplev.c + in particular and the way it sets up information relied on by + INCLUDE) requires that we read this now, and store the + "real-filename" info in master_input_filename. Ask the lexer + to try doing this. */ + ffelex_hash_kludge (finput); + + /* FIXME: The ffelex_hash_kludge code needs to be cleaned up to + return the new file name. */ + if (main_input_filename) + filename = main_input_filename; + + return filename; } static void *************** ffe_finish () *** 14691,14717 **** if (ffe_is_ffedebug ()) malloc_pool_display (malloc_pool_image ()); - } - - const char * - lang_identify () - { - return "f77"; - } ! /* Return the typed-based alias set for T, which may be an expression ! or a type. Return -1 if we don't do anything special. */ ! ! HOST_WIDE_INT ! lang_get_alias_set (t) ! tree t ATTRIBUTE_UNUSED; ! { ! /* We do not wish to use alias-set based aliasing at all. Used in the ! extreme (every object with its own set, with equivalences recorded) ! it might be helpful, but there are problems when it comes to inlining. ! We get on ok with flag_argument_noalias, and alias-set aliasing does ! currently limit how stack slots can be reused, which is a lose. */ ! return 0; } static void --- 14288,14295 ---- if (ffe_is_ffedebug ()) malloc_pool_display (malloc_pool_image ()); ! fclose (finput); } static void *************** ffe_init_options () *** 14721,14742 **** flag_move_all_movables = 1; flag_reduce_all_givs = 1; flag_argument_noalias = 2; flag_errno_math = 0; flag_complex_divide_method = 1; } - static void - ffe_init () - { - /* If the file is output from cpp, it should contain a first line - `# 1 "real-filename"', and the current design of gcc (toplev.c - in particular and the way it sets up information relied on by - INCLUDE) requires that we read this now, and store the - "real-filename" info in master_input_filename. Ask the lexer - to try doing this. */ - ffelex_hash_kludge (finput); - } - int mark_addressable (exp) tree exp; --- 14299,14309 ---- flag_move_all_movables = 1; flag_reduce_all_givs = 1; flag_argument_noalias = 2; + flag_merge_constants = 2; flag_errno_math = 0; flag_complex_divide_method = 1; } int mark_addressable (exp) tree exp; *************** poplevel (keep, reverse, functionbody) *** 14958,14973 **** return block; } ! void ! print_lang_decl (file, node, indent) ! FILE *file UNUSED; ! tree node UNUSED; ! int indent UNUSED; ! { ! } ! ! void ! print_lang_identifier (file, node, indent) FILE *file; tree node; int indent; --- 14525,14532 ---- return block; } ! static void ! ffe_print_identifier (file, node, indent) FILE *file; tree node; int indent; *************** print_lang_identifier (file, node, inden *** 14976,14994 **** print_node (file, "local", IDENTIFIER_LOCAL_VALUE (node), indent + 4); } - void - print_lang_statistics () - { - } - - void - print_lang_type (file, node, indent) - FILE *file UNUSED; - tree node UNUSED; - int indent UNUSED; - { - } - /* Record a decl-node X as belonging to the current lexical scope. Check for errors (such as an incompatible declaration for the same name already seen in the same scope). --- 14535,14540 ---- *************** pushdecl (x) *** 15016,15024 **** { if (IDENTIFIER_INVENTED (name)) { - #if BUILT_FOR_270 DECL_ARTIFICIAL (x) = 1; - #endif DECL_IN_SYSTEM_HEADER (x) = 1; } --- 14562,14568 ---- *************** set_block (block) *** 15180,15197 **** BLOCK_SUBBLOCKS (block)); } - /* ~~gcc/tree.h *should* declare this, because toplev.c references it. */ - - /* Can't 'yydebug' a front end not generated by yacc/bison! */ - - void - set_yydebug (value) - int value; - { - if (value) - fprintf (stderr, "warning: no yacc/bison-generated output to debug!\n"); - } - tree signed_or_unsigned_type (unsignedp, type) int unsignedp; --- 14724,14729 ---- *************** unsigned_type (type) *** 15584,15590 **** return type; } ! void lang_mark_tree (t) union tree_node *t ATTRIBUTE_UNUSED; { --- 15116,15122 ---- return type; } ! void lang_mark_tree (t) union tree_node *t ATTRIBUTE_UNUSED; { *************** lang_mark_tree (t) *** 15598,15608 **** else if (TYPE_P (t) && TYPE_LANG_SPECIFIC (t)) ggc_mark (TYPE_LANG_SPECIFIC (t)); } - - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ - #if FFECOM_GCC_INCLUDE - /* From gcc/cccp.c, the code to handle -I. */ /* Skip leading "./" from a directory name. --- 15130,15136 ---- *************** static int indepth = -1; *** 15680,15699 **** typedef struct file_buf FILE_BUF; - typedef unsigned char U_CHAR; - - /* table to tell if char can be part of a C identifier. */ - U_CHAR is_idchar[256]; - /* table to tell if char can be first char of a c identifier. */ - U_CHAR is_idstart[256]; - /* table to tell if c is horizontal space. */ - U_CHAR is_hor_space[256]; - /* table to tell if c is horizontal or vertical space. */ - static U_CHAR is_space[256]; - - #define SKIP_WHITE_SPACE(p) do { while (is_hor_space[*p]) p++; } while (0) - #define SKIP_ALL_WHITE_SPACE(p) do { while (is_space[*p]) p++; } while (0) - /* Nonzero means -I- has been seen, so don't look for #include "foo" the source-file directory. */ static int ignore_srcdir; --- 15208,15213 ---- *************** static void append_include_chain (struct *** 15707,15713 **** static FILE *open_include_file (char *filename, struct file_name_list *searchptr); static void print_containing_files (ffebadSeverity sev); - static const char *skip_redundant_dir_prefix (const char *); static char *read_filename_string (int ch, FILE *f); static struct file_name_map *read_name_map (const char *dirname); --- 15221,15226 ---- *************** print_containing_files (ffebadSeverity s *** 15869,15874 **** --- 15382,15388 ---- else str2 = ""; + /* xgettext:no-c-format */ ffebad_start_msg ("%A from %B at %0%C", sev); ffebad_here (0, ip->line, ip->column); ffebad_string (str1); *************** read_filename_string (ch, f) *** 15894,15903 **** len = 20; set = alloc = xmalloc (len + 1); ! if (! is_space[ch]) { *set++ = ch; ! while ((ch = getc (f)) != EOF && ! is_space[ch]) { if (set - alloc == len) { --- 15408,15417 ---- len = 20; set = alloc = xmalloc (len + 1); ! if (! ISSPACE (ch)) { *set++ = ch; ! while ((ch = getc (f)) != EOF && ! ISSPACE (ch)) { if (set - alloc == len) { *************** read_name_map (dirname) *** 15965,15974 **** char *from, *to; struct file_name_map *ptr; ! if (is_space[ch]) continue; from = read_filename_string (ch, f); ! while ((ch = getc (f)) != EOF && is_hor_space[ch]) ; to = read_filename_string (ch, f); --- 15479,15488 ---- char *from, *to; struct file_name_map *ptr; ! if (ISSPACE (ch)) continue; from = read_filename_string (ch, f); ! while ((ch = getc (f)) != EOF && ISSPACE (ch) && ch != '\n') ; to = read_filename_string (ch, f); *************** ffecom_file_ (const char *name) *** 16019,16063 **** fp->nominal_fname = fp->fname = name; } - /* Initialize syntactic classifications of characters. */ - - static void - ffecom_initialize_char_syntax_ () - { - register int i; - - /* - * Set up is_idchar and is_idstart tables. These should be - * faster than saying (is_alpha (c) || c == '_'), etc. - * Set up these things before calling any routines tthat - * refer to them. - */ - for (i = 'a'; i <= 'z'; i++) { - is_idchar[i - 'a' + 'A'] = 1; - is_idchar[i] = 1; - is_idstart[i - 'a' + 'A'] = 1; - is_idstart[i] = 1; - } - for (i = '0'; i <= '9'; i++) - is_idchar[i] = 1; - is_idchar['_'] = 1; - is_idstart['_'] = 1; - - /* horizontal space table */ - is_hor_space[' '] = 1; - is_hor_space['\t'] = 1; - is_hor_space['\v'] = 1; - is_hor_space['\f'] = 1; - is_hor_space['\r'] = 1; - - is_space[' '] = 1; - is_space['\t'] = 1; - is_space['\v'] = 1; - is_space['\f'] = 1; - is_space['\n'] = 1; - is_space['\r'] = 1; - } - static void ffecom_close_include_ (FILE *f) { --- 15533,15538 ---- *************** ffecom_decode_include_option_ (char *spe *** 16085,16091 **** dirtmp->fname = spec; dirtmp->got_name_map = 0; if (spec[0] == 0) ! error ("Directory name must immediately follow -I"); else append_include_chain (dirtmp, dirtmp); } --- 15560,15566 ---- dirtmp->fname = spec; dirtmp->got_name_map = 0; if (spec[0] == 0) ! error ("directory name must immediately follow -I"); else append_include_chain (dirtmp, dirtmp); } *************** ffecom_open_include_ (char *name, ffewhe *** 16175,16181 **** { strncpy (fname, (char *) fbeg, flen); fname[flen] = 0; ! f = open_include_file (fname, NULL_PTR); } else { --- 15650,15656 ---- { strncpy (fname, (char *) fbeg, flen); fname[flen] = 0; ! f = open_include_file (fname, NULL); } else { *************** ffecom_open_include_ (char *name, ffewhe *** 16227,16232 **** --- 15702,15708 ---- if (f == NULL && errno == EACCES) { print_containing_files (FFEBAD_severityWARNING); + /* xgettext:no-c-format */ ffebad_start_msg ("At %0, INCLUDE file %A exists, but is not readable", FFEBAD_severityWARNING); ffebad_string (fname); *************** ffecom_open_include_ (char *name, ffewhe *** 16261,16266 **** --- 15737,15743 ---- if (indepth >= (INPUT_STACK_MAX - 1)) { print_containing_files (FFEBAD_severityFATAL); + /* xgettext:no-c-format */ ffebad_start_msg ("At %0, INCLUDE nesting too deep", FFEBAD_severityFATAL); ffebad_string (fname); *************** ffecom_open_include_ (char *name, ffewhe *** 16282,16288 **** return f; } - #endif /* FFECOM_GCC_INCLUDE */ /**INDENT* (Do not reformat this comment even with -fca option.) Data-gathering files: Given the source file listed below, compiled with --- 15759,15764 ---- *************** typedef doublereal E_f; // real function *** 16768,16779 **** void pow_ci(); double pow_dd(); void pow_zz(); ! double acos(), r_imag(), r_int(), log(), r_lg10(), r_mod(), r_nint(), asin(), atan(), atan2(), c_abs(); void c_cos(), c_exp(), c_log(), r_cnjg(); double cos(), cosh(); void c_sin(), c_sqrt(); ! double d_dim(), exp(), r_dim(), d_int(), d_lg10(), d_mod(), d_nint(), d_sign(), sin(), sinh(), sqrt(), tan(), tanh(); integer i_dim(), i_dnnt(), i_indx(), i_sign(), i_len(); logical l_ge(), l_gt(), l_le(), l_lt(); --- 16244,16255 ---- void pow_ci(); double pow_dd(); void pow_zz(); ! double acos(), r_imag(), r_int(), log(), r_lg10(), r_mod(), r_nint(), asin(), atan(), atan2(), c_abs(); void c_cos(), c_exp(), c_log(), r_cnjg(); double cos(), cosh(); void c_sin(), c_sqrt(); ! double d_dim(), exp(), r_dim(), d_int(), d_lg10(), d_mod(), d_nint(), d_sign(), sin(), sinh(), sqrt(), tan(), tanh(); integer i_dim(), i_dnnt(), i_indx(), i_sign(), i_len(); logical l_ge(), l_gt(), l_le(), l_lt(); *************** typedef doublereal E_f; // real function *** 16781,16787 **** double r_sign(); // Local variables // ! extern // Subroutine // int fooa_(), fooc_(), food_(), fooi_(), foor_(), fool_(), fooz_(), getem_(); static char a1[10], a2[10]; static complex c1, c2; --- 16257,16263 ---- double r_sign(); // Local variables // ! extern // Subroutine // int fooa_(), fooc_(), food_(), fooi_(), foor_(), fool_(), fooz_(), getem_(); static char a1[10], a2[10]; static complex c1, c2; diff -Nrc3pad gcc-3.0.4/gcc/f/com.h gcc-3.1/gcc/f/com.h *** gcc-3.0.4/gcc/f/com.h Mon Sep 11 01:50:49 2000 --- gcc-3.1/gcc/f/com.h Wed Oct 17 22:34:51 2001 *************** the Free Software Foundation, 59 Temple *** 27,60 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_com ! #define _H_f_com /* Simple definitions and enumerations. */ #define FFECOM_dimensionsMAX 7 /* Max # dimensions (quick hack). */ - #define FFECOM_targetFFE 1 - #define FFECOM_targetGCC 2 - - #ifndef FFE_STANDALONE - #define FFECOM_targetCURRENT FFECOM_targetGCC /* Backend! */ - #define FFECOM_ONEPASS 0 - #else - #define FFECOM_targetCURRENT FFECOM_targetFFE - #define FFECOM_ONEPASS 0 - #endif - - #if FFECOM_ONEPASS - #define FFECOM_TWOPASS 0 - #else - #define FFECOM_TWOPASS 1 - #endif - #define FFECOM_SIZE_UNIT "byte" /* Singular form. */ #define FFECOM_SIZE_UNITS "bytes" /* Plural form. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC #define FFECOM_constantNULL NULL_TREE #define FFECOM_nonterNULL NULL_TREE #define FFECOM_globalNULL NULL_TREE --- 27,42 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_COM_H ! #define GCC_F_COM_H /* Simple definitions and enumerations. */ #define FFECOM_dimensionsMAX 7 /* Max # dimensions (quick hack). */ #define FFECOM_SIZE_UNIT "byte" /* Singular form. */ #define FFECOM_SIZE_UNITS "bytes" /* Plural form. */ #define FFECOM_constantNULL NULL_TREE #define FFECOM_nonterNULL NULL_TREE #define FFECOM_globalNULL NULL_TREE *************** typedef enum *** 139,169 **** FFECOM_gfrt } ffecomGfrt; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ - /* Typedefs. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC #ifndef TREE_CODE #include "tree.h" #endif - #ifndef BUILT_FOR_270 - #ifdef DECL_STATIC_CONSTRUCTOR /* In gcc/tree.h. */ - #define BUILT_FOR_270 1 - #else - #define BUILT_FOR_270 0 - #endif - #endif /* !defined (BUILT_FOR_270) */ - - #ifndef BUILT_FOR_280 - #ifdef DECL_ONE_ONLY /* In gcc/tree.h. */ - #define BUILT_FOR_280 1 - #else - #define BUILT_FOR_280 0 - #endif - #endif /* !defined (BUILT_FOR_280) */ - typedef tree ffecomConstant; #define FFECOM_constantHOOK typedef tree ffecomNonter; --- 121,132 ---- *************** struct _ffecom_symbol_ *** 185,191 **** tree assign_tree; /* For ASSIGN'ed vars. */ bool addr; /* Is address of item instead of item. */ }; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Include files needed by this one. */ --- 148,153 ---- *************** struct _ffecom_symbol_ *** 200,206 **** /* Global objects accessed by users of this module. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC extern tree string_type_node; extern tree ffecom_integer_type_node; extern tree ffecom_integer_zero_node; --- 162,167 ---- *************** extern tree ffecom_f2c_ftnlen_two_node; *** 227,237 **** extern tree ffecom_f2c_ptr_to_ftnlen_type_node; extern tree ffecom_f2c_ftnint_type_node; extern tree ffecom_f2c_ptr_to_ftnint_type_node; - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ /* Declare functions with prototypes. */ - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_1 (enum tree_code code, tree type, tree node); tree ffecom_1_fn (tree node); tree ffecom_2 (enum tree_code code, tree type, tree node1, tree node2); --- 188,196 ---- *************** tree ffecom_constantunion (ffebldConstan *** 251,266 **** tree ffecom_const_expr (ffebld expr); tree ffecom_decl_field (tree context, tree prevfield, const char *name, tree type); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ void ffecom_close_include (FILE *f); int ffecom_decode_include_option (char *spec); - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_end_compstmt (void); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ void ffecom_end_transition (void); void ffecom_exec_transition (void); void ffecom_expand_let_stmt (ffebld dest, ffebld source); - #if FFECOM_targetCURRENT == FFECOM_targetGCC tree ffecom_expr (ffebld expr); tree ffecom_expr_assign (ffebld expr); tree ffecom_expr_assign_w (ffebld expr); --- 210,221 ---- *************** tree ffecom_make_tempvar (const char *co *** 282,294 **** ffetargetCharacterSize size, int elements); tree ffecom_modify (tree newtype, tree lhs, tree rhs); void ffecom_save_tree_forever (tree t); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ void ffecom_file (const char *name); void ffecom_notify_init_storage (ffestorag st); void ffecom_notify_init_symbol (ffesymbol s); void ffecom_notify_primary_entry (ffesymbol fn); FILE *ffecom_open_include (char *name, ffewhereLine l, ffewhereColumn c); - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_prepare_arg_ptr_to_expr (ffebld expr); bool ffecom_prepare_end (void); void ffecom_prepare_expr_ (ffebld expr, ffebld dest); --- 237,247 ---- *************** tree ffecom_save_tree (tree t); *** 303,313 **** void ffecom_start_compstmt (void); tree ffecom_start_decl (tree decl, bool is_init); void ffecom_sym_commit (ffesymbol s); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ ffesymbol ffecom_sym_end_transition (ffesymbol s); ffesymbol ffecom_sym_exec_transition (ffesymbol s); ffesymbol ffecom_sym_learned (ffesymbol s); - #if FFECOM_targetCURRENT == FFECOM_targetGCC void ffecom_sym_retract (ffesymbol s); tree ffecom_temp_label (void); tree ffecom_truth_value (tree expr); --- 256,264 ---- *************** tree ffecom_truth_value_invert (tree exp *** 315,345 **** tree ffecom_type_expr (ffebld expr); tree ffecom_which_entrypoint_decl (void); - /* These need to be in the front end with exactly these interfaces, - as they're called by the back end. */ - - int mark_addressable (tree expr); - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ - /* Define macros. */ - #if FFECOM_targetCURRENT == FFECOM_targetFFE - #define ffecom_expr(e) (e) - #define ffecom_init_0() - #define ffecom_init_2() - #define ffecom_label_kind() FFEINFO_kindtypeINTEGERDEFAULT - #define ffecom_pointer_kind() FFEINFO_kindtypeINTEGERDEFAULT - #define ffecom_ptr_to_expr(e) (e) - #define ffecom_sym_commit(s) - #define ffecom_sym_retract(s) - #endif /* FFECOM_targetCURRENT == FFECOM_targetFFE */ - - #if FFECOM_targetCURRENT == FFECOM_targetGCC #define ffecom_f2c_typecode(bt,kt) ffecom_f2c_typecode_[(bt)][(kt)] #define ffecom_label_kind() ffecom_label_kind_ #define ffecom_pointer_kind() ffecom_pointer_kind_ #define ffecom_prepare_expr(e) ffecom_prepare_expr_ ((e), NULL) - #endif /* FFECOM_targetCURRENT == FFECOM_targetGCC */ #define ffecom_init_1() #define ffecom_init_3() --- 266,277 ---- *************** int mark_addressable (tree expr); *** 352,355 **** /* End of #include file. */ ! #endif --- 284,287 ---- /* End of #include file. */ ! #endif /* ! GCC_F_COM_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/config-lang.in gcc-3.1/gcc/f/config-lang.in *** gcc-3.0.4/gcc/f/config-lang.in Tue Dec 12 20:28:51 2000 --- gcc-3.1/gcc/f/config-lang.in Thu Dec 20 00:20:46 2001 *************** *** 1,5 **** # Top level configure fragment for GNU FORTRAN. ! # Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. #This file is part of GNU Fortran. --- 1,5 ---- # Top level configure fragment for GNU FORTRAN. ! # Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. #This file is part of GNU Fortran. *************** *** 24,30 **** # language - name of language as it would appear in $(LANGUAGES) # compilers - value to add to $(COMPILERS) # stagestuff - files to add to $(STAGESTUFF) - # diff_excludes - files to ignore when building diffs between two versions. language="f77" --- 24,29 ---- *************** compilers="f771\$(exeext)" *** 32,37 **** stagestuff="g77\$(exeext) g77-cross\$(exeext) f771\$(exeext)" - diff_excludes="-x f/BUGS -x f/NEWS -x f/INSTALL -x f/intdoc.texi" - target_libs=target-libf2c --- 31,34 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/data.c gcc-3.1/gcc/f/data.c *** gcc-3.0.4/gcc/f/data.c Sat Mar 27 10:23:44 1999 --- gcc-3.1/gcc/f/data.c Wed Feb 13 07:39:56 2002 *************** *** 1,5 **** /* data.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. --- 1,5 ---- /* data.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. *************** ffedata_eval_offset_ (ffebld subscripts, *** 977,982 **** --- 977,985 ---- while (subscripts != NULL) { + ffeinfoKindtype sub_kind, low_kind, hi_kind; + ffebld sub1, low1, hi1; + ++rank; assert (dims != NULL); *************** ffedata_eval_offset_ (ffebld subscripts, *** 984,991 **** dim = ffebld_head (dims); assert (ffeinfo_basictype (ffebld_info (subscript)) == FFEINFO_basictypeINTEGER); ! assert (ffeinfo_kindtype (ffebld_info (subscript)) == FFEINFO_kindtypeINTEGER1); ! value = ffedata_eval_integer1_ (subscript); assert (ffebld_op (dim) == FFEBLD_opBOUNDS); low = ffebld_left (dim); --- 987,1005 ---- dim = ffebld_head (dims); assert (ffeinfo_basictype (ffebld_info (subscript)) == FFEINFO_basictypeINTEGER); ! if (ffebld_op (subscript) == FFEBLD_opCONTER) ! { ! /* Force to default - it's a constant expression ! */ ! sub_kind = ffeinfo_kindtype (ffebld_info (subscript)); ! sub1 = ffebld_new_conter_with_orig (ffebld_constant_new_integer1_val ( ! sub_kind == FFEINFO_kindtypeINTEGER2 ? subscript->u.conter.expr->u.integer2 : ! sub_kind == FFEINFO_kindtypeINTEGER3 ? subscript->u.conter.expr->u.integer3 : ! sub_kind == FFEINFO_kindtypeINTEGER4 ? subscript->u.conter.expr->u.integer4 : ! subscript->u.conter.expr->u.integer1), NULL); ! value = ffedata_eval_integer1_ (sub1); ! } ! else ! value = ffedata_eval_integer1_ (subscript); assert (ffebld_op (dim) == FFEBLD_opBOUNDS); low = ffebld_left (dim); *************** ffedata_eval_offset_ (ffebld subscripts, *** 996,1008 **** else { assert (ffeinfo_basictype (ffebld_info (low)) == FFEINFO_basictypeINTEGER); ! assert (ffeinfo_kindtype (ffebld_info (low)) == FFEINFO_kindtypeINTEGERDEFAULT); ! lowbound = ffedata_eval_integer1_ (low); } assert (ffeinfo_basictype (ffebld_info (high)) == FFEINFO_basictypeINTEGER); ! assert (ffeinfo_kindtype (ffebld_info (high)) == FFEINFO_kindtypeINTEGERDEFAULT); ! highbound = ffedata_eval_integer1_ (high); if ((value < lowbound) || (value > highbound)) { --- 1010,1044 ---- else { assert (ffeinfo_basictype (ffebld_info (low)) == FFEINFO_basictypeINTEGER); ! if (ffebld_op (low) == FFEBLD_opCONTER) ! { ! /* Force to default - it's a constant expression ! */ ! low_kind = ffeinfo_kindtype (ffebld_info (low)); ! low1 = ffebld_new_conter_with_orig (ffebld_constant_new_integer1_val ( ! low_kind == FFEINFO_kindtypeINTEGER2 ? low->u.conter.expr->u.integer2 : ! low_kind == FFEINFO_kindtypeINTEGER3 ? low->u.conter.expr->u.integer3 : ! low_kind == FFEINFO_kindtypeINTEGER4 ? low->u.conter.expr->u.integer4 : ! low->u.conter.expr->u.integer1), NULL); ! lowbound = ffedata_eval_integer1_ (low1); ! } ! else ! lowbound = ffedata_eval_integer1_ (low); } assert (ffeinfo_basictype (ffebld_info (high)) == FFEINFO_basictypeINTEGER); ! if (ffebld_op (high) == FFEBLD_opCONTER) ! { ! /* Force to default - it's a constant expression ! */ ! hi_kind = ffeinfo_kindtype (ffebld_info (high)); ! hi1 = ffebld_new_conter_with_orig (ffebld_constant_new_integer1_val ( ! hi_kind == FFEINFO_kindtypeINTEGER2 ? high->u.conter.expr->u.integer2 : ! hi_kind == FFEINFO_kindtypeINTEGER3 ? high->u.conter.expr->u.integer3 : ! hi_kind == FFEINFO_kindtypeINTEGER4 ? high->u.conter.expr->u.integer4 : ! high->u.conter.expr->u.integer1), NULL); ! highbound = ffedata_eval_integer1_ (hi1); ! } ! else ! highbound = ffedata_eval_integer1_ (high); if ((value < lowbound) || (value > highbound)) { diff -Nrc3pad gcc-3.0.4/gcc/f/data.h gcc-3.1/gcc/f/data.h *** gcc-3.0.4/gcc/f/data.h Mon Feb 15 18:16:38 1999 --- gcc-3.1/gcc/f/data.h Sat May 26 01:31:46 2001 *************** the Free Software Foundation, 59 Temple *** 27,34 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_data ! #define _H_f_data /* Simple definitions and enumerations. */ --- 27,34 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_DATA_H ! #define GCC_F_DATA_H /* Simple definitions and enumerations. */ *************** bool ffedata_value (ffetargetIntegerDefa *** 71,74 **** /* End of #include file. */ ! #endif --- 71,74 ---- /* End of #include file. */ ! #endif /* ! GCC_F_DATA_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/equiv.c gcc-3.1/gcc/f/equiv.c *** gcc-3.0.4/gcc/f/equiv.c Sat Feb 26 20:02:00 2000 --- gcc-3.1/gcc/f/equiv.c Wed Oct 17 22:34:51 2001 *************** ffeequiv_add (ffeequiv eq, ffebld list, *** 913,933 **** ffeequiv_set_list (eq, ffebld_new_item (list, ffeequiv_list (eq))); } - /* ffeequiv_dump -- Dump info on equivalence object - - ffeequiv eq; - ffeequiv_dump(eq); */ - - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void - ffeequiv_dump (ffeequiv eq) - { - if (ffeequiv_common (eq) != NULL) - fprintf (dmpout, "(common %s) ", ffesymbol_text (ffeequiv_common (eq))); - ffebld_dump (ffeequiv_list (eq)); - } - #endif - /* ffeequiv_exec_transition -- Do the hard work on all the equivalence objects ffeequiv_exec_transition(); */ --- 913,918 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/equiv.h gcc-3.1/gcc/f/equiv.h *** gcc-3.0.4/gcc/f/equiv.h Mon Feb 15 18:16:41 1999 --- gcc-3.1/gcc/f/equiv.h Wed Oct 17 22:34:52 2001 *************** the Free Software Foundation, 59 Temple *** 27,34 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_equiv ! #define _H_f_equiv /* Simple definitions and enumerations. */ --- 27,34 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_EQUIV_H ! #define GCC_F_EQUIV_H /* Simple definitions and enumerations. */ *************** struct _ffeequiv_ *** 62,70 **** /* Declare functions with prototypes. */ void ffeequiv_add (ffeequiv eq, ffebld list, ffelexToken t); - #if FFECOM_targetCURRENT == FFECOM_targetFFE - void ffeequiv_dump (ffeequiv eq); - #endif void ffeequiv_exec_transition (void); void ffeequiv_init_2 (void); void ffeequiv_kill (ffeequiv victim); --- 62,67 ---- *************** void ffeequiv_update_save (ffeequiv eq); *** 100,103 **** /* End of #include file. */ ! #endif --- 97,100 ---- /* End of #include file. */ ! #endif /* ! GCC_F_EQUIV_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/expr.c gcc-3.1/gcc/f/expr.c *** gcc-3.0.4/gcc/f/expr.c Wed Aug 2 17:01:13 2000 --- gcc-3.1/gcc/f/expr.c Mon Feb 4 15:58:50 2002 *************** *** 1,5 **** /* expr.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. --- 1,6 ---- /* expr.c -- Implementation File (module.c template V1.0) ! Copyright (C) 1995, 1996, 1997, 1998, 2001, 2002 ! Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. *************** ffeexpr_exprstack_push_unary_ (ffeexprEx *** 9608,9613 **** --- 9609,9615 ---- <= FFEEXPR_operatorprecedenceLOWARITH_) && (e->u.operator.prec <= FFEEXPR_operatorprecedenceLOWARITH_)) { + /* xgettext:no-c-format */ ffebad_start_msg ("Two arithmetic operators in a row at %0 and %1 -- use parentheses", ffe_is_pedantic () ? FFEBAD_severityPEDANTIC *************** ffeexpr_exprstack_push_binary_ (ffeexprE *** 9657,9662 **** --- 9659,9665 ---- && (e->u.operator.prec < ffeexpr_stack_->exprstack->previous->u.operator.prec)) { + /* xgettext:no-c-format */ ffebad_start_msg ("Operator at %0 has lower precedence than that at %1 -- use parentheses", FFEBAD_severityWARNING); ffebad_here (0, ffelex_token_where_line (ffeexpr_stack_->exprstack->previous->token), *************** ffeexpr_reduced_eqop2_ (ffebld reduced, *** 10517,10522 **** --- 10520,10526 ---- if ((lbt == FFEINFO_basictypeLOGICAL) && (rbt == FFEINFO_basictypeLOGICAL)) { + /* xgettext:no-c-format */ if (ffebad_start_msg ("Use .EQV./.NEQV. instead of .EQ./.NE. at %0 for LOGICAL operands at %1 and %2", FFEBAD_severityFATAL)) { *************** ffeexpr_reduced_power_ (ffebld reduced, *** 10887,10892 **** --- 10891,10897 ---- } if (rkt == FFEINFO_kindtypeINTEGER4) { + /* xgettext:no-c-format */ ffebad_start_msg ("Unsupported operand for ** at %1 -- converting to default INTEGER", FFEBAD_severityWARNING); ffebad_here (0, ffelex_token_where_line (r->token), ffelex_token_where_column (r->token)); *************** ffeexpr_sym_impdoitem_ (ffesymbol sp, ff *** 16489,16498 **** FFETARGET_charactersizeNONE)); ffesymbol_signal_unreported (s); ! if (((ffesymbol_basictype (sp) != FFEINFO_basictypeINTEGER) && (ffesymbol_basictype (sp) != FFEINFO_basictypeANY)) - || ((ffesymbol_kindtype (sp) != FFEINFO_kindtypeINTEGERDEFAULT) - && (ffesymbol_kindtype (sp) != FFEINFO_kindtypeANY))) ffesymbol_error (s, t); return s; --- 16494,16501 ---- FFETARGET_charactersizeNONE)); ffesymbol_signal_unreported (s); ! if ((ffesymbol_basictype (sp) != FFEINFO_basictypeINTEGER) && (ffesymbol_basictype (sp) != FFEINFO_basictypeANY)) ffesymbol_error (s, t); return s; *************** ffeexpr_sym_rhs_dimlist_ (ffesymbol s, f *** 17323,17328 **** --- 17326,17332 ---- | FFESYMBOL_attrsINIT | FFESYMBOL_attrsNAMELIST | FFESYMBOL_attrsSFARG + | FFESYMBOL_attrsARRAY | FFESYMBOL_attrsTYPE))) na = sa | FFESYMBOL_attrsADJUSTS; else *************** ffeexpr_declare_parenthesized_ (ffelexTo *** 17958,17963 **** --- 17962,17968 ---- case FFEEXPR_contextDIMLIST: s = ffeexpr_sym_rhs_dimlist_ (s, t); + bad = FALSE; break; case FFEEXPR_contextCHARACTERSIZE: diff -Nrc3pad gcc-3.0.4/gcc/f/expr.h gcc-3.1/gcc/f/expr.h *** gcc-3.0.4/gcc/f/expr.h Mon Feb 15 18:16:43 1999 --- gcc-3.1/gcc/f/expr.h Sat May 26 01:31:46 2001 *************** the Free Software Foundation, 59 Temple *** 27,34 **** /* Allow multiple inclusion to work. */ ! #ifndef _H_f_expr ! #define _H_f_expr /* Simple definitions and enumerations. */ --- 27,34 ---- /* Allow multiple inclusion to work. */ ! #ifndef GCC_F_EXPR_H ! #define GCC_F_EXPR_H /* Simple definitions and enumerations. */ *************** void ffeexpr_type_combine (ffeinfoBasict *** 191,194 **** /* End of #include file. */ ! #endif --- 191,194 ---- /* End of #include file. */ ! #endif /* ! GCC_F_EXPR_H */ diff -Nrc3pad gcc-3.0.4/gcc/f/ffe.texi gcc-3.1/gcc/f/ffe.texi *** gcc-3.0.4/gcc/f/ffe.texi Wed Nov 17 18:36:40 1999 --- gcc-3.1/gcc/f/ffe.texi Fri Feb 1 22:43:03 2002 *************** *** 11,20 **** This chapter describes some aspects of the design and implementation of the @code{g77} front end. - Much of the information below applies not to current - releases of @code{g77}, - but to the 0.6 rewrite being designed and implemented - as of late May, 1999. To find about things that are ``To Be Determined'' or ``To Be Done'', search for the string TBD. --- 11,16 ---- *************** Preserving case seems necessary to provi *** 589,599 **** to facilities outside of @code{g77}, such as to C or Pascal code. Names of intrinsics will probably be matchable in any case, - However, there probably won't be any option to require - a particular mixed-case appearance of intrinsics - (as there was for @code{g77} prior to version 0.6), - because that's painful to maintain, - and probably nobody uses it. (How @samp{external SiN; r = sin(x)} would be handled is TBD. I think old @code{g77} might already handle that pretty elegantly, --- 585,590 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/fini.c gcc-3.1/gcc/f/fini.c *** gcc-3.0.4/gcc/f/fini.c Fri Dec 8 03:00:25 2000 --- gcc-3.1/gcc/f/fini.c Sat Dec 1 08:16:25 2001 *************** static FILE *out; *** 62,68 **** static char prefix[32]; static char postfix[32]; static char storage[32]; ! static const char *xspaces[] = { "", /* 0 */ --- 62,68 ---- static char prefix[32]; static char postfix[32]; static char storage[32]; ! static const char *const xspaces[] = { "", /* 0 */ *************** main (int argc, char **argv) *** 367,373 **** /* Make new name object to store name and its keyword. */ ! newname = (name) malloc (sizeof (*newname)); newname->namelen = strlen (buf); newname->kwlen = strlen (kwname); total_length = newname->kwlen + fixlengths; --- 367,373 ---- /* Make new name object to store name and its keyword. */ ! newname = (name) xmalloc (sizeof (*newname)); newname->namelen = strlen (buf); newname->kwlen = strlen (kwname); total_length = newname->kwlen + fixlengths; diff -Nrc3pad gcc-3.0.4/gcc/f/g77.1 gcc-3.1/gcc/f/g77.1 *** gcc-3.0.4/gcc/f/g77.1 Sat Feb 26 20:02:01 2000 --- gcc-3.1/gcc/f/g77.1 Wed May 15 02:46:01 2002 *************** *** 1,365 **** ! .\" Copyright (c) 1995, 1996, 1997, Free Software Foundation -*-Text-*- ! .\" See section COPYING for conditions for redistribution ! .\" FIXME: no info here on predefines. Should there be? extra for F77... ! .TH G77 1 "1999-02-14" "GNU Tools" "GNU Tools" ! .de BP ! .sp ! .ti \-.2i ! \(** .. ! .SH NAME ! g77 \- GNU project Fortran Compiler (v0.5.24) ! .SH SYNOPSIS ! .RB g77 " [" \c ! .IR option " | " "filename " ].\|.\|. ! .SH WARNING ! The information in this man page is an extract from the full ! documentation of the GNU Fortran compiler (version 0.5.24), ! and is limited to the meaning of some of the options. .PP ! This man page is not up to date, since no volunteers want to ! maintain it. If you find a discrepancy between the man page and the ! software, please check the Info file, which is the authoritative ! documentation. ! .\" .PP ! .\" The version of GNU Fortran documented by the Info file is 0.5.24, ! .\" which includes substantial improvements and changes since 0.5.24, ! .\" the version documented in this man page. .PP ! If we find that the things in this man page that are out of date cause ! significant confusion or complaints, we will stop distributing the man ! page. The alternative, updating the man page when we update the Info ! file, is impractical because the rest of the work of maintaining GNU Fortran ! leaves us no time for that. The GNU project regards man pages as ! obsolete and should not let them take time away from other things. .PP ! For complete and current documentation, refer to the Info file `\|\c ! .B g77\c ! \&\|' or the manual ! .I ! Using and Porting GNU Fortran (for version 0.5.24)\c ! \&. Both are made from the Texinfo source file ! .BR g77.texi . .PP ! If your system has the `\|\c ! .B info\c ! \&\|' command installed, the command `\|\c ! .B info g77\c ! \&\|' should work, unless ! .B g77 ! has not been properly installed. ! If your system lacks `\|\c ! .B info\c ! \&\|', or you wish to avoid using it for now, ! the command `\|\c ! .B more /usr/info/g77.info*\c ! \&\|' should work, unless ! .B g77 ! has not been properly installed. .PP ! If ! .B g77 ! has not been properly installed, so that you ! cannot easily access the Info file for it, ! ask your system administrator, or the installer ! of ! .B g77 ! (if you know who that is) to fix the problem. ! .SH DESCRIPTION ! The C and F77 compilers are integrated; ! .B g77 ! is a program to call ! .B gcc ! with options to recognize programs written in Fortran (ANSI FORTRAN 77, ! also called F77). ! .B gcc ! processes input files ! through one or more of four stages: preprocessing, compilation, ! assembly, and linking. This man page contains full descriptions for ! .I only ! F77-specific aspects of the compiler, though it also contains ! summaries of some general-purpose options. For a fuller explanation ! of the compiler, see ! .BR gcc ( 1 ). ! ! For complete documentation on GNU Fortran, type `\|\c ! .B info g77\c ! \&\|'. ! ! F77 source files use the suffix `\|\c ! .B .f\c ! \&\|', `\|\c ! .B .for\c ! \&\|', or `\|\c ! .B .FOR\c ! \&\|'; F77 files to be preprocessed by ! .BR cpp ( 1 ) ! use the suffix `\|\c ! .B .F\c ! \&\|', `\|\c ! .B .fpp\c ! \&\|', or `\|\c ! .B .FPP\c ! \&\|'; Ratfor source files use the suffix `\|\c ! .B .r\c ! \&\|' (though ! .B ratfor ! itself is not supplied as part of ! .B g77\c ! \&). ! .SH OPTIONS ! There are many command-line options, including options to control ! details of optimization, warnings, and code generation, which are ! common to both ! .B gcc ! and ! .B g77\c ! \&. For full information on all options, see ! .BR gcc ( 1 ). ! ! Options must be separate: `\|\c ! .B \-dr\c ! \&\|' is quite different from `\|\c ! .B \-d \-r ! \&\|'. ! ! Most `\|\c ! .B \-f\c ! \&\|' and `\|\c ! .B \-W\c ! \&\|' options have two contrary forms: ! .BI \-f name ! and ! .BI \-fno\- name\c ! \& (or ! .BI \-W name ! and ! .BI \-Wno\- name\c ! \&). Only the non-default forms are shown here. ! ! .TP ! .B \-c ! Compile or assemble the source files, but do not link. The compiler ! output is an object file corresponding to each source file. ! .TP ! .BI \-D macro ! Define macro \c ! .I macro\c ! \& with the string `\|\c ! .B 1\c ! \&\|' as its definition. ! .TP ! .BI \-D macro = defn ! Define macro \c ! .I macro\c ! \& as \c ! .I defn\c ! \&. ! .TP ! .B \-E ! Stop after the preprocessing stage; do not run the compiler proper. The ! output is preprocessed source code, which is sent to the ! standard output. ! .TP ! .B \-g Produce debugging information in the operating system's native format ! (for DBX or SDB or DWARF). GDB also can work with this debugging ! information. On most systems that use DBX format, `\|\c ! .B \-g\c ! \&\|' enables use ! of extra debugging information that only GDB can use. ! ! Unlike most other Fortran compilers, GNU Fortran allows you to use `\|\c ! .B \-g\c ! \&\|' with ! `\|\c ! .B \-O\c ! \&\|'. The shortcuts taken by optimized code may occasionally ! produce surprising results: some variables you declared may not exist ! at all; flow of control may briefly move where you did not expect it; ! some statements may not be executed because they compute constant ! results or their values were already at hand; some statements may ! execute in different places because they were moved out of loops. ! ! Nevertheless it proves possible to debug optimized output. This makes ! it reasonable to use the optimizer for programs that might have bugs. ! .TP ! .BI "\-I" "dir"\c ! \& ! Append directory \c ! .I dir\c ! \& to the list of directories searched for include files. ! .TP ! .BI "\-L" "dir"\c ! \& ! Add directory \c ! .I dir\c ! \& to the list of directories to be searched ! for `\|\c ! .B \-l\c ! \&\|'. ! .TP ! .BI \-l library\c ! \& ! Use the library named \c ! .I library\c ! \& when linking. ! .TP ! .B \-nostdinc ! Do not search the standard system directories for header files. Only ! the directories you have specified with ! .B \-I ! options (and the current directory, if appropriate) are searched. ! .TP ! .B \-O ! Optimize. Optimizing compilation takes somewhat more time, and a lot ! more memory for a large function. See the GCC documentation for ! further optimisation options. Loop unrolling, in particular, may be ! worth investigating for typical numerical Fortran programs. ! .TP ! .BI "\-o " file\c ! \& ! Place output in file \c ! .I file\c ! \&. ! .TP ! .B \-S ! Stop after the stage of compilation proper; do not assemble. The output ! is an assembler code file for each non-assembler input ! file specified. ! .TP ! .BI \-U macro ! Undefine macro \c ! .I macro\c ! \&. ! .TP ! .B \-v ! Print (on standard error output) the commands executed to run the ! stages of compilation. Also print the version number of the compiler ! driver program and of the preprocessor and the compiler proper. The ! version numbers of g77 itself and the GCC distribution on which it is ! based are distinct. ! .TP ! .B \-Wall ! Issue warnings for conditions which pertain to usage that we recommend ! avoiding and that we believe is easy to avoid, even in conjunction ! with macros. .PP ! ! .SH FILES ! .ta \w'LIBDIR/g77\-include 'u ! file.h C header (preprocessor) file ! .br ! file.f Fortran source file ! .br ! file.for Fortran source file ! .br ! file.FOR Fortran source file ! .br ! file.F preprocessed Fortran source file ! .br ! file.fpp preprocessed Fortran source file ! .br ! file.FPP preprocessed Fortran source file ! .br ! file.r Ratfor source file (ratfor not included) ! .br ! file.s assembly language file ! .br ! file.o object file ! .br ! a.out link edited output ! .br ! \fITMPDIR\fR/cc\(** temporary files ! .br ! \fILIBDIR\fR/cpp preprocessor ! .br ! \fILIBDIR\fR/f771 compiler ! .br ! \fILIBDIR\fR/libg2c.a Fortran run-time library ! .br ! \fILIBDIR\fR/libgcc.a GCC subroutine library ! .br ! /lib/crt[01n].o start-up routine ! .br ! /lib/libc.a standard C library, see ! .IR intro (3) ! .br ! /usr/include standard directory for ! .B #include ! files ! .br ! \fILIBDIR\fR/include standard gcc directory for ! .B #include ! .br ! files. ! .sp ! .I LIBDIR ! is usually ! .B /usr/local/lib/\c ! .IR machine / version . ! .sp ! .I TMPDIR ! comes from the environment variable ! .B TMPDIR ! (default ! .B /usr/tmp ! if available, else ! .B /tmp\c ! \&). .SH "SEE ALSO" ! gcc(1), cpp(1), as(1), ld(1), gdb(1), adb(1), dbx(1), sdb(1). ! .br ! .RB "`\|" g77 "\|', `\|" gcc "\|', `\|" cpp "\|'," ! .RB "`\|" as "\|', `\|" ld "\|'," ! and ! .RB "`\|" gdb "\|'" ! entries in ! .B info\c ! \&. ! .br ! .I ! Using and Porting GNU Fortran (for version 0.5.24)\c ! , James Craig Burley; ! .I ! Using and Porting GNU CC (for version 2.0)\c ! , Richard M. Stallman; ! .I ! The C Preprocessor\c ! , Richard M. Stallman; ! .I ! Debugging with GDB: the GNU Source-Level Debugger\c ! , Richard M. Stallman and Roland H. Pesch; ! .I ! Using as: the GNU Assembler\c ! , Dean Elsner, Jay Fenlason & friends; ! .I ! gld: the GNU linker\c ! , Steve Chamberlain and Roland Pesch. ! ! .SH BUGS ! For instructions on how to report bugs, type `\|\c ! .B info g77 -n Bugs\c ! \&\|'. ! ! .SH COPYING ! Copyright (c) 1991-1998 Free Software Foundation, Inc. .PP ! Permission is granted to make and distribute verbatim copies of ! this manual provided the copyright notice and this permission notice ! are preserved on all copies. .PP ! Permission is granted to copy and distribute modified versions of this ! manual under the conditions for verbatim copying, provided that the ! entire resulting derived work is distributed under the terms of a ! permission notice identical to this one. .PP ! Permission is granted to copy and distribute translations of this ! manual into another language, under the above conditions for modified ! versions, except that this permission notice may be included in ! translations approved by the Free Software Foundation instead of in ! the original English. ! .SH AUTHORS ! See the GNU CC Manual for the contributors to GNU CC. ! See the GNU Fortran Manual for the contributors to ! GNU Fortran. --- 1,1724 ---- ! .\" Automatically generated by Pod::Man version 1.15 ! .\" Wed May 15 02:46:00 2002 ! .\" ! .\" Standard preamble: ! .\" ====================================================================== ! .de Sh \" Subsection heading ! .br ! .if t .Sp ! .ne 5 ! .PP ! \fB\\$1\fR ! .PP .. ! .de Sp \" Vertical space (when we can't use .PP) ! .if t .sp .5v ! .if n .sp ! .. ! .de Ip \" List item ! .br ! .ie \\n(.$>=3 .ne \\$3 ! .el .ne 3 ! .IP "\\$1" \\$2 ! .. ! .de Vb \" Begin verbatim text ! .ft CW ! .nf ! .ne \\$1 ! .. ! .de Ve \" End verbatim text ! .ft R ! ! .fi ! .. ! .\" Set up some character translations and predefined strings. \*(-- will ! .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left ! .\" double quote, and \*(R" will give a right double quote. | will give a ! .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used ! .\" to do unbreakable dashes and therefore won't be available. \*(C` and ! .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> ! .tr \(*W-|\(bv\*(Tr ! .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' ! .ie n \{\ ! . ds -- \(*W- ! . ds PI pi ! . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch ! . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch ! . ds L" "" ! . ds R" "" ! . ds C` "" ! . ds C' "" ! 'br\} ! .el\{\ ! . ds -- \|\(em\| ! . ds PI \(*p ! . ds L" `` ! . ds R" '' ! 'br\} ! .\" ! .\" If the F register is turned on, we'll generate index entries on stderr ! .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and ! .\" index entries marked with X<> in POD. Of course, you'll have to process ! .\" the output yourself in some meaningful fashion. ! .if \nF \{\ ! . de IX ! . tm Index:\\$1\t\\n%\t"\\$2" ! .. ! . nr % 0 ! . rr F ! .\} ! .\" ! .\" For nroff, turn off justification. Always turn off hyphenation; it ! .\" makes way too many mistakes in technical documents. ! .hy 0 ! .if n .na ! .\" ! .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). ! .\" Fear. Run. Save yourself. No user-serviceable parts. ! .bd B 3 ! . \" fudge factors for nroff and troff ! .if n \{\ ! . ds #H 0 ! . ds #V .8m ! . ds #F .3m ! . ds #[ \f1 ! . ds #] \fP ! .\} ! .if t \{\ ! . ds #H ((1u-(\\\\n(.fu%2u))*.13m) ! . ds #V .6m ! . ds #F 0 ! . ds #[ \& ! . ds #] \& ! .\} ! . \" simple accents for nroff and troff ! .if n \{\ ! . ds ' \& ! . ds ` \& ! . ds ^ \& ! . ds , \& ! . ds ~ ~ ! . ds / ! .\} ! .if t \{\ ! . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" ! . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' ! . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' ! . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' ! . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' ! . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' ! .\} ! . \" troff and (daisy-wheel) nroff accents ! .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' ! .ds 8 \h'\*(#H'\(*b\h'-\*(#H' ! .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] ! .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' ! .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' ! .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] ! .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] ! .ds ae a\h'-(\w'a'u*4/10)'e ! .ds Ae A\h'-(\w'A'u*4/10)'E ! . \" corrections for vroff ! .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' ! .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' ! . \" for low resolution devices (crt and lpr) ! .if \n(.H>23 .if \n(.V>19 \ ! \{\ ! . ds : e ! . ds 8 ss ! . ds o a ! . ds d- d\h'-1'\(ga ! . ds D- D\h'-1'\(hy ! . ds th \o'bp' ! . ds Th \o'LP' ! . ds ae ae ! . ds Ae AE ! .\} ! .rm #[ #] #H #V #F C ! .\" ====================================================================== ! .\" ! .IX Title "G77 1" ! .TH G77 1 "gcc-3.1" "2002-05-15" "GNU" ! .UC ! .SH "NAME" ! g77 \- \s-1GNU\s0 project Fortran 77 compiler ! .SH "SYNOPSIS" ! .IX Header "SYNOPSIS" ! g77 [\fB\-c\fR|\fB\-S\fR|\fB\-E\fR] ! [\fB\-g\fR] [\fB\-pg\fR] [\fB\-O\fR\fIlevel\fR] ! [\fB\-W\fR\fIwarn\fR...] [\fB\-pedantic\fR] ! [\fB\-I\fR\fIdir\fR...] [\fB\-L\fR\fIdir\fR...] ! [\fB\-D\fR\fImacro\fR[=\fIdefn\fR]...] [\fB\-U\fR\fImacro\fR] ! [\fB\-f\fR\fIoption\fR...] [\fB\-m\fR\fImachine-option\fR...] ! [\fB\-o\fR \fIoutfile\fR] \fIinfile\fR... .PP ! Only the most useful options are listed here; see below for the ! remainder. ! .SH "DESCRIPTION" ! .IX Header "DESCRIPTION" ! The \fBg77\fR command supports all the options supported by the ! \&\fBgcc\fR command. .PP ! All \fBgcc\fR and \fBg77\fR options ! are accepted both by \fBg77\fR and by \fBgcc\fR ! (as well as any other drivers built at the same time, ! such as \fBg++\fR), ! since adding \fBg77\fR to the \fBgcc\fR distribution ! enables acceptance of \fBg77\fR options ! by all of the relevant drivers. .PP ! In some cases, options have positive and negative forms; ! the negative form of \fB\-ffoo\fR would be \fB\-fno-foo\fR. ! This manual documents only one of these two forms, whichever ! one is not the default. ! .SH "OPTIONS" ! .IX Header "OPTIONS" ! Here is a summary of all the options specific to \s-1GNU\s0 Fortran, grouped ! by type. Explanations are in the following sections. ! .Ip "\fIOverall Options\fR" 4 ! .IX Item "Overall Options" ! \&\fB\-fversion \-fset-g77\-defaults \-fno-silent\fR ! .Ip "\fIShorthand Options\fR" 4 ! .IX Item "Shorthand Options" ! \&\fB\-ff66 \-fno-f66 \-ff77 \-fno-f77 \-fno-ugly\fR ! .Ip "\fIFortran Language Options\fR" 4 ! .IX Item "Fortran Language Options" ! \&\fB\-ffree-form \-fno-fixed-form \-ff90 ! \&\-fvxt \-fdollar-ok \-fno-backslash ! \&\-fno-ugly-args \-fno-ugly-assign \-fno-ugly-assumed ! \&\-fugly-comma \-fugly-complex \-fugly-init \-fugly-logint ! \&\-fonetrip \-ftypeless-boz ! \&\-fintrin-case-initcap \-fintrin-case-upper ! \&\-fintrin-case-lower \-fintrin-case-any ! \&\-fmatch-case-initcap \-fmatch-case-upper ! \&\-fmatch-case-lower \-fmatch-case-any ! \&\-fsource-case-upper \-fsource-case-lower ! \&\-fsource-case-preserve ! \&\-fsymbol-case-initcap \-fsymbol-case-upper ! \&\-fsymbol-case-lower \-fsymbol-case-any ! \&\-fcase-strict-upper \-fcase-strict-lower ! \&\-fcase-initcap \-fcase-upper \-fcase-lower \-fcase-preserve ! \&\-ff2c-intrinsics-delete \-ff2c-intrinsics-hide ! \&\-ff2c-intrinsics-disable \-ff2c-intrinsics-enable ! \&\-fbadu77\-intrinsics-delete \-fbadu77\-intrinsics-hide ! \&\-fbadu77\-intrinsics-disable \-fbadu77\-intrinsics-enable ! \&\-ff90\-intrinsics-delete \-ff90\-intrinsics-hide ! \&\-ff90\-intrinsics-disable \-ff90\-intrinsics-enable ! \&\-fgnu-intrinsics-delete \-fgnu-intrinsics-hide ! \&\-fgnu-intrinsics-disable \-fgnu-intrinsics-enable ! \&\-fmil-intrinsics-delete \-fmil-intrinsics-hide ! \&\-fmil-intrinsics-disable \-fmil-intrinsics-enable ! \&\-funix-intrinsics-delete \-funix-intrinsics-hide ! \&\-funix-intrinsics-disable \-funix-intrinsics-enable ! \&\-fvxt-intrinsics-delete \-fvxt-intrinsics-hide ! \&\-fvxt-intrinsics-disable \-fvxt-intrinsics-enable ! \&\-ffixed-line-length-\fR\fIn\fR \fB\-ffixed-line-length-none\fR ! .Ip "\fIWarning Options\fR" 4 ! .IX Item "Warning Options" ! \&\fB\-fsyntax-only \-pedantic \-pedantic-errors \-fpedantic ! \&\-w \-Wno-globals \-Wimplicit \-Wunused \-Wuninitialized ! \&\-Wall \-Wsurprising ! \&\-Werror \-W\fR ! .Ip "\fIDebugging Options\fR" 4 ! .IX Item "Debugging Options" ! \&\fB\-g\fR ! .Ip "\fIOptimization Options\fR" 4 ! .IX Item "Optimization Options" ! \&\fB\-malign-double ! \&\-ffloat-store \-fforce-mem \-fforce-addr \-fno-inline ! \&\-ffast-math \-fstrength-reduce \-frerun-cse-after-loop ! \&\-funsafe-math-optimizations \-fno-trapping-math ! \&\-fexpensive-optimizations \-fdelayed-branch ! \&\-fschedule-insns \-fschedule-insn2 \-fcaller-saves ! \&\-funroll-loops \-funroll-all-loops ! \&\-fno-move-all-movables \-fno-reduce-all-givs ! \&\-fno-rerun-loop-opt\fR ! .Ip "\fIDirectory Options\fR" 4 ! .IX Item "Directory Options" ! \&\fB\-I\fR\fIdir\fR \fB\-I-\fR ! .Ip "\fICode Generation Options\fR" 4 ! .IX Item "Code Generation Options" ! \&\fB\-fno-automatic \-finit-local-zero \-fno-f2c ! \&\-ff2c-library \-fno-underscoring \-fno-ident ! \&\-fpcc-struct-return \-freg-struct-return ! \&\-fshort-double \-fno-common \-fpack-struct ! \&\-fzeros \-fno-second-underscore ! \&\-femulate-complex ! \&\-falias-check \-fargument-alias ! \&\-fargument-noalias \-fno-argument-noalias-global ! \&\-fno-globals \-fflatten-arrays ! \&\-fbounds-check \-ffortran-bounds-check\fR .PP ! Compilation can involve as many as four stages: preprocessing, code ! generation (often what is really meant by the term ``compilation''), ! assembly, and linking, always in that order. The first three ! stages apply to an individual source file, and end by producing an ! object file; linking combines all the object files (those newly ! compiled, and those specified as input) into an executable file. .PP ! For any given input file, the file name suffix determines what kind of ! program is contained in the file\-\-\-that is, the language in which the ! program is written is generally indicated by the suffix. ! Suffixes specific to \s-1GNU\s0 Fortran are listed below. ! .Ip "\fIfile\fR\fB.f\fR" 4 ! .IX Item "file.f" ! .PD 0 ! .Ip "\fIfile\fR\fB.for\fR" 4 ! .IX Item "file.for" ! .Ip "\fIfile\fR\fB.FOR\fR" 4 ! .IX Item "file.FOR" ! .PD ! Fortran source code that should not be preprocessed. ! .Sp ! Such source code cannot contain any preprocessor directives, such ! as \f(CW\*(C`#include\*(C'\fR, \f(CW\*(C`#define\*(C'\fR, \f(CW\*(C`#if\*(C'\fR, and so on. ! .Sp ! You can force \fB.f\fR files to be preprocessed by \fBcpp\fR by using ! \&\fB\-x f77\-cpp-input\fR. ! .Ip "\fIfile\fR\fB.F\fR" 4 ! .IX Item "file.F" ! .PD 0 ! .Ip "\fIfile\fR\fB.fpp\fR" 4 ! .IX Item "file.fpp" ! .Ip "\fIfile\fR\fB.FPP\fR" 4 ! .IX Item "file.FPP" ! .PD ! Fortran source code that must be preprocessed (by the C preprocessor ! \&\fBcpp\fR, which is part of \s-1GNU\s0 \s-1CC\s0). ! .Sp ! Note that preprocessing is not extended to the contents of ! files included by the \f(CW\*(C`INCLUDE\*(C'\fR directive\-\-\-the \f(CW\*(C`#include\*(C'\fR ! preprocessor directive must be used instead. ! .Ip "\fIfile\fR\fB.r\fR" 4 ! .IX Item "file.r" ! Ratfor source code, which must be preprocessed by the \fBratfor\fR ! command, which is available separately (as it is not yet part of the \s-1GNU\s0 ! Fortran distribution). ! One version in Fortran, adapted for use with \fBg77\fR is at ! <\fBftp://members.aol.com/n8tm/rat7.uue\fR> (of uncertain copyright ! status). Another, public domain version in C is at ! <\fBhttp://sepwww.stanford.edu/sep/prof/ratfor.shar.2\fR>. ! .PP ! \&\s-1UNIX\s0 users typically use the \fI\fIfile\fI.f\fR and \fI\fIfile\fI.F\fR ! nomenclature. ! Users of other operating systems, especially those that cannot ! distinguish upper-case ! letters from lower-case letters in their file names, typically use ! the \fI\fIfile\fI.for\fR and \fI\fIfile\fI.fpp\fR nomenclature. ! .PP ! Use of the preprocessor \fBcpp\fR allows use of C-like ! constructs such as \f(CW\*(C`#define\*(C'\fR and \f(CW\*(C`#include\*(C'\fR, but can ! lead to unexpected, even mistaken, results due to Fortran's source file ! format. ! It is recommended that use of the C preprocessor ! be limited to \f(CW\*(C`#include\*(C'\fR and, in ! conjunction with \f(CW\*(C`#define\*(C'\fR, only \f(CW\*(C`#if\*(C'\fR and related directives, ! thus avoiding in-line macro expansion entirely. ! This recommendation applies especially ! when using the traditional fixed source form. ! With free source form, ! fewer unexpected transformations are likely to happen, but use of ! constructs such as Hollerith and character constants can nevertheless ! present problems, especially when these are continued across multiple ! source lines. ! These problems result, primarily, from differences between the way ! such constants are interpreted by the C preprocessor and by a Fortran ! compiler. ! .PP ! Another example of a problem that results from using the C preprocessor ! is that a Fortran comment line that happens to contain any ! characters ``interesting'' to the C preprocessor, ! such as a backslash at the end of the line, ! is not recognized by the preprocessor as a comment line, ! so instead of being passed through ``raw'', ! the line is edited according to the rules for the preprocessor. ! For example, the backslash at the end of the line is removed, ! along with the subsequent newline, resulting in the next ! line being effectively commented out\-\-\-unfortunate if that ! line is a non-comment line of important code! ! .PP ! \&\fINote:\fR The \fB\-traditional\fR and \fB\-undef\fR flags are supplied ! to \fBcpp\fR by default, to help avoid unpleasant surprises. ! .PP ! This means that \s-1ANSI\s0 C preprocessor features (such as the \fB#\fR ! operator) aren't available, and only variables in the C reserved ! namespace (generally, names with a leading underscore) are liable to ! substitution by C predefines. ! Thus, if you want to do system-specific ! tests, use, for example, \fB#ifdef _\|_linux_\|_\fR rather than \fB#ifdef linux\fR. ! Use the \fB\-v\fR option to see exactly how the preprocessor is invoked. ! .PP ! Unfortunately, the \fB\-traditional\fR flag will not avoid an error from ! anything that \fBcpp\fR sees as an unterminated C comment, such as: ! .PP ! .Vb 2 ! \& C Some Fortran compilers accept /* as starting ! \& C an inline comment. ! .Ve ! The following options that affect overall processing are recognized ! by the \fBg77\fR and \fBgcc\fR commands in a \s-1GNU\s0 Fortran installation: ! .Ip "\fB\-fversion\fR" 4 ! .IX Item "-fversion" ! Ensure that the \fBg77\fR version of the compiler phase is reported, ! if run, ! and, starting in \f(CW\*(C`egcs\*(C'\fR version 1.1, ! that internal consistency checks in the \fIf771\fR program are run. ! .Sp ! This option is supplied automatically when \fB\-v\fR or \fB\*(--verbose\fR ! is specified as a command-line option for \fBg77\fR or \fBgcc\fR ! and when the resulting commands compile Fortran source files. ! .Sp ! In \s-1GCC\s0 3.1, this is changed back to the behaviour \fBgcc\fR displays ! for \fB.c\fR files. ! .Ip "\fB\-fset-g77\-defaults\fR" 4 ! .IX Item "-fset-g77-defaults" ! \&\fIVersion info:\fR ! This option was obsolete as of \f(CW\*(C`egcs\*(C'\fR ! version 1.1. ! The effect is instead achieved ! by the \f(CW\*(C`lang_init_options\*(C'\fR routine ! in \fIgcc/gcc/f/com.c\fR. ! .Sp ! Set up whatever \fBgcc\fR options are to apply to Fortran ! compilations, and avoid running internal consistency checks ! that might take some time. ! .Sp ! This option is supplied automatically when compiling Fortran code ! via the \fBg77\fR or \fBgcc\fR command. ! The description of this option is provided so that users seeing ! it in the output of, say, \fBg77 \-v\fR understand why it is ! there. ! .Sp ! Also, developers who run \f(CW\*(C`f771\*(C'\fR directly might want to specify it ! by hand to get the same defaults as they would running \f(CW\*(C`f771\*(C'\fR ! via \fBg77\fR or \fBgcc\fR ! However, such developers should, after linking a new \f(CW\*(C`f771\*(C'\fR ! executable, invoke it without this option once, ! e.g. via \f(CW\*(C`./f771 \-quiet < /dev/null\*(C'\fR, ! to ensure that they have not introduced any ! internal inconsistencies (such as in the table of ! intrinsics) before proceeding\-\--\fBg77\fR will crash ! with a diagnostic if it detects an inconsistency. ! .Ip "\fB\-fno-silent\fR" 4 ! .IX Item "-fno-silent" ! Print (to \f(CW\*(C`stderr\*(C'\fR) the names of the program units as ! they are compiled, in a form similar to that used by popular ! \&\s-1UNIX\s0 \fBf77\fR implementations and \fBf2c\fR ! .Sh "Shorthand Options" ! .IX Subsection "Shorthand Options" ! The following options serve as ``shorthand'' ! for other options accepted by the compiler: ! .Ip "\fB\-fugly\fR" 4 ! .IX Item "-fugly" ! \&\fINote:\fR This option is no longer supported. ! The information, below, is provided to aid ! in the conversion of old scripts. ! .Sp ! Specify that certain ``ugly'' constructs are to be quietly accepted. ! Same as: ! .Sp ! .Vb 3 ! \& -fugly-args -fugly-assign -fugly-assumed ! \& -fugly-comma -fugly-complex -fugly-init ! \& -fugly-logint ! .Ve ! These constructs are considered inappropriate to use in new ! or well-maintained portable Fortran code, but widely used ! in old code. ! .Ip "\fB\-fno-ugly\fR" 4 ! .IX Item "-fno-ugly" ! Specify that all ``ugly'' constructs are to be noisily rejected. ! Same as: ! .Sp ! .Vb 3 ! \& -fno-ugly-args -fno-ugly-assign -fno-ugly-assumed ! \& -fno-ugly-comma -fno-ugly-complex -fno-ugly-init ! \& -fno-ugly-logint ! .Ve ! .Ip "\fB\-ff66\fR" 4 ! .IX Item "-ff66" ! Specify that the program is written in idiomatic \s-1FORTRAN\s0 66. ! Same as \fB\-fonetrip \-fugly-assumed\fR. ! .Sp ! The \fB\-fno-f66\fR option is the inverse of \fB\-ff66\fR. ! As such, it is the same as \fB\-fno-onetrip \-fno-ugly-assumed\fR. ! .Sp ! The meaning of this option is likely to be refined as future ! versions of \fBg77\fR provide more compatibility with other ! existing and obsolete Fortran implementations. ! .Ip "\fB\-ff77\fR" 4 ! .IX Item "-ff77" ! Specify that the program is written in idiomatic \s-1UNIX\s0 \s-1FORTRAN\s0 77 ! and/or the dialect accepted by the \fBf2c\fR product. ! Same as \fB\-fbackslash \-fno-typeless-boz\fR. ! .Sp ! The meaning of this option is likely to be refined as future ! versions of \fBg77\fR provide more compatibility with other ! existing and obsolete Fortran implementations. ! .Ip "\fB\-fno-f77\fR" 4 ! .IX Item "-fno-f77" ! The \fB\-fno-f77\fR option is \fInot\fR the inverse ! of \fB\-ff77\fR. ! It specifies that the program is not written in idiomatic \s-1UNIX\s0 ! \&\s-1FORTRAN\s0 77 or \fBf2c\fR but in a more widely portable dialect. ! \&\fB\-fno-f77\fR is the same as \fB\-fno-backslash\fR. ! .Sp ! The meaning of this option is likely to be refined as future ! versions of \fBg77\fR provide more compatibility with other ! existing and obsolete Fortran implementations. ! .Sh "Options Controlling Fortran Dialect" ! .IX Subsection "Options Controlling Fortran Dialect" ! The following options control the dialect of Fortran ! that the compiler accepts: ! .Ip "\fB\-ffree-form\fR" 4 ! .IX Item "-ffree-form" ! .PD 0 ! .Ip "\fB\-fno-fixed-form\fR" 4 ! .IX Item "-fno-fixed-form" ! .PD ! Specify that the source file is written in free form ! (introduced in Fortran 90) instead of the more-traditional fixed form. ! .Ip "\fB\-ff90\fR" 4 ! .IX Item "-ff90" ! Allow certain Fortran-90 constructs. ! .Sp ! This option controls whether certain ! Fortran 90 constructs are recognized. ! (Other Fortran 90 constructs ! might or might not be recognized depending on other options such as ! \&\fB\-fvxt\fR, \fB\-ff90\-intrinsics-enable\fR, and the ! current level of support for Fortran 90.) ! .Ip "\fB\-fvxt\fR" 4 ! .IX Item "-fvxt" ! Specify the treatment of certain constructs that have different ! meanings depending on whether the code is written in ! \&\s-1GNU\s0 Fortran (based on \s-1FORTRAN\s0 77 and akin to Fortran 90) ! or \s-1VXT\s0 Fortran (more like \s-1VAX\s0 \s-1FORTRAN\s0). ! .Sp ! The default is \fB\-fno-vxt\fR. ! \&\fB\-fvxt\fR specifies that the \s-1VXT\s0 Fortran interpretations ! for those constructs are to be chosen. ! .Ip "\fB\-fdollar-ok\fR" 4 ! .IX Item "-fdollar-ok" ! Allow \fB$\fR as a valid character in a symbol name. ! .Ip "\fB\-fno-backslash\fR" 4 ! .IX Item "-fno-backslash" ! Specify that \fB\e\fR is not to be specially interpreted in character ! and Hollerith constants a la C and many \s-1UNIX\s0 Fortran compilers. ! .Sp ! For example, with \fB\-fbackslash\fR in effect, \fBA\enB\fR specifies ! three characters, with the second one being newline. ! With \fB\-fno-backslash\fR, it specifies four characters, ! \&\fBA\fR, \fB\e\fR, \fBn\fR, and \fBB\fR. ! .Sp ! Note that \fBg77\fR implements a fairly general form of backslash ! processing that is incompatible with the narrower forms supported ! by some other compilers. ! For example, \fB'A\e003B'\fR is a three-character string in \fBg77\fR ! whereas other compilers that support backslash might not support ! the three-octal-digit form, and thus treat that string as longer ! than three characters. ! .Ip "\fB\-fno-ugly-args\fR" 4 ! .IX Item "-fno-ugly-args" ! Disallow passing Hollerith and typeless constants as actual ! arguments (for example, \fB\s-1CALL\s0 FOO(4HABCD)\fR). ! .Ip "\fB\-fugly-assign\fR" 4 ! .IX Item "-fugly-assign" ! Use the same storage for a given variable regardless of ! whether it is used to hold an assigned-statement label ! (as in \fB\s-1ASSIGN\s0 10 \s-1TO\s0 I\fR) or used to hold numeric data ! (as in \fBI = 3\fR). ! .Ip "\fB\-fugly-assumed\fR" 4 ! .IX Item "-fugly-assumed" ! Assume any dummy array with a final dimension specified as \fB1\fR ! is really an assumed-size array, as if \fB*\fR had been specified ! for the final dimension instead of \fB1\fR. ! .Sp ! For example, \fB\s-1DIMENSION\s0 X(1)\fR is treated as if it ! had read \fB\s-1DIMENSION\s0 X(*)\fR. ! .Ip "\fB\-fugly-comma\fR" 4 ! .IX Item "-fugly-comma" ! In an external-procedure invocation, ! treat a trailing comma in the argument list ! as specification of a trailing null argument, ! and treat an empty argument list ! as specification of a single null argument. ! .Sp ! For example, \fB\s-1CALL\s0 \f(BIFOO\fB\|(,)\fR is treated as ! \&\fB\s-1CALL\s0 FOO(%\f(BIVAL\fB\|(0), %\f(BIVAL\fB\|(0))\fR. ! That is, \fItwo\fR null arguments are specified ! by the procedure call when \fB\-fugly-comma\fR is in force. ! And \fBF = \f(BIFUNC()\fB\fR is treated as \fBF = FUNC(%\f(BIVAL\fB\|(0))\fR. ! .Sp ! The default behavior, \fB\-fno-ugly-comma\fR, is to ignore ! a single trailing comma in an argument list. ! So, by default, \fB\s-1CALL\s0 FOO(X,)\fR is treated ! exactly the same as \fB\s-1CALL\s0 \f(BIFOO\fB\|(X)\fR. ! .Ip "\fB\-fugly-complex\fR" 4 ! .IX Item "-fugly-complex" ! Do not complain about \fBREAL(\fR\fIexpr\fR\fB)\fR or ! \&\fBAIMAG(\fR\fIexpr\fR\fB)\fR when \fIexpr\fR is a \f(CW\*(C`COMPLEX\*(C'\fR ! type other than \f(CW\*(C`COMPLEX(KIND=1)\*(C'\fR\-\-\-usually ! this is used to permit \f(CW\*(C`COMPLEX(KIND=2)\*(C'\fR ! (\f(CW\*(C`DOUBLE COMPLEX\*(C'\fR) operands. ! .Sp ! The \fB\-ff90\fR option controls the interpretation ! of this construct. ! .Ip "\fB\-fno-ugly-init\fR" 4 ! .IX Item "-fno-ugly-init" ! Disallow use of Hollerith and typeless constants as initial ! values (in \f(CW\*(C`PARAMETER\*(C'\fR and \f(CW\*(C`DATA\*(C'\fR statements), and ! use of character constants to ! initialize numeric types and vice versa. ! .Sp ! For example, \fB\s-1DATA\s0 I/'F'/, \s-1CHRVAR/65/\s0, J/4HABCD/\fR is disallowed by ! \&\fB\-fno-ugly-init\fR. ! .Ip "\fB\-fugly-logint\fR" 4 ! .IX Item "-fugly-logint" ! Treat \f(CW\*(C`INTEGER\*(C'\fR and \f(CW\*(C`LOGICAL\*(C'\fR variables and ! expressions as potential stand-ins for each other. ! .Sp ! For example, automatic conversion between \f(CW\*(C`INTEGER\*(C'\fR and ! \&\f(CW\*(C`LOGICAL\*(C'\fR is enabled, for many contexts, via this option. ! .Ip "\fB\-fonetrip\fR" 4 ! .IX Item "-fonetrip" ! Executable iterative \f(CW\*(C`DO\*(C'\fR loops are to be executed at ! least once each time they are reached. ! .Sp ! \&\s-1ANSI\s0 \s-1FORTRAN\s0 77 and more recent versions of the Fortran standard ! specify that the body of an iterative \f(CW\*(C`DO\*(C'\fR loop is not executed ! if the number of iterations calculated from the parameters of the ! loop is less than 1. ! (For example, \fB\s-1DO\s0 10 I = 1, 0\fR.) ! Such a loop is called a \fIzero-trip loop\fR. ! .Sp ! Prior to \s-1ANSI\s0 \s-1FORTRAN\s0 77, many compilers implemented \f(CW\*(C`DO\*(C'\fR loops ! such that the body of a loop would be executed at least once, even ! if the iteration count was zero. ! Fortran code written assuming this behavior is said to require ! \&\fIone-trip loops\fR. ! For example, some code written to the \s-1FORTRAN\s0 66 standard ! expects this behavior from its \f(CW\*(C`DO\*(C'\fR loops, although that ! standard did not specify this behavior. ! .Sp ! The \fB\-fonetrip\fR option specifies that the source \fIfile\fR\|(s) being ! compiled require one-trip loops. ! .Sp ! This option affects only those loops specified by the (iterative) \f(CW\*(C`DO\*(C'\fR ! statement and by implied-\f(CW\*(C`DO\*(C'\fR lists in I/O statements. ! Loops specified by implied-\f(CW\*(C`DO\*(C'\fR lists in \f(CW\*(C`DATA\*(C'\fR and ! specification (non-executable) statements are not affected. ! .Ip "\fB\-ftypeless-boz\fR" 4 ! .IX Item "-ftypeless-boz" ! Specifies that prefix-radix non-decimal constants, such as ! \&\fBZ'\s-1ABCD\s0'\fR, are typeless instead of \f(CW\*(C`INTEGER(KIND=1)\*(C'\fR. ! .Sp ! You can test for yourself whether a particular compiler treats ! the prefix form as \f(CW\*(C`INTEGER(KIND=1)\*(C'\fR or typeless by running the ! following program: ! .Sp ! .Vb 6 ! \& EQUIVALENCE (I, R) ! \& R = Z'ABCD1234' ! \& J = Z'ABCD1234' ! \& IF (J .EQ. I) PRINT *, 'Prefix form is TYPELESS' ! \& IF (J .NE. I) PRINT *, 'Prefix form is INTEGER' ! \& END ! .Ve ! Reports indicate that many compilers process this form as ! \&\f(CW\*(C`INTEGER(KIND=1)\*(C'\fR, though a few as typeless, and at least one ! based on a command-line option specifying some kind of ! compatibility. ! .Ip "\fB\-fintrin-case-initcap\fR" 4 ! .IX Item "-fintrin-case-initcap" ! .PD 0 ! .Ip "\fB\-fintrin-case-upper\fR" 4 ! .IX Item "-fintrin-case-upper" ! .Ip "\fB\-fintrin-case-lower\fR" 4 ! .IX Item "-fintrin-case-lower" ! .Ip "\fB\-fintrin-case-any\fR" 4 ! .IX Item "-fintrin-case-any" ! .PD ! Specify expected case for intrinsic names. ! \&\fB\-fintrin-case-lower\fR is the default. ! .Ip "\fB\-fmatch-case-initcap\fR" 4 ! .IX Item "-fmatch-case-initcap" ! .PD 0 ! .Ip "\fB\-fmatch-case-upper\fR" 4 ! .IX Item "-fmatch-case-upper" ! .Ip "\fB\-fmatch-case-lower\fR" 4 ! .IX Item "-fmatch-case-lower" ! .Ip "\fB\-fmatch-case-any\fR" 4 ! .IX Item "-fmatch-case-any" ! .PD ! Specify expected case for keywords. ! \&\fB\-fmatch-case-lower\fR is the default. ! .Ip "\fB\-fsource-case-upper\fR" 4 ! .IX Item "-fsource-case-upper" ! .PD 0 ! .Ip "\fB\-fsource-case-lower\fR" 4 ! .IX Item "-fsource-case-lower" ! .Ip "\fB\-fsource-case-preserve\fR" 4 ! .IX Item "-fsource-case-preserve" ! .PD ! Specify whether source text other than character and Hollerith constants ! is to be translated to uppercase, to lowercase, or preserved as is. ! \&\fB\-fsource-case-lower\fR is the default. ! .Ip "\fB\-fsymbol-case-initcap\fR" 4 ! .IX Item "-fsymbol-case-initcap" ! .PD 0 ! .Ip "\fB\-fsymbol-case-upper\fR" 4 ! .IX Item "-fsymbol-case-upper" ! .Ip "\fB\-fsymbol-case-lower\fR" 4 ! .IX Item "-fsymbol-case-lower" ! .Ip "\fB\-fsymbol-case-any\fR" 4 ! .IX Item "-fsymbol-case-any" ! .PD ! Specify valid cases for user-defined symbol names. ! \&\fB\-fsymbol-case-any\fR is the default. ! .Ip "\fB\-fcase-strict-upper\fR" 4 ! .IX Item "-fcase-strict-upper" ! Same as \fB\-fintrin-case-upper \-fmatch-case-upper \-fsource-case-preserve ! \&\-fsymbol-case-upper\fR. ! (Requires all pertinent source to be in uppercase.) ! .Ip "\fB\-fcase-strict-lower\fR" 4 ! .IX Item "-fcase-strict-lower" ! Same as \fB\-fintrin-case-lower \-fmatch-case-lower \-fsource-case-preserve ! \&\-fsymbol-case-lower\fR. ! (Requires all pertinent source to be in lowercase.) ! .Ip "\fB\-fcase-initcap\fR" 4 ! .IX Item "-fcase-initcap" ! Same as \fB\-fintrin-case-initcap \-fmatch-case-initcap \-fsource-case-preserve ! \&\-fsymbol-case-initcap\fR. ! (Requires all pertinent source to be in initial capitals, ! as in \fBPrint *,SqRt(Value)\fR.) ! .Ip "\fB\-fcase-upper\fR" 4 ! .IX Item "-fcase-upper" ! Same as \fB\-fintrin-case-any \-fmatch-case-any \-fsource-case-upper ! \&\-fsymbol-case-any\fR. ! (Maps all pertinent source to uppercase.) ! .Ip "\fB\-fcase-lower\fR" 4 ! .IX Item "-fcase-lower" ! Same as \fB\-fintrin-case-any \-fmatch-case-any \-fsource-case-lower ! \&\-fsymbol-case-any\fR. ! (Maps all pertinent source to lowercase.) ! .Ip "\fB\-fcase-preserve\fR" 4 ! .IX Item "-fcase-preserve" ! Same as \fB\-fintrin-case-any \-fmatch-case-any \-fsource-case-preserve ! \&\-fsymbol-case-any\fR. ! (Preserves all case in user-defined symbols, ! while allowing any-case matching of intrinsics and keywords. ! For example, \fBcall Foo(i,I)\fR would pass two \fIdifferent\fR ! variables named \fBi\fR and \fBI\fR to a procedure named \fBFoo\fR.) ! .Ip "\fB\-fbadu77\-intrinsics-delete\fR" 4 ! .IX Item "-fbadu77-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-fbadu77\-intrinsics-hide\fR" 4 ! .IX Item "-fbadu77-intrinsics-hide" ! .Ip "\fB\-fbadu77\-intrinsics-disable\fR" 4 ! .IX Item "-fbadu77-intrinsics-disable" ! .Ip "\fB\-fbadu77\-intrinsics-enable\fR" 4 ! .IX Item "-fbadu77-intrinsics-enable" ! .PD ! Specify status of \s-1UNIX\s0 intrinsics having inappropriate forms. ! \&\fB\-fbadu77\-intrinsics-enable\fR is the default. ! .Ip "\fB\-ff2c-intrinsics-delete\fR" 4 ! .IX Item "-ff2c-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-ff2c-intrinsics-hide\fR" 4 ! .IX Item "-ff2c-intrinsics-hide" ! .Ip "\fB\-ff2c-intrinsics-disable\fR" 4 ! .IX Item "-ff2c-intrinsics-disable" ! .Ip "\fB\-ff2c-intrinsics-enable\fR" 4 ! .IX Item "-ff2c-intrinsics-enable" ! .PD ! Specify status of f2c-specific intrinsics. ! \&\fB\-ff2c-intrinsics-enable\fR is the default. ! .Ip "\fB\-ff90\-intrinsics-delete\fR" 4 ! .IX Item "-ff90-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-ff90\-intrinsics-hide\fR" 4 ! .IX Item "-ff90-intrinsics-hide" ! .Ip "\fB\-ff90\-intrinsics-disable\fR" 4 ! .IX Item "-ff90-intrinsics-disable" ! .Ip "\fB\-ff90\-intrinsics-enable\fR" 4 ! .IX Item "-ff90-intrinsics-enable" ! .PD ! Specify status of F90\-specific intrinsics. ! \&\fB\-ff90\-intrinsics-enable\fR is the default. ! .Ip "\fB\-fgnu-intrinsics-delete\fR" 4 ! .IX Item "-fgnu-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-fgnu-intrinsics-hide\fR" 4 ! .IX Item "-fgnu-intrinsics-hide" ! .Ip "\fB\-fgnu-intrinsics-disable\fR" 4 ! .IX Item "-fgnu-intrinsics-disable" ! .Ip "\fB\-fgnu-intrinsics-enable\fR" 4 ! .IX Item "-fgnu-intrinsics-enable" ! .PD ! Specify status of Digital's COMPLEX-related intrinsics. ! \&\fB\-fgnu-intrinsics-enable\fR is the default. ! .Ip "\fB\-fmil-intrinsics-delete\fR" 4 ! .IX Item "-fmil-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-fmil-intrinsics-hide\fR" 4 ! .IX Item "-fmil-intrinsics-hide" ! .Ip "\fB\-fmil-intrinsics-disable\fR" 4 ! .IX Item "-fmil-intrinsics-disable" ! .Ip "\fB\-fmil-intrinsics-enable\fR" 4 ! .IX Item "-fmil-intrinsics-enable" ! .PD ! Specify status of MIL-STD-1753\-specific intrinsics. ! \&\fB\-fmil-intrinsics-enable\fR is the default. ! .Ip "\fB\-funix-intrinsics-delete\fR" 4 ! .IX Item "-funix-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-funix-intrinsics-hide\fR" 4 ! .IX Item "-funix-intrinsics-hide" ! .Ip "\fB\-funix-intrinsics-disable\fR" 4 ! .IX Item "-funix-intrinsics-disable" ! .Ip "\fB\-funix-intrinsics-enable\fR" 4 ! .IX Item "-funix-intrinsics-enable" ! .PD ! Specify status of \s-1UNIX\s0 intrinsics. ! \&\fB\-funix-intrinsics-enable\fR is the default. ! .Ip "\fB\-fvxt-intrinsics-delete\fR" 4 ! .IX Item "-fvxt-intrinsics-delete" ! .PD 0 ! .Ip "\fB\-fvxt-intrinsics-hide\fR" 4 ! .IX Item "-fvxt-intrinsics-hide" ! .Ip "\fB\-fvxt-intrinsics-disable\fR" 4 ! .IX Item "-fvxt-intrinsics-disable" ! .Ip "\fB\-fvxt-intrinsics-enable\fR" 4 ! .IX Item "-fvxt-intrinsics-enable" ! .PD ! Specify status of \s-1VXT\s0 intrinsics. ! \&\fB\-fvxt-intrinsics-enable\fR is the default. ! .Ip "\fB\-ffixed-line-length-\fR\fIn\fR" 4 ! .IX Item "-ffixed-line-length-n" ! Set column after which characters are ignored in typical fixed-form ! lines in the source file, and through which spaces are assumed (as ! if padded to that length) after the ends of short fixed-form lines. ! .Sp ! Popular values for \fIn\fR include 72 (the ! standard and the default), 80 (card image), and 132 (corresponds ! to ``extended-source'' options in some popular compilers). ! \&\fIn\fR may be \fBnone\fR, meaning that the entire line is meaningful ! and that continued character constants never have implicit spaces appended ! to them to fill out the line. ! \&\fB\-ffixed-line-length-0\fR means the same thing as ! \&\fB\-ffixed-line-length-none\fR. ! .Sh "Options to Request or Suppress Warnings" ! .IX Subsection "Options to Request or Suppress Warnings" ! Warnings are diagnostic messages that report constructions which ! are not inherently erroneous but which are risky or suggest there ! might have been an error. ! .PP ! You can request many specific warnings with options beginning \fB\-W\fR, ! for example \fB\-Wimplicit\fR to request warnings on implicit ! declarations. Each of these specific warning options also has a ! negative form beginning \fB\-Wno-\fR to turn off warnings; ! for example, \fB\-Wno-implicit\fR. This manual lists only one of the ! two forms, whichever is not the default. ! .PP ! These options control the amount and kinds of warnings produced by \s-1GNU\s0 ! Fortran: ! .Ip "\fB\-fsyntax-only\fR" 4 ! .IX Item "-fsyntax-only" ! Check the code for syntax errors, but don't do anything beyond that. ! .Ip "\fB\-pedantic\fR" 4 ! .IX Item "-pedantic" ! Issue warnings for uses of extensions to \s-1ANSI\s0 \s-1FORTRAN\s0 77. ! \&\fB\-pedantic\fR also applies to C-language constructs where they ! occur in \s-1GNU\s0 Fortran source files, such as use of \fB\ee\fR in a ! character constant within a directive like \fB#include\fR. ! .Sp ! Valid \s-1ANSI\s0 \s-1FORTRAN\s0 77 programs should compile properly with or without ! this option. ! However, without this option, certain \s-1GNU\s0 extensions and traditional ! Fortran features are supported as well. ! With this option, many of them are rejected. ! .Sp ! Some users try to use \fB\-pedantic\fR to check programs for strict \s-1ANSI\s0 ! conformance. ! They soon find that it does not do quite what they want\-\-\-it finds some ! non-ANSI practices, but not all. ! However, improvements to \fBg77\fR in this area are welcome. ! .Ip "\fB\-pedantic-errors\fR" 4 ! .IX Item "-pedantic-errors" ! Like \fB\-pedantic\fR, except that errors are produced rather than ! warnings. ! .Ip "\fB\-fpedantic\fR" 4 ! .IX Item "-fpedantic" ! Like \fB\-pedantic\fR, but applies only to Fortran constructs. ! .Ip "\fB\-w\fR" 4 ! .IX Item "-w" ! Inhibit all warning messages. ! .Ip "\fB\-Wno-globals\fR" 4 ! .IX Item "-Wno-globals" ! Inhibit warnings about use of a name as both a global name ! (a subroutine, function, or block data program unit, or a ! common block) and implicitly as the name of an intrinsic ! in a source file. ! .Sp ! Also inhibit warnings about inconsistent invocations and/or ! definitions of global procedures (function and subroutines). ! Such inconsistencies include different numbers of arguments ! and different types of arguments. ! .Ip "\fB\-Wimplicit\fR" 4 ! .IX Item "-Wimplicit" ! Warn whenever a variable, array, or function is implicitly ! declared. ! Has an effect similar to using the \f(CW\*(C`IMPLICIT NONE\*(C'\fR statement ! in every program unit. ! (Some Fortran compilers provide this feature by an option ! named \fB\-u\fR or \fB/WARNINGS=DECLARATIONS\fR.) ! .Ip "\fB\-Wunused\fR" 4 ! .IX Item "-Wunused" ! Warn whenever a variable is unused aside from its declaration. ! .Ip "\fB\-Wuninitialized\fR" 4 ! .IX Item "-Wuninitialized" ! Warn whenever an automatic variable is used without first being initialized. ! .Sp ! These warnings are possible only in optimizing compilation, ! because they require data-flow information that is computed only ! when optimizing. If you don't specify \fB\-O\fR, you simply won't ! get these warnings. ! .Sp ! These warnings occur only for variables that are candidates for ! register allocation. Therefore, they do not occur for a variable ! whose address is taken, or whose size ! is other than 1, 2, 4 or 8 bytes. Also, they do not occur for ! arrays, even when they are in registers. ! .Sp ! Note that there might be no warning about a variable that is used only ! to compute a value that itself is never used, because such ! computations may be deleted by data-flow analysis before the warnings ! are printed. ! .Sp ! These warnings are made optional because \s-1GNU\s0 Fortran is not smart ! enough to see all the reasons why the code might be correct ! despite appearing to have an error. Here is one example of how ! this can happen: ! .Sp ! .Vb 6 ! \& SUBROUTINE DISPAT(J) ! \& IF (J.EQ.1) I=1 ! \& IF (J.EQ.2) I=4 ! \& IF (J.EQ.3) I=5 ! \& CALL FOO(I) ! \& END ! .Ve ! If the value of \f(CW\*(C`J\*(C'\fR is always 1, 2 or 3, then \f(CW\*(C`I\*(C'\fR is ! always initialized, but \s-1GNU\s0 Fortran doesn't know this. Here is ! another common case: ! .Sp ! .Vb 6 ! \& SUBROUTINE MAYBE(FLAG) ! \& LOGICAL FLAG ! \& IF (FLAG) VALUE = 9.4 ! \& ... ! \& IF (FLAG) PRINT *, VALUE ! \& END ! .Ve ! This has no bug because \f(CW\*(C`VALUE\*(C'\fR is used only if it is set. ! .Ip "\fB\-Wall\fR" 4 ! .IX Item "-Wall" ! The \fB\-Wunused\fR and \fB\-Wuninitialized\fR options combined. ! These are all the ! options which pertain to usage that we recommend avoiding and that we ! believe is easy to avoid. ! (As more warnings are added to \fBg77\fR some might ! be added to the list enabled by \fB\-Wall\fR.) ! .PP ! The remaining \fB\-W...\fR options are not implied by \fB\-Wall\fR ! because they warn about constructions that we consider reasonable to ! use, on occasion, in clean programs. ! .Ip "\fB\-Wsurprising\fR" 4 ! .IX Item "-Wsurprising" ! Warn about ``suspicious'' constructs that are interpreted ! by the compiler in a way that might well be surprising to ! someone reading the code. ! These differences can result in subtle, compiler-dependent ! (even machine-dependent) behavioral differences. ! The constructs warned about include: ! .RS 4 ! .Ip "\(bu" 4 ! Expressions having two arithmetic operators in a row, such ! as \fBX*\-Y\fR. ! Such a construct is nonstandard, and can produce ! unexpected results in more complicated situations such ! as \fBX**\-Y*Z\fR. ! \&\fBg77\fR along with many other compilers, interprets ! this example differently than many programmers, and a few ! other compilers. ! Specifically, \fBg77\fR interprets \fBX**\-Y*Z\fR as ! \&\fB(X**(\-Y))*Z\fR, while others might think it should ! be interpreted as \fBX**(\-(Y*Z))\fR. ! .Sp ! A revealing example is the constant expression \fB2**\-2*1.\fR, ! which \fBg77\fR evaluates to .25, while others might evaluate ! it to 0., the difference resulting from the way precedence affects ! type promotion. ! .Sp ! (The \fB\-fpedantic\fR option also warns about expressions ! having two arithmetic operators in a row.) ! .Ip "\(bu" 4 ! Expressions with a unary minus followed by an operand and then ! a binary operator other than plus or minus. ! For example, \fB\-2**2\fR produces a warning, because ! the precedence is \fB\-(2**2)\fR, yielding \-4, not ! \&\fB(\-2)**2\fR, which yields 4, and which might represent ! what a programmer expects. ! .Sp ! An example of an expression producing different results ! in a surprising way is \fB\-I*S\fR, where \fII\fR holds ! the value \fB\-2147483648\fR and \fIS\fR holds \fB0.5\fR. ! On many systems, negating \fII\fR results in the same ! value, not a positive number, because it is already the ! lower bound of what an \f(CW\*(C`INTEGER(KIND=1)\*(C'\fR variable can hold. ! So, the expression evaluates to a positive number, while ! the ``expected'' interpretation, \fB(\-I)*S\fR, would ! evaluate to a negative number. ! .Sp ! Even cases such as \fB\-I*J\fR produce warnings, ! even though, in most configurations and situations, ! there is no computational difference between the ! results of the two interpretations\-\-\-the purpose ! of this warning is to warn about differing interpretations ! and encourage a better style of coding, not to identify ! only those places where bugs might exist in the user's ! code. ! .Ip "\(bu" 4 ! \&\f(CW\*(C`DO\*(C'\fR loops with \f(CW\*(C`DO\*(C'\fR variables that are not ! of integral type\-\-\-that is, using \f(CW\*(C`REAL\*(C'\fR ! variables as loop control variables. ! Although such loops can be written to work in the ! ``obvious'' way, the way \fBg77\fR is required by the ! Fortran standard to interpret such code is likely to ! be quite different from the way many programmers expect. ! (This is true of all \f(CW\*(C`DO\*(C'\fR loops, but the differences ! are pronounced for non-integral loop control variables.) ! .RE ! .RS 4 ! .RE ! .Ip "\fB\-Werror\fR" 4 ! .IX Item "-Werror" ! Make all warnings into errors. ! .Ip "\fB\-W\fR" 4 ! .IX Item "-W" ! Turns on ``extra warnings'' and, if optimization is specified ! via \fB\-O\fR, the \fB\-Wuninitialized\fR option. ! (This might change in future versions of \fBg77\fR ! .Sp ! ``Extra warnings'' are issued for: ! .RS 4 ! .Ip "\(bu" 4 ! Unused parameters to a procedure (when \fB\-Wunused\fR also is ! specified). ! .Ip "\(bu" 4 ! Overflows involving floating-point constants (not available ! for certain configurations). ! .RE ! .RS 4 ! .RE ! .PP ! Some of these have no effect when compiling programs written in Fortran: ! .Ip "\fB\-Wcomment\fR" 4 ! .IX Item "-Wcomment" ! .PD 0 ! .Ip "\fB\-Wformat\fR" 4 ! .IX Item "-Wformat" ! .Ip "\fB\-Wparentheses\fR" 4 ! .IX Item "-Wparentheses" ! .Ip "\fB\-Wswitch\fR" 4 ! .IX Item "-Wswitch" ! .Ip "\fB\-Wtraditional\fR" 4 ! .IX Item "-Wtraditional" ! .Ip "\fB\-Wshadow\fR" 4 ! .IX Item "-Wshadow" ! .Ip "\fB\-Wid-clash-\fR\fIlen\fR" 4 ! .IX Item "-Wid-clash-len" ! .Ip "\fB\-Wlarger-than-\fR\fIlen\fR" 4 ! .IX Item "-Wlarger-than-len" ! .Ip "\fB\-Wconversion\fR" 4 ! .IX Item "-Wconversion" ! .Ip "\fB\-Waggregate-return\fR" 4 ! .IX Item "-Waggregate-return" ! .Ip "\fB\-Wredundant-decls\fR" 4 ! .IX Item "-Wredundant-decls" ! .PD ! These options all could have some relevant meaning for ! \&\s-1GNU\s0 Fortran programs, but are not yet supported. ! .Sh "Options for Debugging Your Program or \s-1GNU\s0 Fortran" ! .IX Subsection "Options for Debugging Your Program or GNU Fortran" ! \&\s-1GNU\s0 Fortran has various special options that are used for debugging ! either your program or \fBg77\fR ! .Ip "\fB\-g\fR" 4 ! .IX Item "-g" Produce debugging information in the operating system's native format ! (stabs, \s-1COFF\s0, \s-1XCOFF\s0, or \s-1DWARF\s0). \s-1GDB\s0 can work with this debugging ! information. ! .Sp ! A sample debugging session looks like this (note the use of the breakpoint): ! .Sp ! .Vb 24 ! \& $ cat gdb.f ! \& PROGRAM PROG ! \& DIMENSION A(10) ! \& DATA A /1.,2.,3.,4.,5.,6.,7.,8.,9.,10./ ! \& A(5) = 4. ! \& PRINT*,A ! \& END ! \& $ g77 -g -O gdb.f ! \& $ gdb a.out ! \& ... ! \& (gdb) break MAIN__ ! \& Breakpoint 1 at 0x8048e96: file gdb.f, line 4. ! \& (gdb) run ! \& Starting program: /home/toon/g77-bugs/./a.out ! \& Breakpoint 1, MAIN__ () at gdb.f:4 ! \& 4 A(5) = 4. ! \& Current language: auto; currently fortran ! \& (gdb) print a(5) ! \& $1 = 5 ! \& (gdb) step ! \& 5 PRINT*,A ! \& (gdb) print a(5) ! \& $2 = 4 ! \& ... ! .Ve ! One could also add the setting of the breakpoint and the first run command ! to the file \fI.gdbinit\fR in the current directory, to simplify the debugging ! session. ! .Sh "Options That Control Optimization" ! .IX Subsection "Options That Control Optimization" ! Most Fortran users will want to use no optimization when ! developing and testing programs, and use \fB\-O\fR or \fB\-O2\fR when ! compiling programs for late-cycle testing and for production use. ! However, note that certain diagnostics\-\-\-such as for uninitialized ! variables\-\-\-depend on the flow analysis done by \fB\-O\fR, i.e. you ! must use \fB\-O\fR or \fB\-O2\fR to get such diagnostics. .PP ! The following flags have particular applicability when ! compiling Fortran programs: ! .Ip "\fB\-malign-double\fR" 4 ! .IX Item "-malign-double" ! (Intel x86 architecture only.) ! .Sp ! Noticeably improves performance of \fBg77\fR programs making ! heavy use of \f(CW\*(C`REAL(KIND=2)\*(C'\fR (\f(CW\*(C`DOUBLE PRECISION\*(C'\fR) data ! on some systems. ! In particular, systems using Pentium, Pentium Pro, 586, and ! 686 implementations ! of the i386 architecture execute programs faster when ! \&\f(CW\*(C`REAL(KIND=2)\*(C'\fR (\f(CW\*(C`DOUBLE PRECISION\*(C'\fR) data are ! aligned on 64\-bit boundaries ! in memory. ! .Sp ! This option can, at least, make benchmark results more consistent ! across various system configurations, versions of the program, ! and data sets. ! .Sp ! \&\fINote:\fR The warning in the \fBgcc\fR documentation about ! this option does not apply, generally speaking, to Fortran ! code compiled by \fBg77\fR ! .Sp ! \&\fIAlso also note:\fR The negative form of \fB\-malign-double\fR ! is \fB\-mno-align-double\fR, not \fB\-benign-double\fR. ! .Ip "\fB\-ffloat-store\fR" 4 ! .IX Item "-ffloat-store" ! Might help a Fortran program that depends on exact \s-1IEEE\s0 conformance on ! some machines, but might slow down a program that doesn't. ! .Sp ! This option is effective when the floating-point unit is set to work in ! \&\s-1IEEE\s0 854 `extended precision'\-\-\-as it typically is on x86 and m68k \s-1GNU\s0 ! systems\-\-\-rather than \s-1IEEE\s0 754 double precision. \fB\-ffloat-store\fR ! tries to remove the extra precision by spilling data from floating-point ! registers into memory and this typically involves a big performance ! hit. However, it doesn't affect intermediate results, so that it is ! only partially effective. `Excess precision' is avoided in code like: ! .Sp ! .Vb 2 ! \& a = b + c ! \& d = a * e ! .Ve ! but not in code like: ! .Sp ! .Vb 1 ! \& d = (b + c) * e ! .Ve ! For another, potentially better, way of controlling the precision, ! see \f(CW@ref\fR{Floating-point precision}. ! .Ip "\fB\-fforce-mem\fR" 4 ! .IX Item "-fforce-mem" ! .PD 0 ! .Ip "\fB\-fforce-addr\fR" 4 ! .IX Item "-fforce-addr" ! .PD ! Might improve optimization of loops. ! .Ip "\fB\-fno-inline\fR" 4 ! .IX Item "-fno-inline" ! Don't compile statement functions inline. ! Might reduce the size of a program unit\-\-\-which might be at ! expense of some speed (though it should compile faster). ! Note that if you are not optimizing, no functions can be expanded inline. ! .Ip "\fB\-ffast-math\fR" 4 ! .IX Item "-ffast-math" ! Might allow some programs designed to not be too dependent ! on \s-1IEEE\s0 behavior for floating-point to run faster, or die trying. ! Sets \fB\-funsafe-math-optimizations\fR, and ! \&\fB\-fno-trapping-math\fR. ! .Ip "\fB\-funsafe-math-optimizations\fR" 4 ! .IX Item "-funsafe-math-optimizations" ! Allow optimizations that may be give incorrect results ! for certain \s-1IEEE\s0 inputs. ! .Ip "\fB\-fno-trapping-math\fR" 4 ! .IX Item "-fno-trapping-math" ! Allow the compiler to assume that floating-point arithmetic ! will not generate traps on any inputs. This is useful, for ! example, when running a program using \s-1IEEE\s0 \*(L"non-stop\*(R" ! floating-point arithmetic. ! .Ip "\fB\-fstrength-reduce\fR" 4 ! .IX Item "-fstrength-reduce" ! Might make some loops run faster. ! .Ip "\fB\-frerun-cse-after-loop\fR" 4 ! .IX Item "-frerun-cse-after-loop" ! .PD 0 ! .Ip "\fB\-fexpensive-optimizations\fR" 4 ! .IX Item "-fexpensive-optimizations" ! .Ip "\fB\-fdelayed-branch\fR" 4 ! .IX Item "-fdelayed-branch" ! .Ip "\fB\-fschedule-insns\fR" 4 ! .IX Item "-fschedule-insns" ! .Ip "\fB\-fschedule-insns2\fR" 4 ! .IX Item "-fschedule-insns2" ! .Ip "\fB\-fcaller-saves\fR" 4 ! .IX Item "-fcaller-saves" ! .PD ! Might improve performance on some code. ! .Ip "\fB\-funroll-loops\fR" 4 ! .IX Item "-funroll-loops" ! Typically improves performance on code using iterative \f(CW\*(C`DO\*(C'\fR loops by ! unrolling them and is probably generally appropriate for Fortran, though ! it is not turned on at any optimization level. ! Note that outer loop unrolling isn't done specifically; decisions about ! whether to unroll a loop are made on the basis of its instruction count. ! .Sp ! Also, no `loop discovery'[1] is done, so only loops written with \f(CW\*(C`DO\*(C'\fR ! benefit from loop optimizations, including\-\-\-but not limited ! to\-\-\-unrolling. Loops written with \f(CW\*(C`IF\*(C'\fR and \f(CW\*(C`GOTO\*(C'\fR are not ! currently recognized as such. This option unrolls only iterative ! \&\f(CW\*(C`DO\*(C'\fR loops, not \f(CW\*(C`DO WHILE\*(C'\fR loops. ! .Ip "\fB\-funroll-all-loops\fR" 4 ! .IX Item "-funroll-all-loops" ! Probably improves performance on code using \f(CW\*(C`DO WHILE\*(C'\fR loops by ! unrolling them in addition to iterative \f(CW\*(C`DO\*(C'\fR loops. In the absence ! of \f(CW\*(C`DO WHILE\*(C'\fR, this option is equivalent to \fB\-funroll-loops\fR ! but possibly slower. ! .Ip "\fB\-fno-move-all-movables\fR" 4 ! .IX Item "-fno-move-all-movables" ! .PD 0 ! .Ip "\fB\-fno-reduce-all-givs\fR" 4 ! .IX Item "-fno-reduce-all-givs" ! .Ip "\fB\-fno-rerun-loop-opt\fR" 4 ! .IX Item "-fno-rerun-loop-opt" ! .PD ! \&\fIVersion info:\fR ! These options are not supported by ! versions of \fBg77\fR based on \fBgcc\fR version 2.8. ! .Sp ! Each of these might improve performance on some code. ! .Sp ! Analysis of Fortran code optimization and the resulting ! optimizations triggered by the above options were ! contributed by Toon Moene (<\fBtoon@moene.indiv.nluug.nl\fR>). ! .Sp ! These three options are intended to be removed someday, once ! they have helped determine the efficacy of various ! approaches to improving the performance of Fortran code. ! .Sp ! Please let us know how use of these options affects ! the performance of your production code. ! We're particularly interested in code that runs faster ! when these options are \fIdisabled\fR, and in ! non-Fortran code that benefits when they are ! \&\fIenabled\fR via the above \fBgcc\fR command-line options. ! .Sh "Options Controlling the Preprocessor" ! .IX Subsection "Options Controlling the Preprocessor" ! These options control the C preprocessor, which is run on each C source ! file before actual compilation. ! .PP ! Some of these options also affect how \fBg77\fR processes the ! \&\f(CW\*(C`INCLUDE\*(C'\fR directive. ! Since this directive is processed even when preprocessing ! is not requested, it is not described in this section. ! .PP ! However, the \f(CW\*(C`INCLUDE\*(C'\fR directive does not apply ! preprocessing to the contents of the included file itself. ! .PP ! Therefore, any file that contains preprocessor directives ! (such as \f(CW\*(C`#include\*(C'\fR, \f(CW\*(C`#define\*(C'\fR, and \f(CW\*(C`#if\*(C'\fR) ! must be included via the \f(CW\*(C`#include\*(C'\fR directive, not ! via the \f(CW\*(C`INCLUDE\*(C'\fR directive. ! Therefore, any file containing preprocessor directives, ! if included, is necessarily included by a file that itself ! contains preprocessor directives. ! .Sh "Options for Directory Search" ! .IX Subsection "Options for Directory Search" ! These options affect how the \fBcpp\fR preprocessor searches ! for files specified via the \f(CW\*(C`#include\*(C'\fR directive. ! Therefore, when compiling Fortran programs, they are meaningful ! when the preprocessor is used. ! .PP ! Some of these options also affect how \fBg77\fR searches ! for files specified via the \f(CW\*(C`INCLUDE\*(C'\fR directive, ! although files included by that directive are not, ! themselves, preprocessed. ! These options are: ! .Ip "\fB\-I-\fR" 4 ! .IX Item "-I-" ! .PD 0 ! .Ip "\fB\-I\fR\fIdir\fR" 4 ! .IX Item "-Idir" ! .PD ! These affect interpretation of the \f(CW\*(C`INCLUDE\*(C'\fR directive ! (as well as of the \f(CW\*(C`#include\*(C'\fR directive of the \fBcpp\fR ! preprocessor). ! .Sp ! Note that \fB\-I\fR\fIdir\fR must be specified \fIwithout\fR any ! spaces between \fB\-I\fR and the directory name\-\-\-that is, ! \&\fB\-Ifoo/bar\fR is valid, but \fB\-I foo/bar\fR ! is rejected by the \fBg77\fR compiler (though the preprocessor supports ! the latter form). ! Also note that the general behavior of \fB\-I\fR and ! \&\f(CW\*(C`INCLUDE\*(C'\fR is pretty much the same as of \fB\-I\fR with ! \&\f(CW\*(C`#include\*(C'\fR in the \fBcpp\fR preprocessor, with regard to ! looking for \fIheader.gcc\fR files and other such things. ! .Sh "Options for Code Generation Conventions" ! .IX Subsection "Options for Code Generation Conventions" ! These machine-independent options control the interface conventions ! used in code generation. ! .PP ! Most of them have both positive and negative forms; the negative form ! of \fB\-ffoo\fR would be \fB\-fno-foo\fR. In the table below, only ! one of the forms is listed\-\-\-the one which is not the default. You ! can figure out the other form by either removing \fBno-\fR or adding ! it. ! .Ip "\fB\-fno-automatic\fR" 4 ! .IX Item "-fno-automatic" ! Treat each program unit as if the \f(CW\*(C`SAVE\*(C'\fR statement was specified ! for every local variable and array referenced in it. ! Does not affect common blocks. ! (Some Fortran compilers provide this option under ! the name \fB\-static\fR.) ! .Ip "\fB\-finit-local-zero\fR" 4 ! .IX Item "-finit-local-zero" ! Specify that variables and arrays that are local to a program unit ! (not in a common block and not passed as an argument) are to be initialized ! to binary zeros. ! .Sp ! Since there is a run-time penalty for initialization of variables ! that are not given the \f(CW\*(C`SAVE\*(C'\fR attribute, it might be a ! good idea to also use \fB\-fno-automatic\fR with \fB\-finit-local-zero\fR. ! .Ip "\fB\-fno-f2c\fR" 4 ! .IX Item "-fno-f2c" ! Do not generate code designed to be compatible with code generated ! by \fBf2c\fR use the \s-1GNU\s0 calling conventions instead. ! .Sp ! The \fBf2c\fR calling conventions require functions that return ! type \f(CW\*(C`REAL(KIND=1)\*(C'\fR to actually return the C type \f(CW\*(C`double\*(C'\fR, ! and functions that return type \f(CW\*(C`COMPLEX\*(C'\fR to return the ! values via an extra argument in the calling sequence that points ! to where to store the return value. ! Under the \s-1GNU\s0 calling conventions, such functions simply return ! their results as they would in \s-1GNU\s0 C\-\--\f(CW\*(C`REAL(KIND=1)\*(C'\fR functions ! return the C type \f(CW\*(C`float\*(C'\fR, and \f(CW\*(C`COMPLEX\*(C'\fR functions ! return the \s-1GNU\s0 C type \f(CW\*(C`complex\*(C'\fR (or its \f(CW\*(C`struct\*(C'\fR ! equivalent). ! .Sp ! This does not affect the generation of code that interfaces with the ! \&\f(CW\*(C`libg2c\*(C'\fR library. ! .Sp ! However, because the \f(CW\*(C`libg2c\*(C'\fR library uses \fBf2c\fR ! calling conventions, \fBg77\fR rejects attempts to pass ! intrinsics implemented by routines in this library as actual ! arguments when \fB\-fno-f2c\fR is used, to avoid bugs when ! they are actually called by code expecting the \s-1GNU\s0 calling ! conventions to work. ! .Sp ! For example, \fB\s-1INTRINSIC\s0 \s-1ABS\s0;CALL FOO(\s-1ABS\s0)\fR is ! rejected when \fB\-fno-f2c\fR is in force. ! (Future versions of the \fBg77\fR run-time library might ! offer routines that provide GNU-callable versions of the ! routines that implement the \fBf2c\fR intrinsics ! that may be passed as actual arguments, so that ! valid programs need not be rejected when \fB\-fno-f2c\fR ! is used.) ! .Sp ! \&\fBCaution:\fR If \fB\-fno-f2c\fR is used when compiling any ! source file used in a program, it must be used when compiling ! \&\fIall\fR Fortran source files used in that program. ! .Ip "\fB\-ff2c-library\fR" 4 ! .IX Item "-ff2c-library" ! Specify that use of \f(CW\*(C`libg2c\*(C'\fR (or the original \f(CW\*(C`libf2c\*(C'\fR) ! is required. ! This is the default for the current version of \fBg77\fR ! .Sp ! Currently it is not ! valid to specify \fB\-fno-f2c-library\fR. ! This option is provided so users can specify it in shell ! scripts that build programs and libraries that require the ! \&\f(CW\*(C`libf2c\*(C'\fR library, even when being compiled by future ! versions of \fBg77\fR that might otherwise default to ! generating code for an incompatible library. ! .Ip "\fB\-fno-underscoring\fR" 4 ! .IX Item "-fno-underscoring" ! Do not transform names of entities specified in the Fortran ! source file by appending underscores to them. ! .Sp ! With \fB\-funderscoring\fR in effect, \fBg77\fR appends two underscores ! to names with underscores and one underscore to external names with ! no underscores. (\fBg77\fR also appends two underscores to internal ! names with underscores to avoid naming collisions with external names. ! The \fB\-fno-second-underscore\fR option disables appending of the ! second underscore in all cases.) ! .Sp ! This is done to ensure compatibility with code produced by many ! \&\s-1UNIX\s0 Fortran compilers, including \fBf2c\fR which perform the ! same transformations. ! .Sp ! Use of \fB\-fno-underscoring\fR is not recommended unless you are ! experimenting with issues such as integration of (\s-1GNU\s0) Fortran into ! existing system environments (vis-a-vis existing libraries, tools, and ! so on). ! .Sp ! For example, with \fB\-funderscoring\fR, and assuming other defaults like ! \&\fB\-fcase-lower\fR and that \fB\f(BIj()\fB\fR and \fB\f(BImax_count()\fB\fR are ! external functions while \fBmy_var\fR and \fBlvar\fR are local variables, ! a statement like ! .Sp ! .Vb 1 ! \& I = J() + MAX_COUNT (MY_VAR, LVAR) ! .Ve ! is implemented as something akin to: ! .Sp ! .Vb 1 ! \& i = j_() + max_count__(&my_var__, &lvar); ! .Ve ! With \fB\-fno-underscoring\fR, the same statement is implemented as: ! .Sp ! .Vb 1 ! \& i = j() + max_count(&my_var, &lvar); ! .Ve ! Use of \fB\-fno-underscoring\fR allows direct specification of ! user-defined names while debugging and when interfacing \fBg77\fR ! code with other languages. ! .Sp ! Note that just because the names match does \fInot\fR mean that the ! interface implemented by \fBg77\fR for an external name matches the ! interface implemented by some other language for that same name. ! That is, getting code produced by \fBg77\fR to link to code produced ! by some other compiler using this or any other method can be only a ! small part of the overall solution\-\-\-getting the code generated by ! both compilers to agree on issues other than naming can require ! significant effort, and, unlike naming disagreements, linkers normally ! cannot detect disagreements in these other areas. ! .Sp ! Also, note that with \fB\-fno-underscoring\fR, the lack of appended ! underscores introduces the very real possibility that a user-defined ! external name will conflict with a name in a system library, which ! could make finding unresolved-reference bugs quite difficult in some ! cases\-\-\-they might occur at program run time, and show up only as ! buggy behavior at run time. ! .Sp ! In future versions of \fBg77\fR we hope to improve naming and linking ! issues so that debugging always involves using the names as they appear ! in the source, even if the names as seen by the linker are mangled to ! prevent accidental linking between procedures with incompatible ! interfaces. ! .Ip "\fB\-fno-second-underscore\fR" 4 ! .IX Item "-fno-second-underscore" ! Do not append a second underscore to names of entities specified ! in the Fortran source file. ! .Sp ! This option has no effect if \fB\-fno-underscoring\fR is ! in effect. ! .Sp ! Otherwise, with this option, an external name such as \fB\s-1MAX_COUNT\s0\fR ! is implemented as a reference to the link-time external symbol ! \&\fBmax_count_\fR, instead of \fBmax_count_\|_\fR. ! .Ip "\fB\-fno-ident\fR" 4 ! .IX Item "-fno-ident" ! Ignore the \fB#ident\fR directive. ! .Ip "\fB\-fzeros\fR" 4 ! .IX Item "-fzeros" ! Treat initial values of zero as if they were any other value. ! .Sp ! As of version 0.5.18, \fBg77\fR normally treats \f(CW\*(C`DATA\*(C'\fR and ! other statements that are used to specify initial values of zero ! for variables and arrays as if no values were actually specified, ! in the sense that no diagnostics regarding multiple initializations ! are produced. ! .Sp ! This is done to speed up compiling of programs that initialize ! large arrays to zeros. ! .Sp ! Use \fB\-fzeros\fR to revert to the simpler, slower behavior ! that can catch multiple initializations by keeping track of ! all initializations, zero or otherwise. ! .Sp ! \&\fICaution:\fR Future versions of \fBg77\fR might disregard this option ! (and its negative form, the default) or interpret it somewhat ! differently. ! The interpretation changes will affect only non-standard ! programs; standard-conforming programs should not be affected. ! .Ip "\fB\-femulate-complex\fR" 4 ! .IX Item "-femulate-complex" ! Implement \f(CW\*(C`COMPLEX\*(C'\fR arithmetic via emulation, ! instead of using the facilities of ! the \fBgcc\fR back end that provide direct support of ! \&\f(CW\*(C`complex\*(C'\fR arithmetic. ! .Sp ! (\fBgcc\fR had some bugs in its back-end support ! for \f(CW\*(C`complex\*(C'\fR arithmetic, due primarily to the support not being ! completed as of version 2.8.1 and \f(CW\*(C`egcs\*(C'\fR 1.1.2.) ! .Sp ! Use \fB\-femulate-complex\fR if you suspect code-generation bugs, ! or experience compiler crashes, ! that might result from \fBg77\fR using the \f(CW\*(C`COMPLEX\*(C'\fR support ! in the \fBgcc\fR back end. ! If using that option fixes the bugs or crashes you are seeing, ! that indicates a likely \fBg77\fR bugs ! (though, all compiler crashes are considered bugs), ! so, please report it. ! (Note that the known bugs, now believed fixed, produced compiler crashes ! rather than causing the generation of incorrect code.) ! .Sp ! Use of this option should not affect how Fortran code compiled ! by \fBg77\fR works in terms of its interfaces to other code, ! e.g. that compiled by \fBf2c\fR ! .Sp ! As of \s-1GCC\s0 version 3.0, this option is not necessary anymore. ! .Sp ! \&\fICaution:\fR Future versions of \fBg77\fR might ignore both forms ! of this option. ! .Ip "\fB\-falias-check\fR" 4 ! .IX Item "-falias-check" ! .PD 0 ! .Ip "\fB\-fargument-alias\fR" 4 ! .IX Item "-fargument-alias" ! .Ip "\fB\-fargument-noalias\fR" 4 ! .IX Item "-fargument-noalias" ! .Ip "\fB\-fno-argument-noalias-global\fR" 4 ! .IX Item "-fno-argument-noalias-global" ! .PD ! \&\fIVersion info:\fR ! These options are not supported by ! versions of \fBg77\fR based on \fBgcc\fR version 2.8. ! .Sp ! These options specify to what degree aliasing ! (overlap) ! is permitted between ! arguments (passed as pointers) and \f(CW\*(C`COMMON\*(C'\fR (external, or ! public) storage. ! .Sp ! The default for Fortran code, as mandated by the \s-1FORTRAN\s0 77 and ! Fortran 90 standards, is \fB\-fargument-noalias-global\fR. ! The default for code written in the C language family is ! \&\fB\-fargument-alias\fR. ! .Sp ! Note that, on some systems, compiling with \fB\-fforce-addr\fR in ! effect can produce more optimal code when the default aliasing ! options are in effect (and when optimization is enabled). ! .Ip "\fB\-fno-globals\fR" 4 ! .IX Item "-fno-globals" ! Disable diagnostics about inter-procedural ! analysis problems, such as disagreements about the ! type of a function or a procedure's argument, ! that might cause a compiler crash when attempting ! to inline a reference to a procedure within a ! program unit. ! (The diagnostics themselves are still produced, but ! as warnings, unless \fB\-Wno-globals\fR is specified, ! in which case no relevant diagnostics are produced.) ! .Sp ! Further, this option disables such inlining, to ! avoid compiler crashes resulting from incorrect ! code that would otherwise be diagnosed. ! .Sp ! As such, this option might be quite useful when ! compiling existing, ``working'' code that happens ! to have a few bugs that do not generally show themselves, ! but which \fBg77\fR diagnoses. ! .Sp ! Use of this option therefore has the effect of ! instructing \fBg77\fR to behave more like it did ! up through version 0.5.19.1, when it paid little or ! no attention to disagreements between program units ! about a procedure's type and argument information, ! and when it performed no inlining of procedures ! (except statement functions). ! .Sp ! Without this option, \fBg77\fR defaults to performing ! the potentially inlining procedures as it started doing ! in version 0.5.20, but as of version 0.5.21, it also ! diagnoses disagreements that might cause such inlining ! to crash the compiler as (fatal) errors, ! and warns about similar disagreements ! that are currently believed to not ! likely to result in the compiler later crashing ! or producing incorrect code. ! .Ip "\fB\-fflatten-arrays\fR" 4 ! .IX Item "-fflatten-arrays" ! Use back end's C-like constructs ! (pointer plus offset) ! instead of its \f(CW\*(C`ARRAY_REF\*(C'\fR construct ! to handle all array references. ! .Sp ! \&\fINote:\fR This option is not supported. ! It is intended for use only by \fBg77\fR developers, ! to evaluate code-generation issues. ! It might be removed at any time. ! .Ip "\fB\-fbounds-check\fR" 4 ! .IX Item "-fbounds-check" ! .PD 0 ! .Ip "\fB\-ffortran-bounds-check\fR" 4 ! .IX Item "-ffortran-bounds-check" ! .PD ! Enable generation of run-time checks for array subscripts ! and substring start and end points ! against the (locally) declared minimum and maximum values. ! .Sp ! The current implementation uses the \f(CW\*(C`libf2c\*(C'\fR ! library routine \f(CW\*(C`s_rnge\*(C'\fR to print the diagnostic. ! .Sp ! However, whereas \fBf2c\fR generates a single check per ! reference for a multi-dimensional array, of the computed ! offset against the valid offset range (0 through the size of the array), ! \&\fBg77\fR generates a single check per \fIsubscript\fR expression. ! This catches some cases of potential bugs that \fBf2c\fR does not, ! such as references to below the beginning of an assumed-size array. ! .Sp ! \&\fBg77\fR also generates checks for \f(CW\*(C`CHARACTER\*(C'\fR substring references, ! something \fBf2c\fR currently does not do. ! .Sp ! Use the new \fB\-ffortran-bounds-check\fR option ! to specify bounds-checking for only the Fortran code you are compiling, ! not necessarily for code written in other languages. ! .Sp ! \&\fINote:\fR To provide more detailed information on the offending subscript, ! \&\fBg77\fR provides the \f(CW\*(C`libg2c\*(C'\fR run-time library routine \f(CW\*(C`s_rnge\*(C'\fR ! with somewhat differently-formatted information. ! Here's a sample diagnostic: ! .Sp ! .Vb 3 ! \& Subscript out of range on file line 4, procedure rnge.f/bf. ! \& Attempt to access the -6-th element of variable b[subscript-2-of-2]. ! \& Aborted ! .Ve ! The above message indicates that the offending source line is ! line 4 of the file \fIrnge.f\fR, ! within the program unit (or statement function) named \fBbf\fR. ! The offended array is named \fBb\fR. ! The offended array dimension is the second for a two-dimensional array, ! and the offending, computed subscript expression was \fB\-6\fR. ! .Sp ! For a \f(CW\*(C`CHARACTER\*(C'\fR substring reference, the second line has ! this appearance: ! .Sp ! .Vb 1 ! \& Attempt to access the 11-th element of variable a[start-substring]. ! .Ve ! This indicates that the offended \f(CW\*(C`CHARACTER\*(C'\fR variable or array ! is named \fBa\fR, ! the offended substring position is the starting (leftmost) position, ! and the offending substring expression is \fB11\fR. ! .Sp ! (Though the verbage of \f(CW\*(C`s_rnge\*(C'\fR is not ideal ! for the purpose of the \fBg77\fR compiler, ! the above information should provide adequate diagnostic abilities ! to it users.) ! .PP ! Some of these do \fInot\fR work when compiling programs written in Fortran: ! .Ip "\fB\-fpcc-struct-return\fR" 4 ! .IX Item "-fpcc-struct-return" ! .PD 0 ! .Ip "\fB\-freg-struct-return\fR" 4 ! .IX Item "-freg-struct-return" ! .PD ! You should not use these except strictly the same way as you ! used them to build the version of \f(CW\*(C`libg2c\*(C'\fR with which ! you will be linking all code compiled by \fBg77\fR with the ! same option. ! .Ip "\fB\-fshort-double\fR" 4 ! .IX Item "-fshort-double" ! This probably either has no effect on Fortran programs, or ! makes them act loopy. ! .Ip "\fB\-fno-common\fR" 4 ! .IX Item "-fno-common" ! Do not use this when compiling Fortran programs, ! or there will be Trouble. ! .Ip "\fB\-fpack-struct\fR" 4 ! .IX Item "-fpack-struct" ! This probably will break any calls to the \f(CW\*(C`libg2c\*(C'\fR library, ! at the very least, even if it is built with the same option. ! .SH "ENVIRONMENT" ! .IX Header "ENVIRONMENT" ! \&\s-1GNU\s0 Fortran currently does not make use of any environment ! variables to control its operation above and beyond those ! that affect the operation of \fBgcc\fR. ! .SH "BUGS" ! .IX Header "BUGS" ! For instructions on reporting bugs, see ! <\fBhttp://gcc.gnu.org/bugs.html\fR>. Use of the \fBgccbug\fR ! script to report bugs is recommended. ! .SH "FOOTNOTES" ! .IX Header "FOOTNOTES" ! .Ip "1." 4 ! \&\fIloop discovery\fR refers to the ! process by which a compiler, or indeed any reader of a program, ! determines which portions of the program are more likely to be executed ! repeatedly as it is being run. Such discovery typically is done early ! when compiling using optimization techniques, so the ``discovered'' ! loops get more attention\-\-\-and more run-time resources, such as ! registers\-\-\-from the compiler. It is easy to ``discover'' loops that are ! constructed out of looping constructs in the language ! (such as Fortran's \f(CW\*(C`DO\*(C'\fR). For some programs, ``discovering'' loops ! constructed out of lower-level constructs (such as \f(CW\*(C`IF\*(C'\fR and ! \&\f(CW\*(C`GOTO\*(C'\fR) can lead to generation of more optimal code ! than otherwise. .SH "SEE ALSO" ! .IX Header "SEE ALSO" ! \&\fIgpl\fR\|(7), \fIgfdl\fR\|(7), \fIfsf-funding\fR\|(7), ! \&\fIcpp\fR\|(1), \fIgcov\fR\|(1), \fIgcc\fR\|(1), \fIas\fR\|(1), \fIld\fR\|(1), \fIgdb\fR\|(1), \fIadb\fR\|(1), \fIdbx\fR\|(1), \fIsdb\fR\|(1) ! and the Info entries for \fIgcc\fR, \fIcpp\fR, \fIg77\fR, \fIas\fR, ! \&\fIld\fR, \fIbinutils\fR and \fIgdb\fR. ! .SH "AUTHOR" ! .IX Header "AUTHOR" ! See the Info entry for \fBg77\fR for contributors to \s-1GCC\s0 and G77. ! .SH "COPYRIGHT" ! .IX Header "COPYRIGHT" ! Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002 ! Free Software Foundation, Inc. .PP ! Permission is granted to copy, distribute and/or modify this document ! under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or ! any later version published by the Free Software Foundation; with the ! Invariant Sections being ``\s-1GNU\s0 General Public License'' and ``Funding ! Free Software'', the Front-Cover texts being (a) (see below), and with ! the Back-Cover Texts being (b) (see below). A copy of the license is ! included in the \fIgfdl\fR\|(7) man page. .PP ! (a) The \s-1FSF\s0's Front-Cover Text is: .PP ! .Vb 1 ! \& A GNU Manual ! .Ve ! (b) The \s-1FSF\s0's Back-Cover Text is: ! .PP ! .Vb 3 ! \& You have freedom to copy and modify this GNU Manual, like GNU ! \& software. Copies published by the Free Software Foundation raise ! \& funds for GNU development. ! .Ve diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info gcc-3.1/gcc/f/g77.info *** gcc-3.0.4/gcc/f/g77.info Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** Craig by David Ronis () provided the patch to add rudimentary support for `INTEGER*1', `INTEGER*2', and `LOGICAL*1'. This inspired Craig to add further support, even though the ! resulting support would still be incomplete, because version 0.6 ! is still a ways off. * David Ronis () inspired and encouraged Craig to rewrite the documentation in texinfo format by --- 886,898 ---- Ian Watson + * Dave Love () wrote the libU77 part of the + run-time library. + * Scott Snyder () provided the patch to add rudimentary support for `INTEGER*1', `INTEGER*2', and `LOGICAL*1'. This inspired Craig to add further support, even though the ! resulting support would still be incomplete. * David Ronis () inspired and encouraged Craig to rewrite the documentation in texinfo format by *************** File: g77.info, Node: Funding GNU Fortr *** 976,983 **** Funding GNU Fortran ******************* ! James Craig Burley (), the original author of g77, ! stopped working on it in September 1999 (He has a web page at `http://world.std.com/%7Eburley'.) GNU Fortran is currently maintained by Toon Moene --- 977,984 ---- Funding GNU Fortran ******************* ! James Craig Burley (), the original author of ! `g77', stopped working on it in September 1999 (He has a web page at `http://world.std.com/%7Eburley'.) GNU Fortran is currently maintained by Toon Moene *************** the "GNUS Bulletin". Email to volunteer for this work. *Note Funding Free Software: Funding, for more information. --- 994,1007 ---- the FSF. Another important way to support work on GNU Fortran is to volunteer ! to help out. ! ! Email to volunteer for this work. ! ! However, we strongly expect that there will never be a version 0.6 ! of `g77'. Work on this compiler has stopped as of the release of GCC ! 3.1, except for bug fixing. `g77' will be succeeded by `g95' - see ! `http://g95.sourceforge.net'. *Note Funding Free Software: Funding, for more information. diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-10 gcc-3.1/gcc/f/g77.info-10 *** gcc-3.0.4/gcc/f/g77.info-10 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-10 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,369 ---- Craig by David Ronis ().  + File: g77.info, Node: Real Intrinsic, Next: RealPart Intrinsic, Prev: Range Intrinsic, Up: Table of Intrinsic Functions + + Real Intrinsic + .............. + + Real(A) + + Real: `REAL' function. The exact type is `REAL(KIND=1)' when argument + A is any type other than `COMPLEX', or when it is `COMPLEX(KIND=1)'. + When A is any `COMPLEX' type other than `COMPLEX(KIND=1)', this + intrinsic is valid only when used as the argument to `REAL()', as + explained below. + + A: `INTEGER', `REAL', or `COMPLEX'; scalar; INTENT(IN). + + Intrinsic groups: (standard FORTRAN 77). + + Description: + + Converts A to `REAL(KIND=1)'. + + Use of `REAL()' with a `COMPLEX' argument (other than + `COMPLEX(KIND=1)') is restricted to the following case: + + REAL(REAL(A)) + + This expression converts the real part of A to `REAL(KIND=1)'. + + *Note RealPart Intrinsic::, for information on a GNU Fortran + intrinsic that extracts the real part of an arbitrary `COMPLEX' value. + + *Note REAL() and AIMAG() of Complex::, for more information. + +  + File: g77.info, Node: RealPart Intrinsic, Next: Rename Intrinsic (subroutine), Prev: Real Intrinsic, Up: Table of Intrinsic Functions + + RealPart Intrinsic + .................. + + RealPart(Z) + + RealPart: `REAL' function, the `KIND=' value of the type being that of + argument Z. + + Z: `COMPLEX'; scalar; INTENT(IN). + + Intrinsic groups: `gnu'. + + Description: + + The real part of Z is returned, without conversion. + + _Note:_ The way to do this in standard Fortran 90 is `REAL(Z)'. + However, when, for example, Z is `COMPLEX(KIND=2)', `REAL(Z)' means + something different for some compilers that are not true Fortran 90 + compilers but offer some extensions standardized by Fortran 90 (such as + the `DOUBLE COMPLEX' type, also known as `COMPLEX(KIND=2)'). + + The advantage of `REALPART()' is that, while not necessarily more or + less portable than `REAL()', it is more likely to cause a compiler that + doesn't support it to produce a diagnostic than generate incorrect code. + + *Note REAL() and AIMAG() of Complex::, for more information. + +  + File: g77.info, Node: Rename Intrinsic (subroutine), Next: Repeat Intrinsic, Prev: RealPart Intrinsic, Up: Table of Intrinsic Functions + + Rename Intrinsic (subroutine) + ............................. + + CALL Rename(PATH1, PATH2, STATUS) + + PATH1: `CHARACTER'; scalar; INTENT(IN). + + PATH2: `CHARACTER'; scalar; INTENT(IN). + + STATUS: `INTEGER(KIND=1)'; OPTIONAL; scalar; INTENT(OUT). + + Intrinsic groups: `unix'. + + Description: + + Renames the file PATH1 to PATH2. A null character (`CHAR(0)') marks + the end of the names in PATH1 and PATH2--otherwise, trailing blanks in + PATH1 and PATH2 are ignored. See `rename(2)'. If the STATUS argument + is supplied, it contains 0 on success or a non-zero error code upon + return. + + Some non-GNU implementations of Fortran provide this intrinsic as + only a function, not as a subroutine, or do not support the (optional) + STATUS argument. + + For information on other intrinsics with the same name: *Note Rename + Intrinsic (function)::. + +  + File: g77.info, Node: Repeat Intrinsic, Next: Reshape Intrinsic, Prev: Rename Intrinsic (subroutine), Up: Table of Intrinsic Functions + + Repeat Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Repeat' to use this name for an + external procedure. + +  + File: g77.info, Node: Reshape Intrinsic, Next: RRSpacing Intrinsic, Prev: Repeat Intrinsic, Up: Table of Intrinsic Functions + + Reshape Intrinsic + ................. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Reshape' to use this name for + an external procedure. + +  + File: g77.info, Node: RRSpacing Intrinsic, Next: RShift Intrinsic, Prev: Reshape Intrinsic, Up: Table of Intrinsic Functions + + RRSpacing Intrinsic + ................... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL RRSpacing' to use this name + for an external procedure. + +  + File: g77.info, Node: RShift Intrinsic, Next: Scale Intrinsic, Prev: RRSpacing Intrinsic, Up: Table of Intrinsic Functions + + RShift Intrinsic + ................ + + RShift(I, SHIFT) + + RShift: `INTEGER' function, the `KIND=' value of the type being that of + argument I. + + I: `INTEGER'; scalar; INTENT(IN). + + SHIFT: `INTEGER'; scalar; INTENT(IN). + + Intrinsic groups: `f2c'. + + Description: + + Returns I shifted to the right SHIFT bits. + + Although similar to the expression `I/(2**SHIFT)', there are + important differences. For example, the sign of the result is + undefined. + + Currently this intrinsic is defined assuming the underlying + representation of I is as a two's-complement integer. It is unclear at + this point whether that definition will apply when a different + representation is involved. + + *Note RShift Intrinsic::, for the inverse of this function. + + *Note IShft Intrinsic::, for information on a more widely available + right-shifting intrinsic that is also more precisely defined. + +  + File: g77.info, Node: Scale Intrinsic, Next: Scan Intrinsic, Prev: RShift Intrinsic, Up: Table of Intrinsic Functions + + Scale Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Scale' to use this name for an + external procedure. + +  + File: g77.info, Node: Scan Intrinsic, Next: Second Intrinsic (function), Prev: Scale Intrinsic, Up: Table of Intrinsic Functions + + Scan Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Scan' to use this name for an + external procedure. + +  + File: g77.info, Node: Second Intrinsic (function), Next: Second Intrinsic (subroutine), Prev: Scan Intrinsic, Up: Table of Intrinsic Functions + + Second Intrinsic (function) + ........................... + + Second() + + Second: `REAL(KIND=1)' function. + + Intrinsic groups: `unix'. + + Description: + + Returns the process's runtime in seconds--the same value as the UNIX + function `etime' returns. + + On some systems, the underlying timings are represented using types + with sufficiently small limits that overflows (wraparounds) are + possible, such as 32-bit types. Therefore, the values returned by this + intrinsic might be, or become, negative, or numerically less than + previous values, during a single run of the compiled program. + + For information on other intrinsics with the same name: *Note Second + Intrinsic (subroutine)::. + +  + File: g77.info, Node: Second Intrinsic (subroutine), Next: Selected_Int_Kind Intrinsic, Prev: Second Intrinsic (function), Up: Table of Intrinsic Functions + + Second Intrinsic (subroutine) + ............................. + + CALL Second(SECONDS) + + SECONDS: `REAL'; scalar; INTENT(OUT). + + Intrinsic groups: `unix'. + + Description: + + Returns the process's runtime in seconds in SECONDS--the same value + as the UNIX function `etime' returns. + + On some systems, the underlying timings are represented using types + with sufficiently small limits that overflows (wraparounds) are + possible, such as 32-bit types. Therefore, the values returned by this + intrinsic might be, or become, negative, or numerically less than + previous values, during a single run of the compiled program. + + This routine is known from Cray Fortran. *Note CPU_Time Intrinsic::, + for a standard equivalent. + + For information on other intrinsics with the same name: *Note Second + Intrinsic (function)::. + +  + File: g77.info, Node: Selected_Int_Kind Intrinsic, Next: Selected_Real_Kind Intrinsic, Prev: Second Intrinsic (subroutine), Up: Table of Intrinsic Functions + + Selected_Int_Kind Intrinsic + ........................... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Selected_Int_Kind' to use this + name for an external procedure. + +  + File: g77.info, Node: Selected_Real_Kind Intrinsic, Next: Set_Exponent Intrinsic, Prev: Selected_Int_Kind Intrinsic, Up: Table of Intrinsic Functions + + Selected_Real_Kind Intrinsic + ............................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Selected_Real_Kind' to use + this name for an external procedure. + +  + File: g77.info, Node: Set_Exponent Intrinsic, Next: Shape Intrinsic, Prev: Selected_Real_Kind Intrinsic, Up: Table of Intrinsic Functions + + Set_Exponent Intrinsic + ...................... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Set_Exponent' to use this name + for an external procedure. + +  + File: g77.info, Node: Shape Intrinsic, Next: Short Intrinsic, Prev: Set_Exponent Intrinsic, Up: Table of Intrinsic Functions + + Shape Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL Shape' to use this name for an + external procedure. + +  + File: g77.info, Node: Short Intrinsic, Next: Sign Intrinsic, Prev: Shape Intrinsic, Up: Table of Intrinsic Functions + + Short Intrinsic + ............... + + Short(A) + + Short: `INTEGER(KIND=6)' function. + + A: `INTEGER'; scalar; INTENT(IN). + + Intrinsic groups: `unix'. + + Description: + + Returns A with the fractional portion of its magnitude truncated and + its sign preserved, converted to type `INTEGER(KIND=6)'. + + If A is type `COMPLEX', its real part is truncated and converted, + and its imaginary part is disgregarded. + + *Note Int Intrinsic::. + + The precise meaning of this intrinsic might change in a future + version of the GNU Fortran language, as more is learned about how it is + used. + +  + File: g77.info, Node: Sign Intrinsic, Next: Signal Intrinsic (subroutine), Prev: Short Intrinsic, Up: Table of Intrinsic Functions + + Sign Intrinsic + .............. + + Sign(A, B) + + Sign: `INTEGER' or `REAL' function, the exact type being the result of + cross-promoting the types of all the arguments. + + A: `INTEGER' or `REAL'; scalar; INTENT(IN). + + B: `INTEGER' or `REAL'; scalar; INTENT(IN). + + Intrinsic groups: (standard FORTRAN 77). + + Description: + + Returns `ABS(A)*S', where S is +1 if `B.GE.0', -1 otherwise. + + *Note Abs Intrinsic::, for the function that returns the magnitude + of a value. + +  File: g77.info, Node: Signal Intrinsic (subroutine), Next: Sin Intrinsic, Prev: Sign Intrinsic, Up: Table of Intrinsic Functions Signal Intrinsic (subroutine) *************** constant in `R = 3 . 1'). *** 1051,1059 **** implementation choices made for the compiler, since those choices are explicitly left to the implementation by the published Fortran standards. GNU Fortran currently tries to be somewhat like a few ! popular compilers (`f2c', Digital ("DEC") Fortran, and so on), though a ! cleaner default definition along with more flexibility offered by ! command-line options is likely to be offered in version 0.6. This section describes how `g77' interprets source lines. --- 1379,1385 ---- implementation choices made for the compiler, since those choices are explicitly left to the implementation by the published Fortran standards. GNU Fortran currently tries to be somewhat like a few ! popular compilers (`f2c', Digital ("DEC") Fortran, and so on). This section describes how `g77' interprets source lines. *************** any other processing, other than (curren *** 1096,1114 **** found on a line and using this information to decide how to interpret the length of the line and continued constants. - Note that this default behavior probably will change for version 0.6, - when it will presumably be available via a command-line option. The - default as of version 0.6 is planned to be a "pure visual" model, where - tabs are immediately converted to spaces and otherwise have no effect, - so the way a typical user sees source lines produces a consistent - result no matter how the spacing in those source lines is actually - implemented via tabs, spaces, and trailing tabs/spaces before newline. - Command-line options are likely to be added to specify whether all or - just-tabbed lines are to be extended to 132 or full input-line length, - and perhaps even an option will be added to specify the truncated-line - behavior to which some Digital compilers default (and which affects the - way continued character/Hollerith constants are interpreted). -  File: g77.info, Node: Short Lines, Next: Long Lines, Prev: Tabs, Up: Source Form --- 1422,1427 ---- *************** Dollar Signs in Symbol Names *** 1206,1553 **** Dollar signs (`$') are allowed in symbol names (after the first character) when the `-fdollar-ok' option is specified. -  - File: g77.info, Node: Case Sensitivity, Next: VXT Fortran, Prev: Dollar Signs, Up: Other Dialects - - Case Sensitivity - ================ - - GNU Fortran offers the programmer way too much flexibility in - deciding how source files are to be treated vis-a-vis uppercase and - lowercase characters. There are 66 useful settings that affect case - sensitivity, plus 10 settings that are nearly useless, with the - remaining 116 settings being either redundant or useless. - - None of these settings have any effect on the contents of comments - (the text after a `c' or `C' in Column 1, for example) or of character - or Hollerith constants. Note that things like the `E' in the statement - `CALL FOO(3.2E10)' and the `TO' in `ASSIGN 10 TO LAB' are considered - built-in keywords, and so are affected by these settings. - - Low-level switches are identified in this section as follows: - - A Source Case Conversion: - - 0 Preserve (see Note 1) - - 1 Convert to Upper Case - - 2 Convert to Lower Case - - B Built-in Keyword Matching: - - 0 Match Any Case (per-character basis) - - 1 Match Upper Case Only - - 2 Match Lower Case Only - - 3 Match InitialCaps Only (see tables for spellings) - - C Built-in Intrinsic Matching: - - 0 Match Any Case (per-character basis) - - 1 Match Upper Case Only - - 2 Match Lower Case Only - - 3 Match InitialCaps Only (see tables for spellings) - - D User-defined Symbol Possibilities (warnings only): - - 0 Allow Any Case (per-character basis) - - 1 Allow Upper Case Only - - 2 Allow Lower Case Only - - 3 Allow InitialCaps Only (see Note 2) - - Note 1: `g77' eventually will support `NAMELIST' in a manner that is - consistent with these source switches--in the sense that input will be - expected to meet the same requirements as source code in terms of - matching symbol names and keywords (for the exponent letters). - - Currently, however, `NAMELIST' is supported by `libg2c', which - uppercases `NAMELIST' input and symbol names for matching. This means - not only that `NAMELIST' output currently shows symbol (and keyword) - names in uppercase even if lower-case source conversion (option A2) is - selected, but that `NAMELIST' cannot be adequately supported when - source case preservation (option A0) is selected. - - If A0 is selected, a warning message will be output for each - `NAMELIST' statement to this effect. The behavior of the program is - undefined at run time if two or more symbol names appear in a given - `NAMELIST' such that the names are identical when converted to upper - case (e.g. `NAMELIST /X/ VAR, Var, var'). For complete and total - elegance, perhaps there should be a warning when option A2 is selected, - since the output of NAMELIST is currently in uppercase but will someday - be lowercase (when a `libg77' is written), but that seems to be - overkill for a product in beta test. - - Note 2: Rules for InitialCaps names are: - - - Must be a single uppercase letter, *or* - - - Must start with an uppercase letter and contain at least one - lowercase letter. - - So `A', `Ab', `ABc', `AbC', and `Abc' are valid InitialCaps names, - but `AB', `A2', and `ABC' are not. Note that most, but not all, - built-in names meet these requirements--the exceptions are some of the - two-letter format specifiers, such as `BN' and `BZ'. - - Here are the names of the corresponding command-line options: - - A0: -fsource-case-preserve - A1: -fsource-case-upper - A2: -fsource-case-lower - - B0: -fmatch-case-any - B1: -fmatch-case-upper - B2: -fmatch-case-lower - B3: -fmatch-case-initcap - - C0: -fintrin-case-any - C1: -fintrin-case-upper - C2: -fintrin-case-lower - C3: -fintrin-case-initcap - - D0: -fsymbol-case-any - D1: -fsymbol-case-upper - D2: -fsymbol-case-lower - D3: -fsymbol-case-initcap - - Useful combinations of the above settings, along with abbreviated - option names that set some of these combinations all at once: - - 1: A0-- B0--- C0--- D0--- -fcase-preserve - 2: A0-- B0--- C0--- D-1-- - 3: A0-- B0--- C0--- D--2- - 4: A0-- B0--- C0--- D---3 - 5: A0-- B0--- C-1-- D0--- - 6: A0-- B0--- C-1-- D-1-- - 7: A0-- B0--- C-1-- D--2- - 8: A0-- B0--- C-1-- D---3 - 9: A0-- B0--- C--2- D0--- - 10: A0-- B0--- C--2- D-1-- - 11: A0-- B0--- C--2- D--2- - 12: A0-- B0--- C--2- D---3 - 13: A0-- B0--- C---3 D0--- - 14: A0-- B0--- C---3 D-1-- - 15: A0-- B0--- C---3 D--2- - 16: A0-- B0--- C---3 D---3 - 17: A0-- B-1-- C0--- D0--- - 18: A0-- B-1-- C0--- D-1-- - 19: A0-- B-1-- C0--- D--2- - 20: A0-- B-1-- C0--- D---3 - 21: A0-- B-1-- C-1-- D0--- - 22: A0-- B-1-- C-1-- D-1-- -fcase-strict-upper - 23: A0-- B-1-- C-1-- D--2- - 24: A0-- B-1-- C-1-- D---3 - 25: A0-- B-1-- C--2- D0--- - 26: A0-- B-1-- C--2- D-1-- - 27: A0-- B-1-- C--2- D--2- - 28: A0-- B-1-- C--2- D---3 - 29: A0-- B-1-- C---3 D0--- - 30: A0-- B-1-- C---3 D-1-- - 31: A0-- B-1-- C---3 D--2- - 32: A0-- B-1-- C---3 D---3 - 33: A0-- B--2- C0--- D0--- - 34: A0-- B--2- C0--- D-1-- - 35: A0-- B--2- C0--- D--2- - 36: A0-- B--2- C0--- D---3 - 37: A0-- B--2- C-1-- D0--- - 38: A0-- B--2- C-1-- D-1-- - 39: A0-- B--2- C-1-- D--2- - 40: A0-- B--2- C-1-- D---3 - 41: A0-- B--2- C--2- D0--- - 42: A0-- B--2- C--2- D-1-- - 43: A0-- B--2- C--2- D--2- -fcase-strict-lower - 44: A0-- B--2- C--2- D---3 - 45: A0-- B--2- C---3 D0--- - 46: A0-- B--2- C---3 D-1-- - 47: A0-- B--2- C---3 D--2- - 48: A0-- B--2- C---3 D---3 - 49: A0-- B---3 C0--- D0--- - 50: A0-- B---3 C0--- D-1-- - 51: A0-- B---3 C0--- D--2- - 52: A0-- B---3 C0--- D---3 - 53: A0-- B---3 C-1-- D0--- - 54: A0-- B---3 C-1-- D-1-- - 55: A0-- B---3 C-1-- D--2- - 56: A0-- B---3 C-1-- D---3 - 57: A0-- B---3 C--2- D0--- - 58: A0-- B---3 C--2- D-1-- - 59: A0-- B---3 C--2- D--2- - 60: A0-- B---3 C--2- D---3 - 61: A0-- B---3 C---3 D0--- - 62: A0-- B---3 C---3 D-1-- - 63: A0-- B---3 C---3 D--2- - 64: A0-- B---3 C---3 D---3 -fcase-initcap - 65: A-1- B01-- C01-- D01-- -fcase-upper - 66: A--2 B0-2- C0-2- D0-2- -fcase-lower - - Number 22 is the "strict" ANSI FORTRAN 77 model wherein all input - (except comments, character constants, and Hollerith strings) must be - entered in uppercase. Use `-fcase-strict-upper' to specify this - combination. - - Number 43 is like Number 22 except all input must be lowercase. Use - `-fcase-strict-lower' to specify this combination. - - Number 65 is the "classic" ANSI FORTRAN 77 model as implemented on - many non-UNIX machines whereby all the source is translated to - uppercase. Use `-fcase-upper' to specify this combination. - - Number 66 is the "canonical" UNIX model whereby all the source is - translated to lowercase. Use `-fcase-lower' to specify this - combination. - - There are a few nearly useless combinations: - - 67: A-1- B01-- C01-- D--2- - 68: A-1- B01-- C01-- D---3 - 69: A-1- B01-- C--23 D01-- - 70: A-1- B01-- C--23 D--2- - 71: A-1- B01-- C--23 D---3 - 72: A--2 B01-- C0-2- D-1-- - 73: A--2 B01-- C0-2- D---3 - 74: A--2 B01-- C-1-3 D0-2- - 75: A--2 B01-- C-1-3 D-1-- - 76: A--2 B01-- C-1-3 D---3 - - The above allow some programs to be compiled but with restrictions - that make most useful programs impossible: Numbers 67 and 72 warn about - _any_ user-defined symbol names (such as `SUBROUTINE FOO'); Numbers 68 - and 73 warn about any user-defined symbol names longer than one - character that don't have at least one non-alphabetic character after - the first; Numbers 69 and 74 disallow any references to intrinsics; and - Numbers 70, 71, 75, and 76 are combinations of the restrictions in - 67+69, 68+69, 72+74, and 73+74, respectively. - - All redundant combinations are shown in the above tables anyplace - where more than one setting is shown for a low-level switch. For - example, `B0-2-' means either setting 0 or 2 is valid for switch B. - The "proper" setting in such a case is the one that copies the setting - of switch A--any other setting might slightly reduce the speed of the - compiler, though possibly to an unmeasurable extent. - - All remaining combinations are useless in that they prevent - successful compilation of non-null source files (source files with - something other than comments). - -  - File: g77.info, Node: VXT Fortran, Next: Fortran 90, Prev: Case Sensitivity, Up: Other Dialects - - VXT Fortran - =========== - - `g77' supports certain constructs that have different meanings in - VXT Fortran than they do in the GNU Fortran language. - - Generally, this manual uses the invented term VXT Fortran to refer - VAX FORTRAN (circa v4). That compiler offered many popular features, - though not necessarily those that are specific to the VAX processor - architecture, the VMS operating system, or Digital Equipment - Corporation's Fortran product line. (VAX and VMS probably are - trademarks of Digital Equipment Corporation.) - - An extension offered by a Digital Fortran product that also is - offered by several other Fortran products for different kinds of - systems is probably going to be considered for inclusion in `g77' - someday, and is considered a VXT Fortran feature. - - The `-fvxt' option generally specifies that, where the meaning of a - construct is ambiguous (means one thing in GNU Fortran and another in - VXT Fortran), the VXT Fortran meaning is to be assumed. - - * Menu: - - * Double Quote Meaning:: `"2000' as octal constant. - * Exclamation Point:: `!' in column 6. - -  - File: g77.info, Node: Double Quote Meaning, Next: Exclamation Point, Up: VXT Fortran - - Meaning of Double Quote - ----------------------- - - `g77' treats double-quote (`"') as beginning an octal constant of - `INTEGER(KIND=1)' type when the `-fvxt' option is specified. The form - of this octal constant is - - "OCTAL-DIGITS - - where OCTAL-DIGITS is a nonempty string of characters in the set - `01234567'. - - For example, the `-fvxt' option permits this: - - PRINT *, "20 - END - - The above program would print the value `16'. - - *Note Integer Type::, for information on the preferred construct for - integer constants specified using GNU Fortran's octal notation. - - (In the GNU Fortran language, the double-quote character (`"') - delimits a character constant just as does apostrophe (`''). There is - no way to allow both constructs in the general case, since statements - like `PRINT *,"2000 !comment?"' would be ambiguous.) - -  - File: g77.info, Node: Exclamation Point, Prev: Double Quote Meaning, Up: VXT Fortran - - Meaning of Exclamation Point in Column 6 - ---------------------------------------- - - `g77' treats an exclamation point (`!') in column 6 of a fixed-form - source file as a continuation character rather than as the beginning of - a comment (as it does in any other column) when the `-fvxt' option is - specified. - - The following program, when run, prints a message indicating whether - it is interpreted according to GNU Fortran (and Fortran 90) rules or - VXT Fortran rules: - - C234567 (This line begins in column 1.) - I = 0 - !1 - IF (I.EQ.0) PRINT *, ' I am a VXT Fortran program' - IF (I.EQ.1) PRINT *, ' I am a Fortran 90 program' - IF (I.LT.0 .OR. I.GT.1) PRINT *, ' I am a HAL 9000 computer' - END - - (In the GNU Fortran and Fortran 90 languages, exclamation point is a - valid character and, unlike space () or zero (`0'), marks a line - as a continuation line when it appears in column 6.) - -  - File: g77.info, Node: Fortran 90, Next: Pedantic Compilation, Prev: VXT Fortran, Up: Other Dialects - - Fortran 90 - ========== - - The GNU Fortran language includes a number of features that are part - of Fortran 90, even when the `-ff90' option is not specified. The - features enabled by `-ff90' are intended to be those that, when `-ff90' - is not specified, would have another meaning to `g77'--usually meaning - something invalid in the GNU Fortran language. - - So, the purpose of `-ff90' is not to specify whether `g77' is to - gratuitously reject Fortran 90 constructs. The `-pedantic' option - specified with `-fno-f90' is intended to do that, although its - implementation is certainly incomplete at this point. - - When `-ff90' is specified: - - * The type of `REAL(EXPR)' and `AIMAG(EXPR)', where EXPR is - `COMPLEX' type, is the same type as the real part of EXPR. - - For example, assuming `Z' is type `COMPLEX(KIND=2)', `REAL(Z)' - would return a value of type `REAL(KIND=2)', not of type - `REAL(KIND=1)', since `-ff90' is specified. - --- 1519,1521 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-11 gcc-3.1/gcc/f/g77.info-11 *** gcc-3.0.4/gcc/f/g77.info-11 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-11 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,386 ---- Craig by David Ronis ().  + File: g77.info, Node: Case Sensitivity, Next: VXT Fortran, Prev: Dollar Signs, Up: Other Dialects + + Case Sensitivity + ================ + + GNU Fortran offers the programmer way too much flexibility in + deciding how source files are to be treated vis-a-vis uppercase and + lowercase characters. There are 66 useful settings that affect case + sensitivity, plus 10 settings that are nearly useless, with the + remaining 116 settings being either redundant or useless. + + None of these settings have any effect on the contents of comments + (the text after a `c' or `C' in Column 1, for example) or of character + or Hollerith constants. Note that things like the `E' in the statement + `CALL FOO(3.2E10)' and the `TO' in `ASSIGN 10 TO LAB' are considered + built-in keywords, and so are affected by these settings. + + Low-level switches are identified in this section as follows: + + A Source Case Conversion: + + 0 Preserve (see Note 1) + + 1 Convert to Upper Case + + 2 Convert to Lower Case + + B Built-in Keyword Matching: + + 0 Match Any Case (per-character basis) + + 1 Match Upper Case Only + + 2 Match Lower Case Only + + 3 Match InitialCaps Only (see tables for spellings) + + C Built-in Intrinsic Matching: + + 0 Match Any Case (per-character basis) + + 1 Match Upper Case Only + + 2 Match Lower Case Only + + 3 Match InitialCaps Only (see tables for spellings) + + D User-defined Symbol Possibilities (warnings only): + + 0 Allow Any Case (per-character basis) + + 1 Allow Upper Case Only + + 2 Allow Lower Case Only + + 3 Allow InitialCaps Only (see Note 2) + + Note 1: `g77' eventually will support `NAMELIST' in a manner that is + consistent with these source switches--in the sense that input will be + expected to meet the same requirements as source code in terms of + matching symbol names and keywords (for the exponent letters). + + Currently, however, `NAMELIST' is supported by `libg2c', which + uppercases `NAMELIST' input and symbol names for matching. This means + not only that `NAMELIST' output currently shows symbol (and keyword) + names in uppercase even if lower-case source conversion (option A2) is + selected, but that `NAMELIST' cannot be adequately supported when + source case preservation (option A0) is selected. + + If A0 is selected, a warning message will be output for each + `NAMELIST' statement to this effect. The behavior of the program is + undefined at run time if two or more symbol names appear in a given + `NAMELIST' such that the names are identical when converted to upper + case (e.g. `NAMELIST /X/ VAR, Var, var'). For complete and total + elegance, perhaps there should be a warning when option A2 is selected, + since the output of NAMELIST is currently in uppercase but will someday + be lowercase (when a `libg77' is written), but that seems to be + overkill for a product in beta test. + + Note 2: Rules for InitialCaps names are: + + - Must be a single uppercase letter, *or* + + - Must start with an uppercase letter and contain at least one + lowercase letter. + + So `A', `Ab', `ABc', `AbC', and `Abc' are valid InitialCaps names, + but `AB', `A2', and `ABC' are not. Note that most, but not all, + built-in names meet these requirements--the exceptions are some of the + two-letter format specifiers, such as `BN' and `BZ'. + + Here are the names of the corresponding command-line options: + + A0: -fsource-case-preserve + A1: -fsource-case-upper + A2: -fsource-case-lower + + B0: -fmatch-case-any + B1: -fmatch-case-upper + B2: -fmatch-case-lower + B3: -fmatch-case-initcap + + C0: -fintrin-case-any + C1: -fintrin-case-upper + C2: -fintrin-case-lower + C3: -fintrin-case-initcap + + D0: -fsymbol-case-any + D1: -fsymbol-case-upper + D2: -fsymbol-case-lower + D3: -fsymbol-case-initcap + + Useful combinations of the above settings, along with abbreviated + option names that set some of these combinations all at once: + + 1: A0-- B0--- C0--- D0--- -fcase-preserve + 2: A0-- B0--- C0--- D-1-- + 3: A0-- B0--- C0--- D--2- + 4: A0-- B0--- C0--- D---3 + 5: A0-- B0--- C-1-- D0--- + 6: A0-- B0--- C-1-- D-1-- + 7: A0-- B0--- C-1-- D--2- + 8: A0-- B0--- C-1-- D---3 + 9: A0-- B0--- C--2- D0--- + 10: A0-- B0--- C--2- D-1-- + 11: A0-- B0--- C--2- D--2- + 12: A0-- B0--- C--2- D---3 + 13: A0-- B0--- C---3 D0--- + 14: A0-- B0--- C---3 D-1-- + 15: A0-- B0--- C---3 D--2- + 16: A0-- B0--- C---3 D---3 + 17: A0-- B-1-- C0--- D0--- + 18: A0-- B-1-- C0--- D-1-- + 19: A0-- B-1-- C0--- D--2- + 20: A0-- B-1-- C0--- D---3 + 21: A0-- B-1-- C-1-- D0--- + 22: A0-- B-1-- C-1-- D-1-- -fcase-strict-upper + 23: A0-- B-1-- C-1-- D--2- + 24: A0-- B-1-- C-1-- D---3 + 25: A0-- B-1-- C--2- D0--- + 26: A0-- B-1-- C--2- D-1-- + 27: A0-- B-1-- C--2- D--2- + 28: A0-- B-1-- C--2- D---3 + 29: A0-- B-1-- C---3 D0--- + 30: A0-- B-1-- C---3 D-1-- + 31: A0-- B-1-- C---3 D--2- + 32: A0-- B-1-- C---3 D---3 + 33: A0-- B--2- C0--- D0--- + 34: A0-- B--2- C0--- D-1-- + 35: A0-- B--2- C0--- D--2- + 36: A0-- B--2- C0--- D---3 + 37: A0-- B--2- C-1-- D0--- + 38: A0-- B--2- C-1-- D-1-- + 39: A0-- B--2- C-1-- D--2- + 40: A0-- B--2- C-1-- D---3 + 41: A0-- B--2- C--2- D0--- + 42: A0-- B--2- C--2- D-1-- + 43: A0-- B--2- C--2- D--2- -fcase-strict-lower + 44: A0-- B--2- C--2- D---3 + 45: A0-- B--2- C---3 D0--- + 46: A0-- B--2- C---3 D-1-- + 47: A0-- B--2- C---3 D--2- + 48: A0-- B--2- C---3 D---3 + 49: A0-- B---3 C0--- D0--- + 50: A0-- B---3 C0--- D-1-- + 51: A0-- B---3 C0--- D--2- + 52: A0-- B---3 C0--- D---3 + 53: A0-- B---3 C-1-- D0--- + 54: A0-- B---3 C-1-- D-1-- + 55: A0-- B---3 C-1-- D--2- + 56: A0-- B---3 C-1-- D---3 + 57: A0-- B---3 C--2- D0--- + 58: A0-- B---3 C--2- D-1-- + 59: A0-- B---3 C--2- D--2- + 60: A0-- B---3 C--2- D---3 + 61: A0-- B---3 C---3 D0--- + 62: A0-- B---3 C---3 D-1-- + 63: A0-- B---3 C---3 D--2- + 64: A0-- B---3 C---3 D---3 -fcase-initcap + 65: A-1- B01-- C01-- D01-- -fcase-upper + 66: A--2 B0-2- C0-2- D0-2- -fcase-lower + + Number 22 is the "strict" ANSI FORTRAN 77 model wherein all input + (except comments, character constants, and Hollerith strings) must be + entered in uppercase. Use `-fcase-strict-upper' to specify this + combination. + + Number 43 is like Number 22 except all input must be lowercase. Use + `-fcase-strict-lower' to specify this combination. + + Number 65 is the "classic" ANSI FORTRAN 77 model as implemented on + many non-UNIX machines whereby all the source is translated to + uppercase. Use `-fcase-upper' to specify this combination. + + Number 66 is the "canonical" UNIX model whereby all the source is + translated to lowercase. Use `-fcase-lower' to specify this + combination. + + There are a few nearly useless combinations: + + 67: A-1- B01-- C01-- D--2- + 68: A-1- B01-- C01-- D---3 + 69: A-1- B01-- C--23 D01-- + 70: A-1- B01-- C--23 D--2- + 71: A-1- B01-- C--23 D---3 + 72: A--2 B01-- C0-2- D-1-- + 73: A--2 B01-- C0-2- D---3 + 74: A--2 B01-- C-1-3 D0-2- + 75: A--2 B01-- C-1-3 D-1-- + 76: A--2 B01-- C-1-3 D---3 + + The above allow some programs to be compiled but with restrictions + that make most useful programs impossible: Numbers 67 and 72 warn about + _any_ user-defined symbol names (such as `SUBROUTINE FOO'); Numbers 68 + and 73 warn about any user-defined symbol names longer than one + character that don't have at least one non-alphabetic character after + the first; Numbers 69 and 74 disallow any references to intrinsics; and + Numbers 70, 71, 75, and 76 are combinations of the restrictions in + 67+69, 68+69, 72+74, and 73+74, respectively. + + All redundant combinations are shown in the above tables anyplace + where more than one setting is shown for a low-level switch. For + example, `B0-2-' means either setting 0 or 2 is valid for switch B. + The "proper" setting in such a case is the one that copies the setting + of switch A--any other setting might slightly reduce the speed of the + compiler, though possibly to an unmeasurable extent. + + All remaining combinations are useless in that they prevent + successful compilation of non-null source files (source files with + something other than comments). + +  + File: g77.info, Node: VXT Fortran, Next: Fortran 90, Prev: Case Sensitivity, Up: Other Dialects + + VXT Fortran + =========== + + `g77' supports certain constructs that have different meanings in + VXT Fortran than they do in the GNU Fortran language. + + Generally, this manual uses the invented term VXT Fortran to refer + VAX FORTRAN (circa v4). That compiler offered many popular features, + though not necessarily those that are specific to the VAX processor + architecture, the VMS operating system, or Digital Equipment + Corporation's Fortran product line. (VAX and VMS probably are + trademarks of Digital Equipment Corporation.) + + An extension offered by a Digital Fortran product that also is + offered by several other Fortran products for different kinds of + systems is probably going to be considered for inclusion in `g77' + someday, and is considered a VXT Fortran feature. + + The `-fvxt' option generally specifies that, where the meaning of a + construct is ambiguous (means one thing in GNU Fortran and another in + VXT Fortran), the VXT Fortran meaning is to be assumed. + + * Menu: + + * Double Quote Meaning:: `"2000' as octal constant. + * Exclamation Point:: `!' in column 6. + +  + File: g77.info, Node: Double Quote Meaning, Next: Exclamation Point, Up: VXT Fortran + + Meaning of Double Quote + ----------------------- + + `g77' treats double-quote (`"') as beginning an octal constant of + `INTEGER(KIND=1)' type when the `-fvxt' option is specified. The form + of this octal constant is + + "OCTAL-DIGITS + + where OCTAL-DIGITS is a nonempty string of characters in the set + `01234567'. + + For example, the `-fvxt' option permits this: + + PRINT *, "20 + END + + The above program would print the value `16'. + + *Note Integer Type::, for information on the preferred construct for + integer constants specified using GNU Fortran's octal notation. + + (In the GNU Fortran language, the double-quote character (`"') + delimits a character constant just as does apostrophe (`''). There is + no way to allow both constructs in the general case, since statements + like `PRINT *,"2000 !comment?"' would be ambiguous.) + +  + File: g77.info, Node: Exclamation Point, Prev: Double Quote Meaning, Up: VXT Fortran + + Meaning of Exclamation Point in Column 6 + ---------------------------------------- + + `g77' treats an exclamation point (`!') in column 6 of a fixed-form + source file as a continuation character rather than as the beginning of + a comment (as it does in any other column) when the `-fvxt' option is + specified. + + The following program, when run, prints a message indicating whether + it is interpreted according to GNU Fortran (and Fortran 90) rules or + VXT Fortran rules: + + C234567 (This line begins in column 1.) + I = 0 + !1 + IF (I.EQ.0) PRINT *, ' I am a VXT Fortran program' + IF (I.EQ.1) PRINT *, ' I am a Fortran 90 program' + IF (I.LT.0 .OR. I.GT.1) PRINT *, ' I am a HAL 9000 computer' + END + + (In the GNU Fortran and Fortran 90 languages, exclamation point is a + valid character and, unlike space () or zero (`0'), marks a line + as a continuation line when it appears in column 6.) + +  + File: g77.info, Node: Fortran 90, Next: Pedantic Compilation, Prev: VXT Fortran, Up: Other Dialects + + Fortran 90 + ========== + + The GNU Fortran language includes a number of features that are part + of Fortran 90, even when the `-ff90' option is not specified. The + features enabled by `-ff90' are intended to be those that, when `-ff90' + is not specified, would have another meaning to `g77'--usually meaning + something invalid in the GNU Fortran language. + + So, the purpose of `-ff90' is not to specify whether `g77' is to + gratuitously reject Fortran 90 constructs. The `-pedantic' option + specified with `-fno-f90' is intended to do that, although its + implementation is certainly incomplete at this point. + + When `-ff90' is specified: + + * The type of `REAL(EXPR)' and `AIMAG(EXPR)', where EXPR is + `COMPLEX' type, is the same type as the real part of EXPR. + + For example, assuming `Z' is type `COMPLEX(KIND=2)', `REAL(Z)' + would return a value of type `REAL(KIND=2)', not of type + `REAL(KIND=1)', since `-ff90' is specified. + +  File: g77.info, Node: Pedantic Compilation, Next: Distensions, Prev: Fortran 90, Up: Other Dialects Pedantic Compilation *************** enabled, and so on. *** 970,1387 **** `vxt' VAX/VMS FORTRAN (current as of v4) intrinsics. -  - File: g77.info, Node: Other Intrinsics, Prev: Intrinsic Groups, Up: Compiler Intrinsics - - Other Intrinsics - ---------------- - - `g77' supports intrinsics other than those in the GNU Fortran - language proper. This set of intrinsics is described below. - - (Note that the empty lines appearing in the menu below are not - intentional--they result from a bug in the `makeinfo' program.) - - * Menu: - - - * ACosD Intrinsic:: (Reserved for future use.) - - * AIMax0 Intrinsic:: (Reserved for future use.) - * AIMin0 Intrinsic:: (Reserved for future use.) - - * AJMax0 Intrinsic:: (Reserved for future use.) - * AJMin0 Intrinsic:: (Reserved for future use.) - - * ASinD Intrinsic:: (Reserved for future use.) - - * ATan2D Intrinsic:: (Reserved for future use.) - * ATanD Intrinsic:: (Reserved for future use.) - - * BITest Intrinsic:: (Reserved for future use.) - - * BJTest Intrinsic:: (Reserved for future use.) - - * CDAbs Intrinsic:: Absolute value (archaic). - * CDCos Intrinsic:: Cosine (archaic). - * CDExp Intrinsic:: Exponential (archaic). - * CDLog Intrinsic:: Natural logarithm (archaic). - * CDSin Intrinsic:: Sine (archaic). - * CDSqRt Intrinsic:: Square root (archaic). - - * ChDir Intrinsic (function):: Change directory. - - * ChMod Intrinsic (function):: Change file modes. - - * CosD Intrinsic:: (Reserved for future use.) - - * DACosD Intrinsic:: (Reserved for future use.) - - * DASinD Intrinsic:: (Reserved for future use.) - - * DATan2D Intrinsic:: (Reserved for future use.) - * DATanD Intrinsic:: (Reserved for future use.) - * Date Intrinsic:: Get current date as dd-Mon-yy. - - * DbleQ Intrinsic:: (Reserved for future use.) - - * DCmplx Intrinsic:: Construct `COMPLEX(KIND=2)' value. - * DConjg Intrinsic:: Complex conjugate (archaic). - - * DCosD Intrinsic:: (Reserved for future use.) - - * DFloat Intrinsic:: Conversion (archaic). - - * DFlotI Intrinsic:: (Reserved for future use.) - * DFlotJ Intrinsic:: (Reserved for future use.) - - * DImag Intrinsic:: Convert/extract imaginary part of complex (archaic). - - * DReal Intrinsic:: Convert value to type `REAL(KIND=2)'. - - * DSinD Intrinsic:: (Reserved for future use.) - - * DTanD Intrinsic:: (Reserved for future use.) - - * DTime Intrinsic (function):: Get elapsed time since last time. - - * FGet Intrinsic (function):: Read a character from unit 5 stream-wise. - - * FGetC Intrinsic (function):: Read a character stream-wise. - - * FloatI Intrinsic:: (Reserved for future use.) - * FloatJ Intrinsic:: (Reserved for future use.) - - * FPut Intrinsic (function):: Write a character to unit 6 stream-wise. - - * FPutC Intrinsic (function):: Write a character stream-wise. - - * IDate Intrinsic (VXT):: Get local time info (VAX/VMS). - - * IIAbs Intrinsic:: (Reserved for future use.) - * IIAnd Intrinsic:: (Reserved for future use.) - * IIBClr Intrinsic:: (Reserved for future use.) - * IIBits Intrinsic:: (Reserved for future use.) - * IIBSet Intrinsic:: (Reserved for future use.) - * IIDiM Intrinsic:: (Reserved for future use.) - * IIDInt Intrinsic:: (Reserved for future use.) - * IIDNnt Intrinsic:: (Reserved for future use.) - * IIEOr Intrinsic:: (Reserved for future use.) - * IIFix Intrinsic:: (Reserved for future use.) - * IInt Intrinsic:: (Reserved for future use.) - * IIOr Intrinsic:: (Reserved for future use.) - * IIQint Intrinsic:: (Reserved for future use.) - * IIQNnt Intrinsic:: (Reserved for future use.) - * IIShftC Intrinsic:: (Reserved for future use.) - * IISign Intrinsic:: (Reserved for future use.) - - * IMax0 Intrinsic:: (Reserved for future use.) - * IMax1 Intrinsic:: (Reserved for future use.) - * IMin0 Intrinsic:: (Reserved for future use.) - * IMin1 Intrinsic:: (Reserved for future use.) - * IMod Intrinsic:: (Reserved for future use.) - - * INInt Intrinsic:: (Reserved for future use.) - * INot Intrinsic:: (Reserved for future use.) - - * IZExt Intrinsic:: (Reserved for future use.) - * JIAbs Intrinsic:: (Reserved for future use.) - * JIAnd Intrinsic:: (Reserved for future use.) - * JIBClr Intrinsic:: (Reserved for future use.) - * JIBits Intrinsic:: (Reserved for future use.) - * JIBSet Intrinsic:: (Reserved for future use.) - * JIDiM Intrinsic:: (Reserved for future use.) - * JIDInt Intrinsic:: (Reserved for future use.) - * JIDNnt Intrinsic:: (Reserved for future use.) - * JIEOr Intrinsic:: (Reserved for future use.) - * JIFix Intrinsic:: (Reserved for future use.) - * JInt Intrinsic:: (Reserved for future use.) - * JIOr Intrinsic:: (Reserved for future use.) - * JIQint Intrinsic:: (Reserved for future use.) - * JIQNnt Intrinsic:: (Reserved for future use.) - * JIShft Intrinsic:: (Reserved for future use.) - * JIShftC Intrinsic:: (Reserved for future use.) - * JISign Intrinsic:: (Reserved for future use.) - * JMax0 Intrinsic:: (Reserved for future use.) - * JMax1 Intrinsic:: (Reserved for future use.) - * JMin0 Intrinsic:: (Reserved for future use.) - * JMin1 Intrinsic:: (Reserved for future use.) - * JMod Intrinsic:: (Reserved for future use.) - * JNInt Intrinsic:: (Reserved for future use.) - * JNot Intrinsic:: (Reserved for future use.) - * JZExt Intrinsic:: (Reserved for future use.) - - * Kill Intrinsic (function):: Signal a process. - - * Link Intrinsic (function):: Make hard link in file system. - - * QAbs Intrinsic:: (Reserved for future use.) - * QACos Intrinsic:: (Reserved for future use.) - * QACosD Intrinsic:: (Reserved for future use.) - * QASin Intrinsic:: (Reserved for future use.) - * QASinD Intrinsic:: (Reserved for future use.) - * QATan Intrinsic:: (Reserved for future use.) - * QATan2 Intrinsic:: (Reserved for future use.) - * QATan2D Intrinsic:: (Reserved for future use.) - * QATanD Intrinsic:: (Reserved for future use.) - * QCos Intrinsic:: (Reserved for future use.) - * QCosD Intrinsic:: (Reserved for future use.) - * QCosH Intrinsic:: (Reserved for future use.) - * QDiM Intrinsic:: (Reserved for future use.) - * QExp Intrinsic:: (Reserved for future use.) - * QExt Intrinsic:: (Reserved for future use.) - * QExtD Intrinsic:: (Reserved for future use.) - * QFloat Intrinsic:: (Reserved for future use.) - * QInt Intrinsic:: (Reserved for future use.) - * QLog Intrinsic:: (Reserved for future use.) - * QLog10 Intrinsic:: (Reserved for future use.) - * QMax1 Intrinsic:: (Reserved for future use.) - * QMin1 Intrinsic:: (Reserved for future use.) - * QMod Intrinsic:: (Reserved for future use.) - * QNInt Intrinsic:: (Reserved for future use.) - * QSin Intrinsic:: (Reserved for future use.) - * QSinD Intrinsic:: (Reserved for future use.) - * QSinH Intrinsic:: (Reserved for future use.) - * QSqRt Intrinsic:: (Reserved for future use.) - * QTan Intrinsic:: (Reserved for future use.) - * QTanD Intrinsic:: (Reserved for future use.) - * QTanH Intrinsic:: (Reserved for future use.) - - * Rename Intrinsic (function):: Rename file. - - * Secnds Intrinsic:: Get local time offset since midnight. - - * Signal Intrinsic (function):: Muck with signal handling. - - * SinD Intrinsic:: (Reserved for future use.) - - * SnglQ Intrinsic:: (Reserved for future use.) - - * SymLnk Intrinsic (function):: Make symbolic link in file system. - - * System Intrinsic (function):: Invoke shell (system) command. - - * TanD Intrinsic:: (Reserved for future use.) - - * Time Intrinsic (VXT):: Get the time as a character value. - - * UMask Intrinsic (function):: Set file creation permissions mask. - - * Unlink Intrinsic (function):: Unlink file. - - * ZExt Intrinsic:: (Reserved for future use.) - -  - File: g77.info, Node: ACosD Intrinsic, Next: AIMax0 Intrinsic, Up: Other Intrinsics - - ACosD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL ACosD' to use this name for an - external procedure. - -  - File: g77.info, Node: AIMax0 Intrinsic, Next: AIMin0 Intrinsic, Prev: ACosD Intrinsic, Up: Other Intrinsics - - AIMax0 Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL AIMax0' to use this name for an - external procedure. - -  - File: g77.info, Node: AIMin0 Intrinsic, Next: AJMax0 Intrinsic, Prev: AIMax0 Intrinsic, Up: Other Intrinsics - - AIMin0 Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL AIMin0' to use this name for an - external procedure. - -  - File: g77.info, Node: AJMax0 Intrinsic, Next: AJMin0 Intrinsic, Prev: AIMin0 Intrinsic, Up: Other Intrinsics - - AJMax0 Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL AJMax0' to use this name for an - external procedure. - -  - File: g77.info, Node: AJMin0 Intrinsic, Next: ASinD Intrinsic, Prev: AJMax0 Intrinsic, Up: Other Intrinsics - - AJMin0 Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL AJMin0' to use this name for an - external procedure. - -  - File: g77.info, Node: ASinD Intrinsic, Next: ATan2D Intrinsic, Prev: AJMin0 Intrinsic, Up: Other Intrinsics - - ASinD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL ASinD' to use this name for an - external procedure. - -  - File: g77.info, Node: ATan2D Intrinsic, Next: ATanD Intrinsic, Prev: ASinD Intrinsic, Up: Other Intrinsics - - ATan2D Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL ATan2D' to use this name for an - external procedure. - -  - File: g77.info, Node: ATanD Intrinsic, Next: BITest Intrinsic, Prev: ATan2D Intrinsic, Up: Other Intrinsics - - ATanD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL ATanD' to use this name for an - external procedure. - -  - File: g77.info, Node: BITest Intrinsic, Next: BJTest Intrinsic, Prev: ATanD Intrinsic, Up: Other Intrinsics - - BITest Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL BITest' to use this name for an - external procedure. - -  - File: g77.info, Node: BJTest Intrinsic, Next: CDAbs Intrinsic, Prev: BITest Intrinsic, Up: Other Intrinsics - - BJTest Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL BJTest' to use this name for an - external procedure. - -  - File: g77.info, Node: CDAbs Intrinsic, Next: CDCos Intrinsic, Prev: BJTest Intrinsic, Up: Other Intrinsics - - CDAbs Intrinsic - ............... - - CDAbs(A) - - CDAbs: `REAL(KIND=2)' function. - - A: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `ABS()' that is specific to one type for A. *Note - Abs Intrinsic::. - -  - File: g77.info, Node: CDCos Intrinsic, Next: CDExp Intrinsic, Prev: CDAbs Intrinsic, Up: Other Intrinsics - - CDCos Intrinsic - ............... - - CDCos(X) - - CDCos: `COMPLEX(KIND=2)' function. - - X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `COS()' that is specific to one type for X. *Note - Cos Intrinsic::. - -  - File: g77.info, Node: CDExp Intrinsic, Next: CDLog Intrinsic, Prev: CDCos Intrinsic, Up: Other Intrinsics - - CDExp Intrinsic - ............... - - CDExp(X) - - CDExp: `COMPLEX(KIND=2)' function. - - X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `EXP()' that is specific to one type for X. *Note - Exp Intrinsic::. - -  - File: g77.info, Node: CDLog Intrinsic, Next: CDSin Intrinsic, Prev: CDExp Intrinsic, Up: Other Intrinsics - - CDLog Intrinsic - ............... - - CDLog(X) - - CDLog: `COMPLEX(KIND=2)' function. - - X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `LOG()' that is specific to one type for X. *Note - Log Intrinsic::. - -  - File: g77.info, Node: CDSin Intrinsic, Next: CDSqRt Intrinsic, Prev: CDLog Intrinsic, Up: Other Intrinsics - - CDSin Intrinsic - ............... - - CDSin(X) - - CDSin: `COMPLEX(KIND=2)' function. - - X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `SIN()' that is specific to one type for X. *Note - Sin Intrinsic::. - -  - File: g77.info, Node: CDSqRt Intrinsic, Next: ChDir Intrinsic (function), Prev: CDSin Intrinsic, Up: Other Intrinsics - - CDSqRt Intrinsic - ................ - - CDSqRt(X) - - CDSqRt: `COMPLEX(KIND=2)' function. - - X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). - - Intrinsic groups: `f2c', `vxt'. - - Description: - - Archaic form of `SQRT()' that is specific to one type for X. *Note - SqRt Intrinsic::. - --- 1315,1317 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-12 gcc-3.1/gcc/f/g77.info-12 *** gcc-3.0.4/gcc/f/g77.info-12 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-12 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,456 ---- Craig by David Ronis ().  + File: g77.info, Node: Other Intrinsics, Prev: Intrinsic Groups, Up: Compiler Intrinsics + + Other Intrinsics + ---------------- + + `g77' supports intrinsics other than those in the GNU Fortran + language proper. This set of intrinsics is described below. + + (Note that the empty lines appearing in the menu below are not + intentional--they result from a bug in the `makeinfo' program.) + + * Menu: + + + * ACosD Intrinsic:: (Reserved for future use.) + + * AIMax0 Intrinsic:: (Reserved for future use.) + * AIMin0 Intrinsic:: (Reserved for future use.) + + * AJMax0 Intrinsic:: (Reserved for future use.) + * AJMin0 Intrinsic:: (Reserved for future use.) + + * ASinD Intrinsic:: (Reserved for future use.) + + * ATan2D Intrinsic:: (Reserved for future use.) + * ATanD Intrinsic:: (Reserved for future use.) + + * BITest Intrinsic:: (Reserved for future use.) + + * BJTest Intrinsic:: (Reserved for future use.) + + * CDAbs Intrinsic:: Absolute value (archaic). + * CDCos Intrinsic:: Cosine (archaic). + * CDExp Intrinsic:: Exponential (archaic). + * CDLog Intrinsic:: Natural logarithm (archaic). + * CDSin Intrinsic:: Sine (archaic). + * CDSqRt Intrinsic:: Square root (archaic). + + * ChDir Intrinsic (function):: Change directory. + + * ChMod Intrinsic (function):: Change file modes. + + * CosD Intrinsic:: (Reserved for future use.) + + * DACosD Intrinsic:: (Reserved for future use.) + + * DASinD Intrinsic:: (Reserved for future use.) + + * DATan2D Intrinsic:: (Reserved for future use.) + * DATanD Intrinsic:: (Reserved for future use.) + * Date Intrinsic:: Get current date as dd-Mon-yy. + + * DbleQ Intrinsic:: (Reserved for future use.) + + * DCmplx Intrinsic:: Construct `COMPLEX(KIND=2)' value. + * DConjg Intrinsic:: Complex conjugate (archaic). + + * DCosD Intrinsic:: (Reserved for future use.) + + * DFloat Intrinsic:: Conversion (archaic). + + * DFlotI Intrinsic:: (Reserved for future use.) + * DFlotJ Intrinsic:: (Reserved for future use.) + + * DImag Intrinsic:: Convert/extract imaginary part of complex (archaic). + + * DReal Intrinsic:: Convert value to type `REAL(KIND=2)'. + + * DSinD Intrinsic:: (Reserved for future use.) + + * DTanD Intrinsic:: (Reserved for future use.) + + * DTime Intrinsic (function):: Get elapsed time since last time. + + * FGet Intrinsic (function):: Read a character from unit 5 stream-wise. + + * FGetC Intrinsic (function):: Read a character stream-wise. + + * FloatI Intrinsic:: (Reserved for future use.) + * FloatJ Intrinsic:: (Reserved for future use.) + + * FPut Intrinsic (function):: Write a character to unit 6 stream-wise. + + * FPutC Intrinsic (function):: Write a character stream-wise. + + * IDate Intrinsic (VXT):: Get local time info (VAX/VMS). + + * IIAbs Intrinsic:: (Reserved for future use.) + * IIAnd Intrinsic:: (Reserved for future use.) + * IIBClr Intrinsic:: (Reserved for future use.) + * IIBits Intrinsic:: (Reserved for future use.) + * IIBSet Intrinsic:: (Reserved for future use.) + * IIDiM Intrinsic:: (Reserved for future use.) + * IIDInt Intrinsic:: (Reserved for future use.) + * IIDNnt Intrinsic:: (Reserved for future use.) + * IIEOr Intrinsic:: (Reserved for future use.) + * IIFix Intrinsic:: (Reserved for future use.) + * IInt Intrinsic:: (Reserved for future use.) + * IIOr Intrinsic:: (Reserved for future use.) + * IIQint Intrinsic:: (Reserved for future use.) + * IIQNnt Intrinsic:: (Reserved for future use.) + * IIShftC Intrinsic:: (Reserved for future use.) + * IISign Intrinsic:: (Reserved for future use.) + + * IMax0 Intrinsic:: (Reserved for future use.) + * IMax1 Intrinsic:: (Reserved for future use.) + * IMin0 Intrinsic:: (Reserved for future use.) + * IMin1 Intrinsic:: (Reserved for future use.) + * IMod Intrinsic:: (Reserved for future use.) + + * INInt Intrinsic:: (Reserved for future use.) + * INot Intrinsic:: (Reserved for future use.) + + * IZExt Intrinsic:: (Reserved for future use.) + * JIAbs Intrinsic:: (Reserved for future use.) + * JIAnd Intrinsic:: (Reserved for future use.) + * JIBClr Intrinsic:: (Reserved for future use.) + * JIBits Intrinsic:: (Reserved for future use.) + * JIBSet Intrinsic:: (Reserved for future use.) + * JIDiM Intrinsic:: (Reserved for future use.) + * JIDInt Intrinsic:: (Reserved for future use.) + * JIDNnt Intrinsic:: (Reserved for future use.) + * JIEOr Intrinsic:: (Reserved for future use.) + * JIFix Intrinsic:: (Reserved for future use.) + * JInt Intrinsic:: (Reserved for future use.) + * JIOr Intrinsic:: (Reserved for future use.) + * JIQint Intrinsic:: (Reserved for future use.) + * JIQNnt Intrinsic:: (Reserved for future use.) + * JIShft Intrinsic:: (Reserved for future use.) + * JIShftC Intrinsic:: (Reserved for future use.) + * JISign Intrinsic:: (Reserved for future use.) + * JMax0 Intrinsic:: (Reserved for future use.) + * JMax1 Intrinsic:: (Reserved for future use.) + * JMin0 Intrinsic:: (Reserved for future use.) + * JMin1 Intrinsic:: (Reserved for future use.) + * JMod Intrinsic:: (Reserved for future use.) + * JNInt Intrinsic:: (Reserved for future use.) + * JNot Intrinsic:: (Reserved for future use.) + * JZExt Intrinsic:: (Reserved for future use.) + + * Kill Intrinsic (function):: Signal a process. + + * Link Intrinsic (function):: Make hard link in file system. + + * QAbs Intrinsic:: (Reserved for future use.) + * QACos Intrinsic:: (Reserved for future use.) + * QACosD Intrinsic:: (Reserved for future use.) + * QASin Intrinsic:: (Reserved for future use.) + * QASinD Intrinsic:: (Reserved for future use.) + * QATan Intrinsic:: (Reserved for future use.) + * QATan2 Intrinsic:: (Reserved for future use.) + * QATan2D Intrinsic:: (Reserved for future use.) + * QATanD Intrinsic:: (Reserved for future use.) + * QCos Intrinsic:: (Reserved for future use.) + * QCosD Intrinsic:: (Reserved for future use.) + * QCosH Intrinsic:: (Reserved for future use.) + * QDiM Intrinsic:: (Reserved for future use.) + * QExp Intrinsic:: (Reserved for future use.) + * QExt Intrinsic:: (Reserved for future use.) + * QExtD Intrinsic:: (Reserved for future use.) + * QFloat Intrinsic:: (Reserved for future use.) + * QInt Intrinsic:: (Reserved for future use.) + * QLog Intrinsic:: (Reserved for future use.) + * QLog10 Intrinsic:: (Reserved for future use.) + * QMax1 Intrinsic:: (Reserved for future use.) + * QMin1 Intrinsic:: (Reserved for future use.) + * QMod Intrinsic:: (Reserved for future use.) + * QNInt Intrinsic:: (Reserved for future use.) + * QSin Intrinsic:: (Reserved for future use.) + * QSinD Intrinsic:: (Reserved for future use.) + * QSinH Intrinsic:: (Reserved for future use.) + * QSqRt Intrinsic:: (Reserved for future use.) + * QTan Intrinsic:: (Reserved for future use.) + * QTanD Intrinsic:: (Reserved for future use.) + * QTanH Intrinsic:: (Reserved for future use.) + + * Rename Intrinsic (function):: Rename file. + + * Secnds Intrinsic:: Get local time offset since midnight. + + * Signal Intrinsic (function):: Muck with signal handling. + + * SinD Intrinsic:: (Reserved for future use.) + + * SnglQ Intrinsic:: (Reserved for future use.) + + * SymLnk Intrinsic (function):: Make symbolic link in file system. + + * System Intrinsic (function):: Invoke shell (system) command. + + * TanD Intrinsic:: (Reserved for future use.) + + * Time Intrinsic (VXT):: Get the time as a character value. + + * UMask Intrinsic (function):: Set file creation permissions mask. + + * Unlink Intrinsic (function):: Unlink file. + + * ZExt Intrinsic:: (Reserved for future use.) + +  + File: g77.info, Node: ACosD Intrinsic, Next: AIMax0 Intrinsic, Up: Other Intrinsics + + ACosD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL ACosD' to use this name for an + external procedure. + +  + File: g77.info, Node: AIMax0 Intrinsic, Next: AIMin0 Intrinsic, Prev: ACosD Intrinsic, Up: Other Intrinsics + + AIMax0 Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL AIMax0' to use this name for an + external procedure. + +  + File: g77.info, Node: AIMin0 Intrinsic, Next: AJMax0 Intrinsic, Prev: AIMax0 Intrinsic, Up: Other Intrinsics + + AIMin0 Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL AIMin0' to use this name for an + external procedure. + +  + File: g77.info, Node: AJMax0 Intrinsic, Next: AJMin0 Intrinsic, Prev: AIMin0 Intrinsic, Up: Other Intrinsics + + AJMax0 Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL AJMax0' to use this name for an + external procedure. + +  + File: g77.info, Node: AJMin0 Intrinsic, Next: ASinD Intrinsic, Prev: AJMax0 Intrinsic, Up: Other Intrinsics + + AJMin0 Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL AJMin0' to use this name for an + external procedure. + +  + File: g77.info, Node: ASinD Intrinsic, Next: ATan2D Intrinsic, Prev: AJMin0 Intrinsic, Up: Other Intrinsics + + ASinD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL ASinD' to use this name for an + external procedure. + +  + File: g77.info, Node: ATan2D Intrinsic, Next: ATanD Intrinsic, Prev: ASinD Intrinsic, Up: Other Intrinsics + + ATan2D Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL ATan2D' to use this name for an + external procedure. + +  + File: g77.info, Node: ATanD Intrinsic, Next: BITest Intrinsic, Prev: ATan2D Intrinsic, Up: Other Intrinsics + + ATanD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL ATanD' to use this name for an + external procedure. + +  + File: g77.info, Node: BITest Intrinsic, Next: BJTest Intrinsic, Prev: ATanD Intrinsic, Up: Other Intrinsics + + BITest Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL BITest' to use this name for an + external procedure. + +  + File: g77.info, Node: BJTest Intrinsic, Next: CDAbs Intrinsic, Prev: BITest Intrinsic, Up: Other Intrinsics + + BJTest Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL BJTest' to use this name for an + external procedure. + +  + File: g77.info, Node: CDAbs Intrinsic, Next: CDCos Intrinsic, Prev: BJTest Intrinsic, Up: Other Intrinsics + + CDAbs Intrinsic + ............... + + CDAbs(A) + + CDAbs: `REAL(KIND=2)' function. + + A: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `ABS()' that is specific to one type for A. *Note + Abs Intrinsic::. + +  + File: g77.info, Node: CDCos Intrinsic, Next: CDExp Intrinsic, Prev: CDAbs Intrinsic, Up: Other Intrinsics + + CDCos Intrinsic + ............... + + CDCos(X) + + CDCos: `COMPLEX(KIND=2)' function. + + X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `COS()' that is specific to one type for X. *Note + Cos Intrinsic::. + +  + File: g77.info, Node: CDExp Intrinsic, Next: CDLog Intrinsic, Prev: CDCos Intrinsic, Up: Other Intrinsics + + CDExp Intrinsic + ............... + + CDExp(X) + + CDExp: `COMPLEX(KIND=2)' function. + + X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `EXP()' that is specific to one type for X. *Note + Exp Intrinsic::. + +  + File: g77.info, Node: CDLog Intrinsic, Next: CDSin Intrinsic, Prev: CDExp Intrinsic, Up: Other Intrinsics + + CDLog Intrinsic + ............... + + CDLog(X) + + CDLog: `COMPLEX(KIND=2)' function. + + X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `LOG()' that is specific to one type for X. *Note + Log Intrinsic::. + +  + File: g77.info, Node: CDSin Intrinsic, Next: CDSqRt Intrinsic, Prev: CDLog Intrinsic, Up: Other Intrinsics + + CDSin Intrinsic + ............... + + CDSin(X) + + CDSin: `COMPLEX(KIND=2)' function. + + X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `SIN()' that is specific to one type for X. *Note + Sin Intrinsic::. + +  + File: g77.info, Node: CDSqRt Intrinsic, Next: ChDir Intrinsic (function), Prev: CDSin Intrinsic, Up: Other Intrinsics + + CDSqRt Intrinsic + ................ + + CDSqRt(X) + + CDSqRt: `COMPLEX(KIND=2)' function. + + X: `COMPLEX(KIND=2)'; scalar; INTENT(IN). + + Intrinsic groups: `f2c', `vxt'. + + Description: + + Archaic form of `SQRT()' that is specific to one type for X. *Note + SqRt Intrinsic::. + +  File: g77.info, Node: ChDir Intrinsic (function), Next: ChMod Intrinsic (function), Prev: CDSqRt Intrinsic, Up: Other Intrinsics ChDir Intrinsic (function) *************** QExt Intrinsic *** 1270,1660 **** reserved as an intrinsic. Use `EXTERNAL QExt' to use this name for an external procedure. -  - File: g77.info, Node: QExtD Intrinsic, Next: QFloat Intrinsic, Prev: QExt Intrinsic, Up: Other Intrinsics - - QExtD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QExtD' to use this name for an - external procedure. - -  - File: g77.info, Node: QFloat Intrinsic, Next: QInt Intrinsic, Prev: QExtD Intrinsic, Up: Other Intrinsics - - QFloat Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QFloat' to use this name for an - external procedure. - -  - File: g77.info, Node: QInt Intrinsic, Next: QLog Intrinsic, Prev: QFloat Intrinsic, Up: Other Intrinsics - - QInt Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QInt' to use this name for an - external procedure. - -  - File: g77.info, Node: QLog Intrinsic, Next: QLog10 Intrinsic, Prev: QInt Intrinsic, Up: Other Intrinsics - - QLog Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QLog' to use this name for an - external procedure. - -  - File: g77.info, Node: QLog10 Intrinsic, Next: QMax1 Intrinsic, Prev: QLog Intrinsic, Up: Other Intrinsics - - QLog10 Intrinsic - ................ - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QLog10' to use this name for an - external procedure. - -  - File: g77.info, Node: QMax1 Intrinsic, Next: QMin1 Intrinsic, Prev: QLog10 Intrinsic, Up: Other Intrinsics - - QMax1 Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QMax1' to use this name for an - external procedure. - -  - File: g77.info, Node: QMin1 Intrinsic, Next: QMod Intrinsic, Prev: QMax1 Intrinsic, Up: Other Intrinsics - - QMin1 Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QMin1' to use this name for an - external procedure. - -  - File: g77.info, Node: QMod Intrinsic, Next: QNInt Intrinsic, Prev: QMin1 Intrinsic, Up: Other Intrinsics - - QMod Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QMod' to use this name for an - external procedure. - -  - File: g77.info, Node: QNInt Intrinsic, Next: QSin Intrinsic, Prev: QMod Intrinsic, Up: Other Intrinsics - - QNInt Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QNInt' to use this name for an - external procedure. - -  - File: g77.info, Node: QSin Intrinsic, Next: QSinD Intrinsic, Prev: QNInt Intrinsic, Up: Other Intrinsics - - QSin Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QSin' to use this name for an - external procedure. - -  - File: g77.info, Node: QSinD Intrinsic, Next: QSinH Intrinsic, Prev: QSin Intrinsic, Up: Other Intrinsics - - QSinD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QSinD' to use this name for an - external procedure. - -  - File: g77.info, Node: QSinH Intrinsic, Next: QSqRt Intrinsic, Prev: QSinD Intrinsic, Up: Other Intrinsics - - QSinH Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QSinH' to use this name for an - external procedure. - -  - File: g77.info, Node: QSqRt Intrinsic, Next: QTan Intrinsic, Prev: QSinH Intrinsic, Up: Other Intrinsics - - QSqRt Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QSqRt' to use this name for an - external procedure. - -  - File: g77.info, Node: QTan Intrinsic, Next: QTanD Intrinsic, Prev: QSqRt Intrinsic, Up: Other Intrinsics - - QTan Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QTan' to use this name for an - external procedure. - -  - File: g77.info, Node: QTanD Intrinsic, Next: QTanH Intrinsic, Prev: QTan Intrinsic, Up: Other Intrinsics - - QTanD Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QTanD' to use this name for an - external procedure. - -  - File: g77.info, Node: QTanH Intrinsic, Next: Rename Intrinsic (function), Prev: QTanD Intrinsic, Up: Other Intrinsics - - QTanH Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL QTanH' to use this name for an - external procedure. - -  - File: g77.info, Node: Rename Intrinsic (function), Next: Secnds Intrinsic, Prev: QTanH Intrinsic, Up: Other Intrinsics - - Rename Intrinsic (function) - ........................... - - Rename(PATH1, PATH2) - - Rename: `INTEGER(KIND=1)' function. - - PATH1: `CHARACTER'; scalar; INTENT(IN). - - PATH2: `CHARACTER'; scalar; INTENT(IN). - - Intrinsic groups: `badu77'. - - Description: - - Renames the file PATH1 to PATH2. A null character (`CHAR(0)') marks - the end of the names in PATH1 and PATH2--otherwise, trailing blanks in - PATH1 and PATH2 are ignored. See `rename(2)'. Returns 0 on success or - a non-zero error code. - - Due to the side effects performed by this intrinsic, the function - form is not recommended. - - For information on other intrinsics with the same name: *Note Rename - Intrinsic (subroutine)::. - -  - File: g77.info, Node: Secnds Intrinsic, Next: Signal Intrinsic (function), Prev: Rename Intrinsic (function), Up: Other Intrinsics - - Secnds Intrinsic - ................ - - Secnds(T) - - Secnds: `REAL(KIND=1)' function. - - T: `REAL(KIND=1)'; scalar; INTENT(IN). - - Intrinsic groups: `vxt'. - - Description: - - Returns the local time in seconds since midnight minus the value T. - - This values returned by this intrinsic become numerically less than - previous values (they wrap around) during a single run of the compiler - program, under normal circumstances (such as running through the - midnight hour). - -  - File: g77.info, Node: Signal Intrinsic (function), Next: SinD Intrinsic, Prev: Secnds Intrinsic, Up: Other Intrinsics - - Signal Intrinsic (function) - ........................... - - Signal(NUMBER, HANDLER) - - Signal: `INTEGER(KIND=7)' function. - - NUMBER: `INTEGER'; scalar; INTENT(IN). - - HANDLER: Signal handler (`INTEGER FUNCTION' or `SUBROUTINE') or - dummy/global `INTEGER(KIND=1)' scalar. - - Intrinsic groups: `badu77'. - - Description: - - If HANDLER is a an `EXTERNAL' routine, arranges for it to be invoked - with a single integer argument (of system-dependent length) when signal - NUMBER occurs. If HANDLER is an integer, it can be used to turn off - handling of signal NUMBER or revert to its default action. See - `signal(2)'. - - Note that HANDLER will be called using C conventions, so the value - of its argument in Fortran terms is obtained by applying `%LOC()' (or - LOC()) to it. - - The value returned by `signal(2)' is returned. - - Due to the side effects performed by this intrinsic, the function - form is not recommended. - - _Warning:_ If the returned value is stored in an `INTEGER(KIND=1)' - (default `INTEGER') argument, truncation of the original return value - occurs on some systems (such as Alphas, which have 64-bit pointers but - 32-bit default integers), with no warning issued by `g77' under normal - circumstances. - - Therefore, the following code fragment might silently fail on some - systems: - - INTEGER RTN - EXTERNAL MYHNDL - RTN = SIGNAL(SIGNUM, MYHNDL) - ... - ! Restore original handler: - RTN = SIGNAL(SIGNUM, RTN) - - The reason for the failure is that `RTN' might not hold all the - information on the original handler for the signal, thus restoring an - invalid handler. This bug could manifest itself as a spurious run-time - failure at an arbitrary point later during the program's execution, for - example. - - _Warning:_ Use of the `libf2c' run-time library function `signal_' - directly (such as via `EXTERNAL SIGNAL') requires use of the `%VAL()' - construct to pass an `INTEGER' value (such as `SIG_IGN' or `SIG_DFL') - for the HANDLER argument. - - However, while `RTN = SIGNAL(SIGNUM, %VAL(SIG_IGN))' works when - `SIGNAL' is treated as an external procedure (and resolves, at link - time, to `libf2c''s `signal_' routine), this construct is not valid - when `SIGNAL' is recognized as the intrinsic of that name. - - Therefore, for maximum portability and reliability, code such - references to the `SIGNAL' facility as follows: - - INTRINSIC SIGNAL - ... - RTN = SIGNAL(SIGNUM, SIG_IGN) - - `g77' will compile such a call correctly, while other compilers will - generally either do so as well or reject the `INTRINSIC SIGNAL' - statement via a diagnostic, allowing you to take appropriate action. - - For information on other intrinsics with the same name: *Note Signal - Intrinsic (subroutine)::. - -  - File: g77.info, Node: SinD Intrinsic, Next: SnglQ Intrinsic, Prev: Signal Intrinsic (function), Up: Other Intrinsics - - SinD Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL SinD' to use this name for an - external procedure. - -  - File: g77.info, Node: SnglQ Intrinsic, Next: SymLnk Intrinsic (function), Prev: SinD Intrinsic, Up: Other Intrinsics - - SnglQ Intrinsic - ............... - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL SnglQ' to use this name for an - external procedure. - -  - File: g77.info, Node: SymLnk Intrinsic (function), Next: System Intrinsic (function), Prev: SnglQ Intrinsic, Up: Other Intrinsics - - SymLnk Intrinsic (function) - ........................... - - SymLnk(PATH1, PATH2) - - SymLnk: `INTEGER(KIND=1)' function. - - PATH1: `CHARACTER'; scalar; INTENT(IN). - - PATH2: `CHARACTER'; scalar; INTENT(IN). - - Intrinsic groups: `badu77'. - - Description: - - Makes a symbolic link from file PATH1 to PATH2. A null character - (`CHAR(0)') marks the end of the names in PATH1 and PATH2--otherwise, - trailing blanks in PATH1 and PATH2 are ignored. Returns 0 on success - or a non-zero error code (`ENOSYS' if the system does not provide - `symlink(2)'). - - Due to the side effects performed by this intrinsic, the function - form is not recommended. - - For information on other intrinsics with the same name: *Note SymLnk - Intrinsic (subroutine)::. - -  - File: g77.info, Node: System Intrinsic (function), Next: TanD Intrinsic, Prev: SymLnk Intrinsic (function), Up: Other Intrinsics - - System Intrinsic (function) - ........................... - - System(COMMAND) - - System: `INTEGER(KIND=1)' function. - - COMMAND: `CHARACTER'; scalar; INTENT(IN). - - Intrinsic groups: `badu77'. - - Description: - - Passes the command COMMAND to a shell (see `system(3)'). Returns - the value returned by `system(3)', presumably 0 if the shell command - succeeded. Note that which shell is used to invoke the command is - system-dependent and environment-dependent. - - Due to the side effects performed by this intrinsic, the function - form is not recommended. However, the function form can be valid in - cases where the actual side effects performed by the call are - unimportant to the application. - - For example, on a UNIX system, `SAME = SYSTEM('cmp a b')' does not - perform any side effects likely to be important to the program, so the - programmer would not care if the actual system call (and invocation of - `cmp') was optimized away in a situation where the return value could - be determined otherwise, or was not actually needed (`SAME' not - actually referenced after the sample assignment statement). - - For information on other intrinsics with the same name: *Note System - Intrinsic (subroutine)::. - -  - File: g77.info, Node: TanD Intrinsic, Next: Time Intrinsic (VXT), Prev: System Intrinsic (function), Up: Other Intrinsics - - TanD Intrinsic - .............. - - This intrinsic is not yet implemented. The name is, however, - reserved as an intrinsic. Use `EXTERNAL TanD' to use this name for an - external procedure. - --- 1685,1687 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-13 gcc-3.1/gcc/f/g77.info-13 *** gcc-3.0.4/gcc/f/g77.info-13 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-13 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,429 ---- Craig by David Ronis ().  + File: g77.info, Node: QExtD Intrinsic, Next: QFloat Intrinsic, Prev: QExt Intrinsic, Up: Other Intrinsics + + QExtD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QExtD' to use this name for an + external procedure. + +  + File: g77.info, Node: QFloat Intrinsic, Next: QInt Intrinsic, Prev: QExtD Intrinsic, Up: Other Intrinsics + + QFloat Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QFloat' to use this name for an + external procedure. + +  + File: g77.info, Node: QInt Intrinsic, Next: QLog Intrinsic, Prev: QFloat Intrinsic, Up: Other Intrinsics + + QInt Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QInt' to use this name for an + external procedure. + +  + File: g77.info, Node: QLog Intrinsic, Next: QLog10 Intrinsic, Prev: QInt Intrinsic, Up: Other Intrinsics + + QLog Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QLog' to use this name for an + external procedure. + +  + File: g77.info, Node: QLog10 Intrinsic, Next: QMax1 Intrinsic, Prev: QLog Intrinsic, Up: Other Intrinsics + + QLog10 Intrinsic + ................ + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QLog10' to use this name for an + external procedure. + +  + File: g77.info, Node: QMax1 Intrinsic, Next: QMin1 Intrinsic, Prev: QLog10 Intrinsic, Up: Other Intrinsics + + QMax1 Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QMax1' to use this name for an + external procedure. + +  + File: g77.info, Node: QMin1 Intrinsic, Next: QMod Intrinsic, Prev: QMax1 Intrinsic, Up: Other Intrinsics + + QMin1 Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QMin1' to use this name for an + external procedure. + +  + File: g77.info, Node: QMod Intrinsic, Next: QNInt Intrinsic, Prev: QMin1 Intrinsic, Up: Other Intrinsics + + QMod Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QMod' to use this name for an + external procedure. + +  + File: g77.info, Node: QNInt Intrinsic, Next: QSin Intrinsic, Prev: QMod Intrinsic, Up: Other Intrinsics + + QNInt Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QNInt' to use this name for an + external procedure. + +  + File: g77.info, Node: QSin Intrinsic, Next: QSinD Intrinsic, Prev: QNInt Intrinsic, Up: Other Intrinsics + + QSin Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QSin' to use this name for an + external procedure. + +  + File: g77.info, Node: QSinD Intrinsic, Next: QSinH Intrinsic, Prev: QSin Intrinsic, Up: Other Intrinsics + + QSinD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QSinD' to use this name for an + external procedure. + +  + File: g77.info, Node: QSinH Intrinsic, Next: QSqRt Intrinsic, Prev: QSinD Intrinsic, Up: Other Intrinsics + + QSinH Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QSinH' to use this name for an + external procedure. + +  + File: g77.info, Node: QSqRt Intrinsic, Next: QTan Intrinsic, Prev: QSinH Intrinsic, Up: Other Intrinsics + + QSqRt Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QSqRt' to use this name for an + external procedure. + +  + File: g77.info, Node: QTan Intrinsic, Next: QTanD Intrinsic, Prev: QSqRt Intrinsic, Up: Other Intrinsics + + QTan Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QTan' to use this name for an + external procedure. + +  + File: g77.info, Node: QTanD Intrinsic, Next: QTanH Intrinsic, Prev: QTan Intrinsic, Up: Other Intrinsics + + QTanD Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QTanD' to use this name for an + external procedure. + +  + File: g77.info, Node: QTanH Intrinsic, Next: Rename Intrinsic (function), Prev: QTanD Intrinsic, Up: Other Intrinsics + + QTanH Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL QTanH' to use this name for an + external procedure. + +  + File: g77.info, Node: Rename Intrinsic (function), Next: Secnds Intrinsic, Prev: QTanH Intrinsic, Up: Other Intrinsics + + Rename Intrinsic (function) + ........................... + + Rename(PATH1, PATH2) + + Rename: `INTEGER(KIND=1)' function. + + PATH1: `CHARACTER'; scalar; INTENT(IN). + + PATH2: `CHARACTER'; scalar; INTENT(IN). + + Intrinsic groups: `badu77'. + + Description: + + Renames the file PATH1 to PATH2. A null character (`CHAR(0)') marks + the end of the names in PATH1 and PATH2--otherwise, trailing blanks in + PATH1 and PATH2 are ignored. See `rename(2)'. Returns 0 on success or + a non-zero error code. + + Due to the side effects performed by this intrinsic, the function + form is not recommended. + + For information on other intrinsics with the same name: *Note Rename + Intrinsic (subroutine)::. + +  + File: g77.info, Node: Secnds Intrinsic, Next: Signal Intrinsic (function), Prev: Rename Intrinsic (function), Up: Other Intrinsics + + Secnds Intrinsic + ................ + + Secnds(T) + + Secnds: `REAL(KIND=1)' function. + + T: `REAL(KIND=1)'; scalar; INTENT(IN). + + Intrinsic groups: `vxt'. + + Description: + + Returns the local time in seconds since midnight minus the value T. + + This values returned by this intrinsic become numerically less than + previous values (they wrap around) during a single run of the compiler + program, under normal circumstances (such as running through the + midnight hour). + +  + File: g77.info, Node: Signal Intrinsic (function), Next: SinD Intrinsic, Prev: Secnds Intrinsic, Up: Other Intrinsics + + Signal Intrinsic (function) + ........................... + + Signal(NUMBER, HANDLER) + + Signal: `INTEGER(KIND=7)' function. + + NUMBER: `INTEGER'; scalar; INTENT(IN). + + HANDLER: Signal handler (`INTEGER FUNCTION' or `SUBROUTINE') or + dummy/global `INTEGER(KIND=1)' scalar. + + Intrinsic groups: `badu77'. + + Description: + + If HANDLER is a an `EXTERNAL' routine, arranges for it to be invoked + with a single integer argument (of system-dependent length) when signal + NUMBER occurs. If HANDLER is an integer, it can be used to turn off + handling of signal NUMBER or revert to its default action. See + `signal(2)'. + + Note that HANDLER will be called using C conventions, so the value + of its argument in Fortran terms is obtained by applying `%LOC()' (or + LOC()) to it. + + The value returned by `signal(2)' is returned. + + Due to the side effects performed by this intrinsic, the function + form is not recommended. + + _Warning:_ If the returned value is stored in an `INTEGER(KIND=1)' + (default `INTEGER') argument, truncation of the original return value + occurs on some systems (such as Alphas, which have 64-bit pointers but + 32-bit default integers), with no warning issued by `g77' under normal + circumstances. + + Therefore, the following code fragment might silently fail on some + systems: + + INTEGER RTN + EXTERNAL MYHNDL + RTN = SIGNAL(SIGNUM, MYHNDL) + ... + ! Restore original handler: + RTN = SIGNAL(SIGNUM, RTN) + + The reason for the failure is that `RTN' might not hold all the + information on the original handler for the signal, thus restoring an + invalid handler. This bug could manifest itself as a spurious run-time + failure at an arbitrary point later during the program's execution, for + example. + + _Warning:_ Use of the `libf2c' run-time library function `signal_' + directly (such as via `EXTERNAL SIGNAL') requires use of the `%VAL()' + construct to pass an `INTEGER' value (such as `SIG_IGN' or `SIG_DFL') + for the HANDLER argument. + + However, while `RTN = SIGNAL(SIGNUM, %VAL(SIG_IGN))' works when + `SIGNAL' is treated as an external procedure (and resolves, at link + time, to `libf2c''s `signal_' routine), this construct is not valid + when `SIGNAL' is recognized as the intrinsic of that name. + + Therefore, for maximum portability and reliability, code such + references to the `SIGNAL' facility as follows: + + INTRINSIC SIGNAL + ... + RTN = SIGNAL(SIGNUM, SIG_IGN) + + `g77' will compile such a call correctly, while other compilers will + generally either do so as well or reject the `INTRINSIC SIGNAL' + statement via a diagnostic, allowing you to take appropriate action. + + For information on other intrinsics with the same name: *Note Signal + Intrinsic (subroutine)::. + +  + File: g77.info, Node: SinD Intrinsic, Next: SnglQ Intrinsic, Prev: Signal Intrinsic (function), Up: Other Intrinsics + + SinD Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL SinD' to use this name for an + external procedure. + +  + File: g77.info, Node: SnglQ Intrinsic, Next: SymLnk Intrinsic (function), Prev: SinD Intrinsic, Up: Other Intrinsics + + SnglQ Intrinsic + ............... + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL SnglQ' to use this name for an + external procedure. + +  + File: g77.info, Node: SymLnk Intrinsic (function), Next: System Intrinsic (function), Prev: SnglQ Intrinsic, Up: Other Intrinsics + + SymLnk Intrinsic (function) + ........................... + + SymLnk(PATH1, PATH2) + + SymLnk: `INTEGER(KIND=1)' function. + + PATH1: `CHARACTER'; scalar; INTENT(IN). + + PATH2: `CHARACTER'; scalar; INTENT(IN). + + Intrinsic groups: `badu77'. + + Description: + + Makes a symbolic link from file PATH1 to PATH2. A null character + (`CHAR(0)') marks the end of the names in PATH1 and PATH2--otherwise, + trailing blanks in PATH1 and PATH2 are ignored. Returns 0 on success + or a non-zero error code (`ENOSYS' if the system does not provide + `symlink(2)'). + + Due to the side effects performed by this intrinsic, the function + form is not recommended. + + For information on other intrinsics with the same name: *Note SymLnk + Intrinsic (subroutine)::. + +  + File: g77.info, Node: System Intrinsic (function), Next: TanD Intrinsic, Prev: SymLnk Intrinsic (function), Up: Other Intrinsics + + System Intrinsic (function) + ........................... + + System(COMMAND) + + System: `INTEGER(KIND=1)' function. + + COMMAND: `CHARACTER'; scalar; INTENT(IN). + + Intrinsic groups: `badu77'. + + Description: + + Passes the command COMMAND to a shell (see `system(3)'). Returns + the value returned by `system(3)', presumably 0 if the shell command + succeeded. Note that which shell is used to invoke the command is + system-dependent and environment-dependent. + + Due to the side effects performed by this intrinsic, the function + form is not recommended. However, the function form can be valid in + cases where the actual side effects performed by the call are + unimportant to the application. + + For example, on a UNIX system, `SAME = SYSTEM('cmp a b')' does not + perform any side effects likely to be important to the program, so the + programmer would not care if the actual system call (and invocation of + `cmp') was optimized away in a situation where the return value could + be determined otherwise, or was not actually needed (`SAME' not + actually referenced after the sample assignment statement). + + For information on other intrinsics with the same name: *Note System + Intrinsic (subroutine)::. + +  + File: g77.info, Node: TanD Intrinsic, Next: Time Intrinsic (VXT), Prev: System Intrinsic (function), Up: Other Intrinsics + + TanD Intrinsic + .............. + + This intrinsic is not yet implemented. The name is, however, + reserved as an intrinsic. Use `EXTERNAL TanD' to use this name for an + external procedure. + +  File: g77.info, Node: Time Intrinsic (VXT), Next: UMask Intrinsic (function), Prev: TanD Intrinsic, Up: Other Intrinsics Time Intrinsic (VXT) *************** recompiled with `g77' to be used with `g *** 276,282 **** -lF77 -lV77' to the link command.  ! File: g77.info, Node: Other Languages, Next: Installation, Prev: Other Compilers, Up: Top Other Languages *************** --- 664,670 ---- -lF77 -lV77' to the link command.  ! File: g77.info, Node: Other Languages, Next: Debugging and Interfacing, Prev: Other Compilers, Up: Top Other Languages *************** *************** These are in `gcc/libf2c/libF77/', named *** 511,526 **** open-code (inline) references to `IARGC'.  ! File: g77.info, Node: Installation, Next: Debugging and Interfacing, Prev: Other Languages, Up: Top ! ! Installing GNU Fortran ! ********************** ! ! The information describing how to install `g77' is contained in the ! GCC installation procedures. ! !  ! File: g77.info, Node: Debugging and Interfacing, Next: Collected Fortran Wisdom, Prev: Installation, Up: Top Debugging and Interfacing ************************* --- 899,905 ---- open-code (inline) references to `IARGC'.  ! File: g77.info, Node: Debugging and Interfacing, Next: Collected Fortran Wisdom, Prev: Other Languages, Up: Top Debugging and Interfacing ************************* *************** Common Blocks (COMMON) *** 816,863 **** `g77' names and lays out `COMMON' areas the same way `f2c' does, for compatibility with `f2c'. - Currently, `g77' does not emit "true" debugging information for - members of a `COMMON' area, due to an apparent bug in the GBE. - - (As of Version 0.5.19, `g77' emits debugging information for such - members in the form of a constant string specifying the base name of - the aggregate area and the offset of the member in bytes from the start - of the area. Use the `-fdebug-kludge' option to enable this behavior. - In `gdb', use `set language c' before printing the value of the member, - then `set language fortran' to restore the default language, since - `gdb' doesn't provide a way to print a readable version of a character - string in Fortran language mode. - - This kludge will be removed in a future version of `g77' that, in - conjunction with a contemporary version of `gdb', properly supports - Fortran-language debugging, including access to members of `COMMON' - areas.) - - Version 0.5.26 of `g77' is believed to provide correct and complete - debug information for COMMON BLOCK and EQUIVALENCE items - hence the - `-fdebug-kludge' option has been disabled. - - *Note Options for Code Generation Conventions: Code Gen Options, for - information on the `-fdebug-kludge' option. - - Moreover, `g77' currently implements a `COMMON' area such that its - type is an array of the C `char' data type. - - So, when debugging, you must know the offset into a `COMMON' area - for a particular item in that area, and you have to take into account - the appropriate multiplier for the respective sizes of the types (as - declared in your code) for the items preceding the item in question as - compared to the size of the `char' type. - - For example, using default implicit typing, the statement - - COMMON I(15), R(20), T - - results in a public 144-byte `char' array named `_BLNK__' with `I' - placed at `_BLNK__[0]', `R' at `_BLNK__[60]', and `T' at `_BLNK__[140]'. - (This is assuming that the target machine for the compilation has - 4-byte `INTEGER(KIND=1)' and `REAL(KIND=1)' types.) -  File: g77.info, Node: Local Equivalence Areas, Next: Complex Variables, Prev: Common Blocks, Up: Debugging and Interfacing --- 1195,1200 ---- *************** explained in the section on common block *** 871,911 **** connected to each other in any way via `EQUIVALENCE', none of which are listed in a `COMMON' statement. - Currently, `g77' does not emit "true" debugging information for - members in a local `EQUIVALENCE' area, due to an apparent bug in the - GBE. - - (As of Version 0.5.19, `g77' does emit debugging information for such - members in the form of a constant string specifying the base name of - the aggregate area and the offset of the member in bytes from the start - of the area. Use the `-fdebug-kludge' option to enable this behavior. - In `gdb', use `set language c' before printing the value of the member, - then `set language fortran' to restore the default language, since - `gdb' doesn't provide a way to print a readable version of a character - string in Fortran language mode. - - This kludge will be removed in a future version of `g77' that, in - conjunction with a contemporary version of `gdb', properly supports - Fortran-language debugging, including access to members of - `EQUIVALENCE' areas.) - - *Note Options for Code Generation Conventions: Code Gen Options, for - information on the `-fdebug-kludge' option. - - Moreover, `g77' implements a local `EQUIVALENCE' area such that its - type is an array of the C `char' data type. - - The name `g77' gives this array of `char' type is `__g77_equiv_X', - where X is the name of the item that is placed at the beginning (offset - 0) of this array. If more than one such item is placed at the - beginning, X is the name that sorts to the top in an alphabetical sort - of the list of such items. - - When debugging, you must therefore access members of `EQUIVALENCE' - areas by specifying the appropriate `__g77_equiv_X' array section with - the appropriate offset. See the explanation of debugging `COMMON' - blocks for info applicable to debugging local `EQUIVALENCE' areas. - (_Note:_ `g77' version 0.5.18 and earlier chose the name for X using a different method when more than one name was in the list of names of entities placed at the beginning of the array. Though the --- 1208,1213 ---- *************** of `COMPLEX' type and then switch back t *** 941,1078 **** afterward. (In `gdb', this is accomplished via `set lang c' and either `set lang fortran' or `set lang auto'.) -  - File: g77.info, Node: Arrays, Next: Adjustable Arrays, Prev: Complex Variables, Up: Debugging and Interfacing - - Arrays (DIMENSION) - ================== - - Fortran uses "column-major ordering" in its arrays. This differs - from other languages, such as C, which use "row-major ordering". The - difference is that, with Fortran, array elements adjacent to each other - in memory differ in the _first_ subscript instead of the last; - `A(5,10,20)' immediately follows `A(4,10,20)', whereas with row-major - ordering it would follow `A(5,10,19)'. - - This consideration affects not only interfacing with and debugging - Fortran code, it can greatly affect how code is designed and written, - especially when code speed and size is a concern. - - Fortran also differs from C, a popular language for interfacing and - to support directly in debuggers, in the way arrays are treated. In C, - arrays are single-dimensional and have interesting relationships to - pointers, neither of which is true for Fortran. As a result, dealing - with Fortran arrays from within an environment limited to C concepts - can be challenging. - - For example, accessing the array element `A(5,10,20)' is easy enough - in Fortran (use `A(5,10,20)'), but in C some difficult machinations are - needed. First, C would treat the A array as a single-dimension array. - Second, C does not understand low bounds for arrays as does Fortran. - Third, C assumes a low bound of zero (0), while Fortran defaults to a - low bound of one (1) and can supports an arbitrary low bound. - Therefore, calculations must be done to determine what the C equivalent - of `A(5,10,20)' would be, and these calculations require knowing the - dimensions of `A'. - - For `DIMENSION A(2:11,21,0:29)', the calculation of the offset of - `A(5,10,20)' would be: - - (5-2) - + (10-1)*(11-2+1) - + (20-0)*(11-2+1)*(21-1+1) - = 4293 - - So the C equivalent in this case would be `a[4293]'. - - When using a debugger directly on Fortran code, the C equivalent - might not work, because some debuggers cannot understand the notion of - low bounds other than zero. However, unlike `f2c', `g77' does inform - the GBE that a multi-dimensional array (like `A' in the above example) - is really multi-dimensional, rather than a single-dimensional array, so - at least the dimensionality of the array is preserved. - - Debuggers that understand Fortran should have no trouble with - non-zero low bounds, but for non-Fortran debuggers, especially C - debuggers, the above example might have a C equivalent of `a[4305]'. - This calculation is arrived at by eliminating the subtraction of the - lower bound in the first parenthesized expression on each line--that - is, for `(5-2)' substitute `(5)', for `(10-1)' substitute `(10)', and - for `(20-0)' substitute `(20)'. Actually, the implication of this can - be that the expression `*(&a[2][1][0] + 4293)' works fine, but that - `a[20][10][5]' produces the equivalent of `*(&a[0][0][0] + 4305)' - because of the missing lower bounds. - - Come to think of it, perhaps the behavior is due to the debugger - internally compensating for the lower bounds by offsetting the base - address of `a', leaving `&a' set lower, in this case, than - `&a[2][1][0]' (the address of its first element as identified by - subscripts equal to the corresponding lower bounds). - - You know, maybe nobody really needs to use arrays. - -  - File: g77.info, Node: Adjustable Arrays, Next: Alternate Entry Points, Prev: Arrays, Up: Debugging and Interfacing - - Adjustable Arrays (DIMENSION) - ============================= - - Adjustable and automatic arrays in Fortran require the implementation - (in this case, the `g77' compiler) to "memorize" the expressions that - dimension the arrays each time the procedure is invoked. This is so - that subsequent changes to variables used in those expressions, made - during execution of the procedure, do not have any effect on the - dimensions of those arrays. - - For example: - - REAL ARRAY(5) - DATA ARRAY/5*2/ - CALL X(ARRAY, 5) - END - SUBROUTINE X(A, N) - DIMENSION A(N) - N = 20 - PRINT *, N, A - END - - Here, the implementation should, when running the program, print - something like: - - 20 2. 2. 2. 2. 2. - - Note that this shows that while the value of `N' was successfully - changed, the size of the `A' array remained at 5 elements. - - To support this, `g77' generates code that executes before any user - code (and before the internally generated computed `GOTO' to handle - alternate entry points, as described below) that evaluates each - (nonconstant) expression in the list of subscripts for an array, and - saves the result of each such evaluation to be used when determining - the size of the array (instead of re-evaluating the expressions). - - So, in the above example, when `X' is first invoked, code is - executed that copies the value of `N' to a temporary. And that same - temporary serves as the actual high bound for the single dimension of - the `A' array (the low bound being the constant 1). Since the user - program cannot (legitimately) change the value of the temporary during - execution of the procedure, the size of the array remains constant - during each invocation. - - For alternate entry points, the code `g77' generates takes into - account the possibility that a dummy adjustable array is not actually - passed to the actual entry point being invoked at that time. In that - case, the public procedure implementing the entry point passes to the - master private procedure implementing all the code for the entry points - a `NULL' pointer where a pointer to that adjustable array would be - expected. The `g77'-generated code doesn't attempt to evaluate any of - the expressions in the subscripts for an array if the pointer to that - array is `NULL' at run time in such cases. (Don't depend on this - particular implementation by writing code that purposely passes `NULL' - pointers where the callee expects adjustable arrays, even if you know - the callee won't reference the arrays--nor should you pass `NULL' - pointers for any dummy arguments used in calculating the bounds of such - arrays or leave undefined any values used for that purpose in - COMMON--because the way `g77' implements these things might change in - the future!) - --- 1243,1245 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-14 gcc-3.1/gcc/f/g77.info-14 *** gcc-3.0.4/gcc/f/g77.info-14 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-14 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,176 ---- Craig by David Ronis ().  + File: g77.info, Node: Arrays, Next: Adjustable Arrays, Prev: Complex Variables, Up: Debugging and Interfacing + + Arrays (DIMENSION) + ================== + + Fortran uses "column-major ordering" in its arrays. This differs + from other languages, such as C, which use "row-major ordering". The + difference is that, with Fortran, array elements adjacent to each other + in memory differ in the _first_ subscript instead of the last; + `A(5,10,20)' immediately follows `A(4,10,20)', whereas with row-major + ordering it would follow `A(5,10,19)'. + + This consideration affects not only interfacing with and debugging + Fortran code, it can greatly affect how code is designed and written, + especially when code speed and size is a concern. + + Fortran also differs from C, a popular language for interfacing and + to support directly in debuggers, in the way arrays are treated. In C, + arrays are single-dimensional and have interesting relationships to + pointers, neither of which is true for Fortran. As a result, dealing + with Fortran arrays from within an environment limited to C concepts + can be challenging. + + For example, accessing the array element `A(5,10,20)' is easy enough + in Fortran (use `A(5,10,20)'), but in C some difficult machinations are + needed. First, C would treat the A array as a single-dimension array. + Second, C does not understand low bounds for arrays as does Fortran. + Third, C assumes a low bound of zero (0), while Fortran defaults to a + low bound of one (1) and can supports an arbitrary low bound. + Therefore, calculations must be done to determine what the C equivalent + of `A(5,10,20)' would be, and these calculations require knowing the + dimensions of `A'. + + For `DIMENSION A(2:11,21,0:29)', the calculation of the offset of + `A(5,10,20)' would be: + + (5-2) + + (10-1)*(11-2+1) + + (20-0)*(11-2+1)*(21-1+1) + = 4293 + + So the C equivalent in this case would be `a[4293]'. + + When using a debugger directly on Fortran code, the C equivalent + might not work, because some debuggers cannot understand the notion of + low bounds other than zero. However, unlike `f2c', `g77' does inform + the GBE that a multi-dimensional array (like `A' in the above example) + is really multi-dimensional, rather than a single-dimensional array, so + at least the dimensionality of the array is preserved. + + Debuggers that understand Fortran should have no trouble with + non-zero low bounds, but for non-Fortran debuggers, especially C + debuggers, the above example might have a C equivalent of `a[4305]'. + This calculation is arrived at by eliminating the subtraction of the + lower bound in the first parenthesized expression on each line--that + is, for `(5-2)' substitute `(5)', for `(10-1)' substitute `(10)', and + for `(20-0)' substitute `(20)'. Actually, the implication of this can + be that the expression `*(&a[2][1][0] + 4293)' works fine, but that + `a[20][10][5]' produces the equivalent of `*(&a[0][0][0] + 4305)' + because of the missing lower bounds. + + Come to think of it, perhaps the behavior is due to the debugger + internally compensating for the lower bounds by offsetting the base + address of `a', leaving `&a' set lower, in this case, than + `&a[2][1][0]' (the address of its first element as identified by + subscripts equal to the corresponding lower bounds). + + You know, maybe nobody really needs to use arrays. + +  + File: g77.info, Node: Adjustable Arrays, Next: Alternate Entry Points, Prev: Arrays, Up: Debugging and Interfacing + + Adjustable Arrays (DIMENSION) + ============================= + + Adjustable and automatic arrays in Fortran require the implementation + (in this case, the `g77' compiler) to "memorize" the expressions that + dimension the arrays each time the procedure is invoked. This is so + that subsequent changes to variables used in those expressions, made + during execution of the procedure, do not have any effect on the + dimensions of those arrays. + + For example: + + REAL ARRAY(5) + DATA ARRAY/5*2/ + CALL X(ARRAY, 5) + END + SUBROUTINE X(A, N) + DIMENSION A(N) + N = 20 + PRINT *, N, A + END + + Here, the implementation should, when running the program, print + something like: + + 20 2. 2. 2. 2. 2. + + Note that this shows that while the value of `N' was successfully + changed, the size of the `A' array remained at 5 elements. + + To support this, `g77' generates code that executes before any user + code (and before the internally generated computed `GOTO' to handle + alternate entry points, as described below) that evaluates each + (nonconstant) expression in the list of subscripts for an array, and + saves the result of each such evaluation to be used when determining + the size of the array (instead of re-evaluating the expressions). + + So, in the above example, when `X' is first invoked, code is + executed that copies the value of `N' to a temporary. And that same + temporary serves as the actual high bound for the single dimension of + the `A' array (the low bound being the constant 1). Since the user + program cannot (legitimately) change the value of the temporary during + execution of the procedure, the size of the array remains constant + during each invocation. + + For alternate entry points, the code `g77' generates takes into + account the possibility that a dummy adjustable array is not actually + passed to the actual entry point being invoked at that time. In that + case, the public procedure implementing the entry point passes to the + master private procedure implementing all the code for the entry points + a `NULL' pointer where a pointer to that adjustable array would be + expected. The `g77'-generated code doesn't attempt to evaluate any of + the expressions in the subscripts for an array if the pointer to that + array is `NULL' at run time in such cases. (Don't depend on this + particular implementation by writing code that purposely passes `NULL' + pointers where the callee expects adjustable arrays, even if you know + the callee won't reference the arrays--nor should you pass `NULL' + pointers for any dummy arguments used in calculating the bounds of such + arrays or leave undefined any values used for that purpose in + COMMON--because the way `g77' implements these things might change in + the future!) + +  File: g77.info, Node: Alternate Entry Points, Next: Alternate Returns, Prev: Adjustable Arrays, Up: Debugging and Interfacing Alternate Entry Points (ENTRY) *************** might have expected it to do, so `g77' a *** 929,1181 **** likely to follow the programmer's expectations, might be worthwhile, especially if such changes make the program work better. -  - File: g77.info, Node: Aliasing Assumed To Work, Next: Output Assumed To Flush, Prev: Surprising Interpretations of Code, Up: Working Programs - - Aliasing Assumed To Work - ------------------------ - - The `-falias-check', `-fargument-alias', `-fargument-noalias', and - `-fno-argument-noalias-global' options, introduced in version 0.5.20 and - `g77''s version 2.7.2.2.f.2 of `gcc', were withdrawn as of `g77' - version 0.5.23 due to their not being supported by `gcc' version 2.8. - - These options control the assumptions regarding aliasing - (overlapping) of writes and reads to main memory (core) made by the - `gcc' back end. - - The information below still is useful, but applies to only those - versions of `g77' that support the alias analysis implied by support - for these options. - - These options are effective only when compiling with `-O' - (specifying any level other than `-O0') or with `-falias-check'. - - The default for Fortran code is `-fargument-noalias-global'. (The - default for C code and code written in other C-based languages is - `-fargument-alias'. These defaults apply regardless of whether you use - `g77' or `gcc' to compile your code.) - - Note that, on some systems, compiling with `-fforce-addr' in effect - can produce more optimal code when the default aliasing options are in - effect (and when optimization is enabled). - - If your program is not working when compiled with optimization, it - is possible it is violating the Fortran standards (77 and 90) by - relying on the ability to "safely" modify variables and arrays that are - aliased, via procedure calls, to other variables and arrays, without - using `EQUIVALENCE' to explicitly set up this kind of aliasing. - - (The FORTRAN 77 standard's prohibition of this sort of overlap, - generally referred to therein as "storage assocation", appears in - Sections 15.9.3.6. This prohibition allows implementations, such as - `g77', to, for example, implement the passing of procedures and even - values in `COMMON' via copy operations into local, perhaps more - efficiently accessed temporaries at entry to a procedure, and, where - appropriate, via copy operations back out to their original locations - in memory at exit from that procedure, without having to take into - consideration the order in which the local copies are updated by the - code, among other things.) - - To test this hypothesis, try compiling your program with the - `-fargument-alias' option, which causes the compiler to revert to - assumptions essentially the same as made by versions of `g77' prior to - 0.5.20. - - If the program works using this option, that strongly suggests that - the bug is in your program. Finding and fixing the bug(s) should - result in a program that is more standard-conforming and that can be - compiled by `g77' in a way that results in a faster executable. - - (You might want to try compiling with `-fargument-noalias', a kind - of half-way point, to see if the problem is limited to aliasing between - dummy arguments and `COMMON' variables--this option assumes that such - aliasing is not done, while still allowing aliasing among dummy - arguments.) - - An example of aliasing that is invalid according to the standards is - shown in the following program, which might _not_ produce the expected - results when executed: - - I = 1 - CALL FOO(I, I) - PRINT *, I - END - - SUBROUTINE FOO(J, K) - J = J + K - K = J * K - PRINT *, J, K - END - - The above program attempts to use the temporary aliasing of the `J' - and `K' arguments in `FOO' to effect a pathological behavior--the - simultaneous changing of the values of _both_ `J' and `K' when either - one of them is written. - - The programmer likely expects the program to print these values: - - 2 4 - 4 - - However, since the program is not standard-conforming, an - implementation's behavior when running it is undefined, because - subroutine `FOO' modifies at least one of the arguments, and they are - aliased with each other. (Even if one of the assignment statements was - deleted, the program would still violate these rules. This kind of - on-the-fly aliasing is permitted by the standard only when none of the - aliased items are defined, or written, while the aliasing is in effect.) - - As a practical example, an optimizing compiler might schedule the `J - =' part of the second line of `FOO' _after_ the reading of `J' and `K' - for the `J * K' expression, resulting in the following output: - - 2 2 - 2 - - Essentially, compilers are promised (by the standard and, therefore, - by programmers who write code they claim to be standard-conforming) - that if they cannot detect aliasing via static analysis of a single - program unit's `EQUIVALENCE' and `COMMON' statements, no such aliasing - exists. In such cases, compilers are free to assume that an assignment - to one variable will not change the value of another variable, allowing - it to avoid generating code to re-read the value of the other variable, - to re-schedule reads and writes, and so on, to produce a faster - executable. - - The same promise holds true for arrays (as seen by the called - procedure)--an element of one dummy array cannot be aliased with, or - overlap, any element of another dummy array or be in a `COMMON' area - known to the procedure. - - (These restrictions apply only when the procedure defines, or writes - to, one of the aliased variables or arrays.) - - Unfortunately, there is no way to find _all_ possible cases of - violations of the prohibitions against aliasing in Fortran code. - Static analysis is certainly imperfect, as is run-time analysis, since - neither can catch all violations. (Static analysis can catch all - likely violations, and some that might never actually happen, while - run-time analysis can catch only those violations that actually happen - during a particular run. Neither approach can cope with programs - mixing Fortran code with routines written in other languages, however.) - - Currently, `g77' provides neither static nor run-time facilities to - detect any cases of this problem, although other products might. - Run-time facilities are more likely to be offered by future versions of - `g77', though patches improving `g77' so that it provides either form - of detection are welcome. - -  - File: g77.info, Node: Output Assumed To Flush, Next: Large File Unit Numbers, Prev: Aliasing Assumed To Work, Up: Working Programs - - Output Assumed To Flush - ----------------------- - - For several versions prior to 0.5.20, `g77' configured its version - of the `libf2c' run-time library so that one of its configuration - macros, `ALWAYS_FLUSH', was defined. - - This was done as a result of a belief that many programs expected - output to be flushed to the operating system (under UNIX, via the - `fflush()' library call) with the result that errors, such as disk - full, would be immediately flagged via the relevant `ERR=' and - `IOSTAT=' mechanism. - - Because of the adverse effects this approach had on the performance - of many programs, `g77' no longer configures `libf2c' (now named - `libg2c' in its `g77' incarnation) to always flush output. - - If your program depends on this behavior, either insert the - appropriate `CALL FLUSH' statements, or modify the sources to the - `libg2c', rebuild and reinstall `g77', and relink your programs with - the modified library. - - (Ideally, `libg2c' would offer the choice at run-time, so that a - compile-time option to `g77' or `f2c' could result in generating the - appropriate calls to flushing or non-flushing library routines.) - - Some Fortran programs require output (writes) to be flushed to the - operating system (under UNIX, via the `fflush()' library call) so that - errors, such as disk full, are immediately flagged via the relevant - `ERR=' and `IOSTAT=' mechanism, instead of such errors being flagged - later as subsequent writes occur, forcing the previously written data - to disk, or when the file is closed. - - Essentially, the difference can be viewed as synchronous error - reporting (immediate flagging of errors during writes) versus - asynchronous, or, more precisely, buffered error reporting (detection - of errors might be delayed). - - `libg2c' supports flagging write errors immediately when it is built - with the `ALWAYS_FLUSH' macro defined. This results in a `libg2c' that - runs slower, sometimes quite a bit slower, under certain - circumstances--for example, accessing files via the networked file - system NFS--but the effect can be more reliable, robust file I/O. - - If you know that Fortran programs requiring this level of precision - of error reporting are to be compiled using the version of `g77' you - are building, you might wish to modify the `g77' source tree so that - the version of `libg2c' is built with the `ALWAYS_FLUSH' macro defined, - enabling this behavior. - - To do this, find this line in `gcc/libf2c/f2c.h' in your `g77' - source tree: - - /* #define ALWAYS_FLUSH */ - - Remove the leading `/* ', so the line begins with `#define', and the - trailing ` */'. - - Then build or rebuild `g77' as appropriate. - -  - File: g77.info, Node: Large File Unit Numbers, Next: Floating-point precision, Prev: Output Assumed To Flush, Up: Working Programs - - Large File Unit Numbers - ----------------------- - - If your program crashes at run time with a message including the - text `illegal unit number', that probably is a message from the - run-time library, `libg2c'. - - The message means that your program has attempted to use a file unit - number that is out of the range accepted by `libg2c'. Normally, this - range is 0 through 99, and the high end of the range is controlled by a - `libg2c' source-file macro named `MXUNIT'. - - If you can easily change your program to use unit numbers in the - range 0 through 99, you should do so. - - As distributed, whether as part of `f2c' or `g77', `libf2c' accepts - file unit numbers only in the range 0 through 99. For example, a - statement such as `WRITE (UNIT=100)' causes a run-time crash in - `libf2c', because the unit number, 100, is out of range. - - If you know that Fortran programs at your installation require the - use of unit numbers higher than 99, you can change the value of the - `MXUNIT' macro, which represents the maximum unit number, to an - appropriately higher value. - - To do this, edit the file `gcc/libf2c/libI77/fio.h' in your `g77' - source tree, changing the following line: - - #define MXUNIT 100 - - Change the line so that the value of `MXUNIT' is defined to be at - least one _greater_ than the maximum unit number used by the Fortran - programs on your system. - - (For example, a program that does `WRITE (UNIT=255)' would require - `MXUNIT' set to at least 256 to avoid crashing.) - - Then build or rebuild `g77' as appropriate. - - _Note:_ Changing this macro has _no_ effect on other limits your - system might place on the number of files open at the same time. That - is, the macro might allow a program to do `WRITE (UNIT=100)', but the - library and operating system underlying `libf2c' might disallow it if - many other files have already been opened (via `OPEN' or implicitly via - `READ', `WRITE', and so on). Information on how to increase these - other limits should be found in your system's documentation. - --- 1064,1066 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-15 gcc-3.1/gcc/f/g77.info-15 *** gcc-3.0.4/gcc/f/g77.info-15 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-15 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,291 ---- Craig by David Ronis ().  + File: g77.info, Node: Aliasing Assumed To Work, Next: Output Assumed To Flush, Prev: Surprising Interpretations of Code, Up: Working Programs + + Aliasing Assumed To Work + ------------------------ + + The `-falias-check', `-fargument-alias', `-fargument-noalias', and + `-fno-argument-noalias-global' options, introduced in version 0.5.20 and + `g77''s version 2.7.2.2.f.2 of `gcc', were withdrawn as of `g77' + version 0.5.23 due to their not being supported by `gcc' version 2.8. + + These options control the assumptions regarding aliasing + (overlapping) of writes and reads to main memory (core) made by the + `gcc' back end. + + The information below still is useful, but applies to only those + versions of `g77' that support the alias analysis implied by support + for these options. + + These options are effective only when compiling with `-O' + (specifying any level other than `-O0') or with `-falias-check'. + + The default for Fortran code is `-fargument-noalias-global'. (The + default for C code and code written in other C-based languages is + `-fargument-alias'. These defaults apply regardless of whether you use + `g77' or `gcc' to compile your code.) + + Note that, on some systems, compiling with `-fforce-addr' in effect + can produce more optimal code when the default aliasing options are in + effect (and when optimization is enabled). + + If your program is not working when compiled with optimization, it + is possible it is violating the Fortran standards (77 and 90) by + relying on the ability to "safely" modify variables and arrays that are + aliased, via procedure calls, to other variables and arrays, without + using `EQUIVALENCE' to explicitly set up this kind of aliasing. + + (The FORTRAN 77 standard's prohibition of this sort of overlap, + generally referred to therein as "storage assocation", appears in + Sections 15.9.3.6. This prohibition allows implementations, such as + `g77', to, for example, implement the passing of procedures and even + values in `COMMON' via copy operations into local, perhaps more + efficiently accessed temporaries at entry to a procedure, and, where + appropriate, via copy operations back out to their original locations + in memory at exit from that procedure, without having to take into + consideration the order in which the local copies are updated by the + code, among other things.) + + To test this hypothesis, try compiling your program with the + `-fargument-alias' option, which causes the compiler to revert to + assumptions essentially the same as made by versions of `g77' prior to + 0.5.20. + + If the program works using this option, that strongly suggests that + the bug is in your program. Finding and fixing the bug(s) should + result in a program that is more standard-conforming and that can be + compiled by `g77' in a way that results in a faster executable. + + (You might want to try compiling with `-fargument-noalias', a kind + of half-way point, to see if the problem is limited to aliasing between + dummy arguments and `COMMON' variables--this option assumes that such + aliasing is not done, while still allowing aliasing among dummy + arguments.) + + An example of aliasing that is invalid according to the standards is + shown in the following program, which might _not_ produce the expected + results when executed: + + I = 1 + CALL FOO(I, I) + PRINT *, I + END + + SUBROUTINE FOO(J, K) + J = J + K + K = J * K + PRINT *, J, K + END + + The above program attempts to use the temporary aliasing of the `J' + and `K' arguments in `FOO' to effect a pathological behavior--the + simultaneous changing of the values of _both_ `J' and `K' when either + one of them is written. + + The programmer likely expects the program to print these values: + + 2 4 + 4 + + However, since the program is not standard-conforming, an + implementation's behavior when running it is undefined, because + subroutine `FOO' modifies at least one of the arguments, and they are + aliased with each other. (Even if one of the assignment statements was + deleted, the program would still violate these rules. This kind of + on-the-fly aliasing is permitted by the standard only when none of the + aliased items are defined, or written, while the aliasing is in effect.) + + As a practical example, an optimizing compiler might schedule the `J + =' part of the second line of `FOO' _after_ the reading of `J' and `K' + for the `J * K' expression, resulting in the following output: + + 2 2 + 2 + + Essentially, compilers are promised (by the standard and, therefore, + by programmers who write code they claim to be standard-conforming) + that if they cannot detect aliasing via static analysis of a single + program unit's `EQUIVALENCE' and `COMMON' statements, no such aliasing + exists. In such cases, compilers are free to assume that an assignment + to one variable will not change the value of another variable, allowing + it to avoid generating code to re-read the value of the other variable, + to re-schedule reads and writes, and so on, to produce a faster + executable. + + The same promise holds true for arrays (as seen by the called + procedure)--an element of one dummy array cannot be aliased with, or + overlap, any element of another dummy array or be in a `COMMON' area + known to the procedure. + + (These restrictions apply only when the procedure defines, or writes + to, one of the aliased variables or arrays.) + + Unfortunately, there is no way to find _all_ possible cases of + violations of the prohibitions against aliasing in Fortran code. + Static analysis is certainly imperfect, as is run-time analysis, since + neither can catch all violations. (Static analysis can catch all + likely violations, and some that might never actually happen, while + run-time analysis can catch only those violations that actually happen + during a particular run. Neither approach can cope with programs + mixing Fortran code with routines written in other languages, however.) + + Currently, `g77' provides neither static nor run-time facilities to + detect any cases of this problem, although other products might. + Run-time facilities are more likely to be offered by future versions of + `g77', though patches improving `g77' so that it provides either form + of detection are welcome. + +  + File: g77.info, Node: Output Assumed To Flush, Next: Large File Unit Numbers, Prev: Aliasing Assumed To Work, Up: Working Programs + + Output Assumed To Flush + ----------------------- + + For several versions prior to 0.5.20, `g77' configured its version + of the `libf2c' run-time library so that one of its configuration + macros, `ALWAYS_FLUSH', was defined. + + This was done as a result of a belief that many programs expected + output to be flushed to the operating system (under UNIX, via the + `fflush()' library call) with the result that errors, such as disk + full, would be immediately flagged via the relevant `ERR=' and + `IOSTAT=' mechanism. + + Because of the adverse effects this approach had on the performance + of many programs, `g77' no longer configures `libf2c' (now named + `libg2c' in its `g77' incarnation) to always flush output. + + If your program depends on this behavior, either insert the + appropriate `CALL FLUSH' statements, or modify the sources to the + `libg2c', rebuild and reinstall `g77', and relink your programs with + the modified library. + + (Ideally, `libg2c' would offer the choice at run-time, so that a + compile-time option to `g77' or `f2c' could result in generating the + appropriate calls to flushing or non-flushing library routines.) + + Some Fortran programs require output (writes) to be flushed to the + operating system (under UNIX, via the `fflush()' library call) so that + errors, such as disk full, are immediately flagged via the relevant + `ERR=' and `IOSTAT=' mechanism, instead of such errors being flagged + later as subsequent writes occur, forcing the previously written data + to disk, or when the file is closed. + + Essentially, the difference can be viewed as synchronous error + reporting (immediate flagging of errors during writes) versus + asynchronous, or, more precisely, buffered error reporting (detection + of errors might be delayed). + + `libg2c' supports flagging write errors immediately when it is built + with the `ALWAYS_FLUSH' macro defined. This results in a `libg2c' that + runs slower, sometimes quite a bit slower, under certain + circumstances--for example, accessing files via the networked file + system NFS--but the effect can be more reliable, robust file I/O. + + If you know that Fortran programs requiring this level of precision + of error reporting are to be compiled using the version of `g77' you + are building, you might wish to modify the `g77' source tree so that + the version of `libg2c' is built with the `ALWAYS_FLUSH' macro defined, + enabling this behavior. + + To do this, find this line in `gcc/libf2c/f2c.h' in your `g77' + source tree: + + /* #define ALWAYS_FLUSH */ + + Remove the leading `/* ', so the line begins with `#define', and the + trailing ` */'. + + Then build or rebuild `g77' as appropriate. + +  + File: g77.info, Node: Large File Unit Numbers, Next: Floating-point precision, Prev: Output Assumed To Flush, Up: Working Programs + + Large File Unit Numbers + ----------------------- + + If your program crashes at run time with a message including the + text `illegal unit number', that probably is a message from the + run-time library, `libg2c'. + + The message means that your program has attempted to use a file unit + number that is out of the range accepted by `libg2c'. Normally, this + range is 0 through 99, and the high end of the range is controlled by a + `libg2c' source-file macro named `MXUNIT'. + + If you can easily change your program to use unit numbers in the + range 0 through 99, you should do so. + + As distributed, whether as part of `f2c' or `g77', `libf2c' accepts + file unit numbers only in the range 0 through 99. For example, a + statement such as `WRITE (UNIT=100)' causes a run-time crash in + `libf2c', because the unit number, 100, is out of range. + + If you know that Fortran programs at your installation require the + use of unit numbers higher than 99, you can change the value of the + `MXUNIT' macro, which represents the maximum unit number, to an + appropriately higher value. + + To do this, edit the file `gcc/libf2c/libI77/fio.h' in your `g77' + source tree, changing the following line: + + #define MXUNIT 100 + + Change the line so that the value of `MXUNIT' is defined to be at + least one _greater_ than the maximum unit number used by the Fortran + programs on your system. + + (For example, a program that does `WRITE (UNIT=255)' would require + `MXUNIT' set to at least 256 to avoid crashing.) + + Then build or rebuild `g77' as appropriate. + + _Note:_ Changing this macro has _no_ effect on other limits your + system might place on the number of files open at the same time. That + is, the macro might allow a program to do `WRITE (UNIT=100)', but the + library and operating system underlying `libf2c' might disallow it if + many other files have already been opened (via `OPEN' or implicitly via + `READ', `WRITE', and so on). Information on how to increase these + other limits should be found in your system's documentation. + +  File: g77.info, Node: Floating-point precision, Next: Inconsistent Calling Sequences, Prev: Large File Unit Numbers, Up: Working Programs Floating-point precision *************** possible workarounds for them, see `ftp: *** 349,355 **** (Note that some of this portion of the manual is lifted directly from the `gcc' manual, with minor modifications to tailor it to users of `g77'. Anytime a bug seems to have more to do with the `gcc' ! portion of `g77', see *Note Known Causes of Trouble with GNU CC: (gcc)Trouble.) * Menu: --- 599,605 ---- (Note that some of this portion of the manual is lifted directly from the `gcc' manual, with minor modifications to tailor it to users of `g77'. Anytime a bug seems to have more to do with the `gcc' ! portion of `g77', see *Note Known Causes of Trouble with GCC: (gcc)Trouble.) * Menu: *************** other documentation about this. *** 835,1138 **** *Note Floating-point precision::, regarding IEEE 754 conformance. -  - File: g77.info, Node: Known Bugs, Next: Missing Features, Prev: But-bugs, Up: Trouble - - Known Bugs In GNU Fortran - ========================= - - This section identifies bugs that `g77' _users_ might run into in - the GCC-3.0 version of `g77'. This includes bugs that are actually in - the `gcc' back end (GBE) or in `libf2c', because those sets of code are - at least somewhat under the control of (and necessarily intertwined - with) `g77', so it isn't worth separating them out. - - For information on bugs in _other_ versions of `g77', see *Note News - About GNU Fortran: News. There, lists of bugs fixed in various - versions of `g77' can help determine what bugs existed in prior - versions. - - An online, "live" version of this document (derived directly from - the mainline, development version of `g77' within `gcc') is available - via `http://www.gnu.org/software/gcc/onlinedocs/g77_bugs.html'. Follow - the "Known Bugs" link. - - The following information was last updated on 2001-06-10: - - * `g77' fails to warn about use of a "live" iterative-DO variable as - an implied-DO variable in a `WRITE' or `PRINT' statement (although - it does warn about this in a `READ' statement). - - * Something about `g77''s straightforward handling of label - references and definitions sometimes prevents the GBE from - unrolling loops. Until this is solved, try inserting or removing - `CONTINUE' statements as the terminal statement, using the `END DO' - form instead, and so on. - - * Some confusion in diagnostics concerning failing `INCLUDE' - statements from within `INCLUDE''d or `#include''d files. - - * `g77' assumes that `INTEGER(KIND=1)' constants range from `-2**31' - to `2**31-1' (the range for two's-complement 32-bit values), - instead of determining their range from the actual range of the - type for the configuration (and, someday, for the constant). - - Further, it generally doesn't implement the handling of constants - very well in that it makes assumptions about the configuration - that it no longer makes regarding variables (types). - - Included with this item is the fact that `g77' doesn't recognize - that, on IEEE-754/854-compliant systems, `0./0.' should produce a - NaN and no warning instead of the value `0.' and a warning. This - is to be fixed in version 0.6, when `g77' will use the `gcc' back - end's constant-handling mechanisms to replace its own. - - * `g77' uses way too much memory and CPU time to process large - aggregate areas having any initialized elements. - - For example, `REAL A(1000000)' followed by `DATA A(1)/1/' takes up - way too much time and space, including the size of the generated - assembler file. This is to be mitigated somewhat in version 0.6. - - Version 0.5.18 improves cases like this--specifically, cases of - _sparse_ initialization that leave large, contiguous areas - uninitialized--significantly. However, even with the - improvements, these cases still require too much memory and CPU - time. - - (Version 0.5.18 also improves cases where the initial values are - zero to a much greater degree, so if the above example ends with - `DATA A(1)/0/', the compile-time performance will be about as good - as it will ever get, aside from unrelated improvements to the - compiler.) - - Note that `g77' does display a warning message to notify the user - before the compiler appears to hang. A warning message is issued - when `g77' sees code that provides initial values (e.g. via - `DATA') to an aggregate area (`COMMON' or `EQUIVALENCE', or even a - large enough array or `CHARACTER' variable) that is large enough - to increase `g77''s compile time by roughly a factor of 10. - - This size currently is quite small, since `g77' currently has a - known bug requiring too much memory and time to handle such cases. - In `gcc/gcc/f/data.c', the macro `FFEDATA_sizeTOO_BIG_INIT_' is - defined to the minimum size for the warning to appear. The size - is specified in storage units, which can be bytes, words, or - whatever, on a case-by-case basis. - - After changing this macro definition, you must (of course) rebuild - and reinstall `g77' for the change to take effect. - - Note that, as of version 0.5.18, improvements have reduced the - scope of the problem for _sparse_ initialization of large arrays, - especially those with large, contiguous uninitialized areas. - However, the warning is issued at a point prior to when `g77' - knows whether the initialization is sparse, and delaying the - warning could mean it is produced too late to be helpful. - - Therefore, the macro definition should not be adjusted to reflect - sparse cases. Instead, adjust it to generate the warning when - densely initialized arrays begin to cause responses noticeably - slower than linear performance would suggest. - - * Previous versions of `g77' didn't emit information on variable and - array members of common blocks and equivalences for use with a - debugger (the `-g' command-line option). As of the version of - `g77' shipped with version 3.0 of `GCC', this is corrected. - - As of Version 0.5.19, a temporary kludge solution is provided - whereby some rudimentary information on a member is written as a - string that is the member's value as a character string. - - *Note Options for Code Generation Conventions: Code Gen Options, - for information on the `-fdebug-kludge' option. - - * When debugging, after starting up the debugger but before being - able to see the source code for the main program unit, the user - must currently set a breakpoint at `MAIN__' (or `MAIN___' or - `MAIN_' if `MAIN__' doesn't exist) and run the program until it - hits the breakpoint. At that point, the main program unit is - activated and about to execute its first executable statement, but - that's the state in which the debugger should start up, as is the - case for languages like C. - - * Debugging `g77'-compiled code using debuggers other than `gdb' is - likely not to work. - - Getting `g77' and `gdb' to work together is a known - problem--getting `g77' to work properly with other debuggers, for - which source code often is unavailable to `g77' developers, seems - like a much larger, unknown problem, and is a lower priority than - making `g77' and `gdb' work together properly. - - On the other hand, information about problems other debuggers have - with `g77' output might make it easier to properly fix `g77', and - perhaps even improve `gdb', so it is definitely welcome. Such - information might even lead to all relevant products working - together properly sooner. - - * `g77' doesn't work perfectly on 64-bit configurations such as the - Digital Semiconductor ("DEC") Alpha. - - This problem is largely resolved as of version 0.5.23. Version - 0.6 should solve most or all remaining problems (such as - cross-compiling involving 64-bit machines). - - * `g77' currently inserts needless padding for things like `COMMON - A,IPAD' where `A' is `CHARACTER*1' and `IPAD' is `INTEGER(KIND=1)' - on machines like x86, because the back end insists that `IPAD' be - aligned to a 4-byte boundary, but the processor has no such - requirement (though it is usually good for performance). - - The `gcc' back end needs to provide a wider array of - specifications of alignment requirements and preferences for - targets, and front ends like `g77' should take advantage of this - when it becomes available. - - * The `libf2c' routines that perform some run-time arithmetic on - `COMPLEX' operands were modified circa version 0.5.20 of `g77' to - work properly even in the presence of aliased operands. - - While the `g77' and `netlib' versions of `libf2c' differ on how - this is accomplished, the main differences are that we believe the - `g77' version works properly even in the presence of _partially_ - aliased operands. - - However, these modifications have reduced performance on targets - such as x86, due to the extra copies of operands involved. - -  - File: g77.info, Node: Missing Features, Next: Disappointments, Prev: Known Bugs, Up: Trouble - - Missing Features - ================ - - This section lists features we know are missing from `g77', and - which we want to add someday. (There is no priority implied in the - ordering below.) - - * Menu: - - GNU Fortran language: - * Better Source Model:: - * Fortran 90 Support:: - * Intrinsics in PARAMETER Statements:: - * Arbitrary Concatenation:: - * SELECT CASE on CHARACTER Type:: - * RECURSIVE Keyword:: - * Popular Non-standard Types:: - * Full Support for Compiler Types:: - * Array Bounds Expressions:: - * POINTER Statements:: - * Sensible Non-standard Constructs:: - * READONLY Keyword:: - * FLUSH Statement:: - * Expressions in FORMAT Statements:: - * Explicit Assembler Code:: - * Q Edit Descriptor:: - - GNU Fortran dialects: - * Old-style PARAMETER Statements:: - * TYPE and ACCEPT I/O Statements:: - * STRUCTURE UNION RECORD MAP:: - * OPEN CLOSE and INQUIRE Keywords:: - * ENCODE and DECODE:: - * AUTOMATIC Statement:: - * Suppressing Space Padding:: - * Fortran Preprocessor:: - * Bit Operations on Floating-point Data:: - * Really Ugly Character Assignments:: - - New facilities: - * POSIX Standard:: - * Floating-point Exception Handling:: - * Nonportable Conversions:: - * Large Automatic Arrays:: - * Support for Threads:: - * Increasing Precision/Range:: - * Enabling Debug Lines:: - - Better diagnostics: - * Better Warnings:: - * Gracefully Handle Sensible Bad Code:: - * Non-standard Conversions:: - * Non-standard Intrinsics:: - * Modifying DO Variable:: - * Better Pedantic Compilation:: - * Warn About Implicit Conversions:: - * Invalid Use of Hollerith Constant:: - * Dummy Array Without Dimensioning Dummy:: - * Invalid FORMAT Specifiers:: - * Ambiguous Dialects:: - * Unused Labels:: - * Informational Messages:: - - Run-time facilities: - * Uninitialized Variables at Run Time:: - * Portable Unformatted Files:: - * Better List-directed I/O:: - * Default to Console I/O:: - - Debugging: - * Labels Visible to Debugger:: - -  - File: g77.info, Node: Better Source Model, Next: Fortran 90 Support, Up: Missing Features - - Better Source Model - ------------------- - - `g77' needs to provide, as the default source-line model, a "pure - visual" mode, where the interpretation of a source program in this mode - can be accurately determined by a user looking at a traditionally - displayed rendition of the program (assuming the user knows whether the - program is fixed or free form). - - The design should assume the user cannot tell tabs from spaces and - cannot see trailing spaces on lines, but has canonical tab stops and, - for fixed-form source, has the ability to always know exactly where - column 72 is (since the Fortran standard itself requires this for - fixed-form source). - - This would change the default treatment of fixed-form source to not - treat lines with tabs as if they were infinitely long--instead, they - would end at column 72 just as if the tabs were replaced by spaces in - the canonical way. - - As part of this, provide common alternate models (Digital, `f2c', - and so on) via command-line options. This includes allowing - arbitrarily long lines for free-form source as well as fixed-form - source and providing various limits and diagnostics as appropriate. - - Also, `g77' should offer, perhaps even default to, warnings when - characters beyond the last valid column are anything other than spaces. - This would mean code with "sequence numbers" in columns 73 through 80 - would be rejected, and there's a lot of that kind of code around, but - one of the most frequent bugs encountered by new users is accidentally - writing fixed-form source code into and beyond column 73. So, maybe - the users of old code would be able to more easily handle having to - specify, say, a `-Wno-col73to80' option. - -  - File: g77.info, Node: Fortran 90 Support, Next: Intrinsics in PARAMETER Statements, Prev: Better Source Model, Up: Missing Features - - Fortran 90 Support - ------------------ - - `g77' does not support many of the features that distinguish Fortran - 90 (and, now, Fortran 95) from ANSI FORTRAN 77. - - Some Fortran 90 features are supported, because they make sense to - offer even to die-hard users of F77. For example, many of them codify - various ways F77 has been extended to meet users' needs during its - tenure, so `g77' might as well offer them as the primary way to meet - those same needs, even if it offers compatibility with one or more of - the ways those needs were met by other F77 compilers in the industry. - - Still, many important F90 features are not supported, because no - attempt has been made to research each and every feature and assess its - viability in `g77'. In the meantime, users who need those features must - use Fortran 90 compilers anyway, and the best approach to adding some - F90 features to GNU Fortran might well be to fund a comprehensive - project to create GNU Fortran 95. - --- 1085,1087 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-16 gcc-3.1/gcc/f/g77.info-16 *** gcc-3.0.4/gcc/f/g77.info-16 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-16 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,49 **** Craig by David Ronis ().  File: g77.info, Node: Intrinsics in PARAMETER Statements, Next: Arbitrary Concatenation, Prev: Fortran 90 Support, Up: Missing Features Intrinsics in `PARAMETER' Statements ------------------------------------ ! `g77' doesn't allow intrinsics in `PARAMETER' statements. This ! feature is considered to be absolutely vital, even though it is not ! standard-conforming, and is scheduled for version 0.6. Related to this, `g77' doesn't allow non-integral exponentiation in `PARAMETER' statements, such as `PARAMETER (R=2**.25)'. It is unlikely --- 36,332 ---- Craig by David Ronis ().  + File: g77.info, Node: Known Bugs, Next: Missing Features, Prev: But-bugs, Up: Trouble + + Known Bugs In GNU Fortran + ========================= + + This section identifies bugs that `g77' _users_ might run into in + the GCC-3.1 version of `g77'. This includes bugs that are actually in + the `gcc' back end (GBE) or in `libf2c', because those sets of code are + at least somewhat under the control of (and necessarily intertwined + with) `g77', so it isn't worth separating them out. + + For information on bugs in _other_ versions of `g77', see *Note News + About GNU Fortran: News. There, lists of bugs fixed in various + versions of `g77' can help determine what bugs existed in prior + versions. + + An online, "live" version of this document (derived directly from + the mainline, development version of `g77' within `gcc') is available + via `http://www.gnu.org/software/gcc/onlinedocs/g77_bugs.html'. Follow + the "Known Bugs" link. + + The following information was last updated on 2002-02-01: + + * `g77' fails to warn about use of a "live" iterative-DO variable as + an implied-DO variable in a `WRITE' or `PRINT' statement (although + it does warn about this in a `READ' statement). + + * Something about `g77''s straightforward handling of label + references and definitions sometimes prevents the GBE from + unrolling loops. Until this is solved, try inserting or removing + `CONTINUE' statements as the terminal statement, using the `END DO' + form instead, and so on. + + * Some confusion in diagnostics concerning failing `INCLUDE' + statements from within `INCLUDE''d or `#include''d files. + + * `g77' assumes that `INTEGER(KIND=1)' constants range from `-2**31' + to `2**31-1' (the range for two's-complement 32-bit values), + instead of determining their range from the actual range of the + type for the configuration (and, someday, for the constant). + + Further, it generally doesn't implement the handling of constants + very well in that it makes assumptions about the configuration + that it no longer makes regarding variables (types). + + Included with this item is the fact that `g77' doesn't recognize + that, on IEEE-754/854-compliant systems, `0./0.' should produce a + NaN and no warning instead of the value `0.' and a warning. + + * `g77' uses way too much memory and CPU time to process large + aggregate areas having any initialized elements. + + For example, `REAL A(1000000)' followed by `DATA A(1)/1/' takes up + way too much time and space, including the size of the generated + assembler file. + + Version 0.5.18 improves cases like this--specifically, cases of + _sparse_ initialization that leave large, contiguous areas + uninitialized--significantly. However, even with the + improvements, these cases still require too much memory and CPU + time. + + (Version 0.5.18 also improves cases where the initial values are + zero to a much greater degree, so if the above example ends with + `DATA A(1)/0/', the compile-time performance will be about as good + as it will ever get, aside from unrelated improvements to the + compiler.) + + Note that `g77' does display a warning message to notify the user + before the compiler appears to hang. A warning message is issued + when `g77' sees code that provides initial values (e.g. via + `DATA') to an aggregate area (`COMMON' or `EQUIVALENCE', or even a + large enough array or `CHARACTER' variable) that is large enough + to increase `g77''s compile time by roughly a factor of 10. + + This size currently is quite small, since `g77' currently has a + known bug requiring too much memory and time to handle such cases. + In `gcc/gcc/f/data.c', the macro `FFEDATA_sizeTOO_BIG_INIT_' is + defined to the minimum size for the warning to appear. The size + is specified in storage units, which can be bytes, words, or + whatever, on a case-by-case basis. + + After changing this macro definition, you must (of course) rebuild + and reinstall `g77' for the change to take effect. + + Note that, as of version 0.5.18, improvements have reduced the + scope of the problem for _sparse_ initialization of large arrays, + especially those with large, contiguous uninitialized areas. + However, the warning is issued at a point prior to when `g77' + knows whether the initialization is sparse, and delaying the + warning could mean it is produced too late to be helpful. + + Therefore, the macro definition should not be adjusted to reflect + sparse cases. Instead, adjust it to generate the warning when + densely initialized arrays begin to cause responses noticeably + slower than linear performance would suggest. + + * When debugging, after starting up the debugger but before being + able to see the source code for the main program unit, the user + must currently set a breakpoint at `MAIN__' (or `MAIN___' or + `MAIN_' if `MAIN__' doesn't exist) and run the program until it + hits the breakpoint. At that point, the main program unit is + activated and about to execute its first executable statement, but + that's the state in which the debugger should start up, as is the + case for languages like C. + + * Debugging `g77'-compiled code using debuggers other than `gdb' is + likely not to work. + + Getting `g77' and `gdb' to work together is a known + problem--getting `g77' to work properly with other debuggers, for + which source code often is unavailable to `g77' developers, seems + like a much larger, unknown problem, and is a lower priority than + making `g77' and `gdb' work together properly. + + On the other hand, information about problems other debuggers have + with `g77' output might make it easier to properly fix `g77', and + perhaps even improve `gdb', so it is definitely welcome. Such + information might even lead to all relevant products working + together properly sooner. + + * `g77' doesn't work perfectly on 64-bit configurations such as the + Digital Semiconductor ("DEC") Alpha. + + This problem is largely resolved as of version 0.5.23. + + * `g77' currently inserts needless padding for things like `COMMON + A,IPAD' where `A' is `CHARACTER*1' and `IPAD' is `INTEGER(KIND=1)' + on machines like x86, because the back end insists that `IPAD' be + aligned to a 4-byte boundary, but the processor has no such + requirement (though it is usually good for performance). + + The `gcc' back end needs to provide a wider array of + specifications of alignment requirements and preferences for + targets, and front ends like `g77' should take advantage of this + when it becomes available. + + * The `libf2c' routines that perform some run-time arithmetic on + `COMPLEX' operands were modified circa version 0.5.20 of `g77' to + work properly even in the presence of aliased operands. + + While the `g77' and `netlib' versions of `libf2c' differ on how + this is accomplished, the main differences are that we believe the + `g77' version works properly even in the presence of _partially_ + aliased operands. + + However, these modifications have reduced performance on targets + such as x86, due to the extra copies of operands involved. + +  + File: g77.info, Node: Missing Features, Next: Disappointments, Prev: Known Bugs, Up: Trouble + + Missing Features + ================ + + This section lists features we know are missing from `g77', and + which we want to add someday. (There is no priority implied in the + ordering below.) + + * Menu: + + GNU Fortran language: + * Better Source Model:: + * Fortran 90 Support:: + * Intrinsics in PARAMETER Statements:: + * Arbitrary Concatenation:: + * SELECT CASE on CHARACTER Type:: + * RECURSIVE Keyword:: + * Popular Non-standard Types:: + * Full Support for Compiler Types:: + * Array Bounds Expressions:: + * POINTER Statements:: + * Sensible Non-standard Constructs:: + * READONLY Keyword:: + * FLUSH Statement:: + * Expressions in FORMAT Statements:: + * Explicit Assembler Code:: + * Q Edit Descriptor:: + + GNU Fortran dialects: + * Old-style PARAMETER Statements:: + * TYPE and ACCEPT I/O Statements:: + * STRUCTURE UNION RECORD MAP:: + * OPEN CLOSE and INQUIRE Keywords:: + * ENCODE and DECODE:: + * AUTOMATIC Statement:: + * Suppressing Space Padding:: + * Fortran Preprocessor:: + * Bit Operations on Floating-point Data:: + * Really Ugly Character Assignments:: + + New facilities: + * POSIX Standard:: + * Floating-point Exception Handling:: + * Nonportable Conversions:: + * Large Automatic Arrays:: + * Support for Threads:: + * Increasing Precision/Range:: + * Enabling Debug Lines:: + + Better diagnostics: + * Better Warnings:: + * Gracefully Handle Sensible Bad Code:: + * Non-standard Conversions:: + * Non-standard Intrinsics:: + * Modifying DO Variable:: + * Better Pedantic Compilation:: + * Warn About Implicit Conversions:: + * Invalid Use of Hollerith Constant:: + * Dummy Array Without Dimensioning Dummy:: + * Invalid FORMAT Specifiers:: + * Ambiguous Dialects:: + * Unused Labels:: + * Informational Messages:: + + Run-time facilities: + * Uninitialized Variables at Run Time:: + * Portable Unformatted Files:: + * Better List-directed I/O:: + * Default to Console I/O:: + + Debugging: + * Labels Visible to Debugger:: + +  + File: g77.info, Node: Better Source Model, Next: Fortran 90 Support, Up: Missing Features + + Better Source Model + ------------------- + + `g77' needs to provide, as the default source-line model, a "pure + visual" mode, where the interpretation of a source program in this mode + can be accurately determined by a user looking at a traditionally + displayed rendition of the program (assuming the user knows whether the + program is fixed or free form). + + The design should assume the user cannot tell tabs from spaces and + cannot see trailing spaces on lines, but has canonical tab stops and, + for fixed-form source, has the ability to always know exactly where + column 72 is (since the Fortran standard itself requires this for + fixed-form source). + + This would change the default treatment of fixed-form source to not + treat lines with tabs as if they were infinitely long--instead, they + would end at column 72 just as if the tabs were replaced by spaces in + the canonical way. + + As part of this, provide common alternate models (Digital, `f2c', + and so on) via command-line options. This includes allowing + arbitrarily long lines for free-form source as well as fixed-form + source and providing various limits and diagnostics as appropriate. + + Also, `g77' should offer, perhaps even default to, warnings when + characters beyond the last valid column are anything other than spaces. + This would mean code with "sequence numbers" in columns 73 through 80 + would be rejected, and there's a lot of that kind of code around, but + one of the most frequent bugs encountered by new users is accidentally + writing fixed-form source code into and beyond column 73. So, maybe + the users of old code would be able to more easily handle having to + specify, say, a `-Wno-col73to80' option. + +  + File: g77.info, Node: Fortran 90 Support, Next: Intrinsics in PARAMETER Statements, Prev: Better Source Model, Up: Missing Features + + Fortran 90 Support + ------------------ + + `g77' does not support many of the features that distinguish Fortran + 90 (and, now, Fortran 95) from ANSI FORTRAN 77. + + Some Fortran 90 features are supported, because they make sense to + offer even to die-hard users of F77. For example, many of them codify + various ways F77 has been extended to meet users' needs during its + tenure, so `g77' might as well offer them as the primary way to meet + those same needs, even if it offers compatibility with one or more of + the ways those needs were met by other F77 compilers in the industry. + + Still, many important F90 features are not supported, because no + attempt has been made to research each and every feature and assess its + viability in `g77'. In the meantime, users who need those features must + use Fortran 90 compilers anyway, and the best approach to adding some + F90 features to GNU Fortran might well be to fund a comprehensive + project to create GNU Fortran 95. + +  File: g77.info, Node: Intrinsics in PARAMETER Statements, Next: Arbitrary Concatenation, Prev: Fortran 90 Support, Up: Missing Features Intrinsics in `PARAMETER' Statements ------------------------------------ ! `g77' doesn't allow intrinsics in `PARAMETER' statements. Related to this, `g77' doesn't allow non-integral exponentiation in `PARAMETER' statements, such as `PARAMETER (R=2**.25)'. It is unlikely *************** Popular Non-standard Types *** 129,137 **** -------------------------- `g77' doesn't fully support `INTEGER*2', `LOGICAL*1', and similar. ! Version 0.6 will provide full support for this very popular set of ! features. In the meantime, version 0.5.18 provides rudimentary support ! for them.  File: g77.info, Node: Full Support for Compiler Types, Next: Array Bounds Expressions, Prev: Popular Non-standard Types, Up: Missing Features --- 412,418 ---- -------------------------- `g77' doesn't fully support `INTEGER*2', `LOGICAL*1', and similar. ! In the meantime, version 0.5.18 provides rudimentary support for them.  File: g77.info, Node: Full Support for Compiler Types, Next: Array Bounds Expressions, Prev: Popular Non-standard Types, Up: Missing Features *************** for _all_ applicable back-end-supported *** 145,151 **** providing intrinsic support, and maybe constant support (using F90 syntax) as well, and, for most machines will result in automatic support of `INTEGER*1', `INTEGER*2', `INTEGER*8', maybe even `REAL*16', ! and so on. This is scheduled for version 0.6.  File: g77.info, Node: Array Bounds Expressions, Next: POINTER Statements, Prev: Full Support for Compiler Types, Up: Missing Features --- 426,432 ---- providing intrinsic support, and maybe constant support (using F90 syntax) as well, and, for most machines will result in automatic support of `INTEGER*1', `INTEGER*2', `INTEGER*8', maybe even `REAL*16', ! and so on.  File: g77.info, Node: Array Bounds Expressions, Next: POINTER Statements, Prev: Full Support for Compiler Types, Up: Missing Features *************** would!) *** 662,669 **** modified (a la `const' in C). Probably the best solution for now, but not quite trivial to ! implement in the general case. Worth considering after `g77' 0.6 ! is considered pretty solid.  File: g77.info, Node: Gracefully Handle Sensible Bad Code, Next: Non-standard Conversions, Prev: Better Warnings, Up: Missing Features --- 943,949 ---- modified (a la `const' in C). Probably the best solution for now, but not quite trivial to ! implement in the general case.  File: g77.info, Node: Gracefully Handle Sensible Bad Code, Next: Non-standard Conversions, Prev: Better Warnings, Up: Missing Features *************** fully controls, such as the Hurd, and pr *** 1001,1236 **** compatibility with existing systems and interoperability with popular existing compilers. -  - File: g77.info, Node: Multiple Definitions of External Names, Next: Limitation on Implicit Declarations, Prev: Mangling of Names, Up: Disappointments - - Multiple Definitions of External Names - -------------------------------------- - - `g77' doesn't allow a common block and an external procedure or - `BLOCK DATA' to have the same name. Some systems allow this, but `g77' - does not, to be compatible with `f2c'. - - `g77' could special-case the way it handles `BLOCK DATA', since it - is not compatible with `f2c' in this particular area (necessarily, - since `g77' offers an important feature here), but it is likely that - such special-casing would be very annoying to people with programs that - use `EXTERNAL FOO', with no other mention of `FOO' in the same program - unit, to refer to external procedures, since the result would be that - `g77' would treat these references as requests to force-load BLOCK DATA - program units. - - In that case, if `g77' modified names of `BLOCK DATA' so they could - have the same names as `COMMON', users would find that their programs - wouldn't link because the `FOO' procedure didn't have its name - translated the same way. - - (Strictly speaking, `g77' could emit a - null-but-externally-satisfying definition of `FOO' with its name - transformed as if it had been a `BLOCK DATA', but that probably invites - more trouble than it's worth.) - -  - File: g77.info, Node: Limitation on Implicit Declarations, Prev: Multiple Definitions of External Names, Up: Disappointments - - Limitation on Implicit Declarations - ----------------------------------- - - `g77' disallows `IMPLICIT CHARACTER*(*)'. This is not - standard-conforming. - -  - File: g77.info, Node: Non-bugs, Next: Warnings and Errors, Prev: Disappointments, Up: Trouble - - Certain Changes We Don't Want to Make - ===================================== - - This section lists changes that people frequently request, but which - we do not make because we think GNU Fortran is better without them. - - * Menu: - - * Backslash in Constants:: Why `'\\'' is a constant that - is one, not two, characters long. - * Initializing Before Specifying:: Why `DATA VAR/1/' can't precede - `COMMON VAR'. - * Context-Sensitive Intrinsicness:: Why `CALL SQRT' won't work. - * Context-Sensitive Constants:: Why `9.435784839284958' is a - single-precision constant, - and might be interpreted as - `9.435785' or similar. - * Equivalence Versus Equality:: Why `.TRUE. .EQ. .TRUE.' won't work. - * Order of Side Effects:: Why `J = IFUNC() - IFUNC()' might - not behave as expected. - -  - File: g77.info, Node: Backslash in Constants, Next: Initializing Before Specifying, Up: Non-bugs - - Backslash in Constants - ---------------------- - - In the opinion of many experienced Fortran users, `-fno-backslash' - should be the default, not `-fbackslash', as currently set by `g77'. - - First of all, you can always specify `-fno-backslash' to turn off - this processing. - - Despite not being within the spirit (though apparently within the - letter) of the ANSI FORTRAN 77 standard, `g77' defaults to - `-fbackslash' because that is what most UNIX `f77' commands default to, - and apparently lots of code depends on this feature. - - This is a particularly troubling issue. The use of a C construct in - the midst of Fortran code is bad enough, worse when it makes existing - Fortran programs stop working (as happens when programs written for - non-UNIX systems are ported to UNIX systems with compilers that provide - the `-fbackslash' feature as the default--sometimes with no option to - turn it off). - - The author of GNU Fortran wished, for reasons of linguistic purity, - to make `-fno-backslash' the default for GNU Fortran and thus require - users of UNIX `f77' and `f2c' to specify `-fbackslash' to get the UNIX - behavior. - - However, the realization that `g77' is intended as a replacement for - _UNIX_ `f77', caused the author to choose to make `g77' as compatible - with `f77' as feasible, which meant making `-fbackslash' the default. - - The primary focus on compatibility is at the source-code level, and - the question became "What will users expect a replacement for `f77' to - do, by default?" Although at least one UNIX `f77' does not provide - `-fbackslash' as a default, it appears that the majority of them do, - which suggests that the majority of code that is compiled by UNIX `f77' - compilers expects `-fbackslash' to be the default. - - It is probably the case that more code exists that would _not_ work - with `-fbackslash' in force than code that requires it be in force. - - However, most of _that_ code is not being compiled with `f77', and - when it is, new build procedures (shell scripts, makefiles, and so on) - must be set up anyway so that they work under UNIX. That makes a much - more natural and safe opportunity for non-UNIX users to adapt their - build procedures for `g77''s default of `-fbackslash' than would exist - for the majority of UNIX `f77' users who would have to modify existing, - working build procedures to explicitly specify `-fbackslash' if that was - not the default. - - One suggestion has been to configure the default for `-fbackslash' - (and perhaps other options as well) based on the configuration of `g77'. - - This is technically quite straightforward, but will be avoided even - in cases where not configuring defaults to be dependent on a particular - configuration greatly inconveniences some users of legacy code. - - Many users appreciate the GNU compilers because they provide an - environment that is uniform across machines. These users would be - inconvenienced if the compiler treated things like the format of the - source code differently on certain machines. - - Occasionally users write programs intended only for a particular - machine type. On these occasions, the users would benefit if the GNU - Fortran compiler were to support by default the same dialect as the - other compilers on that machine. But such applications are rare. And - users writing a program to run on more than one type of machine cannot - possibly benefit from this kind of compatibility. (This is consistent - with the design goals for `gcc'. To change them for `g77', you must - first change them for `gcc'. Do not ask the maintainers of `g77' to do - this for you, or to disassociate `g77' from the widely understood, if - not widely agreed-upon, goals for GNU compilers in general.) - - This is why GNU Fortran does and will treat backslashes in the same - fashion on all types of machines (by default). *Note Direction of - Language Development::, for more information on this overall philosophy - guiding the development of the GNU Fortran language. - - Of course, users strongly concerned about portability should indicate - explicitly in their build procedures which options are expected by - their source code, or write source code that has as few such - expectations as possible. - - For example, avoid writing code that depends on backslash (`\') - being interpreted either way in particular, such as by starting a - program unit with: - - CHARACTER BACKSL - PARAMETER (BACKSL = '\\') - - Then, use concatenation of `BACKSL' anyplace a backslash is desired. - In this way, users can write programs which have the same meaning in - many Fortran dialects. - - (However, this technique does not work for Hollerith constants--which - is just as well, since the only generally portable uses for Hollerith - constants are in places where character constants can and should be - used instead, for readability.) - -  - File: g77.info, Node: Initializing Before Specifying, Next: Context-Sensitive Intrinsicness, Prev: Backslash in Constants, Up: Non-bugs - - Initializing Before Specifying - ------------------------------ - - `g77' does not allow `DATA VAR/1/' to appear in the source code - before `COMMON VAR', `DIMENSION VAR(10)', `INTEGER VAR', and so on. In - general, `g77' requires initialization of a variable or array to be - specified _after_ all other specifications of attributes (type, size, - placement, and so on) of that variable or array are specified (though - _confirmation_ of data type is permitted). - - It is _possible_ `g77' will someday allow all of this, even though - it is not allowed by the FORTRAN 77 standard. - - Then again, maybe it is better to have `g77' always require - placement of `DATA' so that it can possibly immediately write constants - to the output file, thus saving time and space. - - That is, `DATA A/1000000*1/' should perhaps always be immediately - writable to canonical assembler, unless it's already known to be in a - `COMMON' area following as-yet-uninitialized stuff, and to do this it - cannot be followed by `COMMON A'. - -  - File: g77.info, Node: Context-Sensitive Intrinsicness, Next: Context-Sensitive Constants, Prev: Initializing Before Specifying, Up: Non-bugs - - Context-Sensitive Intrinsicness - ------------------------------- - - `g77' treats procedure references to _possible_ intrinsic names as - always enabling their intrinsic nature, regardless of whether the - _form_ of the reference is valid for that intrinsic. - - For example, `CALL SQRT' is interpreted by `g77' as an invalid - reference to the `SQRT' intrinsic function, because the reference is a - subroutine invocation. - - First, `g77' recognizes the statement `CALL SQRT' as a reference to - a _procedure_ named `SQRT', not to a _variable_ with that name (as it - would for a statement such as `V = SQRT'). - - Next, `g77' establishes that, in the program unit being compiled, - `SQRT' is an intrinsic--not a subroutine that happens to have the same - name as an intrinsic (as would be the case if, for example, `EXTERNAL - SQRT' was present). - - Finally, `g77' recognizes that the _form_ of the reference is - invalid for that particular intrinsic. That is, it recognizes that it - is invalid for an intrinsic _function_, such as `SQRT', to be invoked as - a _subroutine_. - - At that point, `g77' issues a diagnostic. - - Some users claim that it is "obvious" that `CALL SQRT' references an - external subroutine of their own, not an intrinsic function. - - However, `g77' knows about intrinsic subroutines, not just - functions, and is able to support both having the same names, for - example. - - As a result of this, `g77' rejects calls to intrinsics that are not - subroutines, and function invocations of intrinsics that are not - functions, just as it (and most compilers) rejects invocations of - intrinsics with the wrong number (or types) of arguments. - - So, use the `EXTERNAL SQRT' statement in a program unit that calls a - user-written subroutine named `SQRT'. - --- 1281,1283 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-17 gcc-3.1/gcc/f/g77.info-17 *** gcc-3.0.4/gcc/f/g77.info-17 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-17 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,274 ---- Craig by David Ronis ().  + File: g77.info, Node: Multiple Definitions of External Names, Next: Limitation on Implicit Declarations, Prev: Mangling of Names, Up: Disappointments + + Multiple Definitions of External Names + -------------------------------------- + + `g77' doesn't allow a common block and an external procedure or + `BLOCK DATA' to have the same name. Some systems allow this, but `g77' + does not, to be compatible with `f2c'. + + `g77' could special-case the way it handles `BLOCK DATA', since it + is not compatible with `f2c' in this particular area (necessarily, + since `g77' offers an important feature here), but it is likely that + such special-casing would be very annoying to people with programs that + use `EXTERNAL FOO', with no other mention of `FOO' in the same program + unit, to refer to external procedures, since the result would be that + `g77' would treat these references as requests to force-load BLOCK DATA + program units. + + In that case, if `g77' modified names of `BLOCK DATA' so they could + have the same names as `COMMON', users would find that their programs + wouldn't link because the `FOO' procedure didn't have its name + translated the same way. + + (Strictly speaking, `g77' could emit a + null-but-externally-satisfying definition of `FOO' with its name + transformed as if it had been a `BLOCK DATA', but that probably invites + more trouble than it's worth.) + +  + File: g77.info, Node: Limitation on Implicit Declarations, Prev: Multiple Definitions of External Names, Up: Disappointments + + Limitation on Implicit Declarations + ----------------------------------- + + `g77' disallows `IMPLICIT CHARACTER*(*)'. This is not + standard-conforming. + +  + File: g77.info, Node: Non-bugs, Next: Warnings and Errors, Prev: Disappointments, Up: Trouble + + Certain Changes We Don't Want to Make + ===================================== + + This section lists changes that people frequently request, but which + we do not make because we think GNU Fortran is better without them. + + * Menu: + + * Backslash in Constants:: Why `'\\'' is a constant that + is one, not two, characters long. + * Initializing Before Specifying:: Why `DATA VAR/1/' can't precede + `COMMON VAR'. + * Context-Sensitive Intrinsicness:: Why `CALL SQRT' won't work. + * Context-Sensitive Constants:: Why `9.435784839284958' is a + single-precision constant, + and might be interpreted as + `9.435785' or similar. + * Equivalence Versus Equality:: Why `.TRUE. .EQ. .TRUE.' won't work. + * Order of Side Effects:: Why `J = IFUNC() - IFUNC()' might + not behave as expected. + +  + File: g77.info, Node: Backslash in Constants, Next: Initializing Before Specifying, Up: Non-bugs + + Backslash in Constants + ---------------------- + + In the opinion of many experienced Fortran users, `-fno-backslash' + should be the default, not `-fbackslash', as currently set by `g77'. + + First of all, you can always specify `-fno-backslash' to turn off + this processing. + + Despite not being within the spirit (though apparently within the + letter) of the ANSI FORTRAN 77 standard, `g77' defaults to + `-fbackslash' because that is what most UNIX `f77' commands default to, + and apparently lots of code depends on this feature. + + This is a particularly troubling issue. The use of a C construct in + the midst of Fortran code is bad enough, worse when it makes existing + Fortran programs stop working (as happens when programs written for + non-UNIX systems are ported to UNIX systems with compilers that provide + the `-fbackslash' feature as the default--sometimes with no option to + turn it off). + + The author of GNU Fortran wished, for reasons of linguistic purity, + to make `-fno-backslash' the default for GNU Fortran and thus require + users of UNIX `f77' and `f2c' to specify `-fbackslash' to get the UNIX + behavior. + + However, the realization that `g77' is intended as a replacement for + _UNIX_ `f77', caused the author to choose to make `g77' as compatible + with `f77' as feasible, which meant making `-fbackslash' the default. + + The primary focus on compatibility is at the source-code level, and + the question became "What will users expect a replacement for `f77' to + do, by default?" Although at least one UNIX `f77' does not provide + `-fbackslash' as a default, it appears that the majority of them do, + which suggests that the majority of code that is compiled by UNIX `f77' + compilers expects `-fbackslash' to be the default. + + It is probably the case that more code exists that would _not_ work + with `-fbackslash' in force than code that requires it be in force. + + However, most of _that_ code is not being compiled with `f77', and + when it is, new build procedures (shell scripts, makefiles, and so on) + must be set up anyway so that they work under UNIX. That makes a much + more natural and safe opportunity for non-UNIX users to adapt their + build procedures for `g77''s default of `-fbackslash' than would exist + for the majority of UNIX `f77' users who would have to modify existing, + working build procedures to explicitly specify `-fbackslash' if that was + not the default. + + One suggestion has been to configure the default for `-fbackslash' + (and perhaps other options as well) based on the configuration of `g77'. + + This is technically quite straightforward, but will be avoided even + in cases where not configuring defaults to be dependent on a particular + configuration greatly inconveniences some users of legacy code. + + Many users appreciate the GNU compilers because they provide an + environment that is uniform across machines. These users would be + inconvenienced if the compiler treated things like the format of the + source code differently on certain machines. + + Occasionally users write programs intended only for a particular + machine type. On these occasions, the users would benefit if the GNU + Fortran compiler were to support by default the same dialect as the + other compilers on that machine. But such applications are rare. And + users writing a program to run on more than one type of machine cannot + possibly benefit from this kind of compatibility. (This is consistent + with the design goals for `gcc'. To change them for `g77', you must + first change them for `gcc'. Do not ask the maintainers of `g77' to do + this for you, or to disassociate `g77' from the widely understood, if + not widely agreed-upon, goals for GNU compilers in general.) + + This is why GNU Fortran does and will treat backslashes in the same + fashion on all types of machines (by default). *Note Direction of + Language Development::, for more information on this overall philosophy + guiding the development of the GNU Fortran language. + + Of course, users strongly concerned about portability should indicate + explicitly in their build procedures which options are expected by + their source code, or write source code that has as few such + expectations as possible. + + For example, avoid writing code that depends on backslash (`\') + being interpreted either way in particular, such as by starting a + program unit with: + + CHARACTER BACKSL + PARAMETER (BACKSL = '\\') + + Then, use concatenation of `BACKSL' anyplace a backslash is desired. + In this way, users can write programs which have the same meaning in + many Fortran dialects. + + (However, this technique does not work for Hollerith constants--which + is just as well, since the only generally portable uses for Hollerith + constants are in places where character constants can and should be + used instead, for readability.) + +  + File: g77.info, Node: Initializing Before Specifying, Next: Context-Sensitive Intrinsicness, Prev: Backslash in Constants, Up: Non-bugs + + Initializing Before Specifying + ------------------------------ + + `g77' does not allow `DATA VAR/1/' to appear in the source code + before `COMMON VAR', `DIMENSION VAR(10)', `INTEGER VAR', and so on. In + general, `g77' requires initialization of a variable or array to be + specified _after_ all other specifications of attributes (type, size, + placement, and so on) of that variable or array are specified (though + _confirmation_ of data type is permitted). + + It is _possible_ `g77' will someday allow all of this, even though + it is not allowed by the FORTRAN 77 standard. + + Then again, maybe it is better to have `g77' always require + placement of `DATA' so that it can possibly immediately write constants + to the output file, thus saving time and space. + + That is, `DATA A/1000000*1/' should perhaps always be immediately + writable to canonical assembler, unless it's already known to be in a + `COMMON' area following as-yet-uninitialized stuff, and to do this it + cannot be followed by `COMMON A'. + +  + File: g77.info, Node: Context-Sensitive Intrinsicness, Next: Context-Sensitive Constants, Prev: Initializing Before Specifying, Up: Non-bugs + + Context-Sensitive Intrinsicness + ------------------------------- + + `g77' treats procedure references to _possible_ intrinsic names as + always enabling their intrinsic nature, regardless of whether the + _form_ of the reference is valid for that intrinsic. + + For example, `CALL SQRT' is interpreted by `g77' as an invalid + reference to the `SQRT' intrinsic function, because the reference is a + subroutine invocation. + + First, `g77' recognizes the statement `CALL SQRT' as a reference to + a _procedure_ named `SQRT', not to a _variable_ with that name (as it + would for a statement such as `V = SQRT'). + + Next, `g77' establishes that, in the program unit being compiled, + `SQRT' is an intrinsic--not a subroutine that happens to have the same + name as an intrinsic (as would be the case if, for example, `EXTERNAL + SQRT' was present). + + Finally, `g77' recognizes that the _form_ of the reference is + invalid for that particular intrinsic. That is, it recognizes that it + is invalid for an intrinsic _function_, such as `SQRT', to be invoked as + a _subroutine_. + + At that point, `g77' issues a diagnostic. + + Some users claim that it is "obvious" that `CALL SQRT' references an + external subroutine of their own, not an intrinsic function. + + However, `g77' knows about intrinsic subroutines, not just + functions, and is able to support both having the same names, for + example. + + As a result of this, `g77' rejects calls to intrinsics that are not + subroutines, and function invocations of intrinsics that are not + functions, just as it (and most compilers) rejects invocations of + intrinsics with the wrong number (or types) of arguments. + + So, use the `EXTERNAL SQRT' statement in a program unit that calls a + user-written subroutine named `SQRT'. + +  File: g77.info, Node: Context-Sensitive Constants, Next: Equivalence Versus Equality, Prev: Context-Sensitive Intrinsicness, Up: Non-bugs Context-Sensitive Constants *************** Many warnings are issued only if you ask *** 241,251 **** options (for instance, `-Wall' requests a variety of useful warnings). _Note:_ Currently, the text of the line and a pointer to the column ! is printed in most `g77' diagnostics. Probably, as of version 0.6, ! `g77' will no longer print the text of the source line, instead printing ! the column number following the file name and line number in a form ! that GNU Emacs recognizes. This change is expected to speed up and ! reduce the memory usage of the `g77' compiler. *Note Options to Request or Suppress Warnings: Warning Options, for more detail on these and related command-line options. --- 474,480 ---- options (for instance, `-Wall' requests a variety of useful warnings). _Note:_ Currently, the text of the line and a pointer to the column ! is printed in most `g77' diagnostics. *Note Options to Request or Suppress Warnings: Warning Options, for more detail on these and related command-line options. *************** might be available from `ftp://alpha.gnu *** 892,1124 **** * Internals Improvements:: Make internals more robust. * Better Diagnostics:: Make using `g77' on new code easier. -  - File: g77.info, Node: Efficiency, Next: Better Optimization, Up: Projects - - Improve Efficiency - ================== - - Don't bother doing any performance analysis until most of the - following items are taken care of, because there's no question they - represent serious space/time problems, although some of them show up - only given certain kinds of (popular) input. - - * Improve `malloc' package and its uses to specify more info about - memory pools and, where feasible, use obstacks to implement them. - - * Skip over uninitialized portions of aggregate areas (arrays, - `COMMON' areas, `EQUIVALENCE' areas) so zeros need not be output. - This would reduce memory usage for large initialized aggregate - areas, even ones with only one initialized element. - - As of version 0.5.18, a portion of this item has already been - accomplished. - - * Prescan the statement (in `sta.c') so that the nature of the - statement is determined as much as possible by looking entirely at - its form, and not looking at any context (previous statements, - including types of symbols). This would allow ripping out of the - statement-confirmation, symbol retraction/confirmation, and - diagnostic inhibition mechanisms. Plus, it would result in - much-improved diagnostics. For example, `CALL - some-intrinsic(...)', where the intrinsic is not a subroutine - intrinsic, would result actual error instead of the - unimplemented-statement catch-all. - - * Throughout `g77', don't pass line/column pairs where a simple - `ffewhere' type, which points to the error as much as is desired - by the configuration, will do, and don't pass `ffelexToken' types - where a simple `ffewhere' type will do. Then, allow new default - configuration of `ffewhere' such that the source line text is not - preserved, and leave it to things like Emacs' next-error function - to point to them (now that `next-error' supports column, or, - perhaps, character-offset, numbers). The change in calling - sequences should improve performance somewhat, as should not - having to save source lines. (Whether this whole item will - improve performance is questionable, but it should improve - maintainability.) - - * Handle `DATA (A(I),I=1,1000000)/1000000*2/' more efficiently, - especially as regards the assembly output. Some of this might - require improving the back end, but lots of improvement in - space/time required in `g77' itself can be fairly easily obtained - without touching the back end. Maybe type-conversion, where - necessary, can be speeded up as well in cases like the one shown - (converting the `2' into `2.'). - - * If analysis shows it to be worthwhile, optimize `lex.c'. - - * Consider redesigning `lex.c' to not need any feedback during - tokenization, by keeping track of enough parse state on its own. - -  - File: g77.info, Node: Better Optimization, Next: Simplify Porting, Prev: Efficiency, Up: Projects - - Better Optimization - =================== - - Much of this work should be put off until after `g77' has all the - features necessary for its widespread acceptance as a useful F77 - compiler. However, perhaps this work can be done in parallel during - the feature-adding work. - - * Do the equivalent of the trick of putting `extern inline' in front - of every function definition in `libg2c' and #include'ing the - resulting file in `f2c'+`gcc'--that is, inline all - run-time-library functions that are at all worth inlining. (Some - of this has already been done, such as for integral - exponentiation.) - - * When doing `CHAR_VAR = CHAR_FUNC(...)', and it's clear that types - line up and `CHAR_VAR' is addressable or not a `VAR_DECL', make - `CHAR_VAR', not a temporary, be the receiver for `CHAR_FUNC'. - (This is now done for `COMPLEX' variables.) - - * Design and implement Fortran-specific optimizations that don't - really belong in the back end, or where the front end needs to - give the back end more info than it currently does. - - * Design and implement a new run-time library interface, with the - code going into `libgcc' so no special linking is required to link - Fortran programs using standard language features. This library - would speed up lots of things, from I/O (using precompiled formats, - doing just one, or, at most, very few, calls for arrays or array - sections, and so on) to general computing (array/section - implementations of various intrinsics, implementation of commonly - performed loops that aren't likely to be optimally compiled - otherwise, etc.). - - Among the important things the library would do are: - - * Be a one-stop-shop-type library, hence shareable and usable - by all, in that what are now library-build-time options in - `libg2c' would be moved at least to the `g77' compile phase, - if not to finer grains (such as choosing how list-directed - I/O formatting is done by default at `OPEN' time, for - preconnected units via options or even statements in the main - program unit, maybe even on a per-I/O basis with appropriate - pragma-like devices). - - * Probably requiring the new library design, change interface to - normally have `COMPLEX' functions return their values in the way - `gcc' would if they were declared `__complex__ float', rather than - using the mechanism currently used by `CHARACTER' functions - (whereby the functions are compiled as returning void and their - first arg is a pointer to where to store the result). (Don't - append underscores to external names for `COMPLEX' functions in - some cases once `g77' uses `gcc' rather than `f2c' calling - conventions.) - - * Do something useful with `doiter' references where possible. For - example, `CALL FOO(I)' cannot modify `I' if within a `DO' loop - that uses `I' as the iteration variable, and the back end might - find that info useful in determining whether it needs to read `I' - back into a register after the call. (It normally has to do that, - unless it knows `FOO' never modifies its passed-by-reference - argument, which is rarely the case for Fortran-77 code.) - -  - File: g77.info, Node: Simplify Porting, Next: More Extensions, Prev: Better Optimization, Up: Projects - - Simplify Porting - ================ - - Making `g77' easier to configure, port, build, and install, either - as a single-system compiler or as a cross-compiler, would be very - useful. - - * A new library (replacing `libg2c') should improve portability as - well as produce more optimal code. Further, `g77' and the new - library should conspire to simplify naming of externals, such as - by removing unnecessarily added underscores, and to - reduce/eliminate the possibility of naming conflicts, while making - debugger more straightforward. - - Also, it should make multi-language applications more feasible, - such as by providing Fortran intrinsics that get Fortran unit - numbers given C `FILE *' descriptors. - - * Possibly related to a new library, `g77' should produce the - equivalent of a `gcc' `main(argc, argv)' function when it compiles - a main program unit, instead of compiling something that must be - called by a library implementation of `main()'. - - This would do many useful things such as provide more flexibility - in terms of setting up exception handling, not requiring - programmers to start their debugging sessions with `breakpoint - MAIN__' followed by `run', and so on. - - * The GBE needs to understand the difference between alignment - requirements and desires. For example, on Intel x86 machines, - `g77' currently imposes overly strict alignment requirements, due - to the back end, but it would be useful for Fortran and C - programmers to be able to override these _recommendations_ as long - as they don't violate the actual processor _requirements_. - -  - File: g77.info, Node: More Extensions, Next: Machine Model, Prev: Simplify Porting, Up: Projects - - More Extensions - =============== - - These extensions are not the sort of things users ask for "by name", - but they might improve the usability of `g77', and Fortran in general, - in the long run. Some of these items really pertain to improving `g77' - internals so that some popular extensions can be more easily supported. - - * Look through all the documentation on the GNU Fortran language, - dialects, compiler, missing features, bugs, and so on. Many - mentions of incomplete or missing features are sprinkled - throughout. It is not worth repeating them here. - - * Consider adding a `NUMERIC' type to designate typeless numeric - constants, named and unnamed. The idea is to provide a - forward-looking, effective replacement for things like the - old-style `PARAMETER' statement when people really need - typelessness in a maintainable, portable, clearly documented way. - Maybe `TYPELESS' would include `CHARACTER', `POINTER', and - whatever else might come along. (This is not really a call for - polymorphism per se, just an ability to express limited, syntactic - polymorphism.) - - * Support `OPEN(...,KEY=(...),...)'. - - * Support arbitrary file unit numbers, instead of limiting them to 0 - through `MXUNIT-1'. (This is a `libg2c' issue.) - - * `OPEN(NOSPANBLOCKS,...)' is treated as - `OPEN(UNIT=NOSPANBLOCKS,...)', so a later `UNIT=' in the first - example is invalid. Make sure this is what users of this feature - would expect. - - * Currently `g77' disallows `READ(1'10)' since it is an obnoxious - syntax, but supporting it might be pretty easy if needed. More - details are needed, such as whether general expressions separated - by an apostrophe are supported, or maybe the record number can be - a general expression, and so on. - - * Support `STRUCTURE', `UNION', `MAP', and `RECORD' fully. - Currently there is no support at all for `%FILL' in `STRUCTURE' - and related syntax, whereas the rest of the stuff has at least - some parsing support. This requires either major changes to - `libg2c' or its replacement. - - * F90 and `g77' probably disagree about label scoping relative to - `INTERFACE' and `END INTERFACE', and their contained procedure - interface bodies (blocks?). - - * `ENTRY' doesn't support F90 `RESULT()' yet, since that was added - after S8.112. - - * Empty-statement handling (10 ;;CONTINUE;;) probably isn't - consistent with the final form of the standard (it was vague at - S8.112). - - * It seems to be an "open" question whether a file, immediately - after being `OPEN'ed,is positioned at the beginning, the end, or - wherever--it might be nice to offer an option of opening to - "undefined" status, requiring an explicit absolute-positioning - operation to be performed before any other (besides `CLOSE') to - assist in making applications port to systems (some IBM?) that - `OPEN' to the end of a file or some such thing. - --- 1121,1123 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-18 gcc-3.1/gcc/f/g77.info-18 *** gcc-3.0.4/gcc/f/g77.info-18 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-18 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,271 ---- Craig by David Ronis ().  + File: g77.info, Node: Efficiency, Next: Better Optimization, Up: Projects + + Improve Efficiency + ================== + + Don't bother doing any performance analysis until most of the + following items are taken care of, because there's no question they + represent serious space/time problems, although some of them show up + only given certain kinds of (popular) input. + + * Improve `malloc' package and its uses to specify more info about + memory pools and, where feasible, use obstacks to implement them. + + * Skip over uninitialized portions of aggregate areas (arrays, + `COMMON' areas, `EQUIVALENCE' areas) so zeros need not be output. + This would reduce memory usage for large initialized aggregate + areas, even ones with only one initialized element. + + As of version 0.5.18, a portion of this item has already been + accomplished. + + * Prescan the statement (in `sta.c') so that the nature of the + statement is determined as much as possible by looking entirely at + its form, and not looking at any context (previous statements, + including types of symbols). This would allow ripping out of the + statement-confirmation, symbol retraction/confirmation, and + diagnostic inhibition mechanisms. Plus, it would result in + much-improved diagnostics. For example, `CALL + some-intrinsic(...)', where the intrinsic is not a subroutine + intrinsic, would result actual error instead of the + unimplemented-statement catch-all. + + * Throughout `g77', don't pass line/column pairs where a simple + `ffewhere' type, which points to the error as much as is desired + by the configuration, will do, and don't pass `ffelexToken' types + where a simple `ffewhere' type will do. Then, allow new default + configuration of `ffewhere' such that the source line text is not + preserved, and leave it to things like Emacs' next-error function + to point to them (now that `next-error' supports column, or, + perhaps, character-offset, numbers). The change in calling + sequences should improve performance somewhat, as should not + having to save source lines. (Whether this whole item will + improve performance is questionable, but it should improve + maintainability.) + + * Handle `DATA (A(I),I=1,1000000)/1000000*2/' more efficiently, + especially as regards the assembly output. Some of this might + require improving the back end, but lots of improvement in + space/time required in `g77' itself can be fairly easily obtained + without touching the back end. Maybe type-conversion, where + necessary, can be speeded up as well in cases like the one shown + (converting the `2' into `2.'). + + * If analysis shows it to be worthwhile, optimize `lex.c'. + + * Consider redesigning `lex.c' to not need any feedback during + tokenization, by keeping track of enough parse state on its own. + +  + File: g77.info, Node: Better Optimization, Next: Simplify Porting, Prev: Efficiency, Up: Projects + + Better Optimization + =================== + + Much of this work should be put off until after `g77' has all the + features necessary for its widespread acceptance as a useful F77 + compiler. However, perhaps this work can be done in parallel during + the feature-adding work. + + * Do the equivalent of the trick of putting `extern inline' in front + of every function definition in `libg2c' and #include'ing the + resulting file in `f2c'+`gcc'--that is, inline all + run-time-library functions that are at all worth inlining. (Some + of this has already been done, such as for integral + exponentiation.) + + * When doing `CHAR_VAR = CHAR_FUNC(...)', and it's clear that types + line up and `CHAR_VAR' is addressable or not a `VAR_DECL', make + `CHAR_VAR', not a temporary, be the receiver for `CHAR_FUNC'. + (This is now done for `COMPLEX' variables.) + + * Design and implement Fortran-specific optimizations that don't + really belong in the back end, or where the front end needs to + give the back end more info than it currently does. + + * Design and implement a new run-time library interface, with the + code going into `libgcc' so no special linking is required to link + Fortran programs using standard language features. This library + would speed up lots of things, from I/O (using precompiled formats, + doing just one, or, at most, very few, calls for arrays or array + sections, and so on) to general computing (array/section + implementations of various intrinsics, implementation of commonly + performed loops that aren't likely to be optimally compiled + otherwise, etc.). + + Among the important things the library would do are: + + * Be a one-stop-shop-type library, hence shareable and usable + by all, in that what are now library-build-time options in + `libg2c' would be moved at least to the `g77' compile phase, + if not to finer grains (such as choosing how list-directed + I/O formatting is done by default at `OPEN' time, for + preconnected units via options or even statements in the main + program unit, maybe even on a per-I/O basis with appropriate + pragma-like devices). + + * Probably requiring the new library design, change interface to + normally have `COMPLEX' functions return their values in the way + `gcc' would if they were declared `__complex__ float', rather than + using the mechanism currently used by `CHARACTER' functions + (whereby the functions are compiled as returning void and their + first arg is a pointer to where to store the result). (Don't + append underscores to external names for `COMPLEX' functions in + some cases once `g77' uses `gcc' rather than `f2c' calling + conventions.) + + * Do something useful with `doiter' references where possible. For + example, `CALL FOO(I)' cannot modify `I' if within a `DO' loop + that uses `I' as the iteration variable, and the back end might + find that info useful in determining whether it needs to read `I' + back into a register after the call. (It normally has to do that, + unless it knows `FOO' never modifies its passed-by-reference + argument, which is rarely the case for Fortran-77 code.) + +  + File: g77.info, Node: Simplify Porting, Next: More Extensions, Prev: Better Optimization, Up: Projects + + Simplify Porting + ================ + + Making `g77' easier to configure, port, build, and install, either + as a single-system compiler or as a cross-compiler, would be very + useful. + + * A new library (replacing `libg2c') should improve portability as + well as produce more optimal code. Further, `g77' and the new + library should conspire to simplify naming of externals, such as + by removing unnecessarily added underscores, and to + reduce/eliminate the possibility of naming conflicts, while making + debugger more straightforward. + + Also, it should make multi-language applications more feasible, + such as by providing Fortran intrinsics that get Fortran unit + numbers given C `FILE *' descriptors. + + * Possibly related to a new library, `g77' should produce the + equivalent of a `gcc' `main(argc, argv)' function when it compiles + a main program unit, instead of compiling something that must be + called by a library implementation of `main()'. + + This would do many useful things such as provide more flexibility + in terms of setting up exception handling, not requiring + programmers to start their debugging sessions with `breakpoint + MAIN__' followed by `run', and so on. + + * The GBE needs to understand the difference between alignment + requirements and desires. For example, on Intel x86 machines, + `g77' currently imposes overly strict alignment requirements, due + to the back end, but it would be useful for Fortran and C + programmers to be able to override these _recommendations_ as long + as they don't violate the actual processor _requirements_. + +  + File: g77.info, Node: More Extensions, Next: Machine Model, Prev: Simplify Porting, Up: Projects + + More Extensions + =============== + + These extensions are not the sort of things users ask for "by name", + but they might improve the usability of `g77', and Fortran in general, + in the long run. Some of these items really pertain to improving `g77' + internals so that some popular extensions can be more easily supported. + + * Look through all the documentation on the GNU Fortran language, + dialects, compiler, missing features, bugs, and so on. Many + mentions of incomplete or missing features are sprinkled + throughout. It is not worth repeating them here. + + * Consider adding a `NUMERIC' type to designate typeless numeric + constants, named and unnamed. The idea is to provide a + forward-looking, effective replacement for things like the + old-style `PARAMETER' statement when people really need + typelessness in a maintainable, portable, clearly documented way. + Maybe `TYPELESS' would include `CHARACTER', `POINTER', and + whatever else might come along. (This is not really a call for + polymorphism per se, just an ability to express limited, syntactic + polymorphism.) + + * Support `OPEN(...,KEY=(...),...)'. + + * Support arbitrary file unit numbers, instead of limiting them to 0 + through `MXUNIT-1'. (This is a `libg2c' issue.) + + * `OPEN(NOSPANBLOCKS,...)' is treated as + `OPEN(UNIT=NOSPANBLOCKS,...)', so a later `UNIT=' in the first + example is invalid. Make sure this is what users of this feature + would expect. + + * Currently `g77' disallows `READ(1'10)' since it is an obnoxious + syntax, but supporting it might be pretty easy if needed. More + details are needed, such as whether general expressions separated + by an apostrophe are supported, or maybe the record number can be + a general expression, and so on. + + * Support `STRUCTURE', `UNION', `MAP', and `RECORD' fully. + Currently there is no support at all for `%FILL' in `STRUCTURE' + and related syntax, whereas the rest of the stuff has at least + some parsing support. This requires either major changes to + `libg2c' or its replacement. + + * F90 and `g77' probably disagree about label scoping relative to + `INTERFACE' and `END INTERFACE', and their contained procedure + interface bodies (blocks?). + + * `ENTRY' doesn't support F90 `RESULT()' yet, since that was added + after S8.112. + + * Empty-statement handling (10 ;;CONTINUE;;) probably isn't + consistent with the final form of the standard (it was vague at + S8.112). + + * It seems to be an "open" question whether a file, immediately + after being `OPEN'ed,is positioned at the beginning, the end, or + wherever--it might be nice to offer an option of opening to + "undefined" status, requiring an explicit absolute-positioning + operation to be performed before any other (besides `CLOSE') to + assist in making applications port to systems (some IBM?) that + `OPEN' to the end of a file or some such thing. + +  File: g77.info, Node: Machine Model, Next: Internals Documentation, Prev: More Extensions, Up: Projects Machine Model *************** File: g77.info, Node: Internals Documen *** 69,77 **** Internals Documentation ======================= ! Better info on how `g77' works and how to port it is needed. Much ! of this should be done only after the redesign planned for 0.6 is ! complete. *Note Front End::, which contains some information on `g77' internals. --- 299,305 ---- Internals Documentation ======================= ! Better info on how `g77' works and how to port it is needed. *Note Front End::, which contains some information on `g77' internals. *************** Front End *** 185,193 **** ********* This chapter describes some aspects of the design and implementation ! of the `g77' front end. Much of the information below applies not to ! current releases of `g77', but to the 0.6 rewrite being designed and ! implemented as of late May, 1999. To find about things that are "To Be Determined" or "To Be Done", search for the string TBD. If you want to help by working on one or --- 413,419 ---- ********* This chapter describes some aspects of the design and implementation ! of the `g77' front end. To find about things that are "To Be Determined" or "To Be Done", search for the string TBD. If you want to help by working on one or *************** compiling that kind of code: *** 679,688 **** facilities outside of `g77', such as to C or Pascal code. Names of intrinsics will probably be matchable in any case, - However, there probably won't be any option to require a - particular mixed-case appearance of intrinsics (as there was for - `g77' prior to version 0.6), because that's painful to maintain, - and probably nobody uses it. (How `external SiN; r = sin(x)' would be handled is TBD. I think old `g77' might already handle that pretty elegantly, but whether --- 905,910 ---- *************** File: g77.info, Node: ste.c, Next: Got *** 827,1285 **** ste.c ----- -  - File: g77.info, Node: Gotchas (Transforming), Next: TBD (Transforming), Prev: ste.c, Up: Overview of Translation Process - - Gotchas (Transforming) - ---------------------- - - This section is not about transforming "gotchas" into something else. - It is about the weirder aspects of transforming Fortran, however that's - defined, into a more modern, canonical form. - - Multi-character Lexemes - ....................... - - Each lexeme carries with it a pointer to where it appears in the - source. - - To provide the ability for diagnostics to point to column numbers, - in addition to line numbers and names, lexemes that represent more than - one (significant) character in the source code need, generally, to - provide pointers to where each _character_ appears in the source. - - This provides the ability to properly identify the precise location - of the problem in code like - - SUBROUTINE X - END - BLOCK DATA X - END - - which, in fixed-form source, would result in single lexemes - consisting of the strings `SUBROUTINEX' and `BLOCKDATAX'. (The problem - is that `X' is defined twice, so a pointer to the `X' in the second - definition, as well as a follow-up pointer to the corresponding pointer - in the first, would be preferable to pointing to the beginnings of the - statements.) - - This need also arises when parsing (and diagnosing) `FORMAT' - statements. - - Further, it arises when diagnosing `FMT=' specifiers that contain - constants (or partial constants, or even propagated constants!) in I/O - statements, as in: - - PRINT '(I2, 3HAB)', J - - (A pointer to the beginning of the prematurely-terminated Hollerith - constant, and/or to the close parenthese, is preferable to a pointer to - the open-parenthese or the apostrophe that precedes it.) - - Multi-character lexemes, which would seem to naturally include at - least digit strings, alphanumeric strings, `CHARACTER' constants, and - Hollerith constants, therefore need to provide location information on - each character. (Maybe Hollerith constants don't, but it's unnecessary - to except them.) - - The question then arises, what about _other_ multi-character lexemes, - such as `**' and `//', and Fortran 90's `(/', `/)', `::', and so on? - - Turns out there's a need to identify the location of the second - character of these two-character lexemes. For example, in `I(/J) = K', - the slash needs to be diagnosed as the problem, not the open parenthese. - Similarly, it is preferable to diagnose the second slash in `I = J // - K' rather than the first, given the implicit typing rules, which would - result in the compiler disallowing the attempted concatenation of two - integers. (Though, since that's more of a semantic issue, it's not - _that_ much preferable.) - - Even sequences that could be parsed as digit strings could use - location info, for example, to diagnose the `9' in the octal constant - `O'129''. (This probably will be parsed as a character string, to be - consistent with the parsing of `Z'129A''.) - - To avoid the hassle of recording the location of the second - character, while also preserving the general rule that each significant - character is distinctly pointed to by the lexeme that contains it, it's - best to simply not have any fixed-size lexemes larger than one - character. - - This new design is expected to make checking for two `*' lexemes in - a row much easier than the old design, so this is not much of a - sacrifice. It probably makes the lexer much easier to implement than - it makes the parser harder. - - Space-padding Lexemes - ..................... - - Certain lexemes need to be padded with virtual spaces when the end - of the line (or file) is encountered. - - This is necessary in fixed form, to handle lines that don't extend - to column 72, assuming that's the line length in effect. - - Bizarre Free-form Hollerith Constants - ..................................... - - Last I checked, the Fortran 90 standard actually required the - compiler to silently accept something like - - FORMAT ( 1 2 Htwelve chars ) - - as a valid `FORMAT' statement specifying a twelve-character - Hollerith constant. - - The implication here is that, since the new lexer is a zero-feedback - one, it won't know that the special case of a `FORMAT' statement being - parsed requires apparently distinct lexemes `1' and `2' to be treated as - a single lexeme. - - (This is a horrible misfeature of the Fortran 90 language. It's one - of many such misfeatures that almost make me want to not support them, - and forge ahead with designing a new "GNU Fortran" language that has - the features, but not the misfeatures, of Fortran 90, and provide - utility programs to do the conversion automatically.) - - So, the lexer must gather distinct chunks of decimal strings into a - single lexeme in contexts where a single decimal lexeme might start a - Hollerith constant. - - (Which probably means it might as well do that all the time for all - multi-character lexemes, even in free-form mode, leaving it to - subsequent phases to pull them apart as they see fit.) - - Compare the treatment of this to how - - CHARACTER * 4 5 HEY - - and - - CHARACTER * 12 HEY - - must be treated--the former must be diagnosed, due to the separation - between lexemes, the latter must be accepted as a proper declaration. - - Hollerith Constants - ................... - - Recognizing a Hollerith constant--specifically, that an `H' or `h' - after a digit string begins such a constant--requires some knowledge of - context. - - Hollerith constants (such as `2HAB') can appear after: - - * `(' - - * `,' - - * `=' - - * `+', `-', `/' - - * `*', except as noted below - - Hollerith constants don't appear after: - - * `CHARACTER*', which can be treated generally as any `*' that is - the second lexeme of a statement - - Confusing Function Keyword - .......................... - - While - - REAL FUNCTION FOO () - - must be a `FUNCTION' statement and - - REAL FUNCTION FOO (5) - - must be a type-definition statement, - - REAL FUNCTION FOO (NAMES) - - where NAMES is a comma-separated list of names, can be one or the - other. - - The only way to disambiguate that statement (short of mandating - free-form source or a short maximum length for name for external - procedures) is based on the context of the statement. - - In particular, the statement is known to be within an - already-started program unit (but not at the outer level of the - `CONTAINS' block), it is a type-declaration statement. - - Otherwise, the statement is a `FUNCTION' statement, in that it - begins a function program unit (external, or, within `CONTAINS', - nested). - - Weird READ - .......... - - The statement - - READ (N) - - is equivalent to either - - READ (UNIT=(N)) - - or - - READ (FMT=(N)) - - depending on which would be valid in context. - - Specifically, if `N' is type `INTEGER', `READ (FMT=(N))' would not - be valid, because parentheses may not be used around `N', whereas they - may around it in `READ (UNIT=(N))'. - - Further, if `N' is type `CHARACTER', the opposite is true--`READ - (UNIT=(N))' is not valid, but `READ (FMT=(N))' is. - - Strictly speaking, if anything follows - - READ (N) - - in the statement, whether the first lexeme after the close - parenthese is a comma could be used to disambiguate the two cases, - without looking at the type of `N', because the comma is required for - the `READ (FMT=(N))' interpretation and disallowed for the `READ - (UNIT=(N))' interpretation. - - However, in practice, many Fortran compilers allow the comma for the - `READ (UNIT=(N))' interpretation anyway (in that they generally allow a - leading comma before an I/O list in an I/O statement), and much code - takes advantage of this allowance. - - (This is quite a reasonable allowance, since the juxtaposition of a - comma-separated list immediately after an I/O control-specification - list, which is also comma-separated, without an intervening comma, - looks sufficiently "wrong" to programmers that they can't resist the - itch to insert the comma. `READ (I, J), K, L' simply looks cleaner than - `READ (I, J) K, L'.) - - So, type-based disambiguation is needed unless strict adherence to - the standard is always assumed, and we're not going to assume that. - -  - File: g77.info, Node: TBD (Transforming), Prev: Gotchas (Transforming), Up: Overview of Translation Process - - TBD (Transforming) - ------------------ - - Continue researching gotchas, designing the transformational process, - and implementing it. - - Specific issues to resolve: - - * Just where should (if it was implemented) `USE' processing take - place? - - This gets into the whole issue of how `g77' should handle the - concept of modules. I think GNAT already takes on this issue, but - don't know more than that. Jim Giles has written extensively on - `comp.lang.fortran' about his opinions on module handling, as have - others. Jim's views should be taken into account. - - Actually, Richard M. Stallman (RMS) also has written up some - guidelines for implementing such things, but I'm not sure where I - read them. Perhaps the old list. - - If someone could dig references to these up and get them to me, - that would be much appreciated! Even though modules are not on - the short-term list for implementation, it'd be helpful to know - _now_ how to avoid making them harder to implement them _later_. - - * Should the `g77' command become just a script that invokes all the - various preprocessing that might be needed, thus making it seem - slower than necessary for legacy code that people are unwilling to - convert, or should we provide a separate script for that, thus - encouraging people to convert their code once and for all? - - At least, a separate script to behave as old `g77' did, perhaps - named `g77old', might ease the transition, as might a - corresponding one that converts source codes named `g77oldnew'. - - These scripts would take all the pertinent options `g77' used to - take and run the appropriate filters, passing the results to `g77' - or just making new sources out of them (in a subdirectory, leaving - the user to do the dirty deed of moving or copying them over the - old sources). - - * Do other Fortran compilers provide a prefix syntax to govern the - treatment of backslashes in `CHARACTER' (or Hollerith) constants? - - Knowing what other compilers provide would help. - - * Is it okay to drop support for the `-fintrin-case-initcap', - `-fmatch-case-initcap', `-fsymbol-case-initcap', and - `-fcase-initcap' options? - - I've asked for input on this. Not - having to support these makes it easier to write the new front end, - and might also avoid complicated its design. - - The consensus to date (1999-11-17) has been to drop this support. - Can't recall anybody saying they're using it, in fact. - -  - File: g77.info, Node: Philosophy of Code Generation, Next: Two-pass Design, Prev: Overview of Translation Process, Up: Front End - - Philosophy of Code Generation - ============================= - - Don't poke the bear. - - The `g77' front end generates code via the `gcc' back end. - - The `gcc' back end (GBE) is a large, complex labyrinth of intricate - code written in a combination of the C language and specialized - languages internal to `gcc'. - - While the _code_ that implements the GBE is written in a combination - of languages, the GBE itself is, to the front end for a language like - Fortran, best viewed as a _compiler_ that compiles its own, unique, - language. - - The GBE's "source", then, is written in this language, which - consists primarily of a combination of calls to GBE functions and - "tree" nodes (which are, themselves, created by calling GBE functions). - - So, the `g77' generates code by, in effect, translating the Fortran - code it reads into a form "written" in the "language" of the `gcc' back - end. - - This language will heretofore be referred to as "GBEL", for GNU Back - End Language. - - GBEL is an evolving language, not fully specified in any published - form as of this writing. It offers many facilities, but its "core" - facilities are those that corresponding most directly to those needed - to support `gcc' (compiling code written in GNU C). - - The `g77' Fortran Front End (FFE) is designed and implemented to - navigate the currents and eddies of ongoing GBEL and `gcc' development - while also delivering on the potential of an integrated FFE (as - compared to using a converter like `f2c' and feeding the output into - `gcc'). - - Goals of the FFE's code-generation strategy include: - - * High likelihood of generation of correct code, or, failing that, - producing a fatal diagnostic or crashing. - - * Generation of highly optimized code, as directed by the user via - GBE-specific (versus `g77'-specific) constructs, such as - command-line options. - - * Fast overall (FFE plus GBE) compilation. - - * Preservation of source-level debugging information. - - The strategies historically, and currently, used by the FFE to - achieve these goals include: - - * Use of GBEL constructs that most faithfully encapsulate the - semantics of Fortran. - - * Avoidance of GBEL constructs that are so rarely used, or limited - to use in specialized situations not related to Fortran, that - their reliability and performance has not yet been established as - sufficient for use by the FFE. - - * Flexible design, to readily accommodate changes to specific - code-generation strategies, perhaps governed by command-line - options. - - "Don't poke the bear" somewhat summarizes the above strategies. The - GBE is the bear. The FFE is designed and implemented to avoid poking it - in ways that are likely to just annoy it. The FFE usually either - tackles it head-on, or avoids treating it in ways dissimilar to how the - `gcc' front end treats it. - - For example, the FFE uses the native array facility in the back end - instead of the lower-level pointer-arithmetic facility used by `gcc' - when compiling `f2c' output). Theoretically, this presents more - opportunities for optimization, faster compile times, and the - production of more faithful debugging information. These benefits were - not, however, immediately realized, mainly because `gcc' itself makes - little or no use of the native array facility. - - Complex arithmetic is a case study of the evolution of this strategy. - When originally implemented, the GBEL had just evolved its own native - complex-arithmetic facility, so the FFE took advantage of that. - - When porting `g77' to 64-bit systems, it was discovered that the GBE - didn't really implement its native complex-arithmetic facility properly. - - The short-term solution was to rewrite the FFE to instead use the - lower-level facilities that'd be used by `gcc'-compiled code (assuming - that code, itself, didn't use the native complex type provided, as an - extension, by `gcc'), since these were known to work, and, in any case, - if shown to not work, would likely be rapidly fixed (since they'd - likely not work for vanilla C code in similar circumstances). - - However, the rewrite accommodated the original, native approach as - well by offering a command-line option to select it over the emulated - approach. This allowed users, and especially GBE maintainers, to try - out fixes to complex-arithmetic support in the GBE while `g77' - continued to default to compiling more code correctly, albeit producing - (typically) slower executables. - - As of April 1999, it appeared that the last few bugs in the GBE's - support of its native complex-arithmetic facility were worked out. The - FFE was changed back to default to using that native facility, leaving - emulation as an option. - - Later during the release cycle (which was called EGCS 1.2, but soon - became GCC 2.95), bugs in the native facility were found. Reactions - among various people included "the last thing we should do is change - the default back", "we must change the default back", and "let's figure - out whether we can narrow down the bugs to few enough cases to allow - the now-months-long-tested default to remain the same". The latter - viewpoint won that particular time. The bugs exposed other concerns - regarding ABI compliance when the ABI specified treatment of complex - data as different from treatment of what Fortran and GNU C consider the - equivalent aggregation (structure) of real (or float) pairs. - - Other Fortran constructs--arrays, character strings, complex - division, `COMMON' and `EQUIVALENCE' aggregates, and so on--involve - issues similar to those pertaining to complex arithmetic. - - So, it is possible that the history of how the FFE handled complex - arithmetic will be repeated, probably in modified form (and hopefully - over shorter timeframes), for some of these other facilities. - -  - File: g77.info, Node: Two-pass Design, Next: Challenges Posed, Prev: Philosophy of Code Generation, Up: Front End - - Two-pass Design - =============== - - The FFE does not tell the GBE anything about a program unit until - after the last statement in that unit has been parsed. (A program unit - is a Fortran concept that corresponds, in the C world, mostly closely - to functions definitions in ISO C. That is, a program unit in Fortran - is like a top-level function in C. Nested functions, found among the - extensions offered by GNU C, correspond roughly to Fortran's statement - functions.) - - So, while parsing the code in a program unit, the FFE saves up all - the information on statements, expressions, names, and so on, until it - has seen the last statement. - - At that point, the FFE revisits the saved information (in what - amounts to a second "pass" over the program unit) to perform the actual - translation of the program unit into GBEL, ultimating in the generation - of assembly code for it. - - Some lookahead is performed during this second pass, so the FFE - could be viewed as a "two-plus-pass" design. - - * Menu: - - * Two-pass Code:: - * Why Two Passes:: - --- 1049,1051 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-19 gcc-3.1/gcc/f/g77.info-19 *** gcc-3.0.4/gcc/f/g77.info-19 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-19 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,41 **** --- 36,497 ---- Craig by David Ronis ().  + File: g77.info, Node: Gotchas (Transforming), Next: TBD (Transforming), Prev: ste.c, Up: Overview of Translation Process + + Gotchas (Transforming) + ---------------------- + + This section is not about transforming "gotchas" into something else. + It is about the weirder aspects of transforming Fortran, however that's + defined, into a more modern, canonical form. + + Multi-character Lexemes + ....................... + + Each lexeme carries with it a pointer to where it appears in the + source. + + To provide the ability for diagnostics to point to column numbers, + in addition to line numbers and names, lexemes that represent more than + one (significant) character in the source code need, generally, to + provide pointers to where each _character_ appears in the source. + + This provides the ability to properly identify the precise location + of the problem in code like + + SUBROUTINE X + END + BLOCK DATA X + END + + which, in fixed-form source, would result in single lexemes + consisting of the strings `SUBROUTINEX' and `BLOCKDATAX'. (The problem + is that `X' is defined twice, so a pointer to the `X' in the second + definition, as well as a follow-up pointer to the corresponding pointer + in the first, would be preferable to pointing to the beginnings of the + statements.) + + This need also arises when parsing (and diagnosing) `FORMAT' + statements. + + Further, it arises when diagnosing `FMT=' specifiers that contain + constants (or partial constants, or even propagated constants!) in I/O + statements, as in: + + PRINT '(I2, 3HAB)', J + + (A pointer to the beginning of the prematurely-terminated Hollerith + constant, and/or to the close parenthese, is preferable to a pointer to + the open-parenthese or the apostrophe that precedes it.) + + Multi-character lexemes, which would seem to naturally include at + least digit strings, alphanumeric strings, `CHARACTER' constants, and + Hollerith constants, therefore need to provide location information on + each character. (Maybe Hollerith constants don't, but it's unnecessary + to except them.) + + The question then arises, what about _other_ multi-character lexemes, + such as `**' and `//', and Fortran 90's `(/', `/)', `::', and so on? + + Turns out there's a need to identify the location of the second + character of these two-character lexemes. For example, in `I(/J) = K', + the slash needs to be diagnosed as the problem, not the open parenthese. + Similarly, it is preferable to diagnose the second slash in `I = J // + K' rather than the first, given the implicit typing rules, which would + result in the compiler disallowing the attempted concatenation of two + integers. (Though, since that's more of a semantic issue, it's not + _that_ much preferable.) + + Even sequences that could be parsed as digit strings could use + location info, for example, to diagnose the `9' in the octal constant + `O'129''. (This probably will be parsed as a character string, to be + consistent with the parsing of `Z'129A''.) + + To avoid the hassle of recording the location of the second + character, while also preserving the general rule that each significant + character is distinctly pointed to by the lexeme that contains it, it's + best to simply not have any fixed-size lexemes larger than one + character. + + This new design is expected to make checking for two `*' lexemes in + a row much easier than the old design, so this is not much of a + sacrifice. It probably makes the lexer much easier to implement than + it makes the parser harder. + + Space-padding Lexemes + ..................... + + Certain lexemes need to be padded with virtual spaces when the end + of the line (or file) is encountered. + + This is necessary in fixed form, to handle lines that don't extend + to column 72, assuming that's the line length in effect. + + Bizarre Free-form Hollerith Constants + ..................................... + + Last I checked, the Fortran 90 standard actually required the + compiler to silently accept something like + + FORMAT ( 1 2 Htwelve chars ) + + as a valid `FORMAT' statement specifying a twelve-character + Hollerith constant. + + The implication here is that, since the new lexer is a zero-feedback + one, it won't know that the special case of a `FORMAT' statement being + parsed requires apparently distinct lexemes `1' and `2' to be treated as + a single lexeme. + + (This is a horrible misfeature of the Fortran 90 language. It's one + of many such misfeatures that almost make me want to not support them, + and forge ahead with designing a new "GNU Fortran" language that has + the features, but not the misfeatures, of Fortran 90, and provide + utility programs to do the conversion automatically.) + + So, the lexer must gather distinct chunks of decimal strings into a + single lexeme in contexts where a single decimal lexeme might start a + Hollerith constant. + + (Which probably means it might as well do that all the time for all + multi-character lexemes, even in free-form mode, leaving it to + subsequent phases to pull them apart as they see fit.) + + Compare the treatment of this to how + + CHARACTER * 4 5 HEY + + and + + CHARACTER * 12 HEY + + must be treated--the former must be diagnosed, due to the separation + between lexemes, the latter must be accepted as a proper declaration. + + Hollerith Constants + ................... + + Recognizing a Hollerith constant--specifically, that an `H' or `h' + after a digit string begins such a constant--requires some knowledge of + context. + + Hollerith constants (such as `2HAB') can appear after: + + * `(' + + * `,' + + * `=' + + * `+', `-', `/' + + * `*', except as noted below + + Hollerith constants don't appear after: + + * `CHARACTER*', which can be treated generally as any `*' that is + the second lexeme of a statement + + Confusing Function Keyword + .......................... + + While + + REAL FUNCTION FOO () + + must be a `FUNCTION' statement and + + REAL FUNCTION FOO (5) + + must be a type-definition statement, + + REAL FUNCTION FOO (NAMES) + + where NAMES is a comma-separated list of names, can be one or the + other. + + The only way to disambiguate that statement (short of mandating + free-form source or a short maximum length for name for external + procedures) is based on the context of the statement. + + In particular, the statement is known to be within an + already-started program unit (but not at the outer level of the + `CONTAINS' block), it is a type-declaration statement. + + Otherwise, the statement is a `FUNCTION' statement, in that it + begins a function program unit (external, or, within `CONTAINS', + nested). + + Weird READ + .......... + + The statement + + READ (N) + + is equivalent to either + + READ (UNIT=(N)) + + or + + READ (FMT=(N)) + + depending on which would be valid in context. + + Specifically, if `N' is type `INTEGER', `READ (FMT=(N))' would not + be valid, because parentheses may not be used around `N', whereas they + may around it in `READ (UNIT=(N))'. + + Further, if `N' is type `CHARACTER', the opposite is true--`READ + (UNIT=(N))' is not valid, but `READ (FMT=(N))' is. + + Strictly speaking, if anything follows + + READ (N) + + in the statement, whether the first lexeme after the close + parenthese is a comma could be used to disambiguate the two cases, + without looking at the type of `N', because the comma is required for + the `READ (FMT=(N))' interpretation and disallowed for the `READ + (UNIT=(N))' interpretation. + + However, in practice, many Fortran compilers allow the comma for the + `READ (UNIT=(N))' interpretation anyway (in that they generally allow a + leading comma before an I/O list in an I/O statement), and much code + takes advantage of this allowance. + + (This is quite a reasonable allowance, since the juxtaposition of a + comma-separated list immediately after an I/O control-specification + list, which is also comma-separated, without an intervening comma, + looks sufficiently "wrong" to programmers that they can't resist the + itch to insert the comma. `READ (I, J), K, L' simply looks cleaner than + `READ (I, J) K, L'.) + + So, type-based disambiguation is needed unless strict adherence to + the standard is always assumed, and we're not going to assume that. + +  + File: g77.info, Node: TBD (Transforming), Prev: Gotchas (Transforming), Up: Overview of Translation Process + + TBD (Transforming) + ------------------ + + Continue researching gotchas, designing the transformational process, + and implementing it. + + Specific issues to resolve: + + * Just where should (if it was implemented) `USE' processing take + place? + + This gets into the whole issue of how `g77' should handle the + concept of modules. I think GNAT already takes on this issue, but + don't know more than that. Jim Giles has written extensively on + `comp.lang.fortran' about his opinions on module handling, as have + others. Jim's views should be taken into account. + + Actually, Richard M. Stallman (RMS) also has written up some + guidelines for implementing such things, but I'm not sure where I + read them. Perhaps the old list. + + If someone could dig references to these up and get them to me, + that would be much appreciated! Even though modules are not on + the short-term list for implementation, it'd be helpful to know + _now_ how to avoid making them harder to implement them _later_. + + * Should the `g77' command become just a script that invokes all the + various preprocessing that might be needed, thus making it seem + slower than necessary for legacy code that people are unwilling to + convert, or should we provide a separate script for that, thus + encouraging people to convert their code once and for all? + + At least, a separate script to behave as old `g77' did, perhaps + named `g77old', might ease the transition, as might a + corresponding one that converts source codes named `g77oldnew'. + + These scripts would take all the pertinent options `g77' used to + take and run the appropriate filters, passing the results to `g77' + or just making new sources out of them (in a subdirectory, leaving + the user to do the dirty deed of moving or copying them over the + old sources). + + * Do other Fortran compilers provide a prefix syntax to govern the + treatment of backslashes in `CHARACTER' (or Hollerith) constants? + + Knowing what other compilers provide would help. + + * Is it okay to drop support for the `-fintrin-case-initcap', + `-fmatch-case-initcap', `-fsymbol-case-initcap', and + `-fcase-initcap' options? + + I've asked for input on this. Not + having to support these makes it easier to write the new front end, + and might also avoid complicated its design. + + The consensus to date (1999-11-17) has been to drop this support. + Can't recall anybody saying they're using it, in fact. + +  + File: g77.info, Node: Philosophy of Code Generation, Next: Two-pass Design, Prev: Overview of Translation Process, Up: Front End + + Philosophy of Code Generation + ============================= + + Don't poke the bear. + + The `g77' front end generates code via the `gcc' back end. + + The `gcc' back end (GBE) is a large, complex labyrinth of intricate + code written in a combination of the C language and specialized + languages internal to `gcc'. + + While the _code_ that implements the GBE is written in a combination + of languages, the GBE itself is, to the front end for a language like + Fortran, best viewed as a _compiler_ that compiles its own, unique, + language. + + The GBE's "source", then, is written in this language, which + consists primarily of a combination of calls to GBE functions and + "tree" nodes (which are, themselves, created by calling GBE functions). + + So, the `g77' generates code by, in effect, translating the Fortran + code it reads into a form "written" in the "language" of the `gcc' back + end. + + This language will heretofore be referred to as "GBEL", for GNU Back + End Language. + + GBEL is an evolving language, not fully specified in any published + form as of this writing. It offers many facilities, but its "core" + facilities are those that corresponding most directly to those needed + to support `gcc' (compiling code written in GNU C). + + The `g77' Fortran Front End (FFE) is designed and implemented to + navigate the currents and eddies of ongoing GBEL and `gcc' development + while also delivering on the potential of an integrated FFE (as + compared to using a converter like `f2c' and feeding the output into + `gcc'). + + Goals of the FFE's code-generation strategy include: + + * High likelihood of generation of correct code, or, failing that, + producing a fatal diagnostic or crashing. + + * Generation of highly optimized code, as directed by the user via + GBE-specific (versus `g77'-specific) constructs, such as + command-line options. + + * Fast overall (FFE plus GBE) compilation. + + * Preservation of source-level debugging information. + + The strategies historically, and currently, used by the FFE to + achieve these goals include: + + * Use of GBEL constructs that most faithfully encapsulate the + semantics of Fortran. + + * Avoidance of GBEL constructs that are so rarely used, or limited + to use in specialized situations not related to Fortran, that + their reliability and performance has not yet been established as + sufficient for use by the FFE. + + * Flexible design, to readily accommodate changes to specific + code-generation strategies, perhaps governed by command-line + options. + + "Don't poke the bear" somewhat summarizes the above strategies. The + GBE is the bear. The FFE is designed and implemented to avoid poking it + in ways that are likely to just annoy it. The FFE usually either + tackles it head-on, or avoids treating it in ways dissimilar to how the + `gcc' front end treats it. + + For example, the FFE uses the native array facility in the back end + instead of the lower-level pointer-arithmetic facility used by `gcc' + when compiling `f2c' output). Theoretically, this presents more + opportunities for optimization, faster compile times, and the + production of more faithful debugging information. These benefits were + not, however, immediately realized, mainly because `gcc' itself makes + little or no use of the native array facility. + + Complex arithmetic is a case study of the evolution of this strategy. + When originally implemented, the GBEL had just evolved its own native + complex-arithmetic facility, so the FFE took advantage of that. + + When porting `g77' to 64-bit systems, it was discovered that the GBE + didn't really implement its native complex-arithmetic facility properly. + + The short-term solution was to rewrite the FFE to instead use the + lower-level facilities that'd be used by `gcc'-compiled code (assuming + that code, itself, didn't use the native complex type provided, as an + extension, by `gcc'), since these were known to work, and, in any case, + if shown to not work, would likely be rapidly fixed (since they'd + likely not work for vanilla C code in similar circumstances). + + However, the rewrite accommodated the original, native approach as + well by offering a command-line option to select it over the emulated + approach. This allowed users, and especially GBE maintainers, to try + out fixes to complex-arithmetic support in the GBE while `g77' + continued to default to compiling more code correctly, albeit producing + (typically) slower executables. + + As of April 1999, it appeared that the last few bugs in the GBE's + support of its native complex-arithmetic facility were worked out. The + FFE was changed back to default to using that native facility, leaving + emulation as an option. + + Later during the release cycle (which was called EGCS 1.2, but soon + became GCC 2.95), bugs in the native facility were found. Reactions + among various people included "the last thing we should do is change + the default back", "we must change the default back", and "let's figure + out whether we can narrow down the bugs to few enough cases to allow + the now-months-long-tested default to remain the same". The latter + viewpoint won that particular time. The bugs exposed other concerns + regarding ABI compliance when the ABI specified treatment of complex + data as different from treatment of what Fortran and GNU C consider the + equivalent aggregation (structure) of real (or float) pairs. + + Other Fortran constructs--arrays, character strings, complex + division, `COMMON' and `EQUIVALENCE' aggregates, and so on--involve + issues similar to those pertaining to complex arithmetic. + + So, it is possible that the history of how the FFE handled complex + arithmetic will be repeated, probably in modified form (and hopefully + over shorter timeframes), for some of these other facilities. + +  + File: g77.info, Node: Two-pass Design, Next: Challenges Posed, Prev: Philosophy of Code Generation, Up: Front End + + Two-pass Design + =============== + + The FFE does not tell the GBE anything about a program unit until + after the last statement in that unit has been parsed. (A program unit + is a Fortran concept that corresponds, in the C world, mostly closely + to functions definitions in ISO C. That is, a program unit in Fortran + is like a top-level function in C. Nested functions, found among the + extensions offered by GNU C, correspond roughly to Fortran's statement + functions.) + + So, while parsing the code in a program unit, the FFE saves up all + the information on statements, expressions, names, and so on, until it + has seen the last statement. + + At that point, the FFE revisits the saved information (in what + amounts to a second "pass" over the program unit) to perform the actual + translation of the program unit into GBEL, ultimating in the generation + of assembly code for it. + + Some lookahead is performed during this second pass, so the FFE + could be viewed as a "two-plus-pass" design. + + * Menu: + + * Two-pass Code:: + * Why Two Passes:: + +  File: g77.info, Node: Two-pass Code, Next: Why Two Passes, Up: Two-pass Design Two-pass Code *************** text you're reading now), `FOOEY' is the *** 751,1227 **** * LINKFAIL:: When linking `f771' fails. * Y2KBAD:: Use of non-Y2K-compliant intrinsic. -  - File: g77.info, Node: CMPAMBIG, Next: EXPIMP, Up: Diagnostics - - `CMPAMBIG' - ========== - - Ambiguous use of intrinsic INTRINSIC ... - - The type of the argument to the invocation of the INTRINSIC - intrinsic is a `COMPLEX' type other than `COMPLEX(KIND=1)'. Typically, - it is `COMPLEX(KIND=2)', also known as `DOUBLE COMPLEX'. - - The interpretation of this invocation depends on the particular - dialect of Fortran for which the code was written. Some dialects - convert the real part of the argument to `REAL(KIND=1)', thus losing - precision; other dialects, and Fortran 90, do no such conversion. - - So, GNU Fortran rejects such invocations except under certain - circumstances, to avoid making an incorrect assumption that results in - generating the wrong code. - - To determine the dialect of the program unit, perhaps even whether - that particular invocation is properly coded, determine how the result - of the intrinsic is used. - - The result of INTRINSIC is expected (by the original programmer) to - be `REAL(KIND=1)' (the non-Fortran-90 interpretation) if: - - * It is passed as an argument to a procedure that explicitly or - implicitly declares that argument `REAL(KIND=1)'. - - For example, a procedure with no `DOUBLE PRECISION' or `IMPLICIT - DOUBLE PRECISION' statement specifying the dummy argument - corresponding to an actual argument of `REAL(Z)', where `Z' is - declared `DOUBLE COMPLEX', strongly suggests that the programmer - expected `REAL(Z)' to return `REAL(KIND=1)' instead of - `REAL(KIND=2)'. - - * It is used in a context that would otherwise not include any - `REAL(KIND=2)' but where treating the INTRINSIC invocation as - `REAL(KIND=2)' would result in unnecessary promotions and - (typically) more expensive operations on the wider type. - - For example: - - DOUBLE COMPLEX Z - ... - R(1) = T * REAL(Z) - - The above example suggests the programmer expected the real part - of `Z' to be converted to `REAL(KIND=1)' before being multiplied - by `T' (presumed, along with `R' above, to be type `REAL(KIND=1)'). - - Otherwise, the conversion would have to be delayed until after the - multiplication, requiring not only an extra conversion (of `T' to - `REAL(KIND=2)'), but a (typically) more expensive multiplication - (a double-precision multiplication instead of a single-precision - one). - - The result of INTRINSIC is expected (by the original programmer) to - be `REAL(KIND=2)' (the Fortran 90 interpretation) if: - - * It is passed as an argument to a procedure that explicitly or - implicitly declares that argument `REAL(KIND=2)'. - - For example, a procedure specifying a `DOUBLE PRECISION' dummy - argument corresponding to an actual argument of `REAL(Z)', where - `Z' is declared `DOUBLE COMPLEX', strongly suggests that the - programmer expected `REAL(Z)' to return `REAL(KIND=2)' instead of - `REAL(KIND=1)'. - - * It is used in an expression context that includes other - `REAL(KIND=2)' operands, or is assigned to a `REAL(KIND=2)' - variable or array element. - - For example: - - DOUBLE COMPLEX Z - DOUBLE PRECISION R, T - ... - R(1) = T * REAL(Z) - - The above example suggests the programmer expected the real part - of `Z' to _not_ be converted to `REAL(KIND=1)' by the `REAL()' - intrinsic. - - Otherwise, the conversion would have to be immediately followed by - a conversion back to `REAL(KIND=2)', losing the original, full - precision of the real part of `Z', before being multiplied by `T'. - - Once you have determined whether a particular invocation of INTRINSIC - expects the Fortran 90 interpretation, you can: - - * Change it to `DBLE(EXPR)' (if INTRINSIC is `REAL') or - `DIMAG(EXPR)' (if INTRINSIC is `AIMAG') if it expected the Fortran - 90 interpretation. - - This assumes EXPR is `COMPLEX(KIND=2)'--if it is some other type, - such as `COMPLEX*32', you should use the appropriate intrinsic, - such as the one to convert to `REAL*16' (perhaps `DBLEQ()' in - place of `DBLE()', and `QIMAG()' in place of `DIMAG()'). - - * Change it to `REAL(INTRINSIC(EXPR))', otherwise. This converts to - `REAL(KIND=1)' in all working Fortran compilers. - - If you don't want to change the code, and you are certain that all - ambiguous invocations of INTRINSIC in the source file have the same - expectation regarding interpretation, you can: - - * Compile with the `g77' option `-ff90', to enable the Fortran 90 - interpretation. - - * Compile with the `g77' options `-fno-f90 -fugly-complex', to - enable the non-Fortran-90 interpretations. - - *Note REAL() and AIMAG() of Complex::, for more information on this - issue. - - Note: If the above suggestions don't produce enough evidence as to - whether a particular program expects the Fortran 90 interpretation of - this ambiguous invocation of INTRINSIC, there is one more thing you can - try. - - If you have access to most or all the compilers used on the program - to create successfully tested and deployed executables, read the - documentation for, and _also_ test out, each compiler to determine how - it treats the INTRINSIC intrinsic in this case. (If all the compilers - don't agree on an interpretation, there might be lurking bugs in the - deployed versions of the program.) - - The following sample program might help: - - PROGRAM JCB003 - C - C Written by James Craig Burley 1997-02-23. - C - C Determine how compilers handle non-standard REAL - C and AIMAG on DOUBLE COMPLEX operands. - C - DOUBLE COMPLEX Z - REAL R - Z = (3.3D0, 4.4D0) - R = Z - CALL DUMDUM(Z, R) - R = REAL(Z) - R - IF (R .NE. 0.) PRINT *, 'REAL() is Fortran 90' - IF (R .EQ. 0.) PRINT *, 'REAL() is not Fortran 90' - R = 4.4D0 - CALL DUMDUM(Z, R) - R = AIMAG(Z) - R - IF (R .NE. 0.) PRINT *, 'AIMAG() is Fortran 90' - IF (R .EQ. 0.) PRINT *, 'AIMAG() is not Fortran 90' - END - C - C Just to make sure compiler doesn't use naive flow - C analysis to optimize away careful work above, - C which might invalidate results.... - C - SUBROUTINE DUMDUM(Z, R) - DOUBLE COMPLEX Z - REAL R - END - - If the above program prints contradictory results on a particular - compiler, run away! - -  - File: g77.info, Node: EXPIMP, Next: INTGLOB, Prev: CMPAMBIG, Up: Diagnostics - - `EXPIMP' - ======== - - Intrinsic INTRINSIC referenced ... - - The INTRINSIC is explicitly declared in one program unit in the - source file and implicitly used as an intrinsic in another program unit - in the same source file. - - This diagnostic is designed to catch cases where a program might - depend on using the name INTRINSIC as an intrinsic in one program unit - and as a global name (such as the name of a subroutine or function) in - another, but `g77' recognizes the name as an intrinsic in both cases. - - After verifying that the program unit making implicit use of the - intrinsic is indeed written expecting the intrinsic, add an `INTRINSIC - INTRINSIC' statement to that program unit to prevent this warning. - - This and related warnings are disabled by using the `-Wno-globals' - option when compiling. - - Note that this warning is not issued for standard intrinsics. - Standard intrinsics include those described in the FORTRAN 77 standard - and, if `-ff90' is specified, those described in the Fortran 90 - standard. Such intrinsics are not as likely to be confused with user - procedures as intrinsics provided as extensions to the standard by - `g77'. - -  - File: g77.info, Node: INTGLOB, Next: LEX, Prev: EXPIMP, Up: Diagnostics - - `INTGLOB' - ========= - - Same name `INTRINSIC' given ... - - The name INTRINSIC is used for a global entity (a common block or a - program unit) in one program unit and implicitly used as an intrinsic - in another program unit. - - This diagnostic is designed to catch cases where a program intends - to use a name entirely as a global name, but `g77' recognizes the name - as an intrinsic in the program unit that references the name, a - situation that would likely produce incorrect code. - - For example: - - INTEGER FUNCTION TIME() - ... - END - ... - PROGRAM SAMP - INTEGER TIME - PRINT *, 'Time is ', TIME() - END - - The above example defines a program unit named `TIME', but the - reference to `TIME' in the main program unit `SAMP' is normally treated - by `g77' as a reference to the intrinsic `TIME()' (unless a - command-line option that prevents such treatment has been specified). - - As a result, the program `SAMP' will _not_ invoke the `TIME' - function in the same source file. - - Since `g77' recognizes `libU77' procedures as intrinsics, and since - some existing code uses the same names for its own procedures as used - by some `libU77' procedures, this situation is expected to arise often - enough to make this sort of warning worth issuing. - - After verifying that the program unit making implicit use of the - intrinsic is indeed written expecting the intrinsic, add an `INTRINSIC - INTRINSIC' statement to that program unit to prevent this warning. - - Or, if you believe the program unit is designed to invoke the - program-defined procedure instead of the intrinsic (as recognized by - `g77'), add an `EXTERNAL INTRINSIC' statement to the program unit that - references the name to prevent this warning. - - This and related warnings are disabled by using the `-Wno-globals' - option when compiling. - - Note that this warning is not issued for standard intrinsics. - Standard intrinsics include those described in the FORTRAN 77 standard - and, if `-ff90' is specified, those described in the Fortran 90 - standard. Such intrinsics are not as likely to be confused with user - procedures as intrinsics provided as extensions to the standard by - `g77'. - -  - File: g77.info, Node: LEX, Next: GLOBALS, Prev: INTGLOB, Up: Diagnostics - - `LEX' - ===== - - Unrecognized character ... - Invalid first character ... - Line too long ... - Non-numeric character ... - Continuation indicator ... - Label at ... invalid with continuation line indicator ... - Character constant ... - Continuation line ... - Statement at ... begins with invalid token - - Although the diagnostics identify specific problems, they can be - produced when general problems such as the following occur: - - * The source file contains something other than Fortran code. - - If the code in the file does not look like many of the examples - elsewhere in this document, it might not be Fortran code. (Note - that Fortran code often is written in lower case letters, while - the examples in this document use upper case letters, for - stylistic reasons.) - - For example, if the file contains lots of strange-looking - characters, it might be APL source code; if it contains lots of - parentheses, it might be Lisp source code; if it contains lots of - bugs, it might be C++ source code. - - * The source file contains free-form Fortran code, but `-ffree-form' - was not specified on the command line to compile it. - - Free form is a newer form for Fortran code. The older, classic - form is called fixed form. - - Fixed-form code is visually fairly distinctive, because numerical - labels and comments are all that appear in the first five columns - of a line, the sixth column is reserved to denote continuation - lines, and actual statements start at or beyond column 7. Spaces - generally are not significant, so if you see statements such as - `REALX,Y' and `DO10I=1,100', you are looking at fixed-form code. - Comment lines are indicated by the letter `C' or the symbol `*' in - column 1. (Some code uses `!' or `/*' to begin in-line comments, - which many compilers support.) - - Free-form code is distinguished from fixed-form source primarily - by the fact that statements may start anywhere. (If lots of - statements start in columns 1 through 6, that's a strong indicator - of free-form source.) Consecutive keywords must be separated by - spaces, so `REALX,Y' is not valid, while `REAL X,Y' is. There are - no comment lines per se, but `!' starts a comment anywhere in a - line (other than within a character or Hollerith constant). - - *Note Source Form::, for more information. - - * The source file is in fixed form and has been edited without - sensitivity to the column requirements. - - Statements in fixed-form code must be entirely contained within - columns 7 through 72 on a given line. Starting them "early" is - more likely to result in diagnostics than finishing them "late", - though both kinds of errors are often caught at compile time. - - For example, if the following code fragment is edited by following - the commented instructions literally, the result, shown afterward, - would produce a diagnostic when compiled: - - C On XYZZY systems, remove "C" on next line: - C CALL XYZZY_RESET - - The result of editing the above line might be: - - C On XYZZY systems, remove "C" on next line: - CALL XYZZY_RESET - - However, that leaves the first `C' in the `CALL' statement in - column 6, making it a comment line, which is not really what the - author intended, and which is likely to result in one of the - above-listed diagnostics. - - _Replacing_ the `C' in column 1 with a space is the proper change - to make, to ensure the `CALL' keyword starts in or after column 7. - - Another common mistake like this is to forget that fixed-form - source lines are significant through only column 72, and that, - normally, any text beyond column 72 is ignored or is diagnosed at - compile time. - - *Note Source Form::, for more information. - - * The source file requires preprocessing, and the preprocessing is - not being specified at compile time. - - A source file containing lines beginning with `#define', - `#include', `#if', and so on is likely one that requires - preprocessing. - - If the file's suffix is `.f', `.for', or `.FOR', the file normally - will be compiled _without_ preprocessing by `g77'. - - Change the file's suffix from `.f' to `.F' (or, on systems with - case-insensitive file names, to `.fpp' or `.FPP'), from `.for' to - `.fpp', or from `.FOR' to `.FPP'. `g77' compiles files with such - names _with_ preprocessing. - - Or, learn how to use `gcc''s `-x' option to specify the language - `f77-cpp-input' for Fortran files that require preprocessing. - *Note gcc: (Using and Porting GNU CC)Overall Options. - - * The source file is preprocessed, and the results of preprocessing - result in syntactic errors that are not necessarily obvious to - someone examining the source file itself. - - Examples of errors resulting from preprocessor macro expansion - include exceeding the line-length limit, improperly starting, - terminating, or incorporating the apostrophe or double-quote in a - character constant, improperly forming a Hollerith constant, and - so on. - - *Note Options Controlling the Kind of Output: Overall Options, for - suggestions about how to use, and not use, preprocessing for - Fortran code. - -  - File: g77.info, Node: GLOBALS, Next: LINKFAIL, Prev: LEX, Up: Diagnostics - - `GLOBALS' - ========= - - Global name NAME defined at ... already defined... - Global name NAME at ... has different type... - Too many arguments passed to NAME at ... - Too few arguments passed to NAME at ... - Argument #N of NAME is ... - - These messages all identify disagreements about the global procedure - named NAME among different program units (usually including NAME - itself). - - Whether a particular disagreement is reported as a warning or an - error can depend on the relative order of the disagreeing portions of - the source file. - - Disagreements between a procedure invocation and the _subsequent_ - procedure itself are, usually, diagnosed as errors when the procedure - itself _precedes_ the invocation. Other disagreements are diagnosed - via warnings. - - This distinction, between warnings and errors, is due primarily to - the present tendency of the `gcc' back end to inline only those - procedure invocations that are _preceded_ by the corresponding - procedure definitions. If the `gcc' back end is changed to inline - "forward references", in which invocations precede definitions, the - `g77' front end will be changed to treat both orderings as errors, - accordingly. - - The sorts of disagreements that are diagnosed by `g77' include - whether a procedure is a subroutine or function; if it is a function, - the type of the return value of the procedure; the number of arguments - the procedure accepts; and the type of each argument. - - Disagreements regarding global names among program units in a - Fortran program _should_ be fixed in the code itself. However, if that - is not immediately practical, and the code has been working for some - time, it is possible it will work when compiled with the `-fno-globals' - option. - - The `-fno-globals' option causes these diagnostics to all be warnings - and disables all inlining of references to global procedures (to avoid - subsequent compiler crashes and bad-code generation). Use of the - `-Wno-globals' option as well as `-fno-globals' suppresses all of these - diagnostics. (`-Wno-globals' by itself disables only the warnings, not - the errors.) - - After using `-fno-globals' to work around these problems, it is wise - to stop using that option and address them by fixing the Fortran code, - because such problems, while they might not actually result in bugs on - some systems, indicate that the code is not as portable as it could be. - In particular, the code might appear to work on a particular system, - but have bugs that affect the reliability of the data without - exhibiting any other outward manifestations of the bugs. - -  - File: g77.info, Node: LINKFAIL, Next: Y2KBAD, Prev: GLOBALS, Up: Diagnostics - - `LINKFAIL' - ========== - - On AIX 4.1, `g77' might not build with the native (non-GNU) tools due - to a linker bug in coping with the `-bbigtoc' option which leads to a - `Relocation overflow' error. The GNU linker is not recommended on - current AIX versions, though; it was developed under a now-unsupported - version. This bug is said to be fixed by `update PTF U455193 for APAR - IX75823'. - - Compiling with `-mminimal-toc' might solve this problem, e.g. by - adding - BOOT_CFLAGS='-mminimal-toc -O2 -g' - to the `make bootstrap' command line. - -  - File: g77.info, Node: Y2KBAD, Prev: LINKFAIL, Up: Diagnostics - - `Y2KBAD' - ======== - - Intrinsic `NAME', invoked at (^), known to be non-Y2K-compliant... - - This diagnostic indicates that the specific intrinsic invoked by the - name NAME is known to have an interface that is not Year-2000 (Y2K) - compliant. - - *Note Year 2000 (Y2K) Problems::. - --- 1207,1209 ---- diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-2 gcc-3.1/gcc/f/g77.info-2 *** gcc-3.0.4/gcc/f/g77.info-2 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-2 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** see *Note Changes::. *** 67,75 **** strictly conforming ANSI FORTRAN 77--and this is probably everyone--you should see *Note Language::. - If you don't already have `g77' installed on your system, you must - see *Note Installation::. - If you run into trouble getting Fortran code to compile, link, run, or work properly, you might find answers if you see *Note Debugging and Interfacing::, see *Note Collected Fortran Wisdom::, and see *Note --- 67,72 ---- *************** files and accepts Fortran-specific comma *** 301,309 **** command-line options that are designed to cater to Fortran users but apply to other languages as well. ! *Note Compile C; C++; or Objective-C: (gcc)G++ and GCC, for ! information on the way different languages are handled by the GNU CC ! compiler (`gcc'). Also provided as part of GNU Fortran is the `g77' command. The `g77' command is designed to make compiling and linking Fortran --- 298,306 ---- command-line options that are designed to cater to Fortran users but apply to other languages as well. ! *Note Compile C; C++; Objective-C; Ada; Fortran; or Java: (gcc)G++ ! and GCC, for information on the way different languages are handled by ! the GNU CC compiler (`gcc'). Also provided as part of GNU Fortran is the `g77' command. The `g77' command is designed to make compiling and linking Fortran *************** GNU Fortran Command Options *** 321,334 **** *************************** The `g77' command supports all the options supported by the `gcc' ! command. *Note GNU CC Command Options: (gcc)Invoking GCC, for ! information on the non-Fortran-specific aspects of the `gcc' command ! (and, therefore, the `g77' command). All `gcc' and `g77' options are accepted both by `g77' and by `gcc' (as well as any other drivers built at the same time, such as `g++'), since adding `g77' to the `gcc' distribution enables acceptance of ! `g77'-specific options by all of the relevant drivers. In some cases, options have positive and negative forms; the negative form of `-ffoo' would be `-fno-foo'. This manual documents --- 318,331 ---- *************************** The `g77' command supports all the options supported by the `gcc' ! command. *Note GCC Command Options: (gcc)Invoking GCC, for information ! on the non-Fortran-specific aspects of the `gcc' command (and, ! therefore, the `g77' command). All `gcc' and `g77' options are accepted both by `g77' and by `gcc' (as well as any other drivers built at the same time, such as `g++'), since adding `g77' to the `gcc' distribution enables acceptance of ! `g77' options by all of the relevant drivers. In some cases, options have positive and negative forms; the negative form of `-ffoo' would be `-fno-foo'. This manual documents *************** _Shorthand Options_ *** 374,415 **** _Fortran Language Options_ *Note Options Controlling Fortran Dialect: Fortran Dialect Options. ! -ffree-form -fno-fixed-form -ff90 ! -fvxt -fdollar-ok -fno-backslash ! -fno-ugly-args -fno-ugly-assign -fno-ugly-assumed ! -fugly-comma -fugly-complex -fugly-init -fugly-logint ! -fonetrip -ftypeless-boz ! -fintrin-case-initcap -fintrin-case-upper ! -fintrin-case-lower -fintrin-case-any ! -fmatch-case-initcap -fmatch-case-upper ! -fmatch-case-lower -fmatch-case-any ! -fsource-case-upper -fsource-case-lower ! -fsource-case-preserve ! -fsymbol-case-initcap -fsymbol-case-upper ! -fsymbol-case-lower -fsymbol-case-any ! -fcase-strict-upper -fcase-strict-lower ! -fcase-initcap -fcase-upper -fcase-lower -fcase-preserve ! -ff2c-intrinsics-delete -ff2c-intrinsics-hide ! -ff2c-intrinsics-disable -ff2c-intrinsics-enable ! -fbadu77-intrinsics-delete -fbadu77-intrinsics-hide ! -fbadu77-intrinsics-disable -fbadu77-intrinsics-enable ! -ff90-intrinsics-delete -ff90-intrinsics-hide ! -ff90-intrinsics-disable -ff90-intrinsics-enable ! -fgnu-intrinsics-delete -fgnu-intrinsics-hide ! -fgnu-intrinsics-disable -fgnu-intrinsics-enable ! -fmil-intrinsics-delete -fmil-intrinsics-hide ! -fmil-intrinsics-disable -fmil-intrinsics-enable ! -funix-intrinsics-delete -funix-intrinsics-hide ! -funix-intrinsics-disable -funix-intrinsics-enable ! -fvxt-intrinsics-delete -fvxt-intrinsics-hide ! -fvxt-intrinsics-disable -fvxt-intrinsics-enable -ffixed-line-length-N -ffixed-line-length-none _Warning Options_ *Note Options to Request or Suppress Warnings: Warning Options. ! -fsyntax-only -pedantic -pedantic-errors -fpedantic ! -w -Wno-globals -Wimplicit -Wunused -Wuninitialized ! -Wall -Wsurprising -Werror -W _Debugging Options_ --- 371,412 ---- _Fortran Language Options_ *Note Options Controlling Fortran Dialect: Fortran Dialect Options. ! -ffree-form -fno-fixed-form -ff90 ! -fvxt -fdollar-ok -fno-backslash ! -fno-ugly-args -fno-ugly-assign -fno-ugly-assumed ! -fugly-comma -fugly-complex -fugly-init -fugly-logint ! -fonetrip -ftypeless-boz ! -fintrin-case-initcap -fintrin-case-upper ! -fintrin-case-lower -fintrin-case-any ! -fmatch-case-initcap -fmatch-case-upper ! -fmatch-case-lower -fmatch-case-any ! -fsource-case-upper -fsource-case-lower ! -fsource-case-preserve ! -fsymbol-case-initcap -fsymbol-case-upper ! -fsymbol-case-lower -fsymbol-case-any ! -fcase-strict-upper -fcase-strict-lower ! -fcase-initcap -fcase-upper -fcase-lower -fcase-preserve ! -ff2c-intrinsics-delete -ff2c-intrinsics-hide ! -ff2c-intrinsics-disable -ff2c-intrinsics-enable ! -fbadu77-intrinsics-delete -fbadu77-intrinsics-hide ! -fbadu77-intrinsics-disable -fbadu77-intrinsics-enable ! -ff90-intrinsics-delete -ff90-intrinsics-hide ! -ff90-intrinsics-disable -ff90-intrinsics-enable ! -fgnu-intrinsics-delete -fgnu-intrinsics-hide ! -fgnu-intrinsics-disable -fgnu-intrinsics-enable ! -fmil-intrinsics-delete -fmil-intrinsics-hide ! -fmil-intrinsics-disable -fmil-intrinsics-enable ! -funix-intrinsics-delete -funix-intrinsics-hide ! -funix-intrinsics-disable -funix-intrinsics-enable ! -fvxt-intrinsics-delete -fvxt-intrinsics-hide ! -fvxt-intrinsics-disable -fvxt-intrinsics-enable -ffixed-line-length-N -ffixed-line-length-none _Warning Options_ *Note Options to Request or Suppress Warnings: Warning Options. ! -fsyntax-only -pedantic -pedantic-errors -fpedantic ! -w -Wno-globals -Wimplicit -Wunused -Wuninitialized ! -Wall -Wsurprising -Werror -W _Debugging Options_ *************** _Debugging Options_ *** 418,430 **** _Optimization Options_ *Note Options that Control Optimization: Optimize Options. ! -malign-double ! -ffloat-store -fforce-mem -fforce-addr -fno-inline ! -ffast-math -fstrength-reduce -frerun-cse-after-loop ! -fexpensive-optimizations -fdelayed-branch ! -fschedule-insns -fschedule-insn2 -fcaller-saves ! -funroll-loops -funroll-all-loops ! -fno-move-all-movables -fno-reduce-all-givs -fno-rerun-loop-opt _Directory Options_ --- 415,428 ---- _Optimization Options_ *Note Options that Control Optimization: Optimize Options. ! -malign-double ! -ffloat-store -fforce-mem -fforce-addr -fno-inline ! -ffast-math -fstrength-reduce -frerun-cse-after-loop ! -funsafe-math-optimizations -fno-trapping-math ! -fexpensive-optimizations -fdelayed-branch ! -fschedule-insns -fschedule-insn2 -fcaller-saves ! -funroll-loops -funroll-all-loops ! -fno-move-all-movables -fno-reduce-all-givs -fno-rerun-loop-opt _Directory Options_ *************** _Directory Options_ *** 433,447 **** _Code Generation Options_ *Note Options for Code Generation Conventions: Code Gen Options. ! -fno-automatic -finit-local-zero -fno-f2c ! -ff2c-library -fno-underscoring -fno-ident ! -fpcc-struct-return -freg-struct-return ! -fshort-double -fno-common -fpack-struct ! -fzeros -fno-second-underscore ! -fdebug-kludge -femulate-complex ! -falias-check -fargument-alias ! -fargument-noalias -fno-argument-noalias-global ! -fno-globals -fflatten-arrays -fbounds-check -ffortran-bounds-check * Menu: --- 431,445 ---- _Code Generation Options_ *Note Options for Code Generation Conventions: Code Gen Options. ! -fno-automatic -finit-local-zero -fno-f2c ! -ff2c-library -fno-underscoring -fno-ident ! -fpcc-struct-return -freg-struct-return ! -fshort-double -fno-common -fpack-struct ! -fzeros -fno-second-underscore ! -femulate-complex ! -falias-check -fargument-alias ! -fargument-noalias -fno-argument-noalias-global ! -fno-globals -fflatten-arrays -fbounds-check -ffortran-bounds-check * Menu: *************** those specified as input) into an execut *** 478,486 **** For any given input file, the file name suffix determines what kind of program is contained in the file--that is, the language in which the program is written is generally indicated by the suffix. Suffixes ! specific to GNU Fortran are listed below. *Note gcc: (Using and ! Porting GNU CC)Overall Options, for information on suffixes recognized ! by GNU CC. `FILE.f' --- 476,484 ---- For any given input file, the file name suffix determines what kind of program is contained in the file--that is, the language in which the program is written is generally indicated by the suffix. Suffixes ! specific to GNU Fortran are listed below. *Note Options Controlling ! the Kind of Output: (gcc)Overall Options, for information on suffixes ! recognized by GNU CC. `FILE.f' *************** by GNU CC. *** 511,519 **** Ratfor source code, which must be preprocessed by the `ratfor' command, which is available separately (as it is not yet part of the GNU Fortran distribution). One version in Fortran, adapted ! for use with `g77', is at `ftp://members.aol.com/n8tm/rat7.uue' ! (of uncertain copyright status). Another, public domain version ! in C is at `http://sepwww.stanford.edu/sep/prof/ratfor.shar.2'. UNIX users typically use the `FILE.f' and `FILE.F' nomenclature. Users of other operating systems, especially those that cannot --- 509,517 ---- Ratfor source code, which must be preprocessed by the `ratfor' command, which is available separately (as it is not yet part of the GNU Fortran distribution). One version in Fortran, adapted ! for use with `g77' is at `ftp://members.aol.com/n8tm/rat7.uue' (of ! uncertain copyright status). Another, public domain version in C ! is at `http://sepwww.stanford.edu/sep/prof/ratfor.shar.2'. UNIX users typically use the `FILE.f' and `FILE.F' nomenclature. Users of other operating systems, especially those that cannot *************** anything that `cpp' sees as an untermina *** 564,577 **** by the `g77' and `gcc' commands in a GNU Fortran installation: `-fversion' ! Ensure that the `g77'-specific version of the compiler phase is ! reported, if run, and, starting in `egcs' version 1.1, that ! internal consistency checks in the `f771' program are run. This option is supplied automatically when `-v' or `--verbose' is specified as a command-line option for `g77' or `gcc' and when the resulting commands compile Fortran source files. `-fset-g77-defaults' _Version info:_ This option was obsolete as of `egcs' version 1.1. The effect is instead achieved by the `lang_init_options' routine --- 562,578 ---- by the `g77' and `gcc' commands in a GNU Fortran installation: `-fversion' ! Ensure that the `g77' version of the compiler phase is reported, ! if run, and, starting in `egcs' version 1.1, that internal ! consistency checks in the `f771' program are run. This option is supplied automatically when `-v' or `--verbose' is specified as a command-line option for `g77' or `gcc' and when the resulting commands compile Fortran source files. + In GCC 3.1, this is changed back to the behaviour `gcc' displays + for `.c' files. + `-fset-g77-defaults' _Version info:_ This option was obsolete as of `egcs' version 1.1. The effect is instead achieved by the `lang_init_options' routine *************** by the `g77' and `gcc' commands in a GNU *** 588,594 **** Also, developers who run `f771' directly might want to specify it by hand to get the same defaults as they would running `f771' via ! `g77' or `gcc'. However, such developers should, after linking a new `f771' executable, invoke it without this option once, e.g. via `./f771 -quiet < /dev/null', to ensure that they have not introduced any internal inconsistencies (such as in the table of --- 589,595 ---- Also, developers who run `f771' directly might want to specify it by hand to get the same defaults as they would running `f771' via ! `g77' or `gcc' However, such developers should, after linking a new `f771' executable, invoke it without this option once, e.g. via `./f771 -quiet < /dev/null', to ensure that they have not introduced any internal inconsistencies (such as in the table of *************** by the `g77' and `gcc' commands in a GNU *** 598,604 **** `-fno-silent' Print (to `stderr') the names of the program units as they are compiled, in a form similar to that used by popular UNIX `f77' ! implementations and `f2c'. *Note Options Controlling the Kind of Output: (gcc)Overall Options, for information on more options that control the overall operation of --- 599,605 ---- `-fno-silent' Print (to `stderr') the names of the program units as they are compiled, in a form similar to that used by popular UNIX `f77' ! implementations and `f2c' *Note Options Controlling the Kind of Output: (gcc)Overall Options, for information on more options that control the overall operation of *************** accepted by the compiler: *** 661,667 **** `-fno-f77' The `-fno-f77' option is _not_ the inverse of `-ff77'. It specifies that the program is not written in idiomatic UNIX ! FORTRAN 77 or `f2c', but in a more widely portable dialect. `-fno-f77' is the same as `-fno-backslash'. The meaning of this option is likely to be refined as future --- 662,668 ---- `-fno-f77' The `-fno-f77' option is _not_ the inverse of `-ff77'. It specifies that the program is not written in idiomatic UNIX ! FORTRAN 77 or `f2c' but in a more widely portable dialect. `-fno-f77' is the same as `-fno-backslash'. The meaning of this option is likely to be refined as future *************** compiler accepts: *** 720,726 **** Note that `g77' implements a fairly general form of backslash processing that is incompatible with the narrower forms supported by some other compilers. For example, `'A\003B'' is a ! three-character string in `g77', whereas other compilers that support backslash might not support the three-octal-digit form, and thus treat that string as longer than three characters. --- 721,727 ---- Note that `g77' implements a fairly general form of backslash processing that is incompatible with the narrower forms supported by some other compilers. For example, `'A\003B'' is a ! three-character string in `g77' whereas other compilers that support backslash might not support the three-octal-digit form, and thus treat that string as longer than three characters. *************** GNU Fortran: *** 1119,1125 **** The `-Wunused' and `-Wuninitialized' options combined. These are all the options which pertain to usage that we recommend avoiding and that we believe is easy to avoid. (As more warnings are added ! to `g77', some might be added to the list enabled by `-Wall'.) The remaining `-W...' options are not implied by `-Wall' because they warn about constructions that we consider reasonable to use, on --- 1120,1126 ---- The `-Wunused' and `-Wuninitialized' options combined. These are all the options which pertain to usage that we recommend avoiding and that we believe is easy to avoid. (As more warnings are added ! to `g77' some might be added to the list enabled by `-Wall'.) The remaining `-W...' options are not implied by `-Wall' because they warn about constructions that we consider reasonable to use, on *************** occasion, in clean programs. *** 1135,1141 **** * Expressions having two arithmetic operators in a row, such as `X*-Y'. Such a construct is nonstandard, and can produce unexpected results in more complicated situations such as ! `X**-Y*Z'. `g77', along with many other compilers, interprets this example differently than many programmers, and a few other compilers. Specifically, `g77' interprets `X**-Y*Z' as `(X**(-Y))*Z', while others might think it should be --- 1136,1142 ---- * Expressions having two arithmetic operators in a row, such as `X*-Y'. Such a construct is nonstandard, and can produce unexpected results in more complicated situations such as ! `X**-Y*Z'. `g77' along with many other compilers, interprets this example differently than many programmers, and a few other compilers. Specifically, `g77' interprets `X**-Y*Z' as `(X**(-Y))*Z', while others might think it should be *************** occasion, in clean programs. *** 1189,1195 **** `-W' Turns on "extra warnings" and, if optimization is specified via `-O', the `-Wuninitialized' option. (This might change in future ! versions of `g77'.) "Extra warnings" are issued for: --- 1190,1196 ---- `-W' Turns on "extra warnings" and, if optimization is specified via `-O', the `-Wuninitialized' option. (This might change in future ! versions of `g77' "Extra warnings" are issued for: *************** occasion, in clean programs. *** 1200,1207 **** for certain configurations). *Note Options to Request or Suppress Warnings: (gcc)Warning Options, ! for information on more options offered by the GBE shared by `g77', ! `gcc', and other GNU compilers. Some of these have no effect when compiling programs written in Fortran: --- 1201,1208 ---- for certain configurations). *Note Options to Request or Suppress Warnings: (gcc)Warning Options, ! for information on more options offered by the GBE shared by `g77' ! `gcc' and other GNU compilers. Some of these have no effect when compiling programs written in Fortran: diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-20 gcc-3.1/gcc/f/g77.info-20 *** gcc-3.0.4/gcc/f/g77.info-20 Wed Feb 20 19:57:12 2002 --- gcc-3.1/gcc/f/g77.info-20 Wed May 15 02:45:53 2002 *************** *** 1,16 **** ! This is g77.info, produced by makeinfo version 4.0b from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.0 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document --- 1,16 ---- ! This is g77.info, produced by makeinfo version 4.2 from g77.texi. INFO-DIR-SECTION Programming START-INFO-DIR-ENTRY * g77: (g77). The GNU Fortran compiler. END-INFO-DIR-ENTRY This file documents the use and the internals of the GNU Fortran ! (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. Published by the Free Software Foundation 59 Temple Place - Suite 330 Boston, MA 02111-1307 USA ! Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document *************** a first pass at translating `g77-0.5.16/ *** 36,2273 **** Craig by David Ronis ().  ! File: g77.info, Node: Index, Prev: Diagnostics, Up: Top ! Index ! ***** ! * Menu: ! * ! <1>: LEX. ! * ! <2>: Exclamation Point. ! * ! <3>: Trailing Comment. ! * ! <4>: Character Set. ! * !: Statements Comments Lines. ! * ": Character Set. ! * # <1>: Cpp-style directives. ! * #: Character Set. ! * #define: Overall Options. ! * #if: Overall Options. ! * #include: Overall Options. ! * #include directive: Bug Reporting. ! * $: Dollar Signs. ! * %: Character Set. ! * %DESCR() construct: %DESCR(). ! * %LOC() construct: %LOC(). ! * %REF() construct: %REF(). ! * %VAL() construct: %VAL(). ! * &: Character Set. ! * *: LEX. ! * *N notation <1>: Compiler Types. ! * *N notation: Star Notation. ! * --driver option <1>: Changes. ! * --driver option: News. ! * -falias-check option <1>: Aliasing Assumed To Work. ! * -falias-check option: Code Gen Options. ! * -fargument-alias option <1>: Aliasing Assumed To Work. ! * -fargument-alias option: Code Gen Options. ! * -fargument-noalias option <1>: Aliasing Assumed To Work. ! * -fargument-noalias option: Code Gen Options. ! * -fbadu77-intrinsics-delete option: Fortran Dialect Options. ! * -fbadu77-intrinsics-disable option: Fortran Dialect Options. ! * -fbadu77-intrinsics-enable option: Fortran Dialect Options. ! * -fbadu77-intrinsics-hide option: Fortran Dialect Options. ! * -fbounds-check option: Code Gen Options. ! * -fcaller-saves option: Optimize Options. ! * -fcase-initcap option: Fortran Dialect Options. ! * -fcase-lower option: Fortran Dialect Options. ! * -fcase-preserve option: Fortran Dialect Options. ! * -fcase-strict-lower option: Fortran Dialect Options. ! * -fcase-strict-upper option: Fortran Dialect Options. ! * -fcase-upper option: Fortran Dialect Options. ! * -fdebug-kludge option: Code Gen Options. ! * -fdelayed-branch option: Optimize Options. ! * -fdollar-ok option: Fortran Dialect Options. ! * -femulate-complex option: Code Gen Options. ! * -fexpensive-optimizations option: Optimize Options. ! * -ff2c-intrinsics-delete option: Fortran Dialect Options. ! * -ff2c-intrinsics-disable option: Fortran Dialect Options. ! * -ff2c-intrinsics-enable option: Fortran Dialect Options. ! * -ff2c-intrinsics-hide option: Fortran Dialect Options. ! * -ff2c-library option: Code Gen Options. ! * -ff66 option: Shorthand Options. ! * -ff77 option: Shorthand Options. ! * -ff90: Fortran 90 Features. ! * -ff90 option: Fortran Dialect Options. ! * -ff90-intrinsics-delete option: Fortran Dialect Options. ! * -ff90-intrinsics-disable option: Fortran Dialect Options. ! * -ff90-intrinsics-enable option: Fortran Dialect Options. ! * -ff90-intrinsics-hide option: Fortran Dialect Options. ! * -ffast-math option: Optimize Options. ! * -ffixed-line-length-N option: Fortran Dialect Options. ! * -fflatten-arrays option: Code Gen Options. ! * -ffloat-store option: Optimize Options. ! * -fforce-addr option: Optimize Options. ! * -fforce-mem option: Optimize Options. ! * -ffortran-bounds-check option: Code Gen Options. ! * -ffree-form: Fortran 90 Features. ! * -ffree-form option: Fortran Dialect Options. ! * -fgnu-intrinsics-delete option: Fortran Dialect Options. ! * -fgnu-intrinsics-disable option: Fortran Dialect Options. ! * -fgnu-intrinsics-enable option: Fortran Dialect Options. ! * -fgnu-intrinsics-hide option: Fortran Dialect Options. ! * -fGROUP-intrinsics-hide option: Overly Convenient Options. ! * -finit-local-zero option <1>: Overly Convenient Options. ! * -finit-local-zero option: Code Gen Options. ! * -fintrin-case-any option: Fortran Dialect Options. ! * -fintrin-case-initcap option: Fortran Dialect Options. ! * -fintrin-case-lower option: Fortran Dialect Options. ! * -fintrin-case-upper option: Fortran Dialect Options. ! * -fmatch-case-any option: Fortran Dialect Options. ! * -fmatch-case-initcap option: Fortran Dialect Options. ! * -fmatch-case-lower option: Fortran Dialect Options. ! * -fmatch-case-upper option: Fortran Dialect Options. ! * -fmil-intrinsics-delete option: Fortran Dialect Options. ! * -fmil-intrinsics-disable option: Fortran Dialect Options. ! * -fmil-intrinsics-enable option: Fortran Dialect Options. ! * -fmil-intrinsics-hide option: Fortran Dialect Options. ! * -fno-argument-noalias-global option <1>: Aliasing Assumed To Work. ! * -fno-argument-noalias-global option: Code Gen Options. ! * -fno-automatic option <1>: Overly Convenient Options. ! * -fno-automatic option: Code Gen Options. ! * -fno-backslash option: Fortran Dialect Options. ! * -fno-common option: Code Gen Options. ! * -fno-f2c option <1>: Avoid f2c Compatibility. ! * -fno-f2c option: Code Gen Options. ! * -fno-f77 option: Shorthand Options. ! * -fno-fixed-form option: Fortran Dialect Options. ! * -fno-globals option: Code Gen Options. ! * -fno-ident option: Code Gen Options. ! * -fno-inline option: Optimize Options. ! * -fno-move-all-movables option: Optimize Options. ! * -fno-reduce-all-givs option: Optimize Options. ! * -fno-rerun-loop-opt option: Optimize Options. ! * -fno-second-underscore: f2c Skeletons and Prototypes. ! * -fno-second-underscore option <1>: Names. ! * -fno-second-underscore option: Code Gen Options. ! * -fno-silent option: Overall Options. ! * -fno-ugly option: Shorthand Options. ! * -fno-ugly-args option: Fortran Dialect Options. ! * -fno-ugly-init option: Fortran Dialect Options. ! * -fno-underscoring option <1>: Names. ! * -fno-underscoring option: Code Gen Options. ! * -fonetrip option: Fortran Dialect Options. ! * -fpack-struct option: Code Gen Options. ! * -fpcc-struct-return option: Code Gen Options. ! * -fpedantic option: Warning Options. ! * -fPIC option: News. ! * -freg-struct-return option: Code Gen Options. ! * -frerun-cse-after-loop option: Optimize Options. ! * -fschedule-insns option: Optimize Options. ! * -fschedule-insns2 option: Optimize Options. ! * -fset-g77-defaults option: Overall Options. ! * -fshort-double option: Code Gen Options. ! * -fsource-case-lower option: Fortran Dialect Options. ! * -fsource-case-preserve option: Fortran Dialect Options. ! * -fsource-case-upper option: Fortran Dialect Options. ! * -fstrength-reduce option: Optimize Options. ! * -fsymbol-case-any option: Fortran Dialect Options. ! * -fsymbol-case-initcap option: Fortran Dialect Options. ! * -fsymbol-case-lower option: Fortran Dialect Options. ! * -fsymbol-case-upper option: Fortran Dialect Options. ! * -fsyntax-only option: Warning Options. ! * -ftypeless-boz option: Fortran Dialect Options. ! * -fugly option: Shorthand Options. ! * -fugly-assign option: Fortran Dialect Options. ! * -fugly-assumed option: Fortran Dialect Options. ! * -fugly-comma option: Fortran Dialect Options. ! * -fugly-complex option: Fortran Dialect Options. ! * -fugly-logint option: Fortran Dialect Options. ! * -funix-intrinsics-delete option: Fortran Dialect Options. ! * -funix-intrinsics-disable option: Fortran Dialect Options. ! * -funix-intrinsics-enable option: Fortran Dialect Options. ! * -funix-intrinsics-hide option: Fortran Dialect Options. ! * -funroll-all-loops option: Optimize Options. ! * -funroll-loops option: Optimize Options. ! * -fversion option: Overall Options. ! * -fvxt option: Fortran Dialect Options. ! * -fvxt-intrinsics-delete option: Fortran Dialect Options. ! * -fvxt-intrinsics-disable option: Fortran Dialect Options. ! * -fvxt-intrinsics-enable option: Fortran Dialect Options. ! * -fvxt-intrinsics-hide option: Fortran Dialect Options. ! * -fzeros option: Code Gen Options. ! * -g option: Debugging Options. ! * -I- option: Directory Options. ! * -i8: Increasing Precision/Range. ! * -Idir option: Directory Options. ! * -malign-double <1>: Changes. ! * -malign-double: News. ! * -malign-double option <1>: Aligned Data. ! * -malign-double option: Optimize Options. ! * -Nl option: Compiler Limits. ! * -Nx option: Compiler Limits. ! * -O2: News. ! * -pedantic option: Warning Options. ! * -pedantic-errors option: Warning Options. ! * -qrealsize=8: Increasing Precision/Range. ! * -r8: Increasing Precision/Range. ! * -u option: Warning Options. ! * -v option: G77 and GCC. ! * -W option: Warning Options. ! * -w option: Warning Options. ! * -Waggregate-return option: Warning Options. ! * -Wall option: Warning Options. ! * -Wcomment option: Warning Options. ! * -Wconversion option: Warning Options. ! * -Werror option: Warning Options. ! * -Wformat option: Warning Options. ! * -Wid-clash-LEN option: Warning Options. ! * -Wimplicit option: Warning Options. ! * -Wlarger-than-LEN option: Warning Options. ! * -Wno-globals option: Warning Options. ! * -Wparentheses option: Warning Options. ! * -Wredundant-decls option: Warning Options. ! * -Wshadow option: Warning Options. ! * -Wsurprising option: Warning Options. ! * -Wswitch option: Warning Options. ! * -Wtraditional option: Warning Options. ! * -Wuninitialized option: Warning Options. ! * -Wunused option: Warning Options. ! * -x f77-cpp-input option: LEX. ! * .EQV., with integer operands: Equivalence Versus Equality. ! * .F filename suffix: Overall Options. ! * .f filename suffix: Overall Options. ! * .FOR filename suffix: Overall Options. ! * .for filename suffix: Overall Options. ! * .FPP filename suffix: Overall Options. ! * .fpp filename suffix: Overall Options. ! * .gdbinit: Main Program Unit. ! * .r filename suffix: Overall Options. ! * /* <1>: Trailing Comment. ! * /*: Overall Options. ! * /WARNINGS=DECLARATIONS switch: Warning Options. ! * 80-bit spills: Floating-point Errors. ! * ; <1>: Character Set. ! * ;: Statements Comments Lines. ! * <: Character Set. ! * <> edit descriptor: I/O. ! * >: Character Set. ! * ?: Character Set. ! * \: Character Set. ! * _: Character Set. ! * Abort intrinsic: Abort Intrinsic. ! * Abs intrinsic: Abs Intrinsic. ! * ACCEPT statement: TYPE and ACCEPT I/O Statements. ! * Access intrinsic: Access Intrinsic. ! * AChar intrinsic: AChar Intrinsic. ! * ACos intrinsic: ACos Intrinsic. ! * ACosD intrinsic: ACosD Intrinsic. ! * adding options: Adding Options. ! * adjustable arrays: Adjustable Arrays. ! * AdjustL intrinsic: AdjustL Intrinsic. ! * AdjustR intrinsic: AdjustR Intrinsic. ! * AImag intrinsic <1>: AImag Intrinsic. ! * AImag intrinsic: REAL() and AIMAG() of Complex. ! * AIMax0 intrinsic: AIMax0 Intrinsic. ! * AIMin0 intrinsic: AIMin0 Intrinsic. ! * AInt intrinsic: AInt Intrinsic. ! * AJMax0 intrinsic: AJMax0 Intrinsic. ! * AJMin0 intrinsic: AJMin0 Intrinsic. ! * Alarm intrinsic: Alarm Intrinsic. ! * aliasing <1>: Known Bugs. ! * aliasing: Aliasing Assumed To Work. ! * aligned data: Aligned Data. ! * aligned stack: Aligned Data. ! * alignment <1>: Aligned Data. ! * alignment <2>: Changes. ! * alignment: News. ! * alignment testing: Aligned Data. ! * All intrinsic: All Intrinsic. ! * all warnings: Warning Options. ! * Allocated intrinsic: Allocated Intrinsic. ! * ALog intrinsic: ALog Intrinsic. ! * ALog10 intrinsic: ALog10 Intrinsic. ! * Alpha, support: Known Bugs. ! * alternate entry points: Alternate Entry Points. ! * alternate returns: Alternate Returns. ! * ALWAYS_FLUSH: Output Assumed To Flush. ! * AMax0 intrinsic: AMax0 Intrinsic. ! * AMax1 intrinsic: AMax1 Intrinsic. ! * AMin0 intrinsic: AMin0 Intrinsic. ! * AMin1 intrinsic: AMin1 Intrinsic. ! * AMod intrinsic: AMod Intrinsic. ! * ampersand: Character Set. ! * ampersand continuation line: Ampersands. ! * And intrinsic <1>: Bit Operations on Floating-point Data. ! * And intrinsic: And Intrinsic. ! * ANInt intrinsic: ANInt Intrinsic. ! * ANS carriage control: OPEN CLOSE and INQUIRE Keywords. ! * ANSI FORTRAN 77 standard: Language. ! * ANSI FORTRAN 77 support: Standard Support. ! * anti-aliasing: Aliasing Assumed To Work. ! * Any intrinsic: Any Intrinsic. ! * arguments, null: Ugly Null Arguments. ! * arguments, omitting: Ugly Null Arguments. ! * arguments, unused <1>: Unused Arguments. ! * arguments, unused: Warning Options. ! * array bounds checking: Code Gen Options. ! * array bounds, adjustable: Array Bounds Expressions. ! * array elements, in adjustable array bounds: Array Bounds Expressions. ! * array ordering: Arrays. ! * array performance: Code Gen Options. ! * array size: Array Size. ! * arrays: Arrays. ! * arrays, adjustable: Adjustable Arrays. ! * arrays, assumed-size: Ugly Assumed-Size Arrays. ! * arrays, automatic <1>: Large Automatic Arrays. ! * arrays, automatic <2>: Stack Overflow. ! * arrays, automatic <3>: Overly Convenient Options. ! * arrays, automatic: Adjustable Arrays. ! * arrays, dimensioning <1>: Adjustable Arrays. ! * arrays, dimensioning: Array Size. ! * arrays, flattening: Code Gen Options. ! * as command: What is GNU Fortran?. ! * ASin intrinsic: ASin Intrinsic. ! * ASinD intrinsic: ASinD Intrinsic. ! * assembler: What is GNU Fortran?. ! * assembly code: What is GNU Fortran?. ! * assembly code, invalid: Bug Criteria. ! * ASSIGN statement <1>: Assigned Statement Labels. ! * ASSIGN statement: Ugly Assigned Labels. ! * assigned labels: Ugly Assigned Labels. ! * assigned statement labels: Assigned Statement Labels. ! * Associated intrinsic: Associated Intrinsic. ! * association, storage: Aliasing Assumed To Work. ! * assumed-size arrays: Ugly Assumed-Size Arrays. ! * asterisk: LEX. ! * ATan intrinsic: ATan Intrinsic. ! * ATan2 intrinsic: ATan2 Intrinsic. ! * ATan2D intrinsic: ATan2D Intrinsic. ! * ATanD intrinsic: ATanD Intrinsic. ! * automatic arrays <1>: Large Automatic Arrays. ! * automatic arrays <2>: Stack Overflow. ! * automatic arrays <3>: Overly Convenient Options. ! * automatic arrays: Adjustable Arrays. ! * AUTOMATIC statement: AUTOMATIC Statement. ! * automatic variables: AUTOMATIC Statement. ! * back end, gcc <1>: Philosophy of Code Generation. ! * back end, gcc: What is GNU Fortran?. ! * backslash <1>: Backslash in Constants. ! * backslash <2>: Character Set. ! * backslash: Fortran Dialect Options. ! * backtrace for bug reports: Bug Reporting. ! * badu77 intrinsics: Fortran Dialect Options. ! * badu77 intrinsics group: Intrinsic Groups. ! * basic concepts: What is GNU Fortran?. ! * Bear-poking: Philosophy of Code Generation. ! * beginners: Getting Started. ! * BesJ0 intrinsic: BesJ0 Intrinsic. ! * BesJ1 intrinsic: BesJ1 Intrinsic. ! * BesJN intrinsic: BesJN Intrinsic. ! * BesY0 intrinsic: BesY0 Intrinsic. ! * BesY1 intrinsic: BesY1 Intrinsic. ! * BesYN intrinsic: BesYN Intrinsic. ! * binary data: Portable Unformatted Files. ! * Bit_Size intrinsic: Bit_Size Intrinsic. ! * BITest intrinsic: BITest Intrinsic. ! * BJTest intrinsic: BJTest Intrinsic. ! * blank <1>: Lines. ! * blank: Character Set. ! * block data: Multiple Definitions of External Names. ! * block data and libraries: Block Data and Libraries. ! * BLOCK DATA statement <1>: Multiple Definitions of External Names. ! * BLOCK DATA statement: Block Data and Libraries. ! * bounds checking: Code Gen Options. ! * BTest intrinsic: BTest Intrinsic. ! * bug criteria: Bug Criteria. ! * bug report mailing lists: Bug Lists. ! * bugs: Bugs. ! * bugs, finding: What is GNU Fortran?. ! * bugs, known: Trouble. ! * bus error <1>: Strange Behavior at Run Time. ! * bus error: NeXTStep Problems. ! * but-bugs: But-bugs. ! * byte ordering: Portable Unformatted Files. ! * C library: Strange Behavior at Run Time. ! * C preprocessor: Overall Options. ! * C routines calling Fortran: Debugging and Interfacing. ! * C++: C++ Considerations. ! * C++, linking with: Interoperating with C and C++. ! * C, linking with: Interoperating with C and C++. ! * CAbs intrinsic: CAbs Intrinsic. ! * calling C routines: Debugging and Interfacing. ! * card image: Fortran Dialect Options. ! * carriage control: OPEN CLOSE and INQUIRE Keywords. ! * carriage returns: Carriage Returns. ! * case sensitivity: Case Sensitivity. ! * cc1 program: What is GNU Fortran?. ! * cc1plus program: What is GNU Fortran?. ! * CCos intrinsic: CCos Intrinsic. ! * CDAbs intrinsic: CDAbs Intrinsic. ! * CDCos intrinsic: CDCos Intrinsic. ! * CDExp intrinsic: CDExp Intrinsic. ! * CDLog intrinsic: CDLog Intrinsic. ! * CDSin intrinsic: CDSin Intrinsic. ! * CDSqRt intrinsic: CDSqRt Intrinsic. ! * Ceiling intrinsic: Ceiling Intrinsic. ! * CExp intrinsic: CExp Intrinsic. ! * cfortran.h: C Interfacing Tools. ! * changes, user-visible: Changes. ! * Char intrinsic: Char Intrinsic. ! * character assignments: Fortran 90 Features. ! * character constants <1>: Character and Hollerith Constants. ! * character constants <2>: Ugly Conversion of Initializers. ! * character constants <3>: Double Quote Meaning. ! * character constants: Fortran Dialect Options. ! * character set: Fortran Dialect Options. ! * CHARACTER*(*): Arbitrary Concatenation. ! * CHARACTER, null: Character Type. ! * character-variable length: Character-variable Length. ! * characters: Character Set. ! * characters, comma: Ugly Null Arguments. ! * characters, comment <1>: LEX. ! * characters, comment <2>: Exclamation Point. ! * characters, comment <3>: Trailing Comment. ! * characters, comment: Statements Comments Lines. ! * characters, continuation <1>: LEX. ! * characters, continuation <2>: Exclamation Point. ! * characters, continuation: Statements Comments Lines. ! * ChDir intrinsic <1>: ChDir Intrinsic (function). ! * ChDir intrinsic: ChDir Intrinsic (subroutine). ! * checking subscripts: Code Gen Options. ! * checking substrings: Code Gen Options. ! * checks, of internal consistency: Overall Options. ! * ChMod intrinsic <1>: ChMod Intrinsic (function). ! * ChMod intrinsic: ChMod Intrinsic (subroutine). ! * CLog intrinsic: CLog Intrinsic. ! * close angle: Character Set. ! * close bracket: Character Set. ! * CLOSE statement: OPEN CLOSE and INQUIRE Keywords. ! * Cmplx intrinsic <1>: Cmplx Intrinsic. ! * Cmplx intrinsic: CMPLX() of DOUBLE PRECISION. ! * code generation, conventions: Code Gen Options. ! * code generation, improving: Better Optimization. ! * code generator <1>: Philosophy of Code Generation. ! * code generator: What is GNU Fortran?. ! * code, assembly: What is GNU Fortran?. ! * code, displaying main source: Known Bugs. ! * code, in-line: What is GNU Fortran?. ! * code, legacy: Collected Fortran Wisdom. ! * code, machine: What is GNU Fortran?. ! * code, modifying: Overall Options. ! * code, source <1>: Case Sensitivity. ! * code, source <2>: Source Form. ! * code, source <3>: Lines. ! * code, source: What is GNU Fortran?. ! * code, user: Cannot Link Fortran Programs. ! * code, writing: Collected Fortran Wisdom. ! * column-major ordering: Arrays. ! * columns 73 through 80: Better Source Model. ! * comma, trailing: Ugly Null Arguments. ! * command options: Invoking G77. ! * commands, as: What is GNU Fortran?. ! * commands, g77 <1>: G77 and GCC. ! * commands, g77: What is GNU Fortran?. ! * commands, gcc <1>: G77 and GCC. ! * commands, gcc: What is GNU Fortran?. ! * commands, gdb: What is GNU Fortran?. ! * commands, ld: What is GNU Fortran?. ! * comment <1>: LEX. ! * comment <2>: Trailing Comment. ! * comment: Statements Comments Lines. ! * comment character: Exclamation Point. ! * comment line, debug <1>: Enabling Debug Lines. ! * comment line, debug: Debug Line. ! * common blocks <1>: Mangling of Names. ! * common blocks <2>: Known Bugs. ! * common blocks <3>: Common Blocks. ! * common blocks: Debugging Options. ! * common blocks, large: Large Common Blocks. ! * COMMON layout: Aligned Data. ! * COMMON statement <1>: Multiple Definitions of External Names. ! * COMMON statement: Common Blocks. ! * comparing logical expressions: Equivalence Versus Equality. ! * compatibility, f2c <1>: Avoid f2c Compatibility. ! * compatibility, f2c <2>: Block Data and Libraries. ! * compatibility, f2c <3>: Code Gen Options. ! * compatibility, f2c <4>: Shorthand Options. ! * compatibility, f2c: Overall Options. ! * compatibility, f77: Shorthand Options. ! * compatibility, FORTRAN 66 <1>: Fortran Dialect Options. ! * compatibility, FORTRAN 66: Shorthand Options. ! * compatibility, FORTRAN 77: Standard Support. ! * compatibility, Fortran 90: Fortran 90. ! * compilation, in-line <1>: GLOBALS. ! * compilation, in-line <2>: Code Gen Options. ! * compilation, in-line: Optimize Options. ! * compilation, pedantic: Pedantic Compilation. ! * compilation, status: Overall Options. ! * compiler bugs, reporting: Bug Reporting. ! * compiler limits: Compiler Limits. ! * compiler memory usage: Known Bugs. ! * compiler speed: Known Bugs. ! * compilers: What is GNU Fortran?. ! * compiling programs: G77 and GCC. ! * Complex intrinsic: Complex Intrinsic. ! * COMPLEX intrinsics: Fortran Dialect Options. ! * complex performance: Known Bugs. ! * COMPLEX statement: Complex Variables. ! * complex values: Ugly Complex Part Extraction. ! * complex variables: Complex Variables. ! * COMPLEX(KIND=1) type: Compiler Types. ! * COMPLEX(KIND=2) type: Compiler Types. ! * components of g77: What is GNU Fortran?. ! * concatenation: Arbitrary Concatenation. ! * concepts, basic: What is GNU Fortran?. ! * conformance, IEEE 754 <1>: Floating-point precision. ! * conformance, IEEE 754: Optimize Options. ! * Conjg intrinsic: Conjg Intrinsic. ! * consistency checks: Overall Options. ! * constants <1>: Compiler Constants. ! * constants: Constants. ! * constants, character <1>: Character and Hollerith Constants. ! * constants, character <2>: Ugly Conversion of Initializers. ! * constants, character: Double Quote Meaning. ! * constants, context-sensitive: Context-Sensitive Constants. ! * constants, Hollerith <1>: Character and Hollerith Constants. ! * constants, Hollerith <2>: Ugly Conversion of Initializers. ! * constants, Hollerith: Ugly Implicit Argument Conversion. ! * constants, integer: Known Bugs. ! * constants, octal: Double Quote Meaning. ! * constants, prefix-radix: Fortran Dialect Options. ! * constants, types: Fortran Dialect Options. ! * construct names: Construct Names. ! * context-sensitive constants: Context-Sensitive Constants. ! * context-sensitive intrinsics: Context-Sensitive Intrinsicness. ! * continuation character <1>: LEX. ! * continuation character <2>: Exclamation Point. ! * continuation character: Statements Comments Lines. ! * continuation line, ampersand: Ampersands. ! * continuation line, number of: Continuation Line. ! * contributors: Contributors. ! * conversions, nonportable: Nonportable Conversions. ! * core dump: Bug Criteria. ! * Cos intrinsic: Cos Intrinsic. ! * CosD intrinsic: CosD Intrinsic. ! * CosH intrinsic: CosH Intrinsic. ! * Count intrinsic: Count Intrinsic. ! * cpp preprocessor: Overall Options. ! * cpp program <1>: LEX. ! * cpp program <2>: Bug Reporting. ! * cpp program <3>: Preprocessor Options. ! * cpp program <4>: Overall Options. ! * cpp program: What is GNU Fortran?. ! * CPU_Time intrinsic: CPU_Time Intrinsic. ! * Cray pointers: POINTER Statements. ! * credits: Contributors. ! * CShift intrinsic: CShift Intrinsic. ! * CSin intrinsic: CSin Intrinsic. ! * CSqRt intrinsic: CSqRt Intrinsic. ! * CTime intrinsic <1>: CTime Intrinsic (function). ! * CTime intrinsic: CTime Intrinsic (subroutine). ! * CYCLE statement: CYCLE and EXIT. ! * DAbs intrinsic: DAbs Intrinsic. ! * DACos intrinsic: DACos Intrinsic. ! * DACosD intrinsic: DACosD Intrinsic. ! * DASin intrinsic: DASin Intrinsic. ! * DASinD intrinsic: DASinD Intrinsic. ! * DATA statement <1>: Known Bugs. ! * DATA statement: Code Gen Options. ! * data types: Compiler Types. ! * data, aligned: Aligned Data. ! * data, overwritten: Strange Behavior at Run Time. ! * DATan intrinsic: DATan Intrinsic. ! * DATan2 intrinsic: DATan2 Intrinsic. ! * DATan2D intrinsic: DATan2D Intrinsic. ! * DATanD intrinsic: DATanD Intrinsic. ! * Date intrinsic: Date Intrinsic. ! * Date_and_Time intrinsic: Date_and_Time Intrinsic. ! * date_y2kbuggy_0: Year 2000 (Y2K) Problems. ! * DbesJ0 intrinsic: DbesJ0 Intrinsic. ! * DbesJ1 intrinsic: DbesJ1 Intrinsic. ! * DbesJN intrinsic: DbesJN Intrinsic. ! * DbesY0 intrinsic: DbesY0 Intrinsic. ! * DbesY1 intrinsic: DbesY1 Intrinsic. ! * DbesYN intrinsic: DbesYN Intrinsic. ! * Dble intrinsic: Dble Intrinsic. ! * DbleQ intrinsic: DbleQ Intrinsic. ! * DCmplx intrinsic: DCmplx Intrinsic. ! * DConjg intrinsic: DConjg Intrinsic. ! * DCos intrinsic: DCos Intrinsic. ! * DCosD intrinsic: DCosD Intrinsic. ! * DCosH intrinsic: DCosH Intrinsic. ! * DDiM intrinsic: DDiM Intrinsic. ! * debug line <1>: Enabling Debug Lines. ! * debug line: Debug Line. ! * debug_rtx: Bug Reporting. ! * debugger <1>: Known Bugs. ! * debugger: What is GNU Fortran?. ! * debugging <1>: Known Bugs. ! * debugging <2>: Names. ! * debugging <3>: Main Program Unit. ! * debugging: Debugging and Interfacing. ! * debugging information options: Debugging Options. ! * debugging main source code: Known Bugs. ! * DECODE statement: ENCODE and DECODE. ! * deleted intrinsics: Intrinsic Groups. ! * DErF intrinsic: DErF Intrinsic. ! * DErFC intrinsic: DErFC Intrinsic. ! * DExp intrinsic: DExp Intrinsic. ! * DFloat intrinsic: DFloat Intrinsic. ! * DFlotI intrinsic: DFlotI Intrinsic. ! * DFlotJ intrinsic: DFlotJ Intrinsic. ! * diagnostics: Diagnostics. ! * diagnostics, incorrect: What is GNU Fortran?. ! * dialect options: Fortran Dialect Options. ! * Digital Fortran features: Fortran Dialect Options. ! * Digits intrinsic: Digits Intrinsic. ! * DiM intrinsic: DiM Intrinsic. ! * DImag intrinsic: DImag Intrinsic. ! * DIMENSION statement <1>: Array Bounds Expressions. ! * DIMENSION statement <2>: Adjustable Arrays. ! * DIMENSION statement: Arrays. ! * DIMENSION X(1): Ugly Assumed-Size Arrays. ! * dimensioning arrays: Adjustable Arrays. ! * DInt intrinsic: DInt Intrinsic. ! * direction of language development: Direction of Language Development. ! * directive, #include: Bug Reporting. ! * directive, INCLUDE <1>: Bug Reporting. ! * directive, INCLUDE <2>: Directory Options. ! * directive, INCLUDE: Preprocessor Options. ! * directory, options: Directory Options. ! * directory, search paths for inclusion: Directory Options. ! * disabled intrinsics: Intrinsic Groups. ! * disk full: Output Assumed To Flush. ! * displaying main source code: Known Bugs. ! * disposition of files: OPEN CLOSE and INQUIRE Keywords. ! * distensions: Distensions. ! * DLog intrinsic: DLog Intrinsic. ! * DLog10 intrinsic: DLog10 Intrinsic. ! * DMax1 intrinsic: DMax1 Intrinsic. ! * DMin1 intrinsic: DMin1 Intrinsic. ! * DMod intrinsic: DMod Intrinsic. ! * DNInt intrinsic: DNInt Intrinsic. ! * DNRM2: News. ! * DO: DO WHILE. ! * DO loops, one-trip: Fortran Dialect Options. ! * DO loops, zero-trip: Fortran Dialect Options. ! * DO statement <1>: Loops. ! * DO statement: Warning Options. ! * DO WHILE <1>: DO WHILE. ! * DO WHILE: Optimize Options. ! * dollar sign <1>: Dollar Signs. ! * dollar sign <2>: I/O. ! * dollar sign: Fortran Dialect Options. ! * Dot_Product intrinsic: Dot_Product Intrinsic. ! * DOUBLE COMPLEX: DOUBLE COMPLEX. ! * DOUBLE COMPLEX type: Compiler Types. ! * DOUBLE PRECISION type: Compiler Types. ! * double quote: Character Set. ! * double quoted character constants <1>: Fortran 90 Features. ! * double quoted character constants: Character Type. ! * double quotes: Double Quote Meaning. ! * double-precision performance <1>: Changes. ! * double-precision performance: News. ! * DProd intrinsic: DProd Intrinsic. ! * DReal intrinsic: DReal Intrinsic. ! * driver, gcc command as: What is GNU Fortran?. ! * DSign intrinsic: DSign Intrinsic. ! * DSin intrinsic: DSin Intrinsic. ! * DSinD intrinsic: DSinD Intrinsic. ! * DSinH intrinsic: DSinH Intrinsic. ! * DSqRt intrinsic: DSqRt Intrinsic. ! * DTan intrinsic: DTan Intrinsic. ! * DTanD intrinsic: DTanD Intrinsic. ! * DTanH intrinsic: DTanH Intrinsic. ! * DTime intrinsic <1>: DTime Intrinsic (function). ! * DTime intrinsic: DTime Intrinsic (subroutine). ! * dummies, unused: Warning Options. ! * edit descriptor, <>: I/O. ! * edit descriptor, O: I/O. ! * edit descriptor, Q: Q Edit Descriptor. ! * edit descriptor, Z <1>: Fortran 90 Features. ! * edit descriptor, Z: I/O. ! * effecting IMPLICIT NONE: Warning Options. ! * efficiency: Efficiency. ! * ELF support: News. ! * empty CHARACTER strings: Character Type. ! * enabled intrinsics: Intrinsic Groups. ! * ENCODE statement: ENCODE and DECODE. ! * END DO: END DO. ! * entry points: Alternate Entry Points. ! * ENTRY statement: Alternate Entry Points. ! * environment variables: Environment Variables. ! * EOShift intrinsic: EOShift Intrinsic. ! * Epsilon intrinsic: Epsilon Intrinsic. ! * equivalence areas <1>: Known Bugs. ! * equivalence areas <2>: Local Equivalence Areas. ! * equivalence areas: Debugging Options. ! * EQUIVALENCE statement: Local Equivalence Areas. ! * ErF intrinsic: ErF Intrinsic. ! * ErFC intrinsic: ErFC Intrinsic. ! * error messages <1>: Warnings and Errors. ! * error messages: Run-time Library Errors. ! * error messages, incorrect: What is GNU Fortran?. ! * error values: Run-time Library Errors. ! * errors, linker: Large Common Blocks. ! * ETime intrinsic <1>: ETime Intrinsic (function). ! * ETime intrinsic: ETime Intrinsic (subroutine). ! * exceptions, floating-point: Floating-point Exception Handling. ! * exclamation point <1>: LEX. ! * exclamation point <2>: Exclamation Point. ! * exclamation point <3>: Trailing Comment. ! * exclamation point <4>: Character Set. ! * exclamation point: Statements Comments Lines. ! * executable file: What is GNU Fortran?. ! * Exit intrinsic: Exit Intrinsic. ! * EXIT statement: CYCLE and EXIT. ! * Exp intrinsic: Exp Intrinsic. ! * Exponent intrinsic: Exponent Intrinsic. ! * extended-source option: Fortran Dialect Options. ! * extensions, file name: Overall Options. ! * extensions, from Fortran 90: Fortran 90 Features. ! * extensions, more: More Extensions. ! * extensions, VXT: VXT Fortran. ! * external names: Mangling of Names. ! * extra warnings: Warning Options. ! * f2c: Increasing Precision/Range. ! * f2c compatibility <1>: Avoid f2c Compatibility. ! * f2c compatibility <2>: Block Data and Libraries. ! * f2c compatibility <3>: Debugging and Interfacing. ! * f2c compatibility <4>: Code Gen Options. ! * f2c compatibility <5>: Shorthand Options. ! * f2c compatibility: Overall Options. ! * f2c intrinsics: Fortran Dialect Options. ! * f2c intrinsics group: Intrinsic Groups. ! * f77 compatibility: Shorthand Options. ! * f77 support: Backslash in Constants. ! * f771, program: What is GNU Fortran?. ! * f90 intrinsics group: Intrinsic Groups. ! * fatal signal: Bug Criteria. ! * FDate intrinsic <1>: FDate Intrinsic (function). ! * FDate intrinsic: FDate Intrinsic (subroutine). ! * FDL, GNU Free Documentation License: GNU Free Documentation License. ! * features, language: Direction of Language Development. ! * features, ugly <1>: Distensions. ! * features, ugly: Shorthand Options. ! * FFE <1>: Front End. ! * FFE: What is GNU Fortran?. ! * fflush(): Output Assumed To Flush. ! * FGet intrinsic <1>: FGet Intrinsic (function). ! * FGet intrinsic: FGet Intrinsic (subroutine). ! * FGetC intrinsic <1>: FGetC Intrinsic (function). ! * FGetC intrinsic: FGetC Intrinsic (subroutine). ! * file format not recognized: What is GNU Fortran?. ! * file formats: Portable Unformatted Files. ! * file name extension: Overall Options. ! * file name suffix: Overall Options. ! * file type: Overall Options. ! * file, source <1>: Source Form. ! * file, source <2>: Lines. ! * file, source: What is GNU Fortran?. ! * files, executable: What is GNU Fortran?. ! * fixed form <1>: Source Form. ! * fixed form <2>: Lines. ! * fixed form: Fortran Dialect Options. ! * Float intrinsic: Float Intrinsic. ! * FloatI intrinsic: FloatI Intrinsic. ! * floating-point errors: Floating-point Errors. ! * floating-point, errors: Inconsistent Calling Sequences. ! * floating-point, exceptions: Floating-point Exception Handling. ! * floating-point, precision <1>: Floating-point precision. ! * floating-point, precision: Optimize Options. ! * FloatJ intrinsic: FloatJ Intrinsic. ! * Floor intrinsic: Floor Intrinsic. ! * Flush intrinsic: Flush Intrinsic. ! * flushing output: Output Assumed To Flush. ! * FNum intrinsic: FNum Intrinsic. ! * FORM='PRINT': OPEN CLOSE and INQUIRE Keywords. ! * FORMAT descriptors <1>: Fortran 90 Features. ! * FORMAT descriptors: I/O. ! * FORMAT statement <1>: Q Edit Descriptor. ! * FORMAT statement: Expressions in FORMAT Statements. ! * FORTRAN 66 <1>: Fortran Dialect Options. ! * FORTRAN 66: Shorthand Options. ! * FORTRAN 77 compatibility: Standard Support. ! * Fortran 90: Fortran 90 Features. ! * Fortran 90, compatibility: Fortran 90. ! * Fortran 90, features: Fortran Dialect Options. ! * Fortran 90, intrinsics: Fortran Dialect Options. ! * Fortran 90, support: Fortran 90 Support. ! * Fortran preprocessor: Overall Options. ! * forward references: GLOBALS. ! * FPE handling: Floating-point Exception Handling. ! * FPut intrinsic <1>: FPut Intrinsic (function). ! * FPut intrinsic: FPut Intrinsic (subroutine). ! * FPutC intrinsic <1>: FPutC Intrinsic (function). ! * FPutC intrinsic: FPutC Intrinsic (subroutine). ! * Fraction intrinsic: Fraction Intrinsic. ! * free form <1>: Source Form. ! * free form <2>: Lines. ! * free form: Fortran Dialect Options. ! * front end, g77 <1>: Front End. ! * front end, g77: What is GNU Fortran?. ! * FSeek intrinsic: FSeek Intrinsic. ! * FSF, funding the: Funding GNU Fortran. ! * FStat intrinsic <1>: FStat Intrinsic (function). ! * FStat intrinsic: FStat Intrinsic (subroutine). ! * FTell intrinsic <1>: FTell Intrinsic (function). ! * FTell intrinsic: FTell Intrinsic (subroutine). ! * function references, in adjustable array bounds: Array Bounds Expressions. ! * FUNCTION statement <1>: Functions. ! * FUNCTION statement: Procedures. ! * functions: Functions. ! * functions, mistyped: Not My Type. ! * funding improvements: Funding GNU Fortran. ! * funding the FSF: Funding GNU Fortran. ! * g77 options, --driver <1>: Changes. ! * g77 options, --driver: News. ! * g77 options, -v: G77 and GCC. ! * g77, command <1>: G77 and GCC. ! * g77, command: What is GNU Fortran?. ! * g77, components of: What is GNU Fortran?. ! * g77, front end <1>: Front End. ! * g77, front end: What is GNU Fortran?. ! * G77_date_y2kbuggy_0: Year 2000 (Y2K) Problems. ! * G77_vxtidate_y2kbuggy_0: Year 2000 (Y2K) Problems. ! * GBE <1>: Philosophy of Code Generation. ! * GBE: What is GNU Fortran?. ! * GBEL: Philosophy of Code Generation. ! * gcc, back end <1>: Philosophy of Code Generation. ! * gcc, back end: What is GNU Fortran?. ! * gcc, command <1>: G77 and GCC. ! * gcc, command: What is GNU Fortran?. ! * gcc, command as driver: What is GNU Fortran?. ! * gcc, not recognizing Fortran source: What is GNU Fortran?. ! * gdb, command: What is GNU Fortran?. ! * gdb, support: Debugger Problems. ! * generic intrinsics: Generics and Specifics. ! * GError intrinsic: GError Intrinsic. ! * GetArg intrinsic <1>: Main Program Unit. ! * GetArg intrinsic: GetArg Intrinsic. ! * GetCWD intrinsic <1>: GetCWD Intrinsic (function). ! * GetCWD intrinsic: GetCWD Intrinsic (subroutine). ! * GetEnv intrinsic: GetEnv Intrinsic. ! * GetGId intrinsic: GetGId Intrinsic. ! * GetLog intrinsic: GetLog Intrinsic. ! * GetPId intrinsic: GetPId Intrinsic. ! * getting started: Getting Started. ! * GetUId intrinsic: GetUId Intrinsic. ! * global names, warning <1>: Code Gen Options. ! * global names, warning: Warning Options. ! * GMTime intrinsic: GMTime Intrinsic. ! * GNU Back End (GBE) <1>: Philosophy of Code Generation. ! * GNU Back End (GBE): What is GNU Fortran?. ! * GNU Back End Language (GBEL): Philosophy of Code Generation. ! * GNU Fortran command options: Invoking G77. ! * GNU Fortran Front End (FFE) <1>: Front End. ! * GNU Fortran Front End (FFE): What is GNU Fortran?. ! * gnu intrinsics group: Intrinsic Groups. ! * GOTO statement: Assigned Statement Labels. ! * groups of intrinsics: Intrinsic Groups. ! * hardware errors: Signal 11 and Friends. ! * hash mark: Character Set. ! * HDF: Portable Unformatted Files. ! * hidden intrinsics: Intrinsic Groups. ! * Hollerith constants <1>: Character and Hollerith Constants. ! * Hollerith constants <2>: Ugly Conversion of Initializers. ! * Hollerith constants <3>: Ugly Implicit Argument Conversion. ! * Hollerith constants: Fortran Dialect Options. ! * horizontal tab: Tabs. ! * HostNm intrinsic <1>: HostNm Intrinsic (function). ! * HostNm intrinsic: HostNm Intrinsic (subroutine). ! * Huge intrinsic: Huge Intrinsic. ! * I/O, errors: Run-time Library Errors. ! * I/O, flushing: Output Assumed To Flush. ! * IAbs intrinsic: IAbs Intrinsic. ! * IAChar intrinsic: IAChar Intrinsic. ! * IAnd intrinsic: IAnd Intrinsic. ! * IArgC intrinsic <1>: Main Program Unit. ! * IArgC intrinsic: IArgC Intrinsic. ! * IBClr intrinsic: IBClr Intrinsic. ! * IBits intrinsic: IBits Intrinsic. ! * IBSet intrinsic: IBSet Intrinsic. ! * IChar intrinsic: IChar Intrinsic. ! * IDate intrinsic <1>: IDate Intrinsic (VXT). ! * IDate intrinsic: IDate Intrinsic (UNIX). ! * IDiM intrinsic: IDiM Intrinsic. ! * IDInt intrinsic: IDInt Intrinsic. ! * IDNInt intrinsic: IDNInt Intrinsic. ! * IEEE 754 conformance <1>: Floating-point precision. ! * IEEE 754 conformance: Optimize Options. ! * IEOr intrinsic: IEOr Intrinsic. ! * IErrNo intrinsic: IErrNo Intrinsic. ! * IFix intrinsic: IFix Intrinsic. ! * IIAbs intrinsic: IIAbs Intrinsic. ! * IIAnd intrinsic: IIAnd Intrinsic. ! * IIBClr intrinsic: IIBClr Intrinsic. ! * IIBits intrinsic: IIBits Intrinsic. ! * IIBSet intrinsic: IIBSet Intrinsic. ! * IIDiM intrinsic: IIDiM Intrinsic. ! * IIDInt intrinsic: IIDInt Intrinsic. ! * IIDNnt intrinsic: IIDNnt Intrinsic. ! * IIEOr intrinsic: IIEOr Intrinsic. ! * IIFix intrinsic: IIFix Intrinsic. ! * IInt intrinsic: IInt Intrinsic. ! * IIOr intrinsic: IIOr Intrinsic. ! * IIQint intrinsic: IIQint Intrinsic. ! * IIQNnt intrinsic: IIQNnt Intrinsic. ! * IIShftC intrinsic: IIShftC Intrinsic. ! * IISign intrinsic: IISign Intrinsic. ! * illegal unit number: Large File Unit Numbers. ! * Imag intrinsic: Imag Intrinsic. ! * imaginary part <1>: Complex Variables. ! * imaginary part: Ugly Complex Part Extraction. ! * ImagPart intrinsic: ImagPart Intrinsic. ! * IMax0 intrinsic: IMax0 Intrinsic. ! * IMax1 intrinsic: IMax1 Intrinsic. ! * IMin0 intrinsic: IMin0 Intrinsic. ! * IMin1 intrinsic: IMin1 Intrinsic. ! * IMod intrinsic: IMod Intrinsic. ! * IMPLICIT CHARACTER*(*) statement: Limitation on Implicit Declarations. ! * implicit declaration, warning: Warning Options. ! * IMPLICIT NONE, similar effect: Warning Options. ! * implicit typing: Not My Type. ! * improvements, funding: Funding GNU Fortran. ! * in-line code <1>: GLOBALS. ! * in-line code <2>: Code Gen Options. ! * in-line code <3>: Optimize Options. ! * in-line code: What is GNU Fortran?. ! * INCLUDE directive <1>: Bug Reporting. ! * INCLUDE directive <2>: INCLUDE. ! * INCLUDE directive <3>: Directory Options. ! * INCLUDE directive: Preprocessor Options. ! * included files: Bug Reporting. ! * inclusion, directory search paths for: Directory Options. ! * inconsistent floating-point results: Floating-point Errors. ! * incorrect diagnostics: What is GNU Fortran?. ! * incorrect error messages: What is GNU Fortran?. ! * incorrect use of language: What is GNU Fortran?. ! * increasing maximum unit number: Large File Unit Numbers. ! * increasing precision: Increasing Precision/Range. ! * increasing range: Increasing Precision/Range. ! * Index intrinsic: Index Intrinsic. ! * indexed (iterative) DO: Optimize Options. ! * infinite spaces printed: Strange Behavior at Run Time. ! * INInt intrinsic: INInt Intrinsic. ! * initialization, bug: Known Bugs. ! * initialization, of local variables: Code Gen Options. ! * initialization, run-time: Startup Code. ! * initialization, statement placement: Initializing Before Specifying. ! * INot intrinsic: INot Intrinsic. ! * INQUIRE statement: OPEN CLOSE and INQUIRE Keywords. ! * installation trouble: Trouble. ! * installing, GNU Fortran: Installation. ! * Int intrinsic: Int Intrinsic. ! * Int2 intrinsic: Int2 Intrinsic. ! * Int8 intrinsic: Int8 Intrinsic. ! * integer constants: Known Bugs. ! * INTEGER(KIND=1) type: Compiler Types. ! * INTEGER(KIND=2) type: Compiler Types. ! * INTEGER(KIND=3) type: Compiler Types. ! * INTEGER(KIND=6) type: Compiler Types. ! * INTEGER*2 support: Popular Non-standard Types. ! * INTEGER*8 support: Full Support for Compiler Types. ! * Intel x86: News. ! * interfacing: Debugging and Interfacing. ! * internal consistency checks: Overall Options. ! * intrinsics, Abort: Abort Intrinsic. ! * intrinsics, Abs: Abs Intrinsic. ! * intrinsics, Access: Access Intrinsic. ! * intrinsics, AChar: AChar Intrinsic. ! * intrinsics, ACos: ACos Intrinsic. ! * intrinsics, ACosD: ACosD Intrinsic. ! * intrinsics, AdjustL: AdjustL Intrinsic. ! * intrinsics, AdjustR: AdjustR Intrinsic. ! * intrinsics, AImag <1>: AImag Intrinsic. ! * intrinsics, AImag: REAL() and AIMAG() of Complex. ! * intrinsics, AIMax0: AIMax0 Intrinsic. ! * intrinsics, AIMin0: AIMin0 Intrinsic. ! * intrinsics, AInt: AInt Intrinsic. ! * intrinsics, AJMax0: AJMax0 Intrinsic. ! * intrinsics, AJMin0: AJMin0 Intrinsic. ! * intrinsics, Alarm: Alarm Intrinsic. ! * intrinsics, All: All Intrinsic. ! * intrinsics, Allocated: Allocated Intrinsic. ! * intrinsics, ALog: ALog Intrinsic. ! * intrinsics, ALog10: ALog10 Intrinsic. ! * intrinsics, AMax0: AMax0 Intrinsic. ! * intrinsics, AMax1: AMax1 Intrinsic. ! * intrinsics, AMin0: AMin0 Intrinsic. ! * intrinsics, AMin1: AMin1 Intrinsic. ! * intrinsics, AMod: AMod Intrinsic. ! * intrinsics, And <1>: Bit Operations on Floating-point Data. ! * intrinsics, And: And Intrinsic. ! * intrinsics, ANInt: ANInt Intrinsic. ! * intrinsics, Any: Any Intrinsic. ! * intrinsics, ASin: ASin Intrinsic. ! * intrinsics, ASinD: ASinD Intrinsic. ! * intrinsics, Associated: Associated Intrinsic. ! * intrinsics, ATan: ATan Intrinsic. ! * intrinsics, ATan2: ATan2 Intrinsic. ! * intrinsics, ATan2D: ATan2D Intrinsic. ! * intrinsics, ATanD: ATanD Intrinsic. ! * intrinsics, badu77: Fortran Dialect Options. ! * intrinsics, BesJ0: BesJ0 Intrinsic. ! * intrinsics, BesJ1: BesJ1 Intrinsic. ! * intrinsics, BesJN: BesJN Intrinsic. ! * intrinsics, BesY0: BesY0 Intrinsic. ! * intrinsics, BesY1: BesY1 Intrinsic. ! * intrinsics, BesYN: BesYN Intrinsic. ! * intrinsics, Bit_Size: Bit_Size Intrinsic. ! * intrinsics, BITest: BITest Intrinsic. ! * intrinsics, BJTest: BJTest Intrinsic. ! * intrinsics, BTest: BTest Intrinsic. ! * intrinsics, CAbs: CAbs Intrinsic. ! * intrinsics, CCos: CCos Intrinsic. ! * intrinsics, CDAbs: CDAbs Intrinsic. ! * intrinsics, CDCos: CDCos Intrinsic. ! * intrinsics, CDExp: CDExp Intrinsic. ! * intrinsics, CDLog: CDLog Intrinsic. ! * intrinsics, CDSin: CDSin Intrinsic. ! * intrinsics, CDSqRt: CDSqRt Intrinsic. ! * intrinsics, Ceiling: Ceiling Intrinsic. ! * intrinsics, CExp: CExp Intrinsic. ! * intrinsics, Char: Char Intrinsic. ! * intrinsics, ChDir <1>: ChDir Intrinsic (function). ! * intrinsics, ChDir: ChDir Intrinsic (subroutine). ! * intrinsics, ChMod <1>: ChMod Intrinsic (function). ! * intrinsics, ChMod: ChMod Intrinsic (subroutine). ! * intrinsics, CLog: CLog Intrinsic. ! * intrinsics, Cmplx <1>: Cmplx Intrinsic. ! * intrinsics, Cmplx: CMPLX() of DOUBLE PRECISION. ! * intrinsics, Complex: Complex Intrinsic. ! * intrinsics, COMPLEX: Fortran Dialect Options. ! * intrinsics, Conjg: Conjg Intrinsic. ! * intrinsics, context-sensitive: Context-Sensitive Intrinsicness. ! * intrinsics, Cos: Cos Intrinsic. ! * intrinsics, CosD: CosD Intrinsic. ! * intrinsics, CosH: CosH Intrinsic. ! * intrinsics, Count: Count Intrinsic. ! * intrinsics, CPU_Time: CPU_Time Intrinsic. ! * intrinsics, CShift: CShift Intrinsic. ! * intrinsics, CSin: CSin Intrinsic. ! * intrinsics, CSqRt: CSqRt Intrinsic. ! * intrinsics, CTime <1>: CTime Intrinsic (function). ! * intrinsics, CTime: CTime Intrinsic (subroutine). ! * intrinsics, DAbs: DAbs Intrinsic. ! * intrinsics, DACos: DACos Intrinsic. ! * intrinsics, DACosD: DACosD Intrinsic. ! * intrinsics, DASin: DASin Intrinsic. ! * intrinsics, DASinD: DASinD Intrinsic. ! * intrinsics, DATan: DATan Intrinsic. ! * intrinsics, DATan2: DATan2 Intrinsic. ! * intrinsics, DATan2D: DATan2D Intrinsic. ! * intrinsics, DATanD: DATanD Intrinsic. ! * intrinsics, Date: Date Intrinsic. ! * intrinsics, Date_and_Time: Date_and_Time Intrinsic. ! * intrinsics, DbesJ0: DbesJ0 Intrinsic. ! * intrinsics, DbesJ1: DbesJ1 Intrinsic. ! * intrinsics, DbesJN: DbesJN Intrinsic. ! * intrinsics, DbesY0: DbesY0 Intrinsic. ! * intrinsics, DbesY1: DbesY1 Intrinsic. ! * intrinsics, DbesYN: DbesYN Intrinsic. ! * intrinsics, Dble: Dble Intrinsic. ! * intrinsics, DbleQ: DbleQ Intrinsic. ! * intrinsics, DCmplx: DCmplx Intrinsic. ! * intrinsics, DConjg: DConjg Intrinsic. ! * intrinsics, DCos: DCos Intrinsic. ! * intrinsics, DCosD: DCosD Intrinsic. ! * intrinsics, DCosH: DCosH Intrinsic. ! * intrinsics, DDiM: DDiM Intrinsic. ! * intrinsics, deleted: Intrinsic Groups. ! * intrinsics, DErF: DErF Intrinsic. ! * intrinsics, DErFC: DErFC Intrinsic. ! * intrinsics, DExp: DExp Intrinsic. ! * intrinsics, DFloat: DFloat Intrinsic. ! * intrinsics, DFlotI: DFlotI Intrinsic. ! * intrinsics, DFlotJ: DFlotJ Intrinsic. ! * intrinsics, Digits: Digits Intrinsic. ! * intrinsics, DiM: DiM Intrinsic. ! * intrinsics, DImag: DImag Intrinsic. ! * intrinsics, DInt: DInt Intrinsic. ! * intrinsics, disabled: Intrinsic Groups. ! * intrinsics, DLog: DLog Intrinsic. ! * intrinsics, DLog10: DLog10 Intrinsic. ! * intrinsics, DMax1: DMax1 Intrinsic. ! * intrinsics, DMin1: DMin1 Intrinsic. ! * intrinsics, DMod: DMod Intrinsic. ! * intrinsics, DNInt: DNInt Intrinsic. ! * intrinsics, Dot_Product: Dot_Product Intrinsic. ! * intrinsics, DProd: DProd Intrinsic. ! * intrinsics, DReal: DReal Intrinsic. ! * intrinsics, DSign: DSign Intrinsic. ! * intrinsics, DSin: DSin Intrinsic. ! * intrinsics, DSinD: DSinD Intrinsic. ! * intrinsics, DSinH: DSinH Intrinsic. ! * intrinsics, DSqRt: DSqRt Intrinsic. ! * intrinsics, DTan: DTan Intrinsic. ! * intrinsics, DTanD: DTanD Intrinsic. ! * intrinsics, DTanH: DTanH Intrinsic. ! * intrinsics, DTime <1>: DTime Intrinsic (function). ! * intrinsics, DTime: DTime Intrinsic (subroutine). ! * intrinsics, enabled: Intrinsic Groups. ! * intrinsics, EOShift: EOShift Intrinsic. ! * intrinsics, Epsilon: Epsilon Intrinsic. ! * intrinsics, ErF: ErF Intrinsic. ! * intrinsics, ErFC: ErFC Intrinsic. ! * intrinsics, ETime <1>: ETime Intrinsic (function). ! * intrinsics, ETime: ETime Intrinsic (subroutine). ! * intrinsics, Exit: Exit Intrinsic. ! * intrinsics, Exp: Exp Intrinsic. ! * intrinsics, Exponent: Exponent Intrinsic. ! * intrinsics, f2c: Fortran Dialect Options. ! * intrinsics, FDate <1>: FDate Intrinsic (function). ! * intrinsics, FDate: FDate Intrinsic (subroutine). ! * intrinsics, FGet <1>: FGet Intrinsic (function). ! * intrinsics, FGet: FGet Intrinsic (subroutine). ! * intrinsics, FGetC <1>: FGetC Intrinsic (function). ! * intrinsics, FGetC: FGetC Intrinsic (subroutine). ! * intrinsics, Float: Float Intrinsic. ! * intrinsics, FloatI: FloatI Intrinsic. ! * intrinsics, FloatJ: FloatJ Intrinsic. ! * intrinsics, Floor: Floor Intrinsic. ! * intrinsics, Flush: Flush Intrinsic. ! * intrinsics, FNum: FNum Intrinsic. ! * intrinsics, Fortran 90: Fortran Dialect Options. ! * intrinsics, FPut <1>: FPut Intrinsic (function). ! * intrinsics, FPut: FPut Intrinsic (subroutine). ! * intrinsics, FPutC <1>: FPutC Intrinsic (function). ! * intrinsics, FPutC: FPutC Intrinsic (subroutine). ! * intrinsics, Fraction: Fraction Intrinsic. ! * intrinsics, FSeek: FSeek Intrinsic. ! * intrinsics, FStat <1>: FStat Intrinsic (function). ! * intrinsics, FStat: FStat Intrinsic (subroutine). ! * intrinsics, FTell <1>: FTell Intrinsic (function). ! * intrinsics, FTell: FTell Intrinsic (subroutine). ! * intrinsics, generic: Generics and Specifics. ! * intrinsics, GError: GError Intrinsic. ! * intrinsics, GetArg <1>: Main Program Unit. ! * intrinsics, GetArg: GetArg Intrinsic. ! * intrinsics, GetCWD <1>: GetCWD Intrinsic (function). ! * intrinsics, GetCWD: GetCWD Intrinsic (subroutine). ! * intrinsics, GetEnv: GetEnv Intrinsic. ! * intrinsics, GetGId: GetGId Intrinsic. ! * intrinsics, GetLog: GetLog Intrinsic. ! * intrinsics, GetPId: GetPId Intrinsic. ! * intrinsics, GetUId: GetUId Intrinsic. ! * intrinsics, GMTime: GMTime Intrinsic. ! * intrinsics, groups: Intrinsic Groups. ! * intrinsics, groups of: Intrinsic Groups. ! * intrinsics, hidden: Intrinsic Groups. ! * intrinsics, HostNm <1>: HostNm Intrinsic (function). ! * intrinsics, HostNm: HostNm Intrinsic (subroutine). ! * intrinsics, Huge: Huge Intrinsic. ! * intrinsics, IAbs: IAbs Intrinsic. ! * intrinsics, IAChar: IAChar Intrinsic. ! * intrinsics, IAnd: IAnd Intrinsic. ! * intrinsics, IArgC <1>: Main Program Unit. ! * intrinsics, IArgC: IArgC Intrinsic. ! * intrinsics, IBClr: IBClr Intrinsic. ! * intrinsics, IBits: IBits Intrinsic. ! * intrinsics, IBSet: IBSet Intrinsic. ! * intrinsics, IChar: IChar Intrinsic. ! * intrinsics, IDate <1>: IDate Intrinsic (VXT). ! * intrinsics, IDate: IDate Intrinsic (UNIX). ! * intrinsics, IDiM: IDiM Intrinsic. ! * intrinsics, IDInt: IDInt Intrinsic. ! * intrinsics, IDNInt: IDNInt Intrinsic. ! * intrinsics, IEOr: IEOr Intrinsic. ! * intrinsics, IErrNo: IErrNo Intrinsic. ! * intrinsics, IFix: IFix Intrinsic. ! * intrinsics, IIAbs: IIAbs Intrinsic. ! * intrinsics, IIAnd: IIAnd Intrinsic. ! * intrinsics, IIBClr: IIBClr Intrinsic. ! * intrinsics, IIBits: IIBits Intrinsic. ! * intrinsics, IIBSet: IIBSet Intrinsic. ! * intrinsics, IIDiM: IIDiM Intrinsic. ! * intrinsics, IIDInt: IIDInt Intrinsic. ! * intrinsics, IIDNnt: IIDNnt Intrinsic. ! * intrinsics, IIEOr: IIEOr Intrinsic. ! * intrinsics, IIFix: IIFix Intrinsic. ! * intrinsics, IInt: IInt Intrinsic. ! * intrinsics, IIOr: IIOr Intrinsic. ! * intrinsics, IIQint: IIQint Intrinsic. ! * intrinsics, IIQNnt: IIQNnt Intrinsic. ! * intrinsics, IIShftC: IIShftC Intrinsic. ! * intrinsics, IISign: IISign Intrinsic. ! * intrinsics, Imag: Imag Intrinsic. ! * intrinsics, ImagPart: ImagPart Intrinsic. ! * intrinsics, IMax0: IMax0 Intrinsic. ! * intrinsics, IMax1: IMax1 Intrinsic. ! * intrinsics, IMin0: IMin0 Intrinsic. ! * intrinsics, IMin1: IMin1 Intrinsic. ! * intrinsics, IMod: IMod Intrinsic. ! * intrinsics, Index: Index Intrinsic. ! * intrinsics, INInt: INInt Intrinsic. ! * intrinsics, INot: INot Intrinsic. ! * intrinsics, Int: Int Intrinsic. ! * intrinsics, Int2: Int2 Intrinsic. ! * intrinsics, Int8: Int8 Intrinsic. ! * intrinsics, IOr: IOr Intrinsic. ! * intrinsics, IRand: IRand Intrinsic. ! * intrinsics, IsaTty: IsaTty Intrinsic. ! * intrinsics, IShft: IShft Intrinsic. ! * intrinsics, IShftC: IShftC Intrinsic. ! * intrinsics, ISign: ISign Intrinsic. ! * intrinsics, ITime: ITime Intrinsic. ! * intrinsics, IZExt: IZExt Intrinsic. ! * intrinsics, JIAbs: JIAbs Intrinsic. ! * intrinsics, JIAnd: JIAnd Intrinsic. ! * intrinsics, JIBClr: JIBClr Intrinsic. ! * intrinsics, JIBits: JIBits Intrinsic. ! * intrinsics, JIBSet: JIBSet Intrinsic. ! * intrinsics, JIDiM: JIDiM Intrinsic. ! * intrinsics, JIDInt: JIDInt Intrinsic. ! * intrinsics, JIDNnt: JIDNnt Intrinsic. ! * intrinsics, JIEOr: JIEOr Intrinsic. ! * intrinsics, JIFix: JIFix Intrinsic. ! * intrinsics, JInt: JInt Intrinsic. ! * intrinsics, JIOr: JIOr Intrinsic. ! * intrinsics, JIQint: JIQint Intrinsic. ! * intrinsics, JIQNnt: JIQNnt Intrinsic. ! * intrinsics, JIShft: JIShft Intrinsic. ! * intrinsics, JIShftC: JIShftC Intrinsic. ! * intrinsics, JISign: JISign Intrinsic. ! * intrinsics, JMax0: JMax0 Intrinsic. ! * intrinsics, JMax1: JMax1 Intrinsic. ! * intrinsics, JMin0: JMin0 Intrinsic. ! * intrinsics, JMin1: JMin1 Intrinsic. ! * intrinsics, JMod: JMod Intrinsic. ! * intrinsics, JNInt: JNInt Intrinsic. ! * intrinsics, JNot: JNot Intrinsic. ! * intrinsics, JZExt: JZExt Intrinsic. ! * intrinsics, Kill <1>: Kill Intrinsic (function). ! * intrinsics, Kill: Kill Intrinsic (subroutine). ! * intrinsics, Kind: Kind Intrinsic. ! * intrinsics, LBound: LBound Intrinsic. ! * intrinsics, Len: Len Intrinsic. ! * intrinsics, Len_Trim: Len_Trim Intrinsic. ! * intrinsics, LGe: LGe Intrinsic. ! * intrinsics, LGt: LGt Intrinsic. ! * intrinsics, Link <1>: Link Intrinsic (function). ! * intrinsics, Link: Link Intrinsic (subroutine). ! * intrinsics, LLe: LLe Intrinsic. ! * intrinsics, LLt: LLt Intrinsic. ! * intrinsics, LnBlnk: LnBlnk Intrinsic. ! * intrinsics, Loc: Loc Intrinsic. ! * intrinsics, Log: Log Intrinsic. ! * intrinsics, Log10: Log10 Intrinsic. ! * intrinsics, Logical: Logical Intrinsic. ! * intrinsics, Long: Long Intrinsic. ! * intrinsics, LShift: LShift Intrinsic. ! * intrinsics, LStat <1>: LStat Intrinsic (function). ! * intrinsics, LStat: LStat Intrinsic (subroutine). ! * intrinsics, LTime: LTime Intrinsic. ! * intrinsics, MatMul: MatMul Intrinsic. ! * intrinsics, Max: Max Intrinsic. ! * intrinsics, Max0: Max0 Intrinsic. ! * intrinsics, Max1: Max1 Intrinsic. ! * intrinsics, MaxExponent: MaxExponent Intrinsic. ! * intrinsics, MaxLoc: MaxLoc Intrinsic. ! * intrinsics, MaxVal: MaxVal Intrinsic. ! * intrinsics, MClock: MClock Intrinsic. ! * intrinsics, MClock8: MClock8 Intrinsic. ! * intrinsics, Merge: Merge Intrinsic. ! * intrinsics, MIL-STD 1753: Fortran Dialect Options. ! * intrinsics, Min: Min Intrinsic. ! * intrinsics, Min0: Min0 Intrinsic. ! * intrinsics, Min1: Min1 Intrinsic. ! * intrinsics, MinExponent: MinExponent Intrinsic. ! * intrinsics, MinLoc: MinLoc Intrinsic. ! * intrinsics, MinVal: MinVal Intrinsic. ! * intrinsics, Mod: Mod Intrinsic. ! * intrinsics, Modulo: Modulo Intrinsic. ! * intrinsics, MvBits: MvBits Intrinsic. ! * intrinsics, Nearest: Nearest Intrinsic. ! * intrinsics, NInt: NInt Intrinsic. ! * intrinsics, Not: Not Intrinsic. ! * intrinsics, Or <1>: Bit Operations on Floating-point Data. ! * intrinsics, Or: Or Intrinsic. ! * intrinsics, others: Other Intrinsics. ! * intrinsics, Pack: Pack Intrinsic. ! * intrinsics, PError: PError Intrinsic. ! * intrinsics, Precision: Precision Intrinsic. ! * intrinsics, Present: Present Intrinsic. ! * intrinsics, Product: Product Intrinsic. ! * intrinsics, QAbs: QAbs Intrinsic. ! * intrinsics, QACos: QACos Intrinsic. ! * intrinsics, QACosD: QACosD Intrinsic. ! * intrinsics, QASin: QASin Intrinsic. ! * intrinsics, QASinD: QASinD Intrinsic. ! * intrinsics, QATan: QATan Intrinsic. ! * intrinsics, QATan2: QATan2 Intrinsic. ! * intrinsics, QATan2D: QATan2D Intrinsic. ! * intrinsics, QATanD: QATanD Intrinsic. ! * intrinsics, QCos: QCos Intrinsic. ! * intrinsics, QCosD: QCosD Intrinsic. ! * intrinsics, QCosH: QCosH Intrinsic. ! * intrinsics, QDiM: QDiM Intrinsic. ! * intrinsics, QExp: QExp Intrinsic. ! * intrinsics, QExt: QExt Intrinsic. ! * intrinsics, QExtD: QExtD Intrinsic. ! * intrinsics, QFloat: QFloat Intrinsic. ! * intrinsics, QInt: QInt Intrinsic. ! * intrinsics, QLog: QLog Intrinsic. ! * intrinsics, QLog10: QLog10 Intrinsic. ! * intrinsics, QMax1: QMax1 Intrinsic. ! * intrinsics, QMin1: QMin1 Intrinsic. ! * intrinsics, QMod: QMod Intrinsic. ! * intrinsics, QNInt: QNInt Intrinsic. ! * intrinsics, QSin: QSin Intrinsic. ! * intrinsics, QSinD: QSinD Intrinsic. ! * intrinsics, QSinH: QSinH Intrinsic. ! * intrinsics, QSqRt: QSqRt Intrinsic. ! * intrinsics, QTan: QTan Intrinsic. ! * intrinsics, QTanD: QTanD Intrinsic. ! * intrinsics, QTanH: QTanH Intrinsic. ! * intrinsics, Radix: Radix Intrinsic. ! * intrinsics, Rand: Rand Intrinsic. ! * intrinsics, Random_Number: Random_Number Intrinsic. ! * intrinsics, Random_Seed: Random_Seed Intrinsic. ! * intrinsics, Range: Range Intrinsic. ! * intrinsics, Real <1>: Real Intrinsic. ! * intrinsics, Real: REAL() and AIMAG() of Complex. ! * intrinsics, RealPart: RealPart Intrinsic. ! * intrinsics, Rename <1>: Rename Intrinsic (function). ! * intrinsics, Rename: Rename Intrinsic (subroutine). ! * intrinsics, Repeat: Repeat Intrinsic. ! * intrinsics, Reshape: Reshape Intrinsic. ! * intrinsics, RRSpacing: RRSpacing Intrinsic. ! * intrinsics, RShift: RShift Intrinsic. ! * intrinsics, Scale: Scale Intrinsic. ! * intrinsics, Scan: Scan Intrinsic. ! * intrinsics, Secnds: Secnds Intrinsic. ! * intrinsics, Second <1>: Second Intrinsic (subroutine). ! * intrinsics, Second: Second Intrinsic (function). ! * intrinsics, Selected_Int_Kind: Selected_Int_Kind Intrinsic. ! * intrinsics, Selected_Real_Kind: Selected_Real_Kind Intrinsic. ! * intrinsics, Set_Exponent: Set_Exponent Intrinsic. ! * intrinsics, Shape: Shape Intrinsic. ! * intrinsics, Shift: Bit Operations on Floating-point Data. ! * intrinsics, Short: Short Intrinsic. ! * intrinsics, Sign: Sign Intrinsic. ! * intrinsics, Signal <1>: Signal Intrinsic (function). ! * intrinsics, Signal: Signal Intrinsic (subroutine). ! * intrinsics, Sin: Sin Intrinsic. ! * intrinsics, SinD: SinD Intrinsic. ! * intrinsics, SinH: SinH Intrinsic. ! * intrinsics, Sleep: Sleep Intrinsic. ! * intrinsics, Sngl: Sngl Intrinsic. ! * intrinsics, SnglQ: SnglQ Intrinsic. ! * intrinsics, Spacing: Spacing Intrinsic. ! * intrinsics, Spread: Spread Intrinsic. ! * intrinsics, SqRt: SqRt Intrinsic. ! * intrinsics, SRand: SRand Intrinsic. ! * intrinsics, Stat <1>: Stat Intrinsic (function). ! * intrinsics, Stat: Stat Intrinsic (subroutine). ! * intrinsics, Sum: Sum Intrinsic. ! * intrinsics, SymLnk <1>: SymLnk Intrinsic (function). ! * intrinsics, SymLnk: SymLnk Intrinsic (subroutine). ! * intrinsics, System <1>: System Intrinsic (function). ! * intrinsics, System: System Intrinsic (subroutine). ! * intrinsics, System_Clock: System_Clock Intrinsic. ! * intrinsics, table of: Table of Intrinsic Functions. ! * intrinsics, Tan: Tan Intrinsic. ! * intrinsics, TanD: TanD Intrinsic. ! * intrinsics, TanH: TanH Intrinsic. ! * intrinsics, Time <1>: Time Intrinsic (VXT). ! * intrinsics, Time: Time Intrinsic (UNIX). ! * intrinsics, Time8: Time8 Intrinsic. ! * intrinsics, Tiny: Tiny Intrinsic. ! * intrinsics, Transfer: Transfer Intrinsic. ! * intrinsics, Transpose: Transpose Intrinsic. ! * intrinsics, Trim: Trim Intrinsic. ! * intrinsics, TtyNam <1>: TtyNam Intrinsic (function). ! * intrinsics, TtyNam: TtyNam Intrinsic (subroutine). ! * intrinsics, UBound: UBound Intrinsic. ! * intrinsics, UMask <1>: UMask Intrinsic (function). ! * intrinsics, UMask: UMask Intrinsic (subroutine). ! * intrinsics, UNIX: Fortran Dialect Options. ! * intrinsics, Unlink <1>: Unlink Intrinsic (function). ! * intrinsics, Unlink: Unlink Intrinsic (subroutine). ! * intrinsics, Unpack: Unpack Intrinsic. ! * intrinsics, Verify: Verify Intrinsic. ! * intrinsics, VXT: Fortran Dialect Options. ! * intrinsics, XOr: XOr Intrinsic. ! * intrinsics, ZAbs: ZAbs Intrinsic. ! * intrinsics, ZCos: ZCos Intrinsic. ! * intrinsics, ZExp: ZExp Intrinsic. ! * intrinsics, ZExt: ZExt Intrinsic. ! * intrinsics, ZLog: ZLog Intrinsic. ! * intrinsics, ZSin: ZSin Intrinsic. ! * intrinsics, ZSqRt: ZSqRt Intrinsic. ! * Introduction: Top. ! * invalid assembly code: Bug Criteria. ! * invalid input: Bug Criteria. ! * IOr intrinsic: IOr Intrinsic. ! * IOSTAT=: Run-time Library Errors. ! * IRand intrinsic: IRand Intrinsic. ! * IsaTty intrinsic: IsaTty Intrinsic. ! * IShft intrinsic: IShft Intrinsic. ! * IShftC intrinsic: IShftC Intrinsic. ! * ISign intrinsic: ISign Intrinsic. ! * iterative DO: Optimize Options. ! * ITime intrinsic: ITime Intrinsic. ! * ix86 floating-point: Floating-point precision. ! * ix86 FPU stack: Inconsistent Calling Sequences. ! * IZExt intrinsic: IZExt Intrinsic. ! * JCB002 program: Generics and Specifics. ! * JCB003 program: CMPAMBIG. ! * JIAbs intrinsic: JIAbs Intrinsic. ! * JIAnd intrinsic: JIAnd Intrinsic. ! * JIBClr intrinsic: JIBClr Intrinsic. ! * JIBits intrinsic: JIBits Intrinsic. ! * JIBSet intrinsic: JIBSet Intrinsic. ! * JIDiM intrinsic: JIDiM Intrinsic. ! * JIDInt intrinsic: JIDInt Intrinsic. ! * JIDNnt intrinsic: JIDNnt Intrinsic. ! * JIEOr intrinsic: JIEOr Intrinsic. ! * JIFix intrinsic: JIFix Intrinsic. ! * JInt intrinsic: JInt Intrinsic. ! * JIOr intrinsic: JIOr Intrinsic. ! * JIQint intrinsic: JIQint Intrinsic. ! * JIQNnt intrinsic: JIQNnt Intrinsic. ! * JIShft intrinsic: JIShft Intrinsic. ! * JIShftC intrinsic: JIShftC Intrinsic. ! * JISign intrinsic: JISign Intrinsic. ! * JMax0 intrinsic: JMax0 Intrinsic. ! * JMax1 intrinsic: JMax1 Intrinsic. ! * JMin0 intrinsic: JMin0 Intrinsic. ! * JMin1 intrinsic: JMin1 Intrinsic. ! * JMod intrinsic: JMod Intrinsic. ! * JNInt intrinsic: JNInt Intrinsic. ! * JNot intrinsic: JNot Intrinsic. ! * JZExt intrinsic: JZExt Intrinsic. ! * keywords, RECURSIVE: RECURSIVE Keyword. ! * Kill intrinsic <1>: Kill Intrinsic (function). ! * Kill intrinsic: Kill Intrinsic (subroutine). ! * Kind intrinsic: Kind Intrinsic. ! * KIND= notation: Kind Notation. ! * known causes of trouble: Trouble. ! * lack of recursion: RECURSIVE Keyword. ! * language, dialect options: Fortran Dialect Options. ! * language, features: Direction of Language Development. ! * language, incorrect use of: What is GNU Fortran?. ! * large aggregate areas: Known Bugs. ! * large common blocks: Large Common Blocks. ! * layout of COMMON blocks: Aligned Data. ! * LBound intrinsic: LBound Intrinsic. ! * ld command: What is GNU Fortran?. ! * ld, can't find _main: Cannot Link Fortran Programs. ! * ld, can't find strange names: Cannot Link Fortran Programs. ! * ld, error linking user code: Cannot Link Fortran Programs. ! * ld, errors: Large Common Blocks. ! * left angle: Character Set. ! * left bracket: Character Set. ! * legacy code: Collected Fortran Wisdom. ! * Len intrinsic: Len Intrinsic. ! * Len_Trim intrinsic: Len_Trim Intrinsic. ! * length of source lines: Fortran Dialect Options. ! * letters, lowercase: Case Sensitivity. ! * letters, uppercase: Case Sensitivity. ! * LGe intrinsic: LGe Intrinsic. ! * LGt intrinsic: LGt Intrinsic. ! * libc, non-ANSI or non-default: Strange Behavior at Run Time. ! * libf2c library: What is GNU Fortran?. ! * libg2c library: What is GNU Fortran?. ! * libraries: What is GNU Fortran?. ! * libraries, containing BLOCK DATA: Block Data and Libraries. ! * libraries, libf2c: What is GNU Fortran?. ! * libraries, libg2c: What is GNU Fortran?. ! * limits, array dimensions: Compiler Limits. ! * limits, array size: Array Size. ! * limits, compiler: Compiler Limits. ! * limits, continuation lines <1>: Compiler Limits. ! * limits, continuation lines: Continuation Line. ! * limits, lengths of names <1>: Compiler Limits. ! * limits, lengths of names: Syntactic Items. ! * limits, lengths of source lines: Fortran Dialect Options. ! * limits, multi-dimension arrays: Array Size. ! * limits, on character-variable length: Character-variable Length. ! * limits, rank: Compiler Limits. ! * limits, run-time library: Run-time Environment Limits. ! * limits, timings <1>: Secnds Intrinsic. ! * limits, timings <2>: DTime Intrinsic (function). ! * limits, timings <3>: Time8 Intrinsic. ! * limits, timings <4>: Time Intrinsic (UNIX). ! * limits, timings <5>: System_Clock Intrinsic. ! * limits, timings <6>: Second Intrinsic (subroutine). ! * limits, timings <7>: Second Intrinsic (function). ! * limits, timings <8>: MClock8 Intrinsic. ! * limits, timings <9>: MClock Intrinsic. ! * limits, timings <10>: ETime Intrinsic (function). ! * limits, timings <11>: ETime Intrinsic (subroutine). ! * limits, timings <12>: DTime Intrinsic (subroutine). ! * limits, timings: CPU_Time Intrinsic. ! * limits, Y10K <1>: Time Intrinsic (VXT). ! * limits, Y10K <2>: IDate Intrinsic (UNIX). ! * limits, Y10K <3>: FDate Intrinsic (function). ! * limits, Y10K <4>: FDate Intrinsic (subroutine). ! * limits, Y10K: Date_and_Time Intrinsic. ! * limits, Y2K: IDate Intrinsic (VXT). ! * lines: Lines. ! * lines, continuation: Continuation Line. ! * lines, length: Fortran Dialect Options. ! * lines, long: Long Lines. ! * lines, short: Short Lines. ! * Link intrinsic <1>: Link Intrinsic (function). ! * Link intrinsic: Link Intrinsic (subroutine). ! * linking: What is GNU Fortran?. ! * linking against non-standard library: Strange Behavior at Run Time. ! * linking error for user code: Cannot Link Fortran Programs. ! * linking error, user code: Cannot Link Fortran Programs. ! * linking with C: Interoperating with C and C++. ! * linking, errors: Large Common Blocks. ! * LLe intrinsic: LLe Intrinsic. ! * LLt intrinsic: LLt Intrinsic. ! * LnBlnk intrinsic: LnBlnk Intrinsic. ! * Loc intrinsic: Loc Intrinsic. ! * local equivalence areas <1>: Known Bugs. ! * local equivalence areas: Local Equivalence Areas. ! * Log intrinsic: Log Intrinsic. ! * Log10 intrinsic: Log10 Intrinsic. ! * logical expressions, comparing: Equivalence Versus Equality. ! * Logical intrinsic: Logical Intrinsic. ! * LOGICAL(KIND=1) type: Compiler Types. ! * LOGICAL(KIND=2) type: Compiler Types. ! * LOGICAL(KIND=3) type: Compiler Types. ! * LOGICAL(KIND=6) type: Compiler Types. ! * LOGICAL*1 support: Popular Non-standard Types. ! * Long intrinsic: Long Intrinsic. ! * long source lines: Long Lines. ! * long time: Timer Wraparounds. ! * loops, optimizing: Optimize Options. ! * loops, speeding up: Optimize Options. ! * loops, unrolling: Optimize Options. ! * lowercase letters: Case Sensitivity. ! * LShift intrinsic: LShift Intrinsic. ! * LStat intrinsic <1>: LStat Intrinsic (function). ! * LStat intrinsic: LStat Intrinsic (subroutine). ! * LTime intrinsic: LTime Intrinsic. ! * machine code: What is GNU Fortran?. ! * macro options: Shorthand Options. ! * main program unit, debugging: Main Program Unit. ! * main(): Main Program Unit. ! * MAIN__(): Main Program Unit. ! * Makefile example: Bug Criteria. ! * MAP statement: STRUCTURE UNION RECORD MAP. ! * MatMul intrinsic: MatMul Intrinsic. ! * Max intrinsic: Max Intrinsic. ! * Max0 intrinsic: Max0 Intrinsic. ! * Max1 intrinsic: Max1 Intrinsic. ! * MaxExponent intrinsic: MaxExponent Intrinsic. ! * maximum number of dimensions: Compiler Limits. ! * maximum rank: Compiler Limits. ! * maximum unit number: Large File Unit Numbers. ! * MaxLoc intrinsic: MaxLoc Intrinsic. ! * MaxVal intrinsic: MaxVal Intrinsic. ! * MClock intrinsic: MClock Intrinsic. ! * MClock8 intrinsic: MClock8 Intrinsic. ! * memory usage, of compiler: Known Bugs. ! * Merge intrinsic: Merge Intrinsic. ! * messages, run-time: Run-time Library Errors. ! * messages, warning: Warning Options. ! * messages, warning and error: Warnings and Errors. ! * mil intrinsics group: Intrinsic Groups. ! * MIL-STD 1753 <1>: MIL-STD 1753. ! * MIL-STD 1753 <2>: END DO. ! * MIL-STD 1753 <3>: DO WHILE. ! * MIL-STD 1753: Fortran Dialect Options. ! * Min intrinsic: Min Intrinsic. ! * Min0 intrinsic: Min0 Intrinsic. ! * Min1 intrinsic: Min1 Intrinsic. ! * MinExponent intrinsic: MinExponent Intrinsic. ! * MinLoc intrinsic: MinLoc Intrinsic. ! * MinVal intrinsic: MinVal Intrinsic. ! * missing debug features: Debugging Options. ! * mistakes: What is GNU Fortran?. ! * mistyped functions: Not My Type. ! * mistyped variables: Not My Type. ! * Mod intrinsic: Mod Intrinsic. ! * modifying g77: Overall Options. ! * Modulo intrinsic: Modulo Intrinsic. ! * multi-dimension arrays: Array Size. ! * MvBits intrinsic: MvBits Intrinsic. ! * MXUNIT: Large File Unit Numbers. ! * name space: Mangling of Names. ! * NAMELIST statement: NAMELIST. ! * naming conflicts: Multiple Definitions of External Names. ! * naming issues: Mangling of Names. ! * naming programs: Nothing Happens. ! * NaN values: Floating-point Exception Handling. ! * Nearest intrinsic: Nearest Intrinsic. ! * negative forms of options: Invoking G77. ! * negative time: Timer Wraparounds. ! * Netlib <1>: Increasing Precision/Range. ! * Netlib: C Interfacing Tools. ! * network file system: Output Assumed To Flush. ! * new users: Getting Started. ! * newbies: Getting Started. ! * NeXTStep problems: NeXTStep Problems. ! * NFS: Output Assumed To Flush. ! * NInt intrinsic: NInt Intrinsic. ! * nonportable conversions: Nonportable Conversions. ! * Not intrinsic: Not Intrinsic. ! * nothing happens: Nothing Happens. ! * null arguments: Ugly Null Arguments. ! * null byte, trailing: Character and Hollerith Constants. ! * null CHARACTER strings: Character Type. ! * number of continuation lines: Continuation Line. ! * number of dimensions, maximum: Compiler Limits. ! * number of trips: Loops. ! * O edit descriptor: I/O. ! * octal constants: Double Quote Meaning. ! * omitting arguments: Ugly Null Arguments. ! * one-trip DO loops: Fortran Dialect Options. ! * open angle: Character Set. ! * open bracket: Character Set. ! * OPEN statement: OPEN CLOSE and INQUIRE Keywords. ! * optimization, better: Better Optimization. ! * optimization, for Pentium: Aligned Data. ! * optimize options: Optimize Options. ! * options, --driver <1>: Changes. ! * options, --driver: News. ! * options, -falias-check <1>: Aliasing Assumed To Work. ! * options, -falias-check: Code Gen Options. ! * options, -fargument-alias <1>: Aliasing Assumed To Work. ! * options, -fargument-alias: Code Gen Options. ! * options, -fargument-noalias <1>: Aliasing Assumed To Work. ! * options, -fargument-noalias: Code Gen Options. ! * options, -fbadu77-intrinsics-delete: Fortran Dialect Options. ! * options, -fbadu77-intrinsics-disable: Fortran Dialect Options. ! * options, -fbadu77-intrinsics-enable: Fortran Dialect Options. ! * options, -fbadu77-intrinsics-hide: Fortran Dialect Options. ! * options, -fcaller-saves: Optimize Options. ! * options, -fcase-initcap: Fortran Dialect Options. ! * options, -fcase-lower: Fortran Dialect Options. ! * options, -fcase-preserve: Fortran Dialect Options. ! * options, -fcase-strict-lower: Fortran Dialect Options. ! * options, -fcase-strict-upper: Fortran Dialect Options. ! * options, -fcase-upper: Fortran Dialect Options. ! * options, -fdebug-kludge: Code Gen Options. ! * options, -fdelayed-branch: Optimize Options. ! * options, -fdollar-ok: Fortran Dialect Options. ! * options, -femulate-complex: Code Gen Options. ! * options, -fexpensive-optimizations: Optimize Options. ! * options, -ff2c-intrinsics-delete: Fortran Dialect Options. ! * options, -ff2c-intrinsics-disable: Fortran Dialect Options. ! * options, -ff2c-intrinsics-enable: Fortran Dialect Options. ! * options, -ff2c-intrinsics-hide: Fortran Dialect Options. ! * options, -ff2c-library: Code Gen Options. ! * options, -ff66: Shorthand Options. ! * options, -ff77: Shorthand Options. ! * options, -ff90: Fortran Dialect Options. ! * options, -ff90-intrinsics-delete: Fortran Dialect Options. ! * options, -ff90-intrinsics-disable: Fortran Dialect Options. ! * options, -ff90-intrinsics-enable: Fortran Dialect Options. ! * options, -ff90-intrinsics-hide: Fortran Dialect Options. ! * options, -ffast-math: Optimize Options. ! * options, -ffixed-line-length-N: Fortran Dialect Options. ! * options, -ffloat-store: Optimize Options. ! * options, -fforce-addr: Optimize Options. ! * options, -fforce-mem: Optimize Options. ! * options, -ffree-form: Fortran Dialect Options. ! * options, -fgnu-intrinsics-delete: Fortran Dialect Options. ! * options, -fgnu-intrinsics-disable: Fortran Dialect Options. ! * options, -fgnu-intrinsics-enable: Fortran Dialect Options. ! * options, -fgnu-intrinsics-hide: Fortran Dialect Options. ! * options, -fGROUP-intrinsics-hide: Overly Convenient Options. ! * options, -finit-local-zero <1>: Overly Convenient Options. ! * options, -finit-local-zero: Code Gen Options. ! * options, -fintrin-case-any: Fortran Dialect Options. ! * options, -fintrin-case-initcap: Fortran Dialect Options. ! * options, -fintrin-case-lower: Fortran Dialect Options. ! * options, -fintrin-case-upper: Fortran Dialect Options. ! * options, -fmatch-case-any: Fortran Dialect Options. ! * options, -fmatch-case-initcap: Fortran Dialect Options. ! * options, -fmatch-case-lower: Fortran Dialect Options. ! * options, -fmatch-case-upper: Fortran Dialect Options. ! * options, -fmil-intrinsics-delete: Fortran Dialect Options. ! * options, -fmil-intrinsics-disable: Fortran Dialect Options. ! * options, -fmil-intrinsics-enable: Fortran Dialect Options. ! * options, -fmil-intrinsics-hide: Fortran Dialect Options. ! * options, -fno-argument-noalias-global <1>: Aliasing Assumed To Work. ! * options, -fno-argument-noalias-global: Code Gen Options. ! * options, -fno-automatic <1>: Overly Convenient Options. ! * options, -fno-automatic: Code Gen Options. ! * options, -fno-backslash: Fortran Dialect Options. ! * options, -fno-common: Code Gen Options. ! * options, -fno-f2c <1>: Avoid f2c Compatibility. ! * options, -fno-f2c: Code Gen Options. ! * options, -fno-f77: Shorthand Options. ! * options, -fno-fixed-form: Fortran Dialect Options. ! * options, -fno-globals: Code Gen Options. ! * options, -fno-ident: Code Gen Options. ! * options, -fno-inline: Optimize Options. ! * options, -fno-move-all-movables: Optimize Options. ! * options, -fno-reduce-all-givs: Optimize Options. ! * options, -fno-rerun-loop-opt: Optimize Options. ! * options, -fno-second-underscore: Code Gen Options. ! * options, -fno-silent: Overall Options. ! * options, -fno-ugly: Shorthand Options. ! * options, -fno-ugly-args: Fortran Dialect Options. ! * options, -fno-ugly-init: Fortran Dialect Options. ! * options, -fno-underscoring <1>: Names. ! * options, -fno-underscoring: Code Gen Options. ! * options, -fonetrip: Fortran Dialect Options. ! * options, -fpack-struct: Code Gen Options. ! * options, -fpcc-struct-return: Code Gen Options. ! * options, -fpedantic: Warning Options. ! * options, -fPIC: News. ! * options, -freg-struct-return: Code Gen Options. ! * options, -frerun-cse-after-loop: Optimize Options. ! * options, -fschedule-insns: Optimize Options. ! * options, -fschedule-insns2: Optimize Options. ! * options, -fset-g77-defaults: Overall Options. ! * options, -fshort-double: Code Gen Options. ! * options, -fsource-case-lower: Fortran Dialect Options. ! * options, -fsource-case-preserve: Fortran Dialect Options. ! * options, -fsource-case-upper: Fortran Dialect Options. ! * options, -fstrength-reduce: Optimize Options. ! * options, -fsymbol-case-any: Fortran Dialect Options. ! * options, -fsymbol-case-initcap: Fortran Dialect Options. ! * options, -fsymbol-case-lower: Fortran Dialect Options. ! * options, -fsymbol-case-upper: Fortran Dialect Options. ! * options, -fsyntax-only: Warning Options. ! * options, -ftypeless-boz: Fortran Dialect Options. ! * options, -fugly: Shorthand Options. ! * options, -fugly-assign: Fortran Dialect Options. ! * options, -fugly-assumed: Fortran Dialect Options. ! * options, -fugly-comma: Fortran Dialect Options. ! * options, -fugly-complex: Fortran Dialect Options. ! * options, -fugly-logint: Fortran Dialect Options. ! * options, -funix-intrinsics-delete: Fortran Dialect Options. ! * options, -funix-intrinsics-disable: Fortran Dialect Options. ! * options, -funix-intrinsics-enable: Fortran Dialect Options. ! * options, -funix-intrinsics-hide: Fortran Dialect Options. ! * options, -funroll-all-loops: Optimize Options. ! * options, -funroll-loops: Optimize Options. ! * options, -fversion: Overall Options. ! * options, -fvxt: Fortran Dialect Options. ! * options, -fvxt-intrinsics-delete: Fortran Dialect Options. ! * options, -fvxt-intrinsics-disable: Fortran Dialect Options. ! * options, -fvxt-intrinsics-enable: Fortran Dialect Options. ! * options, -fvxt-intrinsics-hide: Fortran Dialect Options. ! * options, -fzeros: Code Gen Options. ! * options, -g: Debugging Options. ! * options, -I-: Directory Options. ! * options, -Idir: Directory Options. ! * options, -malign-double <1>: Aligned Data. ! * options, -malign-double: Optimize Options. ! * options, -Nl: Compiler Limits. ! * options, -Nx: Compiler Limits. ! * options, -pedantic: Warning Options. ! * options, -pedantic-errors: Warning Options. ! * options, -v: G77 and GCC. ! * options, -W: Warning Options. ! * options, -w: Warning Options. ! * options, -Waggregate-return: Warning Options. ! * options, -Wall: Warning Options. ! * options, -Wcomment: Warning Options. ! * options, -Wconversion: Warning Options. ! * options, -Werror: Warning Options. ! * options, -Wformat: Warning Options. ! * options, -Wid-clash-LEN: Warning Options. ! * options, -Wimplicit: Warning Options. ! * options, -Wlarger-than-LEN: Warning Options. ! * options, -Wno-globals: Warning Options. ! * options, -Wparentheses: Warning Options. ! * options, -Wredundant-decls: Warning Options. ! * options, -Wshadow: Warning Options. ! * options, -Wsurprising: Warning Options. ! * options, -Wswitch: Warning Options. ! * options, -Wtraditional: Warning Options. ! * options, -Wuninitialized: Warning Options. ! * options, -Wunused: Warning Options. ! * options, -x f77-cpp-input: LEX. ! * options, adding: Adding Options. ! * options, code generation: Code Gen Options. ! * options, debugging: Debugging Options. ! * options, dialect: Fortran Dialect Options. ! * options, directory search: Directory Options. ! * options, GNU Fortran command: Invoking G77. ! * options, macro: Shorthand Options. ! * options, negative forms: Invoking G77. ! * options, optimization: Optimize Options. ! * options, overall: Overall Options. ! * options, overly convenient: Overly Convenient Options. ! * options, preprocessor: Preprocessor Options. ! * options, shorthand: Shorthand Options. ! * options, warnings: Warning Options. ! * Or intrinsic <1>: Bit Operations on Floating-point Data. ! * Or intrinsic: Or Intrinsic. ! * order of evaluation, side effects: Order of Side Effects. ! * ordering, array: Arrays. ! * other intrinsics: Other Intrinsics. ! * output, flushing: Output Assumed To Flush. ! * overall options: Overall Options. ! * overflow: Warning Options. ! * overlapping arguments: Aliasing Assumed To Work. ! * overlays: Aliasing Assumed To Work. ! * overly convenient options: Overly Convenient Options. ! * overwritten data: Strange Behavior at Run Time. ! * Pack intrinsic: Pack Intrinsic. ! * padding: Known Bugs. ! * parallel processing: Support for Threads. ! * PARAMETER statement <1>: Old-style PARAMETER Statements. ! * PARAMETER statement: Intrinsics in PARAMETER Statements. ! * parameters, unused: Warning Options. ! * paths, search: Directory Options. ! * PDB: Portable Unformatted Files. ! * pedantic compilation: Pedantic Compilation. ! * Pentium optimizations: Aligned Data. ! * percent sign: Character Set. ! * PError intrinsic: PError Intrinsic. ! * placing initialization statements: Initializing Before Specifying. ! * POINTER statement: POINTER Statements. ! * pointers <1>: Ugly Assigned Labels. ! * pointers: Kind Notation. ! * Poking the bear: Philosophy of Code Generation. ! * porting, simplify: Simplify Porting. ! * pound sign: Character Set. ! * Precision intrinsic: Precision Intrinsic. ! * precision, increasing: Increasing Precision/Range. ! * prefix-radix constants: Fortran Dialect Options. ! * preprocessor <1>: LEX. ! * preprocessor <2>: Bug Reporting. ! * preprocessor <3>: Cpp-style directives. ! * preprocessor <4>: Overall Options. ! * preprocessor: What is GNU Fortran?. ! * preprocessor options: Preprocessor Options. ! * Present intrinsic: Present Intrinsic. ! * printing compilation status: Overall Options. ! * printing main source: Known Bugs. ! * printing version information <1>: Overall Options. ! * printing version information: What is GNU Fortran?. ! * procedures: Procedures. ! * Product intrinsic: Product Intrinsic. ! * PROGRAM statement: Main Program Unit. ! * programs, cc1: What is GNU Fortran?. ! * programs, cc1plus: What is GNU Fortran?. ! * programs, compiling: G77 and GCC. ! * programs, cpp <1>: LEX. ! * programs, cpp <2>: Bug Reporting. ! * programs, cpp <3>: Preprocessor Options. ! * programs, cpp <4>: Overall Options. ! * programs, cpp: What is GNU Fortran?. ! * programs, f771: What is GNU Fortran?. ! * programs, ratfor: Overall Options. ! * programs, speeding up: Faster Programs. ! * programs, test: Nothing Happens. ! * projects: Projects. ! * Q edit descriptor: Q Edit Descriptor. ! * QAbs intrinsic: QAbs Intrinsic. ! * QACos intrinsic: QACos Intrinsic. ! * QACosD intrinsic: QACosD Intrinsic. ! * QASin intrinsic: QASin Intrinsic. ! * QASinD intrinsic: QASinD Intrinsic. ! * QATan intrinsic: QATan Intrinsic. ! * QATan2 intrinsic: QATan2 Intrinsic. ! * QATan2D intrinsic: QATan2D Intrinsic. ! * QATanD intrinsic: QATanD Intrinsic. ! * QCos intrinsic: QCos Intrinsic. ! * QCosD intrinsic: QCosD Intrinsic. ! * QCosH intrinsic: QCosH Intrinsic. ! * QDiM intrinsic: QDiM Intrinsic. ! * QExp intrinsic: QExp Intrinsic. ! * QExt intrinsic: QExt Intrinsic. ! * QExtD intrinsic: QExtD Intrinsic. ! * QFloat intrinsic: QFloat Intrinsic. ! * QInt intrinsic: QInt Intrinsic. ! * QLog intrinsic: QLog Intrinsic. ! * QLog10 intrinsic: QLog10 Intrinsic. ! * QMax1 intrinsic: QMax1 Intrinsic. ! * QMin1 intrinsic: QMin1 Intrinsic. ! * QMod intrinsic: QMod Intrinsic. ! * QNInt intrinsic: QNInt Intrinsic. ! * QSin intrinsic: QSin Intrinsic. ! * QSinD intrinsic: QSinD Intrinsic. ! * QSinH intrinsic: QSinH Intrinsic. ! * QSqRt intrinsic: QSqRt Intrinsic. ! * QTan intrinsic: QTan Intrinsic. ! * QTanD intrinsic: QTanD Intrinsic. ! * QTanH intrinsic: QTanH Intrinsic. ! * question mark: Character Set. ! * questionable instructions: What is GNU Fortran?. ! * Radix intrinsic: Radix Intrinsic. ! * Rand intrinsic: Rand Intrinsic. ! * Random_Number intrinsic: Random_Number Intrinsic. ! * Random_Seed intrinsic: Random_Seed Intrinsic. ! * range checking: Code Gen Options. ! * Range intrinsic: Range Intrinsic. ! * range, increasing: Increasing Precision/Range. ! * rank, maximum: Compiler Limits. ! * ratfor: Overall Options. ! * Ratfor preprocessor: Overall Options. ! * READONLY: READONLY Keyword. ! * reads and writes, scheduling: Aliasing Assumed To Work. ! * Real intrinsic <1>: Real Intrinsic. ! * Real intrinsic: REAL() and AIMAG() of Complex. ! * real part: Ugly Complex Part Extraction. ! * REAL(KIND=1) type: Compiler Types. ! * REAL(KIND=2) type: Compiler Types. ! * REAL*16 support: Full Support for Compiler Types. ! * RealPart intrinsic: RealPart Intrinsic. ! * recent versions <1>: Changes. ! * recent versions: News. ! * RECORD statement: STRUCTURE UNION RECORD MAP. ! * recursion, lack of: RECURSIVE Keyword. ! * RECURSIVE keyword: RECURSIVE Keyword. ! * reference works: Language. ! * Rename intrinsic <1>: Rename Intrinsic (function). ! * Rename intrinsic: Rename Intrinsic (subroutine). ! * Repeat intrinsic: Repeat Intrinsic. ! * reporting bugs: Bugs. ! * reporting compilation status: Overall Options. ! * Reshape intrinsic: Reshape Intrinsic. ! * results, inconsistent: Floating-point Errors. ! * RETURN statement <1>: Alternate Returns. ! * RETURN statement: Functions. ! * return type of functions: Functions. ! * right angle: Character Set. ! * right bracket: Character Set. ! * rounding errors: Floating-point Errors. ! * row-major ordering: Arrays. ! * RRSpacing intrinsic: RRSpacing Intrinsic. ! * RShift intrinsic: RShift Intrinsic. ! * run-time, dynamic allocation: Arbitrary Concatenation. ! * run-time, initialization: Startup Code. ! * run-time, library: What is GNU Fortran?. ! * run-time, options: Code Gen Options. ! * SAVE statement: Code Gen Options. ! * saved variables: Variables Assumed To Be Saved. ! * Scale intrinsic: Scale Intrinsic. ! * Scan intrinsic: Scan Intrinsic. ! * scheduling of reads and writes: Aliasing Assumed To Work. ! * scope <1>: Scope and Classes of Names. ! * scope: Scope of Names and Labels. ! * search path: Directory Options. ! * search paths, for included files: Directory Options. ! * Secnds intrinsic: Secnds Intrinsic. ! * Second intrinsic <1>: Second Intrinsic (subroutine). ! * Second intrinsic: Second Intrinsic (function). ! * segmentation violation <1>: Strange Behavior at Run Time. ! * segmentation violation <2>: Stack Overflow. ! * segmentation violation: NeXTStep Problems. ! * Selected_Int_Kind intrinsic: Selected_Int_Kind Intrinsic. ! * Selected_Real_Kind intrinsic: Selected_Real_Kind Intrinsic. ! * semicolon <1>: Character Set. ! * semicolon: Statements Comments Lines. ! * sequence numbers: Better Source Model. ! * Set_Exponent intrinsic: Set_Exponent Intrinsic. ! * Shape intrinsic: Shape Intrinsic. ! * SHARED: READONLY Keyword. ! * Shift intrinsic: Bit Operations on Floating-point Data. ! * Short intrinsic: Short Intrinsic. ! * short source lines: Short Lines. ! * short time: Timer Wraparounds. ! * shorthand options: Shorthand Options. ! * side effects, order of evaluation: Order of Side Effects. ! * Sign intrinsic: Sign Intrinsic. ! * signal 11: Signal 11 and Friends. ! * Signal intrinsic <1>: Signal Intrinsic (function). ! * Signal intrinsic: Signal Intrinsic (subroutine). ! * signature of procedures: Procedures. ! * simplify porting: Simplify Porting. ! * Sin intrinsic: Sin Intrinsic. ! * SinD intrinsic: SinD Intrinsic. ! * SinH intrinsic: SinH Intrinsic. ! * Sleep intrinsic: Sleep Intrinsic. ! * Sngl intrinsic: Sngl Intrinsic. ! * SnglQ intrinsic: SnglQ Intrinsic. ! * Solaris: Strange Behavior at Run Time. ! * source code <1>: Case Sensitivity. ! * source code <2>: Source Form. ! * source code <3>: Lines. ! * source code: What is GNU Fortran?. ! * source file: What is GNU Fortran?. ! * source file format <1>: Case Sensitivity. ! * source file format <2>: Source Form. ! * source file format <3>: Lines. ! * source file format: Fortran Dialect Options. ! * source format <1>: Source Form. ! * source format: Lines. ! * source lines, long: Long Lines. ! * source lines, short: Short Lines. ! * space <1>: Lines. ! * space: Character Set. ! * space, endless printing of: Strange Behavior at Run Time. ! * space, padding with: Short Lines. ! * Spacing intrinsic: Spacing Intrinsic. ! * SPC <1>: Lines. ! * SPC: Character Set. ! * speed, of compiler: Known Bugs. ! * speed, of loops: Optimize Options. ! * speed, of programs: Faster Programs. ! * spills of floating-point results: Floating-point Errors. ! * Spread intrinsic: Spread Intrinsic. ! * SqRt intrinsic: SqRt Intrinsic. ! * SRand intrinsic: SRand Intrinsic. ! * stack, 387 coprocessor: News. ! * stack, aligned: Aligned Data. ! * stack, overflow: Stack Overflow. ! * standard, ANSI FORTRAN 77: Language. ! * standard, support for: Standard Support. ! * startup code: Startup Code. ! * Stat intrinsic <1>: Stat Intrinsic (function). ! * Stat intrinsic: Stat Intrinsic (subroutine). ! * statement labels, assigned: Assigned Statement Labels. ! * statements, ACCEPT: TYPE and ACCEPT I/O Statements. ! * statements, ASSIGN <1>: Assigned Statement Labels. ! * statements, ASSIGN: Ugly Assigned Labels. ! * statements, AUTOMATIC: AUTOMATIC Statement. ! * statements, BLOCK DATA <1>: Multiple Definitions of External Names. ! * statements, BLOCK DATA: Block Data and Libraries. ! * statements, CLOSE: OPEN CLOSE and INQUIRE Keywords. ! * statements, COMMON <1>: Multiple Definitions of External Names. ! * statements, COMMON: Common Blocks. ! * statements, COMPLEX: Complex Variables. ! * statements, CYCLE: CYCLE and EXIT. ! * statements, DATA <1>: Known Bugs. ! * statements, DATA: Code Gen Options. ! * statements, DECODE: ENCODE and DECODE. ! * statements, DIMENSION <1>: Array Bounds Expressions. ! * statements, DIMENSION <2>: Adjustable Arrays. ! * statements, DIMENSION: Arrays. ! * statements, DO <1>: Loops. ! * statements, DO: Warning Options. ! * statements, ENCODE: ENCODE and DECODE. ! * statements, ENTRY: Alternate Entry Points. ! * statements, EQUIVALENCE: Local Equivalence Areas. ! * statements, EXIT: CYCLE and EXIT. ! * statements, FORMAT: Expressions in FORMAT Statements. ! * statements, FUNCTION <1>: Functions. ! * statements, FUNCTION: Procedures. ! * statements, GOTO: Assigned Statement Labels. ! * statements, IMPLICIT CHARACTER*(*): Limitation on Implicit Declarations. ! * statements, INQUIRE: OPEN CLOSE and INQUIRE Keywords. ! * statements, MAP: STRUCTURE UNION RECORD MAP. ! * statements, NAMELIST: NAMELIST. ! * statements, OPEN: OPEN CLOSE and INQUIRE Keywords. ! * statements, PARAMETER <1>: Old-style PARAMETER Statements. ! * statements, PARAMETER: Intrinsics in PARAMETER Statements. ! * statements, POINTER: POINTER Statements. ! * statements, PROGRAM: Main Program Unit. ! * statements, RECORD: STRUCTURE UNION RECORD MAP. ! * statements, RETURN <1>: Alternate Returns. ! * statements, RETURN: Functions. ! * statements, SAVE: Code Gen Options. ! * statements, separated by semicolon: Statements Comments Lines. ! * statements, STRUCTURE: STRUCTURE UNION RECORD MAP. ! * statements, SUBROUTINE <1>: Alternate Returns. ! * statements, SUBROUTINE: Procedures. ! * statements, TYPE: TYPE and ACCEPT I/O Statements. ! * statements, UNION: STRUCTURE UNION RECORD MAP. ! * STATIC: AUTOMATIC Statement. ! * static variables: Variables Assumed To Be Saved. ! * status, compilation: Overall Options. ! * storage association: Aliasing Assumed To Work. ! * strings, empty: Character Type. ! * STRUCTURE statement: STRUCTURE UNION RECORD MAP. ! * structures: Known Bugs. ! * submodels: Use Submodel Options. ! * SUBROUTINE statement <1>: Alternate Returns. ! * SUBROUTINE statement: Procedures. ! * subroutines: Alternate Returns. ! * subscript checking: Code Gen Options. ! * substring checking: Code Gen Options. ! * suffixes, file name: Overall Options. ! * Sum intrinsic: Sum Intrinsic. ! * support, Alpha: Known Bugs. ! * support, ELF: News. ! * support, f77: Backslash in Constants. ! * support, FORTRAN 77: Standard Support. ! * support, Fortran 90: Fortran 90 Support. ! * support, gdb: Debugger Problems. ! * suppressing warnings: Warning Options. ! * symbol names <1>: Names. ! * symbol names: Fortran Dialect Options. ! * symbol names, scope and classes: Scope and Classes of Names. ! * symbol names, transforming: Code Gen Options. ! * symbol names, underscores: Code Gen Options. ! * SymLnk intrinsic <1>: SymLnk Intrinsic (function). ! * SymLnk intrinsic: SymLnk Intrinsic (subroutine). ! * synchronous write errors: Output Assumed To Flush. ! * syntax checking: Warning Options. ! * System intrinsic <1>: System Intrinsic (function). ! * System intrinsic: System Intrinsic (subroutine). ! * System_Clock intrinsic: System_Clock Intrinsic. ! * tab character: Tabs. ! * table of intrinsics: Table of Intrinsic Functions. ! * Tan intrinsic: Tan Intrinsic. ! * TanD intrinsic: TanD Intrinsic. ! * TanH intrinsic: TanH Intrinsic. ! * test programs: Nothing Happens. ! * testing alignment: Aligned Data. ! * textbooks: Language. ! * threads: Support for Threads. ! * Time intrinsic <1>: Time Intrinsic (VXT). ! * Time intrinsic: Time Intrinsic (UNIX). ! * Time8 intrinsic: Time8 Intrinsic. ! * Tiny intrinsic: Tiny Intrinsic. ! * Toolpack: Increasing Precision/Range. ! * trailing comma: Ugly Null Arguments. ! * trailing comment <1>: LEX. ! * trailing comment <2>: Trailing Comment. ! * trailing comment: Statements Comments Lines. ! * trailing null byte: Character and Hollerith Constants. ! * Transfer intrinsic: Transfer Intrinsic. ! * transforming symbol names <1>: Names. ! * transforming symbol names: Code Gen Options. ! * translation of user programs: What is GNU Fortran?. ! * Transpose intrinsic: Transpose Intrinsic. ! * Trim intrinsic: Trim Intrinsic. ! * trips, number of: Loops. ! * truncation, of floating-point values: Floating-point Errors. ! * truncation, of long lines: Long Lines. ! * TtyNam intrinsic <1>: TtyNam Intrinsic (function). ! * TtyNam intrinsic: TtyNam Intrinsic (subroutine). ! * TYPE statement: TYPE and ACCEPT I/O Statements. ! * types, COMPLEX(KIND=1): Compiler Types. ! * types, COMPLEX(KIND=2): Compiler Types. ! * types, constants <1>: Compiler Constants. ! * types, constants <2>: Constants. ! * types, constants: Fortran Dialect Options. ! * types, DOUBLE COMPLEX: Compiler Types. ! * types, DOUBLE PRECISION: Compiler Types. ! * types, file: Overall Options. ! * types, Fortran/C: C Access to Type Information. ! * types, INTEGER(KIND=1): Compiler Types. ! * types, INTEGER(KIND=2): Compiler Types. ! * types, INTEGER(KIND=3): Compiler Types. ! * types, INTEGER(KIND=6): Compiler Types. ! * types, INTEGER*2: Popular Non-standard Types. ! * types, INTEGER*8: Full Support for Compiler Types. ! * types, LOGICAL(KIND=1): Compiler Types. ! * types, LOGICAL(KIND=2): Compiler Types. ! * types, LOGICAL(KIND=3): Compiler Types. ! * types, LOGICAL(KIND=6): Compiler Types. ! * types, LOGICAL*1: Popular Non-standard Types. ! * types, of data: Compiler Types. ! * types, REAL(KIND=1): Compiler Types. ! * types, REAL(KIND=2): Compiler Types. ! * types, REAL*16: Full Support for Compiler Types. ! * UBound intrinsic: UBound Intrinsic. ! * ugly features <1>: Distensions. ! * ugly features: Shorthand Options. ! * UMask intrinsic <1>: UMask Intrinsic (function). ! * UMask intrinsic: UMask Intrinsic (subroutine). ! * undefined behavior: Bug Criteria. ! * undefined function value: Bug Criteria. ! * undefined reference (_main): Cannot Link Fortran Programs. ! * underscore <1>: Mangling of Names. ! * underscore <2>: Underscores in Symbol Names. ! * underscore <3>: Character Set. ! * underscore: Code Gen Options. ! * unformatted files: Portable Unformatted Files. ! * uninitialized variables <1>: Variables Assumed To Be Zero. ! * uninitialized variables <2>: Code Gen Options. ! * uninitialized variables: Warning Options. ! * UNION statement: STRUCTURE UNION RECORD MAP. ! * unit numbers: Large File Unit Numbers. ! * UNIX f77: Shorthand Options. ! * UNIX intrinsics: Fortran Dialect Options. ! * Unlink intrinsic <1>: Unlink Intrinsic (function). ! * Unlink intrinsic: Unlink Intrinsic (subroutine). ! * Unpack intrinsic: Unpack Intrinsic. ! * unrecognized file format: What is GNU Fortran?. ! * unresolved reference (various): Cannot Link Fortran Programs. ! * unrolling loops: Optimize Options. ! * UNSAVE: AUTOMATIC Statement. ! * unsupported warnings: Warning Options. ! * unused arguments <1>: Unused Arguments. ! * unused arguments: Warning Options. ! * unused dummies: Warning Options. ! * unused parameters: Warning Options. ! * unused variables: Warning Options. ! * uppercase letters: Case Sensitivity. ! * user-visible changes: Changes. ! * variables, assumed to be zero: Variables Assumed To Be Zero. ! * variables, automatic: AUTOMATIC Statement. ! * variables, initialization of: Code Gen Options. ! * variables, mistyped: Not My Type. ! * variables, retaining values across calls: Variables Assumed To Be Saved. ! * variables, uninitialized <1>: Code Gen Options. ! * variables, uninitialized: Warning Options. ! * variables, unused: Warning Options. ! * Verify intrinsic: Verify Intrinsic. ! * version information, printing <1>: Overall Options. ! * version information, printing: What is GNU Fortran?. ! * versions, recent <1>: Changes. ! * versions, recent: News. ! * VXT extensions <1>: VXT Fortran. ! * VXT extensions: Fortran Dialect Options. ! * VXT intrinsics: Fortran Dialect Options. ! * vxtidate_y2kbuggy_0: Year 2000 (Y2K) Problems. ! * warnings: What is GNU Fortran?. ! * warnings vs errors: Warnings and Errors. ! * warnings, all: Warning Options. ! * warnings, extra: Warning Options. ! * warnings, global names <1>: Code Gen Options. ! * warnings, global names: Warning Options. ! * warnings, implicit declaration: Warning Options. ! * warnings, suppressing: Warning Options. ! * warnings, unsupported: Warning Options. ! * wisdom: Collected Fortran Wisdom. ! * wraparound: Run-time Environment Limits. ! * wraparound, timings <1>: Secnds Intrinsic. ! * wraparound, timings <2>: DTime Intrinsic (function). ! * wraparound, timings <3>: Time8 Intrinsic. ! * wraparound, timings <4>: Time Intrinsic (UNIX). ! * wraparound, timings <5>: System_Clock Intrinsic. ! * wraparound, timings <6>: Second Intrinsic (subroutine). ! * wraparound, timings <7>: Second Intrinsic (function). ! * wraparound, timings <8>: MClock8 Intrinsic. ! * wraparound, timings <9>: MClock Intrinsic. ! * wraparound, timings <10>: ETime Intrinsic (function). ! * wraparound, timings <11>: ETime Intrinsic (subroutine). ! * wraparound, timings <12>: DTime Intrinsic (subroutine). ! * wraparound, timings: CPU_Time Intrinsic. ! * wraparound, Y10K <1>: Time Intrinsic (VXT). ! * wraparound, Y10K <2>: IDate Intrinsic (UNIX). ! * wraparound, Y10K <3>: FDate Intrinsic (function). ! * wraparound, Y10K <4>: FDate Intrinsic (subroutine). ! * wraparound, Y10K: Date_and_Time Intrinsic. ! * wraparound, Y2K: IDate Intrinsic (VXT). ! * writes, flushing: Output Assumed To Flush. ! * writing code: Collected Fortran Wisdom. ! * x86 floating-point: Floating-point precision. ! * x86 FPU stack: Inconsistent Calling Sequences. ! * XOr intrinsic: XOr Intrinsic. ! * Y10K compliance <1>: Time Intrinsic (VXT). ! * Y10K compliance <2>: Year 10000 (Y10K) Problems. ! * Y10K compliance <3>: IDate Intrinsic (UNIX). ! * Y10K compliance <4>: FDate Intrinsic (function). ! * Y10K compliance <5>: FDate Intrinsic (subroutine). ! * Y10K compliance: Date_and_Time Intrinsic. ! * Y2K compliance <1>: Y2KBAD. ! * Y2K compliance <2>: IDate Intrinsic (VXT). ! * Y2K compliance <3>: Date Intrinsic. ! * Y2K compliance: Year 2000 (Y2K) Problems. ! * y2kbuggy: Year 2000 (Y2K) Problems. ! * Year 10000 compliance <1>: Time Intrinsic (VXT). ! * Year 10000 compliance <2>: Year 10000 (Y10K) Problems. ! * Year 10000 compliance <3>: IDate Intrinsic (UNIX). ! * Year 10000 compliance <4>: FDate Intrinsic (function). ! * Year 10000 compliance <5>: FDate Intrinsic (subroutine). ! * Year 10000 compliance: Date_and_Time Intrinsic. ! * Year 2000 compliance <1>: Y2KBAD. ! * Year 2000 compliance <2>: IDate Intrinsic (VXT). ! * Year 2000 compliance <3>: Date Intrinsic. ! * Year 2000 compliance: Year 2000 (Y2K) Problems. ! * Z edit descriptor <1>: Fortran 90 Features. ! * Z edit descriptor: I/O. ! * ZAbs intrinsic: ZAbs Intrinsic. ! * ZCos intrinsic: ZCos Intrinsic. ! * zero byte, trailing: Character and Hollerith Constants. ! * zero-initialized variables: Variables Assumed To Be Zero. ! * zero-length CHARACTER: Character Type. ! * zero-trip DO loops: Fortran Dialect Options. ! * ZExp intrinsic: ZExp Intrinsic. ! * ZExt intrinsic: ZExt Intrinsic. ! * ZLog intrinsic: ZLog Intrinsic. ! * ZSin intrinsic: ZSin Intrinsic. ! * ZSqRt intrinsic: ZSqRt Intrinsic. --- 36,511 ---- Craig by David Ronis ().  ! File: g77.info, Node: CMPAMBIG, Next: EXPIMP, Up: Diagnostics ! `CMPAMBIG' ! ========== ! Ambiguous use of intrinsic INTRINSIC ... ! The type of the argument to the invocation of the INTRINSIC ! intrinsic is a `COMPLEX' type other than `COMPLEX(KIND=1)'. Typically, ! it is `COMPLEX(KIND=2)', also known as `DOUBLE COMPLEX'. ! ! The interpretation of this invocation depends on the particular ! dialect of Fortran for which the code was written. Some dialects ! convert the real part of the argument to `REAL(KIND=1)', thus losing ! precision; other dialects, and Fortran 90, do no such conversion. ! ! So, GNU Fortran rejects such invocations except under certain ! circumstances, to avoid making an incorrect assumption that results in ! generating the wrong code. ! ! To determine the dialect of the program unit, perhaps even whether ! that particular invocation is properly coded, determine how the result ! of the intrinsic is used. ! ! The result of INTRINSIC is expected (by the original programmer) to ! be `REAL(KIND=1)' (the non-Fortran-90 interpretation) if: ! ! * It is passed as an argument to a procedure that explicitly or ! implicitly declares that argument `REAL(KIND=1)'. ! ! For example, a procedure with no `DOUBLE PRECISION' or `IMPLICIT ! DOUBLE PRECISION' statement specifying the dummy argument ! corresponding to an actual argument of `REAL(Z)', where `Z' is ! declared `DOUBLE COMPLEX', strongly suggests that the programmer ! expected `REAL(Z)' to return `REAL(KIND=1)' instead of ! `REAL(KIND=2)'. ! ! * It is used in a context that would otherwise not include any ! `REAL(KIND=2)' but where treating the INTRINSIC invocation as ! `REAL(KIND=2)' would result in unnecessary promotions and ! (typically) more expensive operations on the wider type. ! ! For example: ! ! DOUBLE COMPLEX Z ! ... ! R(1) = T * REAL(Z) ! ! The above example suggests the programmer expected the real part ! of `Z' to be converted to `REAL(KIND=1)' before being multiplied ! by `T' (presumed, along with `R' above, to be type `REAL(KIND=1)'). ! ! Otherwise, the conversion would have to be delayed until after the ! multiplication, requiring not only an extra conversion (of `T' to ! `REAL(KIND=2)'), but a (typically) more expensive multiplication ! (a double-precision multiplication instead of a single-precision ! one). ! ! The result of INTRINSIC is expected (by the original programmer) to ! be `REAL(KIND=2)' (the Fortran 90 interpretation) if: ! ! * It is passed as an argument to a procedure that explicitly or ! implicitly declares that argument `REAL(KIND=2)'. ! ! For example, a procedure specifying a `DOUBLE PRECISION' dummy ! argument corresponding to an actual argument of `REAL(Z)', where ! `Z' is declared `DOUBLE COMPLEX', strongly suggests that the ! programmer expected `REAL(Z)' to return `REAL(KIND=2)' instead of ! `REAL(KIND=1)'. ! ! * It is used in an expression context that includes other ! `REAL(KIND=2)' operands, or is assigned to a `REAL(KIND=2)' ! variable or array element. ! ! For example: ! ! DOUBLE COMPLEX Z ! DOUBLE PRECISION R, T ! ... ! R(1) = T * REAL(Z) ! ! The above example suggests the programmer expected the real part ! of `Z' to _not_ be converted to `REAL(KIND=1)' by the `REAL()' ! intrinsic. ! ! Otherwise, the conversion would have to be immediately followed by ! a conversion back to `REAL(KIND=2)', losing the original, full ! precision of the real part of `Z', before being multiplied by `T'. ! ! Once you have determined whether a particular invocation of INTRINSIC ! expects the Fortran 90 interpretation, you can: ! ! * Change it to `DBLE(EXPR)' (if INTRINSIC is `REAL') or ! `DIMAG(EXPR)' (if INTRINSIC is `AIMAG') if it expected the Fortran ! 90 interpretation. ! ! This assumes EXPR is `COMPLEX(KIND=2)'--if it is some other type, ! such as `COMPLEX*32', you should use the appropriate intrinsic, ! such as the one to convert to `REAL*16' (perhaps `DBLEQ()' in ! place of `DBLE()', and `QIMAG()' in place of `DIMAG()'). ! ! * Change it to `REAL(INTRINSIC(EXPR))', otherwise. This converts to ! `REAL(KIND=1)' in all working Fortran compilers. ! ! If you don't want to change the code, and you are certain that all ! ambiguous invocations of INTRINSIC in the source file have the same ! expectation regarding interpretation, you can: ! ! * Compile with the `g77' option `-ff90', to enable the Fortran 90 ! interpretation. ! ! * Compile with the `g77' options `-fno-f90 -fugly-complex', to ! enable the non-Fortran-90 interpretations. ! ! *Note REAL() and AIMAG() of Complex::, for more information on this ! issue. ! ! Note: If the above suggestions don't produce enough evidence as to ! whether a particular program expects the Fortran 90 interpretation of ! this ambiguous invocation of INTRINSIC, there is one more thing you can ! try. ! ! If you have access to most or all the compilers used on the program ! to create successfully tested and deployed executables, read the ! documentation for, and _also_ test out, each compiler to determine how ! it treats the INTRINSIC intrinsic in this case. (If all the compilers ! don't agree on an interpretation, there might be lurking bugs in the ! deployed versions of the program.) ! ! The following sample program might help: ! ! PROGRAM JCB003 ! C ! C Written by James Craig Burley 1997-02-23. ! C ! C Determine how compilers handle non-standard REAL ! C and AIMAG on DOUBLE COMPLEX operands. ! C ! DOUBLE COMPLEX Z ! REAL R ! Z = (3.3D0, 4.4D0) ! R = Z ! CALL DUMDUM(Z, R) ! R = REAL(Z) - R ! IF (R .NE. 0.) PRINT *, 'REAL() is Fortran 90' ! IF (R .EQ. 0.) PRINT *, 'REAL() is not Fortran 90' ! R = 4.4D0 ! CALL DUMDUM(Z, R) ! R = AIMAG(Z) - R ! IF (R .NE. 0.) PRINT *, 'AIMAG() is Fortran 90' ! IF (R .EQ. 0.) PRINT *, 'AIMAG() is not Fortran 90' ! END ! C ! C Just to make sure compiler doesn't use naive flow ! C analysis to optimize away careful work above, ! C which might invalidate results.... ! C ! SUBROUTINE DUMDUM(Z, R) ! DOUBLE COMPLEX Z ! REAL R ! END ! ! If the above program prints contradictory results on a particular ! compiler, run away! ! !  ! File: g77.info, Node: EXPIMP, Next: INTGLOB, Prev: CMPAMBIG, Up: Diagnostics ! ! `EXPIMP' ! ======== ! ! Intrinsic INTRINSIC referenced ... ! ! The INTRINSIC is explicitly declared in one program unit in the ! source file and implicitly used as an intrinsic in another program unit ! in the same source file. ! ! This diagnostic is designed to catch cases where a program might ! depend on using the name INTRINSIC as an intrinsic in one program unit ! and as a global name (such as the name of a subroutine or function) in ! another, but `g77' recognizes the name as an intrinsic in both cases. ! ! After verifying that the program unit making implicit use of the ! intrinsic is indeed written expecting the intrinsic, add an `INTRINSIC ! INTRINSIC' statement to that program unit to prevent this warning. ! ! This and related warnings are disabled by using the `-Wno-globals' ! option when compiling. ! ! Note that this warning is not issued for standard intrinsics. ! Standard intrinsics include those described in the FORTRAN 77 standard ! and, if `-ff90' is specified, those described in the Fortran 90 ! standard. Such intrinsics are not as likely to be confused with user ! procedures as intrinsics provided as extensions to the standard by ! `g77'. ! !  ! File: g77.info, Node: INTGLOB, Next: LEX, Prev: EXPIMP, Up: Diagnostics ! ! `INTGLOB' ! ========= ! ! Same name `INTRINSIC' given ... ! ! The name INTRINSIC is used for a global entity (a common block or a ! program unit) in one program unit and implicitly used as an intrinsic ! in another program unit. ! ! This diagnostic is designed to catch cases where a program intends ! to use a name entirely as a global name, but `g77' recognizes the name ! as an intrinsic in the program unit that references the name, a ! situation that would likely produce incorrect code. ! ! For example: ! ! INTEGER FUNCTION TIME() ! ... ! END ! ... ! PROGRAM SAMP ! INTEGER TIME ! PRINT *, 'Time is ', TIME() ! END ! ! The above example defines a program unit named `TIME', but the ! reference to `TIME' in the main program unit `SAMP' is normally treated ! by `g77' as a reference to the intrinsic `TIME()' (unless a ! command-line option that prevents such treatment has been specified). ! ! As a result, the program `SAMP' will _not_ invoke the `TIME' ! function in the same source file. ! ! Since `g77' recognizes `libU77' procedures as intrinsics, and since ! some existing code uses the same names for its own procedures as used ! by some `libU77' procedures, this situation is expected to arise often ! enough to make this sort of warning worth issuing. ! ! After verifying that the program unit making implicit use of the ! intrinsic is indeed written expecting the intrinsic, add an `INTRINSIC ! INTRINSIC' statement to that program unit to prevent this warning. ! ! Or, if you believe the program unit is designed to invoke the ! program-defined procedure instead of the intrinsic (as recognized by ! `g77'), add an `EXTERNAL INTRINSIC' statement to the program unit that ! references the name to prevent this warning. ! ! This and related warnings are disabled by using the `-Wno-globals' ! option when compiling. ! ! Note that this warning is not issued for standard intrinsics. ! Standard intrinsics include those described in the FORTRAN 77 standard ! and, if `-ff90' is specified, those described in the Fortran 90 ! standard. Such intrinsics are not as likely to be confused with user ! procedures as intrinsics provided as extensions to the standard by ! `g77'. ! !  ! File: g77.info, Node: LEX, Next: GLOBALS, Prev: INTGLOB, Up: Diagnostics ! ! `LEX' ! ===== ! ! Unrecognized character ... ! Invalid first character ... ! Line too long ... ! Non-numeric character ... ! Continuation indicator ... ! Label at ... invalid with continuation line indicator ... ! Character constant ... ! Continuation line ... ! Statement at ... begins with invalid token ! ! Although the diagnostics identify specific problems, they can be ! produced when general problems such as the following occur: ! ! * The source file contains something other than Fortran code. ! ! If the code in the file does not look like many of the examples ! elsewhere in this document, it might not be Fortran code. (Note ! that Fortran code often is written in lower case letters, while ! the examples in this document use upper case letters, for ! stylistic reasons.) ! ! For example, if the file contains lots of strange-looking ! characters, it might be APL source code; if it contains lots of ! parentheses, it might be Lisp source code; if it contains lots of ! bugs, it might be C++ source code. ! ! * The source file contains free-form Fortran code, but `-ffree-form' ! was not specified on the command line to compile it. ! ! Free form is a newer form for Fortran code. The older, classic ! form is called fixed form. ! ! Fixed-form code is visually fairly distinctive, because numerical ! labels and comments are all that appear in the first five columns ! of a line, the sixth column is reserved to denote continuation ! lines, and actual statements start at or beyond column 7. Spaces ! generally are not significant, so if you see statements such as ! `REALX,Y' and `DO10I=1,100', you are looking at fixed-form code. ! Comment lines are indicated by the letter `C' or the symbol `*' in ! column 1. (Some code uses `!' or `/*' to begin in-line comments, ! which many compilers support.) ! ! Free-form code is distinguished from fixed-form source primarily ! by the fact that statements may start anywhere. (If lots of ! statements start in columns 1 through 6, that's a strong indicator ! of free-form source.) Consecutive keywords must be separated by ! spaces, so `REALX,Y' is not valid, while `REAL X,Y' is. There are ! no comment lines per se, but `!' starts a comment anywhere in a ! line (other than within a character or Hollerith constant). ! ! *Note Source Form::, for more information. ! ! * The source file is in fixed form and has been edited without ! sensitivity to the column requirements. ! ! Statements in fixed-form code must be entirely contained within ! columns 7 through 72 on a given line. Starting them "early" is ! more likely to result in diagnostics than finishing them "late", ! though both kinds of errors are often caught at compile time. ! ! For example, if the following code fragment is edited by following ! the commented instructions literally, the result, shown afterward, ! would produce a diagnostic when compiled: ! ! C On XYZZY systems, remove "C" on next line: ! C CALL XYZZY_RESET ! ! The result of editing the above line might be: ! ! C On XYZZY systems, remove "C" on next line: ! CALL XYZZY_RESET ! ! However, that leaves the first `C' in the `CALL' statement in ! column 6, making it a comment line, which is not really what the ! author intended, and which is likely to result in one of the ! above-listed diagnostics. ! ! _Replacing_ the `C' in column 1 with a space is the proper change ! to make, to ensure the `CALL' keyword starts in or after column 7. ! ! Another common mistake like this is to forget that fixed-form ! source lines are significant through only column 72, and that, ! normally, any text beyond column 72 is ignored or is diagnosed at ! compile time. ! ! *Note Source Form::, for more information. ! ! * The source file requires preprocessing, and the preprocessing is ! not being specified at compile time. ! ! A source file containing lines beginning with `#define', ! `#include', `#if', and so on is likely one that requires ! preprocessing. ! ! If the file's suffix is `.f', `.for', or `.FOR', the file normally ! will be compiled _without_ preprocessing by `g77'. ! ! Change the file's suffix from `.f' to `.F' (or, on systems with ! case-insensitive file names, to `.fpp' or `.FPP'), from `.for' to ! `.fpp', or from `.FOR' to `.FPP'. `g77' compiles files with such ! names _with_ preprocessing. ! ! Or, learn how to use `gcc''s `-x' option to specify the language ! `f77-cpp-input' for Fortran files that require preprocessing. ! *Note Options Controlling the Kind of Output: (gcc)Overall Options. ! ! * The source file is preprocessed, and the results of preprocessing ! result in syntactic errors that are not necessarily obvious to ! someone examining the source file itself. ! ! Examples of errors resulting from preprocessor macro expansion ! include exceeding the line-length limit, improperly starting, ! terminating, or incorporating the apostrophe or double-quote in a ! character constant, improperly forming a Hollerith constant, and ! so on. ! ! *Note Options Controlling the Kind of Output: Overall Options, for ! suggestions about how to use, and not use, preprocessing for ! Fortran code. ! !  ! File: g77.info, Node: GLOBALS, Next: LINKFAIL, Prev: LEX, Up: Diagnostics ! ! `GLOBALS' ! ========= + Global name NAME defined at ... already defined... + Global name NAME at ... has different type... + Too many arguments passed to NAME at ... + Too few arguments passed to NAME at ... + Argument #N of NAME is ... + + These messages all identify disagreements about the global procedure + named NAME among different program units (usually including NAME + itself). + + Whether a particular disagreement is reported as a warning or an + error can depend on the relative order of the disagreeing portions of + the source file. + + Disagreements between a procedure invocation and the _subsequent_ + procedure itself are, usually, diagnosed as errors when the procedure + itself _precedes_ the invocation. Other disagreements are diagnosed + via warnings. + + This distinction, between warnings and errors, is due primarily to + the present tendency of the `gcc' back end to inline only those + procedure invocations that are _preceded_ by the corresponding + procedure definitions. If the `gcc' back end is changed to inline + "forward references", in which invocations precede definitions, the + `g77' front end will be changed to treat both orderings as errors, + accordingly. + + The sorts of disagreements that are diagnosed by `g77' include + whether a procedure is a subroutine or function; if it is a function, + the type of the return value of the procedure; the number of arguments + the procedure accepts; and the type of each argument. + + Disagreements regarding global names among program units in a + Fortran program _should_ be fixed in the code itself. However, if that + is not immediately practical, and the code has been working for some + time, it is possible it will work when compiled with the `-fno-globals' + option. + + The `-fno-globals' option causes these diagnostics to all be warnings + and disables all inlining of references to global procedures (to avoid + subsequent compiler crashes and bad-code generation). Use of the + `-Wno-globals' option as well as `-fno-globals' suppresses all of these + diagnostics. (`-Wno-globals' by itself disables only the warnings, not + the errors.) + + After using `-fno-globals' to work around these problems, it is wise + to stop using that option and address them by fixing the Fortran code, + because such problems, while they might not actually result in bugs on + some systems, indicate that the code is not as portable as it could be. + In particular, the code might appear to work on a particular system, + but have bugs that affect the reliability of the data without + exhibiting any other outward manifestations of the bugs. + +  + File: g77.info, Node: LINKFAIL, Next: Y2KBAD, Prev: GLOBALS, Up: Diagnostics + + `LINKFAIL' + ========== + + On AIX 4.1, `g77' might not build with the native (non-GNU) tools due + to a linker bug in coping with the `-bbigtoc' option which leads to a + `Relocation overflow' error. The GNU linker is not recommended on + current AIX versions, though; it was developed under a now-unsupported + version. This bug is said to be fixed by `update PTF U455193 for APAR + IX75823'. + + Compiling with `-mminimal-toc' might solve this problem, e.g. by + adding + BOOT_CFLAGS='-mminimal-toc -O2 -g' + to the `make bootstrap' command line. + +  + File: g77.info, Node: Y2KBAD, Prev: LINKFAIL, Up: Diagnostics + + `Y2KBAD' + ======== + + Intrinsic `NAME', invoked at (^), known to be non-Y2K-compliant... + + This diagnostic indicates that the specific intrinsic invoked by the + name NAME is known to have an interface that is not Year-2000 (Y2K) + compliant. + + *Note Year 2000 (Y2K) Problems::. diff -Nrc3pad gcc-3.0.4/gcc/f/g77.info-21 gcc-3.1/gcc/f/g77.info-21 *** gcc-3.0.4/gcc/f/g77.info-21 Thu Jan 1 00:00:00 1970 --- gcc-3.1/gcc/f/g77.info-21 Wed May 15 02:45:53 2002 *************** *** 0 **** --- 1,2269 ---- + This is g77.info, produced by makeinfo version 4.2 from g77.texi. + + INFO-DIR-SECTION Programming + START-INFO-DIR-ENTRY + * g77: (g77). The GNU Fortran compiler. + END-INFO-DIR-ENTRY + This file documents the use and the internals of the GNU Fortran + (`g77') compiler. It corresponds to the GCC-3.1 version of `g77'. + + Published by the Free Software Foundation 59 Temple Place - Suite 330 + Boston, MA 02111-1307 USA + + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Free Software + Foundation, Inc. + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.1 or + any later version published by the Free Software Foundation; with the + Invariant Sections being "GNU General Public License" and "Funding Free + Software", the Front-Cover texts being (a) (see below), and with the + Back-Cover Texts being (b) (see below). A copy of the license is + included in the section entitled "GNU Free Documentation License". + + (a) The FSF's Front-Cover Text is: + + A GNU Manual + + (b) The FSF's Back-Cover Text is: + + You have freedom to copy and modify this GNU Manual, like GNU + software. Copies published by the Free Software Foundation raise + funds for GNU development. + + Contributed by James Craig Burley (). Inspired by + a first pass at translating `g77-0.5.16/f/DOC' that was contributed to + Craig by David Ronis (). + +  + File: g77.info, Node: Index, Prev: Diagnostics, Up: Top + + Index + ***** + + * Menu: + + * ! <1>: LEX. + * ! <2>: Exclamation Point. + * ! <3>: Trailing Comment. + * ! <4>: Character Set. + * !: Statements Comments Lines. + * ": Character Set. + * # <1>: Cpp-style directives. + * #: Character Set. + * #define: Overall Options. + * #if: Overall Options. + * #include: Overall Options. + * #include directive: Bug Reporting. + * $: Dollar Signs. + * %: Character Set. + * %DESCR() construct: %DESCR(). + * %LOC() construct: %LOC(). + * %REF() construct: %REF(). + * %VAL() construct: %VAL(). + * &: Character Set. + * *: LEX. + * *N notation <1>: Compiler Types. + * *N notation: Star Notation. + * --driver option <1>: Changes. + * --driver option: News. + * -falias-check option <1>: Aliasing Assumed To Work. + * -falias-check option: Code Gen Options. + * -fargument-alias option <1>: Aliasing Assumed To Work. + * -fargument-alias option: Code Gen Options. + * -fargument-noalias option <1>: Aliasing Assumed To Work. + * -fargument-noalias option: Code Gen Options. + * -fbadu77-intrinsics-delete option: Fortran Dialect Options. + * -fbadu77-intrinsics-disable option: Fortran Dialect Options. + * -fbadu77-intrinsics-enable option: Fortran Dialect Options. + * -fbadu77-intrinsics-hide option: Fortran Dialect Options. + * -fbounds-check option: Code Gen Options. + * -fcaller-saves option: Optimize Options. + * -fcase-initcap option: Fortran Dialect Options. + * -fcase-lower option: Fortran Dialect Options. + * -fcase-preserve option: Fortran Dialect Options. + * -fcase-strict-lower option: Fortran Dialect Options. + * -fcase-strict-upper option: Fortran Dialect Options. + * -fcase-upper option: Fortran Dialect Options. + * -fdelayed-branch option: Optimize Options. + * -fdollar-ok option: Fortran Dialect Options. + * -femulate-complex option: Code Gen Options. + * -fexpensive-optimizations option: Optimize Options. + * -ff2c-intrinsics-delete option: Fortran Dialect Options. + * -ff2c-intrinsics-disable option: Fortran Dialect Options. + * -ff2c-intrinsics-enable option: Fortran Dialect Options. + * -ff2c-intrinsics-hide option: Fortran Dialect Options. + * -ff2c-library option: Code Gen Options. + * -ff66 option: Shorthand Options. + * -ff77 option: Shorthand Options. + * -ff90: Fortran 90 Features. + * -ff90 option: Fortran Dialect Options. + * -ff90-intrinsics-delete option: Fortran Dialect Options. + * -ff90-intrinsics-disable option: Fortran Dialect Options. + * -ff90-intrinsics-enable option: Fortran Dialect Options. + * -ff90-intrinsics-hide option: Fortran Dialect Options. + * -ffast-math option: Optimize Options. + * -ffixed-line-length-N option: Fortran Dialect Options. + * -fflatten-arrays option: Code Gen Options. + * -ffloat-store option: Optimize Options. + * -fforce-addr option: Optimize Options. + * -fforce-mem option: Optimize Options. + * -ffortran-bounds-check option: Code Gen Options. + * -ffree-form: Fortran 90 Features. + * -ffree-form option: Fortran Dialect Options. + * -fgnu-intrinsics-delete option: Fortran Dialect Options. + * -fgnu-intrinsics-disable option: Fortran Dialect Options. + * -fgnu-intrinsics-enable option: Fortran Dialect Options. + * -fgnu-intrinsics-hide option: Fortran Dialect Options. + * -fGROUP-intrinsics-hide option: Overly Convenient Options. + * -finit-local-zero option <1>: Overly Convenient Options. + * -finit-local-zero option: Code Gen Options. + * -fintrin-case-any option: Fortran Dialect Options. + * -fintrin-case-initcap option: Fortran Dialect Options. + * -fintrin-case-lower option: Fortran Dialect Options. + * -fintrin-case-upper option: Fortran Dialect Options. + * -fmatch-case-any option: Fortran Dialect Options. + * -fmatch-case-initcap option: Fortran Dialect Options. + * -fmatch-case-lower option: Fortran Dialect Options. + * -fmatch-case-upper option: Fortran Dialect Options. + * -fmil-intrinsics-delete option: Fortran Dialect Options. + * -fmil-intrinsics-disable option: Fortran Dialect Options. + * -fmil-intrinsics-enable option: Fortran Dialect Options. + * -fmil-intrinsics-hide option: Fortran Dialect Options. + * -fno-argument-noalias-global option <1>: Aliasing Assumed To Work. + * -fno-argument-noalias-global option: Code Gen Options. + * -fno-automatic option <1>: Overly Convenient Options. + * -fno-automatic option: Code Gen Options. + * -fno-backslash option: Fortran Dialect Options. + * -fno-common option: Code Gen Options. + * -fno-f2c option <1>: Avoid f2c Compatibility. + * -fno-f2c option: Code Gen Options. + * -fno-f77 option: Shorthand Options. + * -fno-fixed-form option: Fortran Dialect Options. + * -fno-globals option: Code Gen Options. + * -fno-ident option: Code Gen Options. + * -fno-inline option: Optimize Options. + * -fno-move-all-movables option: Optimize Options. + * -fno-reduce-all-givs option: Optimize Options. + * -fno-rerun-loop-opt option: Optimize Options. + * -fno-second-underscore: f2c Skeletons and Prototypes. + * -fno-second-underscore option <1>: Names. + * -fno-second-underscore option: Code Gen Options. + * -fno-silent option: Overall Options. + * -fno-trapping-math option: Optimize Options. + * -fno-ugly option: Shorthand Options. + * -fno-ugly-args option: Fortran Dialect Options. + * -fno-ugly-init option: Fortran Dialect Options. + * -fno-underscoring option <1>: Names. + * -fno-underscoring option: Code Gen Options. + * -fonetrip option: Fortran Dialect Options. + * -fpack-struct option: Code Gen Options. + * -fpcc-struct-return option: Code Gen Options. + * -fpedantic option: Warning Options. + * -fPIC option: News. + * -freg-struct-return option: Code Gen Options. + * -frerun-cse-after-loop option: Optimize Options. + * -fschedule-insns option: Optimize Options. + * -fschedule-insns2 option: Optimize Options. + * -fset-g77-defaults option: Overall Options. + * -fshort-double option: Code Gen Options. + * -fsource-case-lower option: Fortran Dialect Options. + * -fsource-case-preserve option: Fortran Dialect Options. + * -fsource-case-upper option: Fortran Dialect Options. + * -fstrength-reduce option: Optimize Options. + * -fsymbol-case-any option: Fortran Dialect Options. + * -fsymbol-case-initcap option: Fortran Dialect Options. + * -fsymbol-case-lower option: Fortran Dialect Options. + * -fsymbol-case-upper option: Fortran Dialect Options. + * -fsyntax-only option: Warning Options. + * -ftypeless-boz option: Fortran Dialect Options. + * -fugly option: Shorthand Options. + * -fugly-assign option: Fortran Dialect Options. + * -fugly-assumed option: Fortran Dialect Options. + * -fugly-comma option: Fortran Dialect Options. + * -fugly-complex option: Fortran Dialect Options. + * -fugly-logint option: Fortran Dialect Options. + * -funix-intrinsics-delete option: Fortran Dialect Options. + * -funix-intrinsics-disable option: Fortran Dialect Options. + * -funix-intrinsics-enable option: Fortran Dialect Options. + * -funix-intrinsics-hide option: Fortran Dialect Options. + * -funroll-all-loops option: Optimize Options. + * -funroll-loops option: Optimize Options. + * -funsafe-math-optimizations option: Optimize Options. + * -fversion option: Overall Options. + * -fvxt option: Fortran Dialect Options. + * -fvxt-intrinsics-delete option: Fortran Dialect Options. + * -fvxt-intrinsics-disable option: Fortran Dialect Options. + * -fvxt-intrinsics-enable option: Fortran Dialect Options. + * -fvxt-intrinsics-hide option: Fortran Dialect Options. + * -fzeros option: Code Gen Options. + * -g option: Debugging Options. + * -I- option: Directory Options. + * -i8: Increasing Precision/Range. + * -Idir option: Directory Options. + * -malign-double <1>: Changes. + * -malign-double: News. + * -malign-double option <1>: Aligned Data. + * -malign-double option: Optimize Options. + * -Nl option: Compiler Limits. + * -Nx option: Compiler Limits. + * -O2: News. + * -pedantic option: Warning Options. + * -pedantic-errors option: Warning Options. + * -qrealsize=8: Increasing Precision/Range. + * -r8: Increasing Precision/Range. + * -u option: Warning Options. + * -v option: G77 and GCC. + * -W option: Warning Options. + * -w option: Warning Options. + * -Waggregate-return option: Warning Options. + * -Wall option: Warning Options. + * -Wcomment option: Warning Options. + * -Wconversion option: Warning Options. + * -Werror option: Warning Options. + * -Wformat option: Warning Options. + * -Wid-clash-LEN option: Warning Options. + * -Wimplicit option: Warning Options. + * -Wlarger-than-LEN option: Warning Options. + * -Wno-globals option: Warning Options. + * -Wparentheses option: Warning Options. + * -Wredundant-decls option: Warning Options. + * -Wshadow option: Warning Options. + * -Wsurprising option: Warning Options. + * -Wswitch option: Warning Options. + * -Wtraditional option: Warning Options. + * -Wuninitialized option: Warning Options. + * -Wunused option: Warning Options. + * -x f77-cpp-input option: LEX. + * .EQV., with integer operands: Equivalence Versus Equality. + * .F filename suffix: Overall Options. + * .f filename suffix: Overall Options. + * .FOR filename suffix: Overall Options. + * .for filename suffix: Overall Options. + * .FPP filename suffix: Overall Options. + * .fpp filename suffix: Overall Options. + * .gdbinit: Main Program Unit. + * .r filename suffix: Overall Options. + * /* <1>: Trailing Comment. + * /*: Overall Options. + * /WARNINGS=DECLARATIONS switch: Warning Options. + * 80-bit spills: Floating-point Errors. + * ; <1>: Character Set. + * ;: Statements Comments Lines. + * <: Character Set. + * <> edit descriptor: I/O. + * >: Character Set. + * ?: Character Set. + * \: Character Set. + * _: Character Set. + * Abort intrinsic: Abort Intrinsic. + * Abs intrinsic: Abs Intrinsic. + * ACCEPT statement: TYPE and ACCEPT I/O Statements. + * Access intrinsic: Access Intrinsic. + * AChar intrinsic: AChar Intrinsic. + * ACos intrinsic: ACos Intrinsic. + * ACosD intrinsic: ACosD Intrinsic. + * adding options: Adding Options. + * adjustable arrays: Adjustable Arrays. + * AdjustL intrinsic: AdjustL Intrinsic. + * AdjustR intrinsic: AdjustR Intrinsic. + * AImag intrinsic <1>: AImag Intrinsic. + * AImag intrinsic: REAL() and AIMAG() of Complex. + * AIMax0 intrinsic: AIMax0 Intrinsic. + * AIMin0 intrinsic: AIMin0 Intrinsic. + * AInt intrinsic: AInt Intrinsic. + * AJMax0 intrinsic: AJMax0 Intrinsic. + * AJMin0 intrinsic: AJMin0 Intrinsic. + * Alarm intrinsic: Alarm Intrinsic. + * aliasing <1>: Known Bugs. + * aliasing: Aliasing Assumed To Work. + * aligned data: Aligned Data. + * aligned stack: Aligned Data. + * alignment <1>: Aligned Data. + * alignment <2>: Changes. + * alignment: News. + * alignment testing: Aligned Data. + * All intrinsic: All Intrinsic. + * all warnings: Warning Options. + * Allocated intrinsic: Allocated Intrinsic. + * ALog intrinsic: ALog Intrinsic. + * ALog10 intrinsic: ALog10 Intrinsic. + * Alpha, support: Known Bugs. + * alternate entry points: Alternate Entry Points. + * alternate returns: Alternate Returns. + * ALWAYS_FLUSH: Output Assumed To Flush. + * AMax0 intrinsic: AMax0 Intrinsic. + * AMax1 intrinsic: AMax1 Intrinsic. + * AMin0 intrinsic: AMin0 Intrinsic. + * AMin1 intrinsic: AMin1 Intrinsic. + * AMod intrinsic: AMod Intrinsic. + * ampersand: Character Set. + * ampersand continuation line: Ampersands. + * And intrinsic <1>: Bit Operations on Floating-point Data. + * And intrinsic: And Intrinsic. + * ANInt intrinsic: ANInt Intrinsic. + * ANS carriage control: OPEN CLOSE and INQUIRE Keywords. + * ANSI FORTRAN 77 standard: Language. + * ANSI FORTRAN 77 support: Standard Support. + * anti-aliasing: Aliasing Assumed To Work. + * Any intrinsic: Any Intrinsic. + * arguments, null: Ugly Null Arguments. + * arguments, omitting: Ugly Null Arguments. + * arguments, unused <1>: Unused Arguments. + * arguments, unused: Warning Options. + * array bounds checking: Code Gen Options. + * array bounds, adjustable: Array Bounds Expressions. + * array elements, in adjustable array bounds: Array Bounds Expressions. + * array ordering: Arrays. + * array performance: Code Gen Options. + * array size: Array Size. + * arrays: Arrays. + * arrays, adjustable: Adjustable Arrays. + * arrays, assumed-size: Ugly Assumed-Size Arrays. + * arrays, automatic <1>: Large Automatic Arrays. + * arrays, automatic <2>: Stack Overflow. + * arrays, automatic <3>: Overly Convenient Options. + * arrays, automatic: Adjustable Arrays. + * arrays, dimensioning <1>: Adjustable Arrays. + * arrays, dimensioning: Array Size. + * arrays, flattening: Code Gen Options. + * as command: What is GNU Fortran?. + * ASin intrinsic: ASin Intrinsic. + * ASinD intrinsic: ASinD Intrinsic. + * assembler: What is GNU Fortran?. + * assembly code: What is GNU Fortran?. + * assembly code, invalid: Bug Criteria. + * ASSIGN statement <1>: Assigned Statement Labels. + * ASSIGN statement: Ugly Assigned Labels. + * assigned labels: Ugly Assigned Labels. + * assigned statement labels: Assigned Statement Labels. + * Associated intrinsic: Associated Intrinsic. + * association, storage: Aliasing Assumed To Work. + * assumed-size arrays: Ugly Assumed-Size Arrays. + * asterisk: LEX. + * ATan intrinsic: ATan Intrinsic. + * ATan2 intrinsic: ATan2 Intrinsic. + * ATan2D intrinsic: ATan2D Intrinsic. + * ATanD intrinsic: ATanD Intrinsic. + * automatic arrays <1>: Large Automatic Arrays. + * automatic arrays <2>: Stack Overflow. + * automatic arrays <3>: Overly Convenient Options. + * automatic arrays: Adjustable Arrays. + * AUTOMATIC statement: AUTOMATIC Statement. + * automatic variables: AUTOMATIC Statement. + * back end, gcc <1>: Philosophy of Code Generation. + * back end, gcc: What is GNU Fortran?. + * backslash <1>: Backslash in Constants. + * backslash <2>: Character Set. + * backslash: Fortran Dialect Options. + * backtrace for bug reports: Bug Reporting. + * badu77 intrinsics: Fortran Dialect Options. + * badu77 intrinsics group: Intrinsic Groups. + * basic concepts: What is GNU Fortran?. + * Bear-poking: Philosophy of Code Generation. + * beginners: Getting Started. + * BesJ0 intrinsic: BesJ0 Intrinsic. + * BesJ1 intrinsic: BesJ1 Intrinsic. + * BesJN intrinsic: BesJN Intrinsic. + * BesY0 intrinsic: BesY0 Intrinsic. + * BesY1 intrinsic: BesY1 Intrinsic. + * BesYN intrinsic: BesYN Intrinsic. + * binary data: Portable Unformatted Files. + * Bit_Size intrinsic: Bit_Size Intrinsic. + * BITest intrinsic: BITest Intrinsic. + * BJTest intrinsic: BJTest Intrinsic. + * blank <1>: Lines. + * blank: Character Set. + * block data: Multiple Definitions of External Names. + * block data and libraries: Block Data and Libraries. + * BLOCK DATA statement <1>: Multiple Definitions of External Names. + * BLOCK DATA statement: Block Data and Libraries. + * bounds checking: Code Gen Options. + * BTest intrinsic: BTest Intrinsic. + * bug criteria: Bug Criteria. + * bug report mailing lists: Bug Lists. + * bugs: Bugs. + * bugs, finding: What is GNU Fortran?. + * bugs, known: Trouble. + * bus error <1>: Strange Behavior at Run Time. + * bus error: NeXTStep Problems. + * but-bugs: But-bugs. + * byte ordering: Portable Unformatted Files. + * C library: Strange Behavior at Run Time. + * C preprocessor: Overall Options. + * C routines calling Fortran: Debugging and Interfacing. + * C++: C++ Considerations. + * C++, linking with: Interoperating with C and C++. + * C, linking with: Interoperating with C and C++. + * CAbs intrinsic: CAbs Intrinsic. + * calling C routines: Debugging and Interfacing. + * card image: Fortran Dialect Options. + * carriage control: OPEN CLOSE and INQUIRE Keywords. + * carriage returns: Carriage Returns. + * case sensitivity: Case Sensitivity. + * cc1 program: What is GNU Fortran?. + * cc1plus program: What is GNU Fortran?. + * CCos intrinsic: CCos Intrinsic. + * CDAbs intrinsic: CDAbs Intrinsic. + * CDCos intrinsic: CDCos Intrinsic. + * CDExp intrinsic: CDExp Intrinsic. + * CDLog intrinsic: CDLog Intrinsic. + * CDSin intrinsic: CDSin Intrinsic. + * CDSqRt intrinsic: CDSqRt Intrinsic. + * Ceiling intrinsic: Ceiling Intrinsic. + * CExp intrinsic: CExp Intrinsic. + * cfortran.h: C Interfacing Tools. + * changes, user-visible: Changes. + * Char intrinsic: Char Intrinsic. + * character assignments: Fortran 90 Features. + * character constants <1>: Character and Hollerith Constants. + * character constants <2>: Ugly Conversion of Initializers. + * character constants <3>: Double Quote Meaning. + * character constants: Fortran Dialect Options. + * character set: Fortran Dialect Options. + * CHARACTER*(*): Arbitrary Concatenation. + * CHARACTER, null: Character Type. + * character-variable length: Character-variable Length. + * characters: Character Set. + * characters, comma: Ugly Null Arguments. + * characters, comment <1>: LEX. + * characters, comment <2>: Exclamation Point. + * characters, comment <3>: Trailing Comment. + * characters, comment: Statements Comments Lines. + * characters, continuation <1>: LEX. + * characters, continuation <2>: Exclamation Point. + * characters, continuation: Statements Comments Lines. + * ChDir intrinsic <1>: ChDir Intrinsic (function). + * ChDir intrinsic: ChDir Intrinsic (subroutine). + * checking subscripts: Code Gen Options. + * checking substrings: Code Gen Options. + * checks, of internal consistency: Overall Options. + * ChMod intrinsic <1>: ChMod Intrinsic (function). + * ChMod intrinsic: ChMod Intrinsic (subroutine). + * CLog intrinsic: CLog Intrinsic. + * close angle: Character Set. + * close bracket: Character Set. + * CLOSE statement: OPEN CLOSE and INQUIRE Keywords. + * Cmplx intrinsic <1>: Cmplx Intrinsic. + * Cmplx intrinsic: CMPLX() of DOUBLE PRECISION. + * code generation, conventions: Code Gen Options. + * code generation, improving: Better Optimization. + * code generator <1>: Philosophy of Code Generation. + * code generator: What is GNU Fortran?. + * code, assembly: What is GNU Fortran?. + * code, displaying main source: Known Bugs. + * code, in-line: What is GNU Fortran?. + * code, legacy: Collected Fortran Wisdom. + * code, machine: What is GNU Fortran?. + * code, source <1>: Case Sensitivity. + * code, source <2>: Source Form. + * code, source <3>: Lines. + * code, source: What is GNU Fortran?. + * code, user: Cannot Link Fortran Programs. + * code, writing: Collected Fortran Wisdom. + * column-major ordering: Arrays. + * columns 73 through 80: Better Source Model. + * comma, trailing: Ugly Null Arguments. + * command options: Invoking G77. + * commands, as: What is GNU Fortran?. + * commands, g77 <1>: G77 and GCC. + * commands, g77: What is GNU Fortran?. + * commands, gcc <1>: G77 and GCC. + * commands, gcc: What is GNU Fortran?. + * commands, gdb: What is GNU Fortran?. + * commands, ld: What is GNU Fortran?. + * comment <1>: LEX. + * comment <2>: Trailing Comment. + * comment: Statements Comments Lines. + * comment character: Exclamation Point. + * comment line, debug <1>: Enabling Debug Lines. + * comment line, debug: Debug Line. + * common blocks <1>: Mangling of Names. + * common blocks <2>: Known Bugs. + * common blocks: Common Blocks. + * common blocks, large: Large Common Blocks. + * COMMON layout: Aligned Data. + * COMMON statement <1>: Multiple Definitions of External Names. + * COMMON statement: Common Blocks. + * comparing logical expressions: Equivalence Versus Equality. + * compatibility, f2c <1>: Avoid f2c Compatibility. + * compatibility, f2c <2>: Block Data and Libraries. + * compatibility, f2c <3>: Code Gen Options. + * compatibility, f2c <4>: Shorthand Options. + * compatibility, f2c: Overall Options. + * compatibility, f77: Shorthand Options. + * compatibility, FORTRAN 66 <1>: Fortran Dialect Options. + * compatibility, FORTRAN 66: Shorthand Options. + * compatibility, FORTRAN 77: Standard Support. + * compatibility, Fortran 90: Fortran 90. + * compilation, in-line <1>: GLOBALS. + * compilation, in-line <2>: Code Gen Options. + * compilation, in-line: Optimize Options. + * compilation, pedantic: Pedantic Compilation. + * compilation, status: Overall Options. + * compiler bugs, reporting: Bug Reporting. + * compiler limits: Compiler Limits. + * compiler memory usage: Known Bugs. + * compiler speed: Known Bugs. + * compilers: What is GNU Fortran?. + * compiling programs: G77 and GCC. + * Complex intrinsic: Complex Intrinsic. + * COMPLEX intrinsics: Fortran Dialect Options. + * complex performance: Known Bugs. + * COMPLEX statement: Complex Variables. + * complex values: Ugly Complex Part Extraction. + * complex variables: Complex Variables. + * COMPLEX(KIND=1) type: Compiler Types. + * COMPLEX(KIND=2) type: Compiler Types. + * components of g77: What is GNU Fortran?. + * concatenation: Arbitrary Concatenation. + * concepts, basic: What is GNU Fortran?. + * conformance, IEEE 754 <1>: Floating-point precision. + * conformance, IEEE 754: Optimize Options. + * Conjg intrinsic: Conjg Intrinsic. + * consistency checks: Overall Options. + * constants <1>: Compiler Constants. + * constants: Constants. + * constants, character <1>: Character and Hollerith Constants. + * constants, character <2>: Ugly Conversion of Initializers. + * constants, character: Double Quote Meaning. + * constants, context-sensitive: Context-Sensitive Constants. + * constants, Hollerith <1>: Character and Hollerith Constants. + * constants, Hollerith <2>: Ugly Conversion of Initializers. + * constants, Hollerith: Ugly Implicit Argument Conversion. + * constants, integer: Known Bugs. + * constants, octal: Double Quote Meaning. + * constants, prefix-radix: Fortran Dialect Options. + * constants, types: Fortran Dialect Options. + * construct names: Construct Names. + * context-sensitive constants: Context-Sensitive Constants. + * context-sensitive intrinsics: Context-Sensitive Intrinsicness. + * continuation character <1>: LEX. + * continuation character <2>: Exclamation Point. + * continuation character: Statements Comments Lines. + * continuation line, ampersand: Ampersands. + * continuation line, number of: Continuation Line. + * contributors: Contributors. + * conversions, nonportable: Nonportable Conversions. + * core dump: Bug Criteria. + * Cos intrinsic: Cos Intrinsic. + * CosD intrinsic: CosD Intrinsic. + * CosH intrinsic: CosH Intrinsic. + * Count intrinsic: Count Intrinsic. + * cpp preprocessor: Overall Options. + * cpp program <1>: LEX. + * cpp program <2>: Bug Reporting. + * cpp program <3>: Preprocessor Options. + * cpp program <4>: Overall Options. + * cpp program: What is GNU Fortran?. + * CPU_Time intrinsic: CPU_Time Intrinsic. + * Cray pointers: POINTER Statements. + * credits: Contributors. + * CShift intrinsic: CShift Intrinsic. + * CSin intrinsic: CSin Intrinsic. + * CSqRt intrinsic: CSqRt Intrinsic. + * CTime intrinsic <1>: CTime Intrinsic (function). + * CTime intrinsic: CTime Intrinsic (subroutine). + * CYCLE statement: CYCLE and EXIT. + * DAbs intrinsic: DAbs Intrinsic. + * DACos intrinsic: DACos Intrinsic. + * DACosD intrinsic: DACosD Intrinsic. + * DASin intrinsic: DASin Intrinsic. + * DASinD intrinsic: DASinD Intrinsic. + * DATA statement <1>: Known Bugs. + * DATA statement: Code Gen Options. + * data types: Compiler Types. + * data, aligned: Aligned Data. + * data, overwritten: Strange Behavior at Run Time. + * DATan intrinsic: DATan Intrinsic. + * DATan2 intrinsic: DATan2 Intrinsic. + * DATan2D intrinsic: DATan2D Intrinsic. + * DATanD intrinsic: DATanD Intrinsic. + * Date intrinsic: Date Intrinsic. + * Date_and_Time intrinsic: Date_and_Time Intrinsic. + * date_y2kbuggy_0: Year 2000 (Y2K) Problems. + * DbesJ0 intrinsic: DbesJ0 Intrinsic. + * DbesJ1 intrinsic: DbesJ1 Intrinsic. + * DbesJN intrinsic: DbesJN Intrinsic. + * DbesY0 intrinsic: DbesY0 Intrinsic. + * DbesY1 intrinsic: DbesY1 Intrinsic. + * DbesYN intrinsic: DbesYN Intrinsic. + * Dble intrinsic: Dble Intrinsic. + * DbleQ intrinsic: DbleQ Intrinsic. + * DCmplx intrinsic: DCmplx Intrinsic. + * DConjg intrinsic: DConjg Intrinsic. + * DCos intrinsic: DCos Intrinsic. + * DCosD intrinsic: DCosD Intrinsic. + * DCosH intrinsic: DCosH Intrinsic. + * DDiM intrinsic: DDiM Intrinsic. + * debug line <1>: Enabling Debug Lines. + * debug line: Debug Line. + * debug_rtx: Bug Reporting. + * debugger <1>: Known Bugs. + * debugger: What is GNU Fortran?. + * debugging <1>: Names. + * debugging <2>: Main Program Unit. + * debugging: Debugging and Interfacing. + * debugging information options: Debugging Options. + * debugging main source code: Known Bugs. + * DECODE statement: ENCODE and DECODE. + * deleted intrinsics: Intrinsic Groups. + * DErF intrinsic: DErF Intrinsic. + * DErFC intrinsic: DErFC Intrinsic. + * DExp intrinsic: DExp Intrinsic. + * DFloat intrinsic: DFloat Intrinsic. + * DFlotI intrinsic: DFlotI Intrinsic. + * DFlotJ intrinsic: DFlotJ Intrinsic. + * diagnostics: Diagnostics. + * diagnostics, incorrect: What is GNU Fortran?. + * dialect options: Fortran Dialect Options. + * Digital Fortran features: Fortran Dialect Options. + * Digits intrinsic: Digits Intrinsic. + * DiM intrinsic: DiM Intrinsic. + * DImag intrinsic: DImag Intrinsic. + * DIMENSION statement <1>: Array Bounds Expressions. + * DIMENSION statement <2>: Adjustable Arrays. + * DIMENSION statement: Arrays. + * DIMENSION X(1): Ugly Assumed-Size Arrays. + * dimensioning arrays: Adjustable Arrays. + * DInt intrinsic: DInt Intrinsic. + * direction of language development: Direction of Language Development. + * directive, #include: Bug Reporting. + * directive, INCLUDE <1>: Bug Reporting. + * directive, INCLUDE <2>: Directory Options. + * directive, INCLUDE: Preprocessor Options. + * directory, options: Directory Options. + * directory, search paths for inclusion: Directory Options. + * disabled intrinsics: Intrinsic Groups. + * disk full: Output Assumed To Flush. + * displaying main source code: Known Bugs. + * disposition of files: OPEN CLOSE and INQUIRE Keywords. + * distensions: Distensions. + * DLog intrinsic: DLog Intrinsic. + * DLog10 intrinsic: DLog10 Intrinsic. + * DMax1 intrinsic: DMax1 Intrinsic. + * DMin1 intrinsic: DMin1 Intrinsic. + * DMod intrinsic: DMod Intrinsic. + * DNInt intrinsic: DNInt Intrinsic. + * DNRM2: News. + * DO: DO WHILE. + * DO loops, one-trip: Fortran Dialect Options. + * DO loops, zero-trip: Fortran Dialect Options. + * DO statement <1>: Loops. + * DO statement: Warning Options. + * DO WHILE <1>: DO WHILE. + * DO WHILE: Optimize Options. + * dollar sign <1>: Dollar Signs. + * dollar sign <2>: I/O. + * dollar sign: Fortran Dialect Options. + * Dot_Product intrinsic: Dot_Product Intrinsic. + * DOUBLE COMPLEX: DOUBLE COMPLEX. + * DOUBLE COMPLEX type: Compiler Types. + * DOUBLE PRECISION type: Compiler Types. + * double quote: Character Set. + * double quoted character constants <1>: Fortran 90 Features. + * double quoted character constants: Character Type. + * double quotes: Double Quote Meaning. + * double-precision performance <1>: Changes. + * double-precision performance: News. + * DProd intrinsic: DProd Intrinsic. + * DReal intrinsic: DReal Intrinsic. + * driver, gcc command as: What is GNU Fortran?. + * DSign intrinsic: DSign Intrinsic. + * DSin intrinsic: DSin Intrinsic. + * DSinD intrinsic: DSinD Intrinsic. + * DSinH intrinsic: DSinH Intrinsic. + * DSqRt intrinsic: DSqRt Intrinsic. + * DTan intrinsic: DTan Intrinsic. + * DTanD intrinsic: DTanD Intrinsic. + * DTanH intrinsic: DTanH Intrinsic. + * DTime intrinsic <1>: DTime Intrinsic (function). + * DTime intrinsic: DTime Intrinsic (subroutine). + * dummies, unused: Warning Options. + * edit descriptor, <>: I/O. + * edit descriptor, O: I/O. + * edit descriptor, Q: Q Edit Descriptor. + * edit descriptor, Z <1>: Fortran 90 Features. + * edit descriptor, Z: I/O. + * effecting IMPLICIT NONE: Warning Options. + * efficiency: Efficiency. + * ELF support: News. + * empty CHARACTER strings: Character Type. + * enabled intrinsics: Intrinsic Groups. + * ENCODE statement: ENCODE and DECODE. + * END DO: END DO. + * entry points: Alternate Entry Points. + * ENTRY statement: Alternate Entry Points. + * environment variables: Environment Variables. + * EOShift intrinsic: EOShift Intrinsic. + * Epsilon intrinsic: Epsilon Intrinsic. + * equivalence areas <1>: Known Bugs. + * equivalence areas: Local Equivalence Areas. + * EQUIVALENCE statement: Local Equivalence Areas. + * ErF intrinsic: ErF Intrinsic. + * ErFC intrinsic: ErFC Intrinsic. + * error messages <1>: Warnings and Errors. + * error messages: Run-time Library Errors. + * error messages, incorrect: What is GNU Fortran?. + * error values: Run-time Library Errors. + * errors, linker: Large Common Blocks. + * ETime intrinsic <1>: ETime Intrinsic (function). + * ETime intrinsic: ETime Intrinsic (subroutine). + * exceptions, floating-point: Floating-point Exception Handling. + * exclamation point <1>: LEX. + * exclamation point <2>: Exclamation Point. + * exclamation point <3>: Trailing Comment. + * exclamation point <4>: Character Set. + * exclamation point: Statements Comments Lines. + * executable file: What is GNU Fortran?. + * Exit intrinsic: Exit Intrinsic. + * EXIT statement: CYCLE and EXIT. + * Exp intrinsic: Exp Intrinsic. + * Exponent intrinsic: Exponent Intrinsic. + * extended-source option: Fortran Dialect Options. + * extensions, file name: Overall Options. + * extensions, from Fortran 90: Fortran 90 Features. + * extensions, more: More Extensions. + * extensions, VXT: VXT Fortran. + * external names: Mangling of Names. + * extra warnings: Warning Options. + * f2c: Increasing Precision/Range. + * f2c compatibility <1>: Avoid f2c Compatibility. + * f2c compatibility <2>: Block Data and Libraries. + * f2c compatibility <3>: Debugging and Interfacing. + * f2c compatibility <4>: Code Gen Options. + * f2c compatibility <5>: Shorthand Options. + * f2c compatibility: Overall Options. + * f2c intrinsics: Fortran Dialect Options. + * f2c intrinsics group: Intrinsic Groups. + * f77 compatibility: Shorthand Options. + * f77 support: Backslash in Constants. + * f771, program: What is GNU Fortran?. + * f90 intrinsics group: Intrinsic Groups. + * fatal signal: Bug Criteria. + * FDate intrinsic <1>: FDate Intrinsic (function). + * FDate intrinsic: FDate Intrinsic (subroutine). + * FDL, GNU Free Documentation License: GNU Free Documentation License. + * features, language: Direction of Language Development. + * features, ugly <1>: Distensions. + * features, ugly: Shorthand Options. + * FFE <1>: Front End. + * FFE: What is GNU Fortran?. + * fflush(): Output Assumed To Flush. + * FGet intrinsic <1>: FGet Intrinsic (function). + * FGet intrinsic: FGet Intrinsic (subroutine). + * FGetC intrinsic <1>: FGetC Intrinsic (function). + * FGetC intrinsic: FGetC Intrinsic (subroutine). + * file format not recognized: What is GNU Fortran?. + * file formats: Portable Unformatted Files. + * file name extension: Overall Options. + * file name suffix: Overall Options. + * file type: Overall Options. + * file, source <1>: Source Form. + * file, source <2>: Lines. + * file, source: What is GNU Fortran?. + * files, executable: What is GNU Fortran?. + * fixed form <1>: Source Form. + * fixed form <2>: Lines. + * fixed form: Fortran Dialect Options. + * Float intrinsic: Float Intrinsic. + * FloatI intrinsic: FloatI Intrinsic. + * floating-point errors: Floating-point Errors. + * floating-point, errors: Inconsistent Calling Sequences. + * floating-point, exceptions: Floating-point Exception Handling. + * floating-point, precision <1>: Floating-point precision. + * floating-point, precision: Optimize Options. + * FloatJ intrinsic: FloatJ Intrinsic. + * Floor intrinsic: Floor Intrinsic. + * Flush intrinsic: Flush Intrinsic. + * flushing output: Output Assumed To Flush. + * FNum intrinsic: FNum Intrinsic. + * FORM='PRINT': OPEN CLOSE and INQUIRE Keywords. + * FORMAT descriptors <1>: Fortran 90 Features. + * FORMAT descriptors: I/O. + * FORMAT statement <1>: Q Edit Descriptor. + * FORMAT statement: Expressions in FORMAT Statements. + * FORTRAN 66 <1>: Fortran Dialect Options. + * FORTRAN 66: Shorthand Options. + * FORTRAN 77 compatibility: Standard Support. + * Fortran 90: Fortran 90 Features. + * Fortran 90, compatibility: Fortran 90. + * Fortran 90, features: Fortran Dialect Options. + * Fortran 90, intrinsics: Fortran Dialect Options. + * Fortran 90, support: Fortran 90 Support. + * Fortran preprocessor: Overall Options. + * forward references: GLOBALS. + * FPE handling: Floating-point Exception Handling. + * FPut intrinsic <1>: FPut Intrinsic (function). + * FPut intrinsic: FPut Intrinsic (subroutine). + * FPutC intrinsic <1>: FPutC Intrinsic (function). + * FPutC intrinsic: FPutC Intrinsic (subroutine). + * Fraction intrinsic: Fraction Intrinsic. + * free form <1>: Source Form. + * free form <2>: Lines. + * free form: Fortran Dialect Options. + * front end, g77 <1>: Front End. + * front end, g77: What is GNU Fortran?. + * FSeek intrinsic: FSeek Intrinsic. + * FSF, funding the: Funding GNU Fortran. + * FStat intrinsic <1>: FStat Intrinsic (function). + * FStat intrinsic: FStat Intrinsic (subroutine). + * FTell intrinsic <1>: FTell Intrinsic (function). + * FTell intrinsic: FTell Intrinsic (subroutine). + * function references, in adjustable array bounds: Array Bounds Expressions. + * FUNCTION statement <1>: Functions. + * FUNCTION statement: Procedures. + * functions: Functions. + * functions, mistyped: Not My Type. + * funding improvements: Funding GNU Fortran. + * funding the FSF: Funding GNU Fortran. + * g77 options, --driver <1>: Changes. + * g77 options, --driver: News. + * g77 options, -v: G77 and GCC. + * g77, command <1>: G77 and GCC. + * g77, command: What is GNU Fortran?. + * g77, components of: What is GNU Fortran?. + * g77, front end <1>: Front End. + * g77, front end: What is GNU Fortran?. + * g77, modifying: Overall Options. + * G77_date_y2kbuggy_0: Year 2000 (Y2K) Problems. + * G77_vxtidate_y2kbuggy_0: Year 2000 (Y2K) Problems. + * GBE <1>: Philosophy of Code Generation. + * GBE: What is GNU Fortran?. + * GBEL: Philosophy of Code Generation. + * gcc, back end <1>: Philosophy of Code Generation. + * gcc, back end: What is GNU Fortran?. + * gcc, command <1>: G77 and GCC. + * gcc, command: What is GNU Fortran?. + * gcc, command as driver: What is GNU Fortran?. + * gcc, not recognizing Fortran source: What is GNU Fortran?. + * gdb, command: What is GNU Fortran?. + * gdb, support: Debugger Problems. + * generic intrinsics: Generics and Specifics. + * GError intrinsic: GError Intrinsic. + * GetArg intrinsic <1>: Main Program Unit. + * GetArg intrinsic: GetArg Intrinsic. + * GetCWD intrinsic <1>: GetCWD Intrinsic (function). + * GetCWD intrinsic: GetCWD Intrinsic (subroutine). + * GetEnv intrinsic: GetEnv Intrinsic. + * GetGId intrinsic: GetGId Intrinsic. + * GetLog intrinsic: GetLog Intrinsic. + * GetPId intrinsic: GetPId Intrinsic. + * getting started: Getting Started. + * GetUId intrinsic: GetUId Intrinsic. + * global names, warning <1>: Code Gen Options. + * global names, warning: Warning Options. + * GMTime intrinsic: GMTime Intrinsic. + * GNU Back End (GBE) <1>: Philosophy of Code Generation. + * GNU Back End (GBE): What is GNU Fortran?. + * GNU Back End Language (GBEL): Philosophy of Code Generation. + * GNU Fortran command options: Invoking G77. + * GNU Fortran Front End (FFE) <1>: Front End. + * GNU Fortran Front End (FFE): What is GNU Fortran?. + * gnu intrinsics group: Intrinsic Groups. + * GOTO statement: Assigned Statement Labels. + * groups of intrinsics: Intrinsic Groups. + * hardware errors: Signal 11 and Friends. + * hash mark: Character Set. + * HDF: Portable Unformatted Files. + * hidden intrinsics: Intrinsic Groups. + * Hollerith constants <1>: Character and Hollerith Constants. + * Hollerith constants <2>: Ugly Conversion of Initializers. + * Hollerith constants <3>: Ugly Implicit Argument Conversion. + * Hollerith constants: Fortran Dialect Options. + * horizontal tab: Tabs. + * HostNm intrinsic <1>: HostNm Intrinsic (function). + * HostNm intrinsic: HostNm Intrinsic (subroutine). + * Huge intrinsic: Huge Intrinsic. + * I/O, errors: Run-time Library Errors. + * I/O, flushing: Output Assumed To Flush. + * IAbs intrinsic: IAbs Intrinsic. + * IAChar intrinsic: IAChar Intrinsic. + * IAnd intrinsic: IAnd Intrinsic. + * IArgC intrinsic <1>: Main Program Unit. + * IArgC intrinsic: IArgC Intrinsic. + * IBClr intrinsic: IBClr Intrinsic. + * IBits intrinsic: IBits Intrinsic. + * IBSet intrinsic: IBSet Intrinsic. + * IChar intrinsic: IChar Intrinsic. + * IDate intrinsic <1>: IDate Intrinsic (VXT). + * IDate intrinsic: IDate Intrinsic (UNIX). + * IDiM intrinsic: IDiM Intrinsic. + * IDInt intrinsic: IDInt Intrinsic. + * IDNInt intrinsic: IDNInt Intrinsic. + * IEEE 754 conformance <1>: Floating-point precision. + * IEEE 754 conformance: Optimize Options. + * IEOr intrinsic: IEOr Intrinsic. + * IErrNo intrinsic: IErrNo Intrinsic. + * IFix intrinsic: IFix Intrinsic. + * IIAbs intrinsic: IIAbs Intrinsic. + * IIAnd intrinsic: IIAnd Intrinsic. + * IIBClr intrinsic: IIBClr Intrinsic. + * IIBits intrinsic: IIBits Intrinsic. + * IIBSet intrinsic: IIBSet Intrinsic. + * IIDiM intrinsic: IIDiM Intrinsic. + * IIDInt intrinsic: IIDInt Intrinsic. + * IIDNnt intrinsic: IIDNnt Intrinsic. + * IIEOr intrinsic: IIEOr Intrinsic. + * IIFix intrinsic: IIFix Intrinsic. + * IInt intrinsic: IInt Intrinsic. + * IIOr intrinsic: IIOr Intrinsic. + * IIQint intrinsic: IIQint Intrinsic. + * IIQNnt intrinsic: IIQNnt Intrinsic. + * IIShftC intrinsic: IIShftC Intrinsic. + * IISign intrinsic: IISign Intrinsic. + * illegal unit number: Large File Unit Numbers. + * Imag intrinsic: Imag Intrinsic. + * imaginary part <1>: Complex Variables. + * imaginary part: Ugly Complex Part Extraction. + * ImagPart intrinsic: ImagPart Intrinsic. + * IMax0 intrinsic: IMax0 Intrinsic. + * IMax1 intrinsic: IMax1 Intrinsic. + * IMin0 intrinsic: IMin0 Intrinsic. + * IMin1 intrinsic: IMin1 Intrinsic. + * IMod intrinsic: IMod Intrinsic. + * IMPLICIT CHARACTER*(*) statement: Limitation on Implicit Declarations. + * implicit declaration, warning: Warning Options. + * IMPLICIT NONE, similar effect: Warning Options. + * implicit typing: Not My Type. + * improvements, funding: Funding GNU Fortran. + * in-line code <1>: GLOBALS. + * in-line code <2>: Code Gen Options. + * in-line code <3>: Optimize Options. + * in-line code: What is GNU Fortran?. + * INCLUDE directive <1>: Bug Reporting. + * INCLUDE directive <2>: INCLUDE. + * INCLUDE directive <3>: Directory Options. + * INCLUDE directive: Preprocessor Options. + * included files: Bug Reporting. + * inclusion, directory search paths for: Directory Options. + * inconsistent floating-point results: Floating-point Errors. + * incorrect diagnostics: What is GNU Fortran?. + * incorrect error messages: What is GNU Fortran?. + * incorrect use of language: What is GNU Fortran?. + * increasing maximum unit number: Large File Unit Numbers. + * increasing precision: Increasing Precision/Range. + * increasing range: Increasing Precision/Range. + * Index intrinsic: Index Intrinsic. + * indexed (iterative) DO: Optimize Options. + * infinite spaces printed: Strange Behavior at Run Time. + * INInt intrinsic: INInt Intrinsic. + * initialization, bug: Known Bugs. + * initialization, of local variables: Code Gen Options. + * initialization, run-time: Startup Code. + * initialization, statement placement: Initializing Before Specifying. + * INot intrinsic: INot Intrinsic. + * INQUIRE statement: OPEN CLOSE and INQUIRE Keywords. + * installation trouble: Trouble. + * Int intrinsic: Int Intrinsic. + * Int2 intrinsic: Int2 Intrinsic. + * Int8 intrinsic: Int8 Intrinsic. + * integer constants: Known Bugs. + * INTEGER(KIND=1) type: Compiler Types. + * INTEGER(KIND=2) type: Compiler Types. + * INTEGER(KIND=3) type: Compiler Types. + * INTEGER(KIND=6) type: Compiler Types. + * INTEGER*2 support: Popular Non-standard Types. + * INTEGER*8 support: Full Support for Compiler Types. + * Intel x86: News. + * interfacing: Debugging and Interfacing. + * internal consistency checks: Overall Options. + * intrinsics, Abort: Abort Intrinsic. + * intrinsics, Abs: Abs Intrinsic. + * intrinsics, Access: Access Intrinsic. + * intrinsics, AChar: AChar Intrinsic. + * intrinsics, ACos: ACos Intrinsic. + * intrinsics, ACosD: ACosD Intrinsic. + * intrinsics, AdjustL: AdjustL Intrinsic. + * intrinsics, AdjustR: AdjustR Intrinsic. + * intrinsics, AImag <1>: AImag Intrinsic. + * intrinsics, AImag: REAL() and AIMAG() of Complex. + * intrinsics, AIMax0: AIMax0 Intrinsic. + * intrinsics, AIMin0: AIMin0 Intrinsic. + * intrinsics, AInt: AInt Intrinsic. + * intrinsics, AJMax0: AJMax0 Intrinsic. + * intrinsics, AJMin0: AJMin0 Intrinsic. + * intrinsics, Alarm: Alarm Intrinsic. + * intrinsics, All: All Intrinsic. + * intrinsics, Allocated: Allocated Intrinsic. + * intrinsics, ALog: ALog Intrinsic. + * intrinsics, ALog10: ALog10 Intrinsic. + * intrinsics, AMax0: AMax0 Intrinsic. + * intrinsics, AMax1: AMax1 Intrinsic. + * intrinsics, AMin0: AMin0 Intrinsic. + * intrinsics, AMin1: AMin1 Intrinsic. + * intrinsics, AMod: AMod Intrinsic. + * intrinsics, And <1>: Bit Operations on Floating-point Data. + * intrinsics, And: And Intrinsic. +