This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36507] [4.3/4.4 Regression] ISO C99 inline semantics doesn't play together with nested functions
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2008 13:54:33 -0000
- Subject: [Bug c/36507] [4.3/4.4 Regression] ISO C99 inline semantics doesn't play together with nested functions
- References: <bug-36507-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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