cpp.texi (Common Predefined Macros): Clarify description of __GNUC_GNU_INLINE__ and...
authorIan Lance Taylor <iant@google.com>
Tue, 17 Apr 2007 05:19:22 +0000 (05:19 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Apr 2007 05:19:22 +0000 (05:19 +0000)
* doc/cpp.texi (Common Predefined Macros): Clarify description of
__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.

From-SVN: r123907

gcc/ChangeLog
gcc/doc/cpp.texi

index a9f1ca548d28556e0b07aa1b0e54386902729837..5ff8fab2864e70ce48c999858de652dc63e716ac 100644 (file)
@@ -1,5 +1,8 @@
 2007-04-16  Ian Lance Taylor  <iant@google.com>
 
+       * doc/cpp.texi (Common Predefined Macros): Clarify description of
+       __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
+
        * tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
        predecessors at head rather than tail.
 
index 2a57feec9df6a355f52de3e107e54d5bfe2b69a5..fe2a93bf59ae0fb96cefd44f3ff07fe0fdc87b8a 100644 (file)
@@ -2016,18 +2016,17 @@ are defined.  If they are defined, their value is 1.
 
 @item __GNUC_GNU_INLINE__
 GCC defines this macro if functions declared @code{inline} will be
-handled in GCC's traditional gnu89 mode.  In this mode an @code{extern
-inline} function will never be compiled as a standalone function, and
-an @code{inline} function which is neither @code{extern} nor
-@code{static} will always be compiled as a standalone function.
+handled in GCC's traditional gnu89 mode.  Object files will contain
+externally visible definitions of all functions declared @code{inline}
+without @code{extern} or @code{static}.  They will not contain any
+definitions of any functions declared @code{extern inline}.
 
 @item __GNUC_STDC_INLINE__
 GCC defines this macro if functions declared @code{inline} will be
-handled according to the ISO C99 standard.  In this mode an
-@code{extern inline} function will always be compiled as a standalone
-externally visible function, and an @code{inline} function which is
-neither @code{extern} nor @code{static} will never be compiled as a
-standalone function.
+handled according to the ISO C99 standard.  Object files will contain
+externally visible definitions of all functions declared @code{extern
+inline}.  They will not contain definitions of any functions declared
+@code{inline} without @code{extern}.
 
 If this macro is defined, GCC supports the @code{gnu_inline} function
 attribute as a way to always get the gnu89 behavior.  Support for