------- Comment #3 from joseph at codesourcery dot com  2010-08-22 12:12 -------
Subject: Re:  LTO breaks C99 inline

On Sun, 22 Aug 2010, hubicka at gcc dot gnu dot org wrote:

> How this function is different from GNU C
> inline int f()
> alone? If it is equivalent, is there some chance that C frontend would set the
> flags same way? (I.e. not setting EXTERN flag on the function)

It's equivalent - once the end of the translation unit is reached.  But 
with C99 you can have the declaration with extern or without inline, 
coming *after* the definition, which is what causes it to be exported.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45152

Reply via email to