From: jason Date: Thu, 5 May 2016 13:33:35 +0000 (+0000) Subject: * decl.c: Update comment. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a854f0007155086d85d6087f318dbea1bdd62d9;p=thirdparty%2Fgcc.git * decl.c: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235923 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5f9031f0664e..8dbc730f3a69 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -11422,7 +11422,8 @@ grokdeclarator (const cp_declarator *declarator, } else if (current_function_decl) { - /* FIXME need arm citation */ + /* 7.1.1: There can be no static function declarations within a + block. */ error ("cannot declare static function inside another function"); invalid_static = 1; }