aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-09-15 16:03:32 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-09-15 16:03:32 +0000
commit9c12301f5b2d91a5b6ccdaf7d323d7ca3a09e041 (patch)
treeafc83bbd1a00cee91c0be29bdd545cafdb20f9d9 /gcc/tree-ssa-loop-niter.c
parentc629e611eb78853f8ccd85173b758cabbdc0e56b (diff)
downloadgcc-9c12301f5b2d91a5b6ccdaf7d323d7ca3a09e041.zip
gcc-9c12301f5b2d91a5b6ccdaf7d323d7ca3a09e041.tar.gz
gcc-9c12301f5b2d91a5b6ccdaf7d323d7ca3a09e041.tar.bz2
re PR c++/13140 (declaration in global namespace, definition inside named or anon namespace)
PR c++/13140 * decl.c (check_class_member_definition_namespace): New function. (grokfndecl): Use it. (grokvardecl): Likewise. (grokdecl): Improve documentation. * pt.c (check_explicit_instantiation_namespace): New function. (register_specialization): Call check_specialization_namespace when replacing an implicitly instantiated function. (check_explicit_specialization): Ensure that DECL_CONTEXT is set correctly for namespace-scope specializations. (do_decl_instantiation): Use check_explicit_instantiation_namespace. (do_type_instantiation): Likewise. PR c++/13140 * g++.dg/parse/class2.C: New test. * g++.dg/template/explicit8.C: Likewise. * g++.dg/template/spec25.C: Likewise. * testsuite/testsuite_character.h: Specialize character<> templates in __gnu_cxx, not in __gnu_test. From-SVN: r104310
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions