Hi,
I was wondering whether we want to apply as obvious the below (given the
cp_storage_class enum) and resolve the PR.
Thanks,
Paolo.
////////////////////////
2013-02-26 David Binderman <dcb...@hotmail.com>
PR c++/55632
* decl.c (grokdeclarator): Tidy publicp assignment.
Index: decl.c
===================================================================
--- decl.c (revision 196276)
+++ decl.c (working copy)
@@ -10634,9 +10634,8 @@ grokdeclarator (const cp_declarator *declarator,
}
}
- /* Record presence of `static'. */
+ /* Record whether the function is public. */
publicp = (ctype != NULL_TREE
- || storage_class == sc_extern
|| storage_class != sc_static);
decl = grokfndecl (ctype, type, original_name, parms, unqualified_id,