public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz>
To: "vanboxem.ruben at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: [Bug tree-optimization/10980] vararg functions are not inlined
Date: Fri, 23 Sep 2011 14:21:00 -0000	[thread overview]
Message-ID: <20110923141028.GC23405@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <bug-10980-4-JSvGRejNmL@http.gcc.gnu.org/bugzilla/>

I bet it just ignores the attribute that is not how the attribute is
supposed to work.

We output error in this case intentionally (and warning in at the same
spot if function is declared inline and -Winline is given).
Functions marked always_inlined really ought to be always inlined and
attribute is supposed to be useable in the cases where compilation would
fail otherwise (such as SSE buitins).

Our documentation is however not particularly clear here, perhaps it should
be updated...

Honza


  reply	other threads:[~2011-09-23 14:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-10980-4@http.gcc.gnu.org/bugzilla/>
2011-09-23 13:47 ` vanboxem.ruben at gmail dot com
2011-09-23 13:59 ` hubicka at ucw dot cz
2011-09-23 14:10 ` vanboxem.ruben at gmail dot com
2011-09-23 14:21   ` Jan Hubicka [this message]
2011-09-23 14:32 ` hubicka at ucw dot cz
2011-10-17 18:45 ` vanboxem.ruben at gmail dot com
2011-10-18  9:54 ` rguenth at gcc dot gnu.org
2021-09-06  6:50 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110923141028.GC23405@atrey.karlin.mff.cuni.cz \
    --to=hubicka@ucw.cz \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-bugzilla@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).