[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-13 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 Arkadiusz Drabczyk changed: What|Removed |Added Attachment #36488|0 |1 is obsolete|

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-13 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #8 from Arkadiusz Drabczyk --- I attach a new patch with an extra whitespace after dot to keep up with an existing convention.

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-13 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #10 from Arkadiusz Drabczyk --- Patch sent for review here: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01303.html

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #3 from Richard Biener --- Patches welcome ;) I think refering to -Winline here might make most sense.

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-12 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #4 from Arkadiusz Drabczyk --- Created attachment 36488 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36488=edit suggested patch

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-12 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #5 from Arkadiusz Drabczyk --- -Winline is mentioned in the next paragraph. The whole sentence I posted in the first comment is: "Some calls cannot be integrated for various reasons (in particular, calls that precede the function's

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-12 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #6 from Arkadiusz Drabczyk --- Sorry, this code is wrong of course, value returned by factorial() must be used to generate an actual code: $ cat bug1.c #include #include inline static int factorial(unsigned int i) { if(i <= 1)

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-11 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 --- Comment #1 from Arkadiusz Drabczyk --- BTW, the same incorrect wording is repeated in doc/extend.texi in GCC source tarball.

[Bug c/67925] docs lie about being unable to inline function call before definition

2015-10-11 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67925 Mikhail Maltsev changed: What|Removed |Added Keywords||documentation