This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/36507] [4.3/4.4 Regression] ISO C99 inline semantics doesn't play together with nested functions



------- Comment #3 from joseph at codesourcery dot com  2008-06-12 13:54 -------
Subject: Re:  [4.3/4.4 Regression] ISO C99 inline semantics
 doesn't play together with nested functions

On Thu, 12 Jun 2008, jakub at gcc dot gnu dot org wrote:

> I wonder if we shouldn't automatically assume gnu_inline semantics for 
> nested functions (given that extern inline is forbidden in nested 
> contexts and relying on other CUs defining the external definition can't 
> work, as nested functions are inherently static).

Seems sane to me.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]