diff options
author | Tobias Burnus <burnus@net-b.de> | 2007-09-07 09:33:26 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2007-09-07 09:33:26 +0200 |
commit | f7de3bd3fa17db45c94a8ac57631c0ad3d673ced (patch) | |
tree | b017194e74910ef6630f85e0840e28526b5b00c6 /gcc/doc | |
parent | e4bf5dfca15ad68c3c9224e967216a6ff7501f84 (diff) | |
download | gcc-f7de3bd3fa17db45c94a8ac57631c0ad3d673ced.zip gcc-f7de3bd3fa17db45c94a8ac57631c0ad3d673ced.tar.gz gcc-f7de3bd3fa17db45c94a8ac57631c0ad3d673ced.tar.bz2 |
re PR fortran/33303 (Document __GFORTRAN__)
2007-09-07 Tobias Burnus <burnus@net-b.de>
PR fortran/33303
* doc/cpp.texi (Common Predefined Macros): Add __GFORTRAN__.
From-SVN: r128229
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/cpp.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index a3cb74d..d19ec29 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -1912,8 +1912,8 @@ language. The common predefined macros are GNU C extensions. They are available with the same meanings regardless of the machine or operating system on -which you are using GNU C@. Their names all start with double -underscores. +which you are using GNU C or GNU Fortran. Their names all start with +double underscores. @table @code @@ -1924,11 +1924,14 @@ generate unique identifiers. Care must be taken to ensure that @code{__COUNTER__} is not expanded prior to inclusion of precompiled headers which use it. Otherwise, the precompiled headers will not be used. +@item __GFORTRAN__ +The GNU Fortran compiler defines this. + @item __GNUC__ @itemx __GNUC_MINOR__ @itemx __GNUC_PATCHLEVEL__ These macros are defined by all GNU compilers that use the C -preprocessor: C, C++, and Objective-C@. Their values are the major +preprocessor: C, C++, Objective-C and Fortran. Their values are the major version, minor version, and patch level of the compiler, as integer constants. For example, GCC 3.2.1 will define @code{__GNUC__} to 3, @code{__GNUC_MINOR__} to 2, and @code{__GNUC_PATCHLEVEL__} to 1. These |