]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/ChangeLog
PR c++/35688
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2011 17:51:40 +0000 (17:51 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Nov 2011 17:51:40 +0000 (17:51 +0000)
commit920f5a70f4497afa3a0d5a14069404276d31d588
treee9aa9f3cd40d0c2eafea7c00b8df253911a81565
parent7109ff78c0e1f61848975e4f271be5b76364bd7f
PR c++/35688
* decl2.c (constrain_visibility): Return void.  Add tmpl parm
which gives the constraint priority over an attribute.
(constrain_visibility_for_template, determine_visibility): Adjust.
* pt.c (instantiate_class_template_1): Call determine_visibility.

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