lkml.org 
[lkml]   [2007]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smart gcc inliner...
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-30 21:35    [W:0.926 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site