OSDN Git Service

PR c++/51813
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2012 17:50:58 +0000 (17:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Jan 2012 17:50:58 +0000 (17:50 +0000)
commitbf56937ca9a45ef3333aed13a7e94371b36ac582
tree9e0083b635cde123424490c4b1adef4c0b50cfee
parentde86595047438f8fd35b68bf00b4bec29311eaf7
PR c++/51813
* decl2.c (constrain_visibility): Clear DECL_VISIBILITY_SPECIFIED
when reducing the visibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183156 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/visibility/template9.C [new file with mode: 0644]