Blame SOURCES/gcc32-Winline-doc.patch

6f1b0c
2005-01-03  Jakub Jelinek  <jakub@redhat.com>
6f1b0c
6f1b0c
	* doc/invoke.texi (-Winline): Document that GCC 3.2.x only
6f1b0c
	uses this warning for frontends using RTL inliner.
6f1b0c
	* doc/extend.texi (Inline): Don't mention -Winline option.
6f1b0c
6f1b0c
--- gcc/doc/extend.texi.jj	2003-09-16 16:57:45.000000000 +0200
6f1b0c
+++ gcc/doc/extend.texi	2005-01-03 12:26:25.917145090 +0100
6f1b0c
@@ -3396,14 +3396,11 @@ inc (int *a)
6f1b0c
 You can also make all ``simple enough'' functions inline with the option
6f1b0c
 @option{-finline-functions}.
6f1b0c
 
6f1b0c
-@opindex Winline
6f1b0c
 Note that certain usages in a function definition can make it unsuitable
6f1b0c
 for inline substitution.  Among these usages are: use of varargs, use of
6f1b0c
 alloca, use of variable sized data types (@pxref{Variable Length}),
6f1b0c
 use of computed goto (@pxref{Labels as Values}), use of nonlocal goto,
6f1b0c
-and nested functions (@pxref{Nested Functions}).  Using @option{-Winline}
6f1b0c
-will warn when a function marked @code{inline} could not be substituted,
6f1b0c
-and will give the reason for the failure.
6f1b0c
+and nested functions (@pxref{Nested Functions}).
6f1b0c
 
6f1b0c
 Note that in C and Objective-C, unlike C++, the @code{inline} keyword
6f1b0c
 does not affect the linkage of the function.
6f1b0c
--- gcc/doc/invoke.texi.jj	2004-07-01 12:34:04.000000000 +0200
6f1b0c
+++ gcc/doc/invoke.texi	2005-01-03 12:28:05.928165120 +0100
6f1b0c
@@ -2732,6 +2732,8 @@ code is to provide behavior which is sel
6f1b0c
 @item -Winline
6f1b0c
 @opindex Winline
6f1b0c
 Warn if a function can not be inlined and it was declared as inline.
6f1b0c
+In GCC 3.2.x, this only works for languages using the RTL inliner,
6f1b0c
+such as Java, for C, C++ and Objective-C this option has no effect.
6f1b0c
 
6f1b0c
 @item -Wlong-long
6f1b0c
 @opindex Wlong-long