Document new inline option and attribute in gcc 4.2 changes list

Ian Lance Taylor
Tue Mar 20 21:26:00 GMT 2007

This patch adds some notes about the new -fgnu89-inline option and the
new gnu_inline function attribute in the gcc 4.2 changes list.

I plan to commit this patch in a day or two if I don't hear any


Index: gcc-4.2/changes.html
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.2/changes.html,v
retrieving revision 1.25
diff -u -r1.25 changes.html
--- gcc-4.2/changes.html	20 Mar 2007 20:37:07 -0000	1.25
+++ gcc-4.2/changes.html	20 Mar 2007 20:49:14 -0000
@@ -60,6 +60,19 @@
     <li>The pragma <code>redefine_extname</code> will now 
         macro expand its tokens for compatibility with 
+    <li>In the next release of GCC, 4.3, <code>-std=c99</code> or
+        <code>-std=gnu99</code> will direct GCC to handle inline
+        functions as specified in the C99 standard.  In preparation
+        for this, GCC 4.2 will warn about any use of non-static inline
+        functions in gnu99 or c99 mode.  This new warning may be
+        disabled with the new <code>gnu_inline</code> function
+        attribute or the new <code>-fgnu89-inline</code> command line
+        option.  Also, GCC 4.2 and later will define one of the
+        preprocessor macros <code>__GNUC_GNU_INLINE__</code> or
+        <code>__GNUC_STDC_INLINE__</code> to indicate the semantics of
+        inline functions in the current compilation.</li>

More information about the Gcc-patches mailing list