[Bug c++/31187] [4.2/4.3 regression] extern declaration of variable in anonymous namespace prevents use of its address as template argument
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 26 11:58:00 GMT 2007
------- Comment #10 from jakub at gcc dot gnu dot org 2007-06-26 11:57 -------
Subject: Bug 31187
Author: jakub
Date: Tue Jun 26 11:57:42 2007
New Revision: 126027
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126027
Log:
2007-03-30 Jason Merrill <jason@redhat.com>
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.
2007-04-02 Jason Merrill <jason@redhat.com>
PR c++/31187
* g++.dg/ext/visibility/anon3.C: New test.
Added:
branches/redhat/gcc-4_1-branch/gcc/testsuite/g++.dg/ext/visibility/anon3.C
Modified:
branches/redhat/gcc-4_1-branch/gcc/cp/ChangeLog
branches/redhat/gcc-4_1-branch/gcc/cp/cp-tree.h
branches/redhat/gcc-4_1-branch/gcc/cp/decl.c
branches/redhat/gcc-4_1-branch/gcc/cp/typeck.c
branches/redhat/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31187
More information about the Gcc-bugs
mailing list