public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/61782] New: always_inline incorrectly documented
@ 2014-07-11 18:15 daniel.santos at pobox dot com
  2014-07-14 10:41 ` [Bug web/61782] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: daniel.santos at pobox dot com @ 2014-07-11 18:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782

            Bug ID: 61782
           Summary: always_inline incorrectly documented
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: daniel.santos at pobox dot com

The current behavior of __attribute__((always_inline)) is to not only inline in
-O0, but also to force inlining even when -finline-limit is exceeded. However,
the documentation states that it will only cause inlining w/o optimizations:

https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-g_t_0040code_007balways_005finline_007d-function-attribute-2864

We had some discussion about this in LKML some time back and I meant to file a
bug report back then, but just remembered. This should be updated to reflect
the current behavior of always_inline.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-16 16:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11 18:15 [Bug web/61782] New: always_inline incorrectly documented daniel.santos at pobox dot com
2014-07-14 10:41 ` [Bug web/61782] " rguenth at gcc dot gnu.org
2014-07-14 15:34 ` daniel.santos at pobox dot com
2014-07-15  9:12 ` rguenth at gcc dot gnu.org
2014-07-15 10:17 ` redi at gcc dot gnu.org
2014-07-15 12:07 ` rguenth at gcc dot gnu.org
2014-07-15 19:52 ` daniel.santos at pobox dot com
2014-07-16  7:54 ` rguenth at gcc dot gnu.org
2014-07-16  7:54 ` rguenth at gcc dot gnu.org
2014-07-16  7:54 ` rguenther at suse dot de
2014-07-16 16:40 ` daniel.santos at pobox dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).