Commit f7de3bd3 by Tobias Burnus Committed by Tobias Burnus

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
parent e4bf5dfc
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> 2007-09-05 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* regrename.c (copyprop_hardreg_forward_1): New variable next. Use * regrename.c (copyprop_hardreg_forward_1): New variable next. Use
...@@ -1912,8 +1912,8 @@ language. ...@@ -1912,8 +1912,8 @@ language.
The common predefined macros are GNU C extensions. They are available The common predefined macros are GNU C extensions. They are available
with the same meanings regardless of the machine or operating system on with the same meanings regardless of the machine or operating system on
which you are using GNU C@. Their names all start with double which you are using GNU C or GNU Fortran. Their names all start with
underscores. double underscores.
@table @code @table @code
...@@ -1924,11 +1924,14 @@ generate unique identifiers. Care must be taken to ensure that ...@@ -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 @code{__COUNTER__} is not expanded prior to inclusion of precompiled headers
which use it. Otherwise, the precompiled headers will not be used. which use it. Otherwise, the precompiled headers will not be used.
@item __GFORTRAN__
The GNU Fortran compiler defines this.
@item __GNUC__ @item __GNUC__
@itemx __GNUC_MINOR__ @itemx __GNUC_MINOR__
@itemx __GNUC_PATCHLEVEL__ @itemx __GNUC_PATCHLEVEL__
These macros are defined by all GNU compilers that use the C 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 version, minor version, and patch level of the compiler, as integer
constants. For example, GCC 3.2.1 will define @code{__GNUC__} to 3, 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 @code{__GNUC_MINOR__} to 2, and @code{__GNUC_PATCHLEVEL__} to 1. These
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment