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: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2008 13:01:04 -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 #1 from jakub at gcc dot gnu dot org 2008-06-12 13:01 -------
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).
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roland at redhat dot com,
| |jsm28 at gcc dot gnu dot org
Target Milestone|4.3.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36507