re PR c++/55632 (trunk/gcc/cp/decl.c:10614: strange line of code)

2013-02-26  David Binderman  <dcb314@hotmail.com>

	PR c++/55632
	* decl.c (grokdeclarator): Tidy publicp assignment.

From-SVN: r196284
This commit is contained in:
David Binderman 2013-02-26 14:04:47 +00:00 committed by Paolo Carlini
parent 6f2d959b9e
commit ecf3abb99a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-02-26 David Binderman <dcb314@hotmail.com>
PR c++/55632
* decl.c (grokdeclarator): Tidy publicp assignment.
2013-02-25 Aldy Hernandez <aldyh@redhat.com>
PR c++/56419

View File

@ -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,