This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/61449] Statement expressions disallow storage specifiers
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 08 Jun 2014 23:02:38 +0000
- Subject: [Bug c/61449] Statement expressions disallow storage specifiers
- Auto-submitted: auto-generated
- References: <bug-61449-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61449
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
I don't see what this has to do with statement expressions. Standard ISO
C rules for storage class specifiers are that block-scope declarations for
functions need to use "extern" or no storage class specifier, and if the
function has internal linkage, a file-scope static declaration must come
before any block-scope declaration (and be visible when the block-scope
declaration occurs).