re PR c++/57317 (bogus and unsuppressible warning: 'YYY' has a base 'ZZZ' whose type...
authorJason Merrill <jason@redhat.com>
Mon, 20 May 2013 12:28:49 +0000 (08:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 May 2013 12:28:49 +0000 (08:28 -0400)
commit8f1352c4190e174c76f3a7b264411b3374f87450
treea8d79e21410917cadd0cdc2e55850b594da2b140
parenta293ed6ec64c9a5364c72fc96e08e345d0104822
re PR c++/57317 (bogus and unsuppressible warning: 'YYY' has a base 'ZZZ' whose type uses the anonymous namespace)

PR c++/57317
* decl2.c (determine_visibility): Use PRIMARY_TEMPLATE_P to decide
whether a template has its own args.

From-SVN: r199101
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/warn/anonymous-namespace-4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/warn/anonymous-namespace-4.h [new file with mode: 0644]