aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBrooks Moses <brooks.moses@codesourcery.com>2007-01-04 02:11:05 +0000
committerBrooks Moses <brooks@gcc.gnu.org>2007-01-03 18:11:05 -0800
commite6b38f67a1e0677553cde7eaf9b907aad556de6e (patch)
tree030d9ec694b6f84ef7518b1c7148b8fad91e2ad1 /gcc
parente1b4184c7b558a8a0927556e35861d1dd6e02683 (diff)
downloadgcc-e6b38f67a1e0677553cde7eaf9b907aad556de6e.zip
gcc-e6b38f67a1e0677553cde7eaf9b907aad556de6e.tar.gz
gcc-e6b38f67a1e0677553cde7eaf9b907aad556de6e.tar.bz2
gfortran.texi (Introduction): Lower "Part I...
* gfortran.texi (Introduction): Lower "Part I: Introduction" to a chapter, renumber Parts II and III to Parts I and II. * intrinsic.texi (Introduction): Rename to "Introduction to Intrinsics" to avoid conflict with the new chapter. From-SVN: r120427
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog8
-rw-r--r--gcc/fortran/gfortran.texi78
-rw-r--r--gcc/fortran/intrinsic.texi4
3 files changed, 60 insertions, 30 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d353efb..bdb3c0d 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,5 +1,13 @@
2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
+ * gfortran.texi (Introduction): Lower "Part I:
+ Introduction" to a chapter, renumber Parts II and III to
+ Parts I and II.
+ * intrinsic.texi (Introduction): Rename to "Introduction
+ to Intrinsics" to avoid conflict with the new chapter.
+
+2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
+
* intrinsic.texi (Introduction): Rewrite first paragraph.
2007-01-03 Brooks Moses <brooks.moses@codesourcery.com>
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index e46b8cc..ce28947 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -151,6 +151,11 @@ Boston, MA 02110-1301, USA@*
@page
+@c ---------------------------------------------------------------------
+@c TexInfo table of contents.
+@c ---------------------------------------------------------------------
+
+@ifnottex
@node Top
@top Introduction
@cindex Introduction
@@ -171,18 +176,13 @@ not accurately reflect the status of the most recent GNU Fortran compiler.
@comment better formatting.
@comment
@menu
-Part I: About GNU Fortran
-* Getting Started:: What you should know about GNU Fortran.
-* GNU Fortran and GCC:: You can compile Fortran, C, or other programs.
-* GNU Fortran and G77:: Why we chose to start from scratch.
-* Project Status:: Status of GNU Fortran, roadmap, proposed extensions.
-* Standards:: Standards supported by GNU Fortran.
+* Introduction::
-Part II: Invoking GNU Fortran
+Part I: Invoking GNU Fortran
* Invoking GNU Fortran:: Command options supported by @command{gfortran}.
* Runtime:: Influencing runtime behavior with environment variables.
-Part III: Language Reference
+Part II: Language Reference
* Fortran 2003 status:: Fortran 2003 features supported by GNU Fortran.
* Extensions:: Language extensions implemented by GNU Fortran.
* Intrinsic Procedures:: Intrinsic procedures supported by GNU Fortran.
@@ -195,28 +195,50 @@ Part III: Language Reference
* Funding:: How to help assure continued work for free software.
* Index:: Index of this documentation.
@end menu
-
-
-@c =====================================================================
-@c PART I: ABOUT GNU FORTRAN
-@c =====================================================================
-
-@tex
-\part{I}{About GNU Fortran}
-@end tex
+@end ifnottex
@c ---------------------------------------------------------------------
-@c Getting Started
+@c Introduction
@c ---------------------------------------------------------------------
-@node Getting Started
-@chapter Getting Started
+@node Introduction
+@chapter Introduction
+
+@c The following duplicates the text on the TexInfo table of contents.
+@iftex
+This manual documents the use of @command{gfortran}, the GNU Fortran
+compiler. You can find in this manual how to invoke @command{gfortran},
+as well as its features and incompatibilities.
+
+@ifset DEVELOPMENT
+@emph{Warning:} This document, and the compiler it describes, are still
+under development. While efforts are made to keep it up-to-date, it
+might not accurately reflect the status of the most recent GNU Fortran
+compiler.
+@end ifset
+@end iftex
The GNU Fortran compiler front end was
designed initially as a free replacement for,
or alternative to, the unix @command{f95} command;
@command{gfortran} is the command you'll use to invoke the compiler.
+@menu
+* About GNU Fortran:: What you should know about the GNU Fortran compiler.
+* GNU Fortran and GCC:: You can compile Fortran, C, or other programs.
+* GNU Fortran and G77:: Why we chose to start from scratch.
+* Project Status:: Status of GNU Fortran, roadmap, proposed extensions.
+* Standards:: Standards supported by GNU Fortran.
+@end menu
+
+
+@c ---------------------------------------------------------------------
+@c About GNU Fortran
+@c ---------------------------------------------------------------------
+
+@node About GNU Fortran
+@section About GNU Fortran
+
The GNU Fortran compiler is still in an early state of development.
It can generate code for most constructs and expressions,
but much work remains to be done.
@@ -327,7 +349,7 @@ programs will call it for you.
@c ---------------------------------------------------------------------
@node GNU Fortran and GCC
-@chapter GNU Fortran and GCC
+@section GNU Fortran and GCC
@cindex GNU Compiler Collection
GCC used to be the GNU ``C'' Compiler,
@@ -379,7 +401,7 @@ command line options.
@c ---------------------------------------------------------------------
@node GNU Fortran and G77
-@chapter GNU Fortran and G77
+@section GNU Fortran and G77
@cindex Fortran 77
@cindex G77
@@ -420,7 +442,7 @@ and then build a Fortran 95 compiler out of it.
@c ---------------------------------------------------------------------
@node Project Status
-@chapter Project Status
+@section Project Status
@quotation
As soon as @command{gfortran} can parse all of the statements correctly,
@@ -480,7 +502,7 @@ future standards---in particular, Fortran 2003.
@c ---------------------------------------------------------------------
@node Standards
-@chapter Standards
+@section Standards
@cindex Standards
The GNU Fortran compiler implements
@@ -496,11 +518,11 @@ ISO/IEC 1539-1:2004 (Fortran 2003).
@c =====================================================================
-@c PART II: INVOCATION REFERENCE
+@c PART I: INVOCATION REFERENCE
@c =====================================================================
@tex
-\part{II}{Invoking GNU Fortran}
+\part{I}{Invoking GNU Fortran}
@end tex
@c ---------------------------------------------------------------------
@@ -687,11 +709,11 @@ setting a default data representation for the whole program. The
@c =====================================================================
-@c PART III: LANGUAGE REFERENCE
+@c PART II: LANGUAGE REFERENCE
@c =====================================================================
@tex
-\part{III}{Language Reference}
+\part{II}{Language Reference}
@end tex
@c ---------------------------------------------------------------------
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index c86f9f9..54961ce 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -49,7 +49,7 @@ Some intrinsics have documentation yet to be completed as indicated by 'document
@comment - Short
@menu
-* Introduction: Introduction
+* Introduction: Introduction to Intrinsics
* @code{ABORT}: ABORT, Abort the program
* @code{ABS}: ABS, Absolute value
* @code{ACCESS}: ACCESS, Checks file access modes
@@ -251,7 +251,7 @@ Some intrinsics have documentation yet to be completed as indicated by 'document
* @code{XOR}: XOR, Bitwise logical exclusive or
@end menu
-@node Introduction
+@node Introduction to Intrinsics
@section Introduction to intrinsic procedures
The intrinsic procedures provided by GNU Fortran include all of the