public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: "Andi Kleen" <andi@firstfloor.org>,
	"Paweł Sikora" <pluto@agmk.net>,
	"Linux Kernel list" <linux-kernel@vger.kernel.org>
Subject: Re: smart gcc inliner...
Date: Fri, 30 Mar 2007 21:32:16 +0200	[thread overview]
Message-ID: <20070330193216.GJ14134@stusta.de> (raw)
In-Reply-To: <4609D92A.3050104@goop.org>

On Tue, Mar 27, 2007 at 07:55:38PM -0700, Jeremy Fitzhardinge wrote:
> Andi Kleen wrote:
> > init functions should only ever be called from other init functions.
> >
> > So this should not happen. If it happens the annotations need to be fixed.
> 
> I've seen some versions of gcc inline weak functions too.

Please be more precise:
- gcc version
- example code
- bug number in the gcc Bugzilla

This would also help understanding what you are talking about:
- Did gcc inline a global function?
- Or was a static function declared as weak (which might be an error
  by the programmer)?
- ...

>     J

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2007-03-30 19:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 15:07 smart gcc inliner Paweł Sikora
2007-03-27 16:55 ` Andi Kleen
2007-03-28  2:55   ` Jeremy Fitzhardinge
2007-03-30 19:32     ` Adrian Bunk [this message]
2007-03-30 19:39       ` Jeremy Fitzhardinge
2007-03-28  2:05 ` Jan Engelhardt

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=20070330193216.GJ14134@stusta.de \
    --to=bunk@stusta.de \
    --cc=andi@firstfloor.org \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pluto@agmk.net \
    /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