aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFritz Reese <fritzoreese@gmail.com>2016-08-30 14:33:00 +0000
committerFritz Reese <foreese@gcc.gnu.org>2016-08-30 14:33:00 +0000
commit40c84ee7fa229637949eb42438dc57d181882226 (patch)
treedb99c73fe4b68433c8ec31dc654446e6b8cdea78
parentf90877980167d64fe479ff8a2877628c60b7d550 (diff)
downloadgcc-40c84ee7fa229637949eb42438dc57d181882226.zip
gcc-40c84ee7fa229637949eb42438dc57d181882226.tar.gz
gcc-40c84ee7fa229637949eb42438dc57d181882226.tar.bz2
gfortran.texi: Fix typo in STRUCTURE documentation.
2016-08-30 Fritz Reese <fritzoreese@gmail.com> * gcc/fortran/gfortran.texi: Fix typo in STRUCTURE documentation. From-SVN: r239862
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/gfortran.texi7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 899cd32..b4227be 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-30 Fritz Reese <fritzoreese@gmail.com>
+
+ * gfortran.texi: Fix typo in STRUCTURE documentation.
+
2016-08-29 Fritz Reese <fritzoreese@gmail.com>
Fix, reorganize, and clarify comparisons of anonymous types/components.
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index b34ae86..e80a1ea 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -2127,9 +2127,10 @@ be disabled using -std=legacy.
@cindex @code{RECORD}
Record structures are a pre-Fortran-90 vendor extension to create
-user-defined aggregate data types. GNU Fortran does not support
-record structures, only Fortran 90's ``derived types'', which have
-a different syntax.
+user-defined aggregate data types. Support for record structures in GNU
+Fortran can be enabled with the @option{-fdec-structure} compile flag.
+If you have a choice, you should instead use Fortran 90's ``derived types'',
+which have a different syntax.
In many cases, record structures can easily be converted to derived types.
To convert, replace @code{STRUCTURE /}@var{structure-name}@code{/}