------- Comment #8 from jason at gcc dot gnu dot org 2007-04-02 20:12 ------- Subject: Bug 31187
Author: jason Date: Mon Apr 2 20:12:15 2007 New Revision: 123434 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123434 Log: PR c++/31187 * typeck.c (cp_type_readonly): New fn. * cp-tree.h: Declare it. * decl.c (start_decl): Set implicit DECL_THIS_STATIC here. (cp_finish_decl): Not here. * g++.dg/ext/visibility/anon3.C: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/g++.dg/ext/visibility/anon3.C - copied unchanged from r123432, trunk/gcc/testsuite/g++.dg/ext/visibility/anon3.C Modified: branches/gcc-4_2-branch/gcc/cp/ChangeLog branches/gcc-4_2-branch/gcc/cp/cp-tree.h branches/gcc-4_2-branch/gcc/cp/decl.c branches/gcc-4_2-branch/gcc/cp/typeck.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31187