* gcc/doc/extend.texi: documentation says that functions declared `inline' would not be integrated if they are called before they are defined or if they are recursive. Both of these statements is now false as shown in examples on Bugzilla. --- gcc/doc/extend.texi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 79440d3..7ea4b62 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7088,12 +7088,9 @@ function are integrated into the caller, and the function's address is never used, then the function's own assembler code is never referenced. In this case, GCC does not actually output assembler code for the function, unless you specify the option @option{-fkeep-inline-functions}. -Some calls cannot be integrated for various reasons (in particular, -calls that precede the function's definition cannot be integrated, and -neither can recursive calls within the definition). If there is a -nonintegrated call, then the function is compiled to assembler code as -usual. The function must also be compiled as usual if the program -refers to its address, because that can't be inlined. +If there is a nonintegrated call, then the function is compiled to +assembler code as usual. The function must also be compiled as usual if +the program refers to its address, because that can't be inlined. @opindex Winline Note that certain usages in a function definition can make it unsuitable -- 2.3.5 -- Arkadiusz Drabczyk <arkadi...@drabczyk.org>