From: David Binderman Date: Tue, 26 Feb 2013 14:04:47 +0000 (+0000) Subject: re PR c++/55632 (trunk/gcc/cp/decl.c:10614: strange line of code) X-Git-Tag: releases/gcc-4.8.0~304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecf3abb99a8794aaca5c304d483c0d12c0c04ea8;p=thirdparty%2Fgcc.git re PR c++/55632 (trunk/gcc/cp/decl.c:10614: strange line of code) 2013-02-26 David Binderman PR c++/55632 * decl.c (grokdeclarator): Tidy publicp assignment. From-SVN: r196284 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7ab31f3e8ad6..9290413c283f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2013-02-26 David Binderman + + PR c++/55632 + * decl.c (grokdeclarator): Tidy publicp assignment. + 2013-02-25 Aldy Hernandez PR c++/56419 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 661969f441cc..a90044a488ae 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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,