r123432 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Apr 2 17:49:00 GMT 2007
Author: jason
Date: Mon Apr 2 18:49:21 2007
New Revision: 123432
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123432
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:
trunk/gcc/testsuite/g++.dg/ext/visibility/anon3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list