From 8182dc46dcab34bf325d0cb13b0c8b3617124a0b Mon Sep 17 00:00:00 2001 From: Craig Burley Date: Thu, 11 Mar 1999 14:37:09 +0000 Subject: [PATCH] Add AUTOMATIC to list of unsupported extensions From-SVN: r25706 --- gcc/f/ChangeLog | 4 ++++ gcc/f/g77.texi | 27 ++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 3db76df822f..01fd18d5ee1 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 11 17:32:55 1999 Craig Burley + + * g77.texi: Add AUTOMATIC to list of unsupported extensions. + Sat Mar 6 02:28:35 1999 Craig Burley Warn about non-Y2K-compliant intrinsics: diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi index 9997fa2c196..d6d6c570a67 100644 --- a/gcc/f/g77.texi +++ b/gcc/f/g77.texi @@ -14,7 +14,7 @@ @c %**start of header @setfilename g77.info -@set last-up-date 1999-03-06 +@set last-up-date 1999-03-11 @set version-g77 0.5.24 @set email-general egcs@@egcs.cygnus.com @set email-bugs egcs-bugs@@egcs.cygnus.com @@ -11999,6 +11999,7 @@ GNU Fortran language: * Intrinsics in PARAMETER Statements:: * SELECT CASE on CHARACTER Type:: * RECURSIVE Keyword:: +* AUTOMATIC Statement:: * Popular Non-standard Types:: * Full Support for Compiler Types:: * Array Bounds Expressions:: @@ -12157,6 +12158,30 @@ designed to do recursion. All recursive code can be rewritten to not use recursion, but the result is not pretty. +@node AUTOMATIC Statement +@subsection @code{AUTOMATIC} Statement +@cindex @code{AUTOMATIC} statement +@cindex statements, @code{AUTOMATIC} +@cindex automatic variables +@cindex variables, automatic + +@code{g77} doesn't support the @code{AUTOMATIC} keyword that +@code{f2c} does. + +It is not yet clear exactly what this statement would achieve. +The semantic equivalent would be provided by @code{RECURSIVE} +combined with lack of @code{SAVE}. +In that sense, perhaps all it would provide is an +overriding of an unadorned (blanket) @code{SAVE} statement +for specific variables. + +It might also serve as a hint to the compiler that placing +even a very large array on the stack is acceptable. + +Perhaps it should disallow @code{DATA} +or other specification of any initial values +for affected variables as well. + @node Increasing Precision/Range @subsection Increasing Precision/Range @cindex -r8 -- 2.30.2