decl.c (warn_extern_redeclared_static): Don't get confused by static member functions.
authorMark Mitchell <mark@codesourcery.com>
Fri, 17 Sep 1999 18:15:21 +0000 (18:15 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 17 Sep 1999 18:15:21 +0000 (18:15 +0000)
commit963d5758117f80dd060942bc405609c22f13860f
tree4f7e54aac05b389e40a2882e9147b55d0e1d2ea3
parent80d789a4d59ab93b9202cd458522e4a5506866aa
decl.c (warn_extern_redeclared_static): Don't get confused by static member functions.

* decl.c (warn_extern_redeclared_static): Don't get confused by
static member functions.
(duplicate_decls): Merge DECL_THIS_STATIC.

* decl.c (expand_static_init): Make sure assignments to local
statics actually occur.

From-SVN: r29477
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.old-deja/g++.other/linkage5.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/static7.C [new file with mode: 0644]