re PR fortran/33303 (Document __GFORTRAN__)
authorTobias Burnus <burnus@net-b.de>
Fri, 7 Sep 2007 07:33:26 +0000 (09:33 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 7 Sep 2007 07:33:26 +0000 (09:33 +0200)
2007-09-07  Tobias Burnus  <burnus@net-b.de>

PR fortran/33303
* doc/cpp.texi (Common Predefined Macros): Add __GFORTRAN__.

From-SVN: r128229

gcc/ChangeLog
gcc/doc/cpp.texi

index 14f77c9e0e89686576c42ab20f183b5cb0a2a9ed..837866a810cbd12cb2216b8ada5d479b18297c21 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-07  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/33303
+       * doc/cpp.texi (Common Predefined Macros): Add __GFORTRAN__.
+
 2007-09-05  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
 
        * regrename.c (copyprop_hardreg_forward_1): New variable next. Use
index a3cb74d66112e810372f166ea4ec2d7e8cdf5a7c..d19ec29ff74d2dc1908c9a4863d23e6a2d21cec3 100644 (file)
@@ -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