[Bug web/61782] always_inline incorrectly documented

2014-07-16 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #10 from Daniel Santos --- (In reply to rguent...@suse.de from comment #7) > Heh - I've been there as well and guess what - I invented > __attribute__((flatten)) because of this... > > Note that flatten has the same issues as always

[Bug web/61782] always_inline incorrectly documented

2014-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug web/61782] always_inline incorrectly documented

2014-07-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Jul 16 07:53:59 2014 New Revision: 212581 URL: https://gcc.gnu.org/viewcvs?rev=212581&root=gcc&view=rev Log: 2014-07-16 Richard Biener PR other/61782 * doc/extend.texi

[Bug web/61782] always_inline incorrectly documented

2014-07-16 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #7 from rguenther at suse dot de --- On Tue, 15 Jul 2014, daniel.santos at pobox dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 > > --- Comment #6 from Daniel Santos --- > (In reply to Richard Biener from comme

[Bug web/61782] always_inline incorrectly documented

2014-07-15 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #6 from Daniel Santos --- (In reply to Richard Biener from comment #3) > Note that if such function is called indirectly the compiler may > or may not inline it dependent on optimization level and a failure > to inline an indirect cal

[Bug web/61782] always_inline incorrectly documented

2014-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 Richard Biener changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug web/61782] always_inline incorrectly documented

2014-07-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #4 from Jonathan Wakely --- (In reply to Richard Biener from comment #3) > Like > > @item always_inline > @cindex @code{always_inline} function attribute > Generally, functions are not inlined unless optimization is specified. > For

[Bug web/61782] always_inline incorrectly documented

2014-07-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #3 from Richard Biener --- Like @item always_inline @cindex @code{always_inline} function attribute Generally, functions are not inlined unless optimization is specified. For functions declared inline, this attribute inlines the func

[Bug web/61782] always_inline incorrectly documented

2014-07-14 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #2 from Daniel Santos --- Hmm, I suppose I wasn't considering that interpretation of the language. Your clarification helps though, and actually sounds pretty good: "always_inline forces inlining of the function under all circumstance

[Bug web/61782] always_inline incorrectly documented

2014-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|