aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2012-01-30 14:26:12 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2012-01-30 15:26:12 +0100
commit12e95d87efb8a7a18a247fdec11369948f8e2b10 (patch)
tree6fa1c59809d4ba0642ed4689478aa521b88c87d1 /gcc/tree-loop-distribution.c
parent2026d51a4165a6eef50a80fc3370490d5e5ee442 (diff)
downloadgcc-12e95d87efb8a7a18a247fdec11369948f8e2b10.zip
gcc-12e95d87efb8a7a18a247fdec11369948f8e2b10.tar.gz
gcc-12e95d87efb8a7a18a247fdec11369948f8e2b10.tar.bz2
PR c++/51641 - Lookup finds enclosing class member instead of template parameter
gcc/cp/ PR c++/51641 * cp-tree.h (template_type_parameter_p): Declare new function. (parameter_of_template_p): Remove * pt.c (template_type_parameter_p): Define new function. (parameter_of_template_p): Remove. * name-lookup.c (binding_to_template_parms_of_scope_p): Don't rely on parameter_of_template_p anymore. Compare the level of the template parameter to the depth of the template. gcc/testsuite/ PR c++/51641 * g++.dg/lookup/hidden-class17.C: New test. From-SVN: r183726
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions