aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2010-03-25 22:08:33 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2010-03-25 23:08:33 +0100
commit58f5f6b43067ab86fd26efdf13e3c0929dadb8f4 (patch)
tree696a213308b6552c9c3faed80c9aff8e772b1386 /libjava
parent9b7e6950f5119d62c5afb8ea914c7894c304050a (diff)
downloadgcc-58f5f6b43067ab86fd26efdf13e3c0929dadb8f4.zip
gcc-58f5f6b43067ab86fd26efdf13e3c0929dadb8f4.tar.gz
gcc-58f5f6b43067ab86fd26efdf13e3c0929dadb8f4.tar.bz2
Fix candidate for PR c++/43206
gcc/cp/ChangeLog: PR c++/43206 * cp-tree.h (get_template_parms_at_level): Declare ... * pt.c (get_template_parms_at_level): ... new function. * typeck.c (get_template_parms_of_dependent_type): If a template type parm's DECL_CONTEXT isn't yet set, get its siblings from current_template_parms. Use get_template_parms_at_level. Remove useless test. (incompatible_dependent_types_p): If we get empty parms from just one of the template type parms we are comparing then the template parms are incompatible. gcc/testsuite/ChangeLog: PR c++/43206 * g++.dg/template/typedef30.C: New test case. From-SVN: r157730
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions