]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51930 (Explicitly instantiated template gets hidden visibility)
authorJason Merrill <jason@redhat.com>
Thu, 1 Mar 2012 17:52:12 +0000 (12:52 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 1 Mar 2012 17:52:12 +0000 (12:52 -0500)
commitae45549b504fce6b72561105cbf0cef4b952884a
tree9cf09f96fe4467f1771a7728f6681c1e6269bbcb
parent116b061e74bb406778c8ec140310588794d8c1ef
re PR c++/51930 (Explicitly instantiated template gets hidden visibility)

PR c++/51930
* decl.c (check_tag_decl): Move warning for misplaced attributes here.
(shadow_tag): From here.
* parser.c (cp_parser_explicit_instantiation): Don't warn here.

From-SVN: r184753
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/ext/attrib43.C