[Bug c/69540] add a short info on .so priority in -l

2016-01-30 Thread arkadiusz at drabczyk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69540 --- Comment #1 from Arkadiusz Drabczyk --- Patch sent for review here: https://gcc.gnu.org/ml/gcc-patches/2016-01/msg02368.html.

[Bug c/69540] New: add a short info on .so priority in -l

2016-01-28 Thread arkadiusz at drabczyk dot org
: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: arkadiusz at drabczyk dot org Target Milestone: --- Not a big thing but just to limit a discrepancy between what gcc says and what it actually does I think it's a good idea to add a few words about .so

[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 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 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] New: docs lie about being unable to inline function call before definition

2015-10-11 Thread arkadiusz at drabczyk dot org
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: arkadiusz at drabczyk dot org Target Milestone: --- Here https://gcc.gnu.org/onlinedocs/gcc-5.2.0/gcc/Inline.html it says: "Some calls cannot be integrated for various re

[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.